joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10000dcf0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov ax, word [0x10001b4b0]
cmp ax, 0xcb
je 0x10000de2c
cmp ax, 0xcc
je 0x10000de2c
nop
mov rax, qword [0x10002aac0]
test rax, rax
je 0x10000dd2d
mov ecx, dword [0x10002a8b0]
call rax
mov rbx, rax
jmp 0x10000dd34
lea rbx, [0x10002a8b8]
cmp word [0x10002a8a0], 0
jle 0x10000dd5c
lea rcx, [0x10002a870]
call fcn.10000e010
mov rcx, rbx
call fcn.10000d7b0
mov rcx, rbx
call fcn.10000d840
nop
mov rsi, qword [rbx]
jmp 0x10000dd89
mov rdi, qword [rsi + 8]
mov rax, qword [rsi]
and rax, 1
jne 0x10000dd82
mov rdx, rsi
mov rcx, rbx
call fcn.10000ca30
jmp 0x10000dd86
and qword [rsi], 0xfffffffffffffffe
mov rsi, rdi
test rsi, rsi
jne 0x10000dd68
mov qword [rbx], 0
mov dword [rbx + 0x90], 0
cmp word [0x10002a8a0], 0
jle 0x10000de2c
lea rdx, [0x10002a780]
mov rcx, rbx
call fcn.10000cbb0
mov rsi, rax
test rax, rax
je 0x10000ddf8
mov rax, qword [0x10002a820]
mov qword [rsi + 0x18], rax
cmp qword [0x10002a820], 0
je 0x10000dde8
mov rax, qword [0x10002a820]
mov qword [rax + 0x10], rsi
nop dword [rax]
mov rax, qword [rbx + 0xa0]
mov qword [0x10002a820], rax
nop
sub word [0x10002a8a0], 1
cmp word [0x10002a8a0], 0
sete bl
lea rcx, [0x10002a870]
call fcn.10000e030
test bl, bl
je 0x10000de2c
lea rcx, [0x10002a870]
call fcn.10000dff0
nop dword [rax]
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret
Function at 0x100010df0
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
push r14
lea rsp, [rsp - 0x128]
xor esi, esi
mov qword [0x10002a490], 0
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x24]
mov r8d, 0x104
xor ecx, ecx
call sub.kernel32.dll_GetModuleFileNameA
mov ebx, eax
and eax, eax
mov byte [rsp + rax + 0x24], 0
mov r8d, ebx
xor edx, edx
mov rcx, rsp
call fcn.100010fd0
movsxd rax, ebx
lea r8, [rax + 1]
mov rax, qword [0x10002a490]
mov rdx, qword [rax]
lea rcx, [rsp + 0x24]
call fcn.1000055f0
call sub.kernel32.dll_GetCommandLineA
mov qword [0x10001b520], rax
mov r14, rax
jmp 0x100010f77
add r14, 1
movzx eax, byte [r14]
sub eax, 1
cmp eax, 0x20
jb 0x100010e78
cmp byte [r14], 0
je 0x100010f81
nop
xor dil, dil
mov r12, r14
xor ebx, ebx
jmp 0x100010ee0
mov al, byte [r14]
cmp al, 1
jb 0x100010ed8
sub al, 0x20
jbe 0x100010eb4
sub al, 2
je 0x100010ec0
jmp 0x100010ed8
test dil, dil
je 0x100010ee6
add ebx, 1
jmp 0x100010edc
cmp byte [r14 + 1], 0x22
je 0x100010ed0
test dil, dil
sete dil
jmp 0x100010edc
add r14, 1
jmp 0x100010edc
add ebx, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x100010ea0
test esi, esi
je 0x100010f74
mov r8d, ebx
mov edx, esi
mov rcx, rsp
call fcn.100010fd0
xor dil, dil
mov r14, r12
mov rdx, qword [0x10002a490]
movsxd rax, esi
mov r13, qword [rdx + rax*8]
jmp 0x100010f68
mov al, byte [r14]
cmp al, 1
jb 0x100010f58
sub al, 0x20
jbe 0x100010f2c
sub al, 2
je 0x100010f40
jmp 0x100010f58
test dil, dil
je 0x100010f6e
mov al, byte [r14]
mov byte [r13], al
add r13, 1
jmp 0x100010f64
cmp byte [r14 + 1], 0x22
je 0x100010f50
test dil, dil
sete dil
jmp 0x100010f64
add r14, 1
jmp 0x100010f64
mov al, byte [r14]
mov byte [r13], al
add r13, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x100010f18
mov byte [r13], 0
nop
add esi, 1
cmp byte [r14], 0
jne 0x100010e7c
mov dword [0x10002a480], esi
movsxd rax, esi
lea rdx, [rax + 1]
shl rdx, 3
lea rcx, [0x10002a490]
call fcn.10000dad0
mov rax, qword [0x10002a490]
movsxd rsi, esi
mov qword [rax + rsi*8], 0
nop
lea rsp, [rsp + 0x128]
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret

Function at 0x100014930
Capabilities:
Hash data with crc32

Disassembly:
mov dx, 0xffff
nop dword [rax]
add dx, 1
movsx eax, dx
mov ecx, eax
xor r8w, r8w
nop
add r8w, 1
mov eax, ecx
and eax, 1
je 0x100014962
mov eax, ecx
shr eax, 1
xor eax, 0xedb88320
mov ecx, eax
jmp 0x100014964
shr ecx, 1
cmp r8w, 8
jl 0x100014948
movzx eax, dx
lea r9, [0x1001338b0]
mov dword [r9 + rax*4], ecx
cmp dx, 0xff
jl 0x100014938
ret

Function at 0x100014990
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov ebx, ecx
mov rsi, rdx
mov edi, r8d
cmp dword [0x1001338b4], 0
jne 0x1000149b0
call fcn.100014930
nop
mov eax, ebx
not eax
cmp edi, 1
jl 0x1000149ec
xor edx, edx
nop dword [rax + rax]
add edx, 1
mov cl, al
xor cl, byte [rsi]
and ecx, 0xff
mov r8d, eax
shr r8d, 8
lea r9, [0x1001338b0]
xor r8d, dword [r9 + rcx*4]
mov eax, r8d
add rsi, 1
cmp edi, edx
jg 0x1000149c0
nop
not eax
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret
Function at 0x100019430
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x50]
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r13
mov rsi, rcx
mov edi, edx
mov r12d, r8d
mov r13, r9
mov qword [rbp - 8], 0
nop
mov edx, r12d
mov ecx, edi
xor r9d, r9d
xor r8, r8
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test ebx, ebx
jle 0x1000194b1
movsxd rdx, ebx
sub rdx, 1
lea rcx, [rbp - 8]
call fcn.10000a680
cmp ebx, 1
jle 0x1000194a0
mov r8, qword [rbp - 8]
mov r9d, ebx
mov edx, r12d
mov ecx, edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
nop
mov rcx, rsi
mov rdx, qword [rbp - 8]
xor r8d, r8d
call fcn.10000a2e0
jmp 0x1000194bc
mov rcx, rsi
mov rdx, r13
call fcn.100008520
nop
mov rcx, rbp
call fcn.100019410
mov rbx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
mov r12, qword [rbp - 0x18]
mov r13, qword [rbp - 0x10]
lea rsp, [rbp]
pop rbp
ret

Function at 0x1000196a0
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x60]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0
nop
xor ebx, ebx
nop dword [rax]
add ebx, 1
mov eax, ebx
lea rdx, [0x100133ec0]
lea rcx, [rdx + rax*8 - 8]
xor edx, edx
call fcn.100008520
mov eax, ebx
lea rdx, [0x100133f00]
mov dword [rdx + rax*4 - 4], 0xffffffff
cmp ebx, 7
jl 0x1000196c0
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
lea r8, [rbp - 0xc]
mov ecx, esi
mov r9d, 0xb
mov edx, 0x100b
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x100019774
nop
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0xc]
xor r9d, r9d
mov r8d, 0xa
lea rcx, [rbp - 0x18]
call fcn.100009040
mov rcx, qword [rbp - 0x18]
mov edx, 1
call fcn.100015230
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x100019774
lea rcx, [0x100019540]
mov r8d, ebx
mov edx, esi
mov r9d, 4
call sub.kernel32.dll_EnumCalendarInfoA
lea rcx, [0x1000195f0]
mov r8d, ebx
mov edx, esi
mov r9d, 3
call sub.kernel32.dll_EnumCalendarInfoA
nop dword [rax]
nop
mov rcx, rbp
call fcn.100019680
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
lea rsp, [rbp]
pop rbp
ret
Function at 0x100019e30
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x70]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r13
mov rbx, rcx
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
nop
lea rcx, [rbp - 0x18]
call fcn.100015210
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 8]
call fcn.100008520
lea rcx, [rbp - 8]
mov r8b, 1
mov edx, 1
call fcn.100009bc0
mov rcx, rbx
xor edx, edx
call fcn.100008520
call sub.kernel32.dll_GetEnvironmentStringsA
mov rsi, rax
mov rdi, rsi
jmp 0x100019f75
mov rdx, rdi
lea rcx, [rbp - 0x10]
xor r8d, r8d
call fcn.100008f90
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x100019edc
mov rax, qword [rax - 8]
mov r13d, eax
lea rcx, [rbp - 0x10]
xor r8b, r8b
mov edx, 1
call fcn.100009bc0
mov rdx, qword [rbp - 0x10]
mov r8d, 1
mov ecx, 0x3d
call fcn.100009650
mov r12d, eax
movsxd r9, eax
sub r9, 1
mov rdx, qword [rbp - 0x10]
mov r8d, 1
lea rcx, [rbp - 0x28]
call fcn.1000094e0
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x20]
call fcn.100015210
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 8]
call fcn.100009200
test rax, rax
jne 0x100019f68
mov r9, qword [rbp - 0x10]
test r9, r9
je 0x100019f4d
mov r9, qword [r9 - 8]
movsxd rax, r12d
sub r9, rax
movsxd rax, r12d
lea r8, [rax + 1]
mov rcx, rbx
mov rdx, qword [rbp - 0x10]
call fcn.1000094e0
jmp 0x100019f7e
movsxd rax, r13d
add rax, rdi
add rax, 1
mov rdi, rax
cmp byte [rdi], 0
jne 0x100019ec0
mov rcx, rsi
call sub.kernel32.dll_FreeEnvironmentStringsA
nop
mov rcx, rbp
call fcn.100019df0
mov rbx, qword [rbp - 0x50]
mov rdi, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x40]
mov r12, qword [rbp - 0x38]
mov r13, qword [rbp - 0x30]
lea rsp, [rbp]
pop rbp
ret

Function at 0x100019fd0
Capabilities:
Check os version

Disassembly:
lea rsp, [rsp - 0xb8]
mov qword [0x100133f40], 0
mov dword [rsp + 0x20], 0x94
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetVersionExA
mov eax, dword [rsp + 0x30]
mov dword [0x100133d80], eax
mov eax, dword [rsp + 0x24]
mov dword [0x100133d90], eax
mov eax, dword [rsp + 0x28]
mov dword [0x100133da0], eax
mov eax, dword [rsp + 0x2c]
mov dword [0x100133db0], eax
lea rdx, [0x100133dc1]
lea rcx, [rsp + 0x34]
mov r8d, pe_nt_image_headers64
call fcn.1000055f0
lea rcx, [rsp + 0x34]
call fcn.100006220
mov byte [0x100133dc0], al
lea rcx, str.kernel32
call sub.kernel32.dll_GetModuleHandleA
mov qword [0x100133f50], rax
test rax, rax
je 0x10001a078
mov rcx, qword [0x100133f50]
lea rdx, str.GetDiskFreeSpaceExA
call sub.kernel32.dll_GetProcAddress
mov qword [0x100133f40], rax
nop
cmp dword [0x100133d90], 6
jae 0x10001a08c
mov dword [0x10001bcc0], 0
nop
cmp dword [0x100133d90], 6
jb 0x10001a0a8
cmp dword [0x100133da0], 1
jb 0x10001a0a8
mov dword [0x10001bcd0], 2
nop
lea rsp, [rsp + 0xb8]
ret
Function at 0x140861ca0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140861cad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140861cbd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140861ca5
lea eax, [rcx + 1]
jmp 0x140861ccb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140861cde
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140861cc4
sub eax, 3
jb 0x140861cfe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140861d4d
sar eax, 1
movsxd rbp, eax
jb 0x140861d34
jmp 0x140861d0c
add ebx, ebx
jne 0x140861d0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140861d34
inc ecx
add ebx, ebx
jne 0x140861d1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140861d34
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140861d2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140861d1c
add ecx, 2
jmp 0x140861d39
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140861c62
jmp 0x140861cad
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x85b000]
mov eax, dword [rdi]
or eax, eax
je 0x140861db5
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x861a5c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140861d59
jns 0x140861d8e
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140861d98
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140861daf
mov qword [rbx], rax
add rbx, 8
jmp 0x140861d79
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140861df9
cmp al, 0xef
ja 0x140861de1
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140861dc1
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140861dd0
mov eax, dword [rdi]
add rdi, 4
jmp 0x140861dd0
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140861e4d
sub rsp, 0xffffffffffffff80
jmp 0x14056137c
Function at 0x140002924
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000296e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000296e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000296e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000296e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000296e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002970
xor al, al
add rsp, 0x28
ret

Function at 0x140008614
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140008683
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140008683
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140008683
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140008683
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140008683
cmp dword [rcx + 0x84], 0xe
jbe 0x140008683
cmp dword [rcx + 0xf8], 0
je 0x140008683
mov ecx, ebx
call fcn.140008734
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140008510
nop
cmp dword [rbp + 0x20], 0
je 0x1400086d1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400086dc
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140008614

Function at 0x140008818
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140008614
Function at 0x14000af2c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14000afb3
mov rsi, rbx
cmp word [rax], bp
je 0x14000af72
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14000af5c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14000af58
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000990c
mov rdi, rax
test rax, rax
je 0x14000afa0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400103e0
mov rbp, rdi
xor ecx, ecx
call fcn.140009bf4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140010010
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140010038
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140010038
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400016b0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rdx
cmp ecx, 5
je 0x1400016d8
mov rdx, qword [rdx]
lea rcx, str.___Usage:__s__RemoteIP___RemotePort___Resource___key__n
call fcn.140001060
mov eax, 1
add rsp, 0x40
pop rbx
ret
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x1400016f4
lea ecx, [rax + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x50], rbp
lea rdx, [0x140003408]
mov qword [rsp + 0x58], rsi
lea rcx, str._s_Kapitein_unHoeked__n
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
call fcn.140001060
mov rcx, qword [rbx + 0x10]
mov rdi, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rsi, qword [rbx + 0x18]
mov r13, 0xffffffffffffffff
mov rbp, qword [rbx + 0x20]
mov r12d, eax
mov rbx, r13
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140001750
inc rbx
mov eax, 2
mul rbx
cmovo rax, r13
mov rcx, rax
call fcn.1400018b8
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov r15, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
mov rbx, r13
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140001785
inc rbx
mov eax, 2
mul rbx
cmovo rax, r13
mov rcx, rax
call fcn.1400018b8
mov r8, rbx
mov rdx, rsi
mov rcx, rax
mov r14, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
mov rsi, qword [rsp + 0x58]
mov rdi, r13
nop
inc rdi
cmp byte [rdi + rbp], 0
jne 0x1400017c0
inc rdi
mov eax, 2
mul rdi
cmovo rax, r13
mov rcx, rax
call fcn.1400018b8
mov r8, rdi
mov rdx, rbp
mov rcx, rax
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
mov r8, r14
mov edx, r12d
mov rcx, r15
call fcn.1400010c0
mov r8, rbx
mov edx, r12d
mov rcx, r15
mov rdi, rax
call fcn.1400010c0
mov r15, qword [rsp + 0x20]
mov rbx, rax
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x50]
test rdi, rdi
je 0x140001848
mov r8, rdi
lea rdx, [0x140003408]
lea rcx, str._s_Response_Data_is:__s
call fcn.140001060
test rbx, rbx
je 0x140001863
mov r8, rbx
lea rdx, [0x140003408]
lea rcx, str._s_Response_Key_is:__s
call fcn.140001060
mov rdx, rbx
mov rcx, rdi
call fcn.140001340
mov rdi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x14000219c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400021e6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400021e6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400021e6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400021e6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400021e6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400021e8
xor al, al
add rsp, 0x28
ret
Function at 0x1805a6058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1805a61df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1805a6089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1805a606f
add dl, dl
jne 0x1805a6096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1805a60f6
xor eax, eax
add dl, dl
jne 0x1805a60a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1805a61ad
add dl, dl
jne 0x1805a60b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1805a60c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1805a60d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1805a60dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1805a60ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1805a607e
mov eax, 1
add dl, dl
jne 0x1805a6106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1805a6113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1805a60fb
sub eax, ebx
mov ebx, 1
jne 0x1805a614c
mov ecx, 1
add dl, dl
jne 0x1805a612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1805a613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1805a6123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1805a607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1805a6168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1805a6175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1805a615d
cmp eax, 0x7d00
jae 0x1805a619b
cmp eax, 0x500
jb 0x1805a6196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1805a607e
cmp eax, 0x7f
ja 0x1805a619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1805a607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1805a61d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1805a607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x15670
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x10], rdx
push r12
sub rsp, 0x50
mov rsi, rdx
xor ebx, ebx
mov word [rsp + 0x40], bx
xor eax, eax
mov qword [rsp + 0x42], rax
mov dword [rsp + 0x4a], eax
mov word [rsp + 0x4e], ax
cmp r9d, 0x28
jae 0x156be
mov rax, qword [rsp + 0x88]
mov dword [rax], ebx
mov ebx, 0xc0000004
jmp 0x157bd
cmp dword [rsp + 0x80], 4
jae 0x156dc
mov rax, qword [rsp + 0x88]
mov dword [rax], ebx
mov ebx, 0xc0000023
jmp 0x157bd
mov rdi, qword [rdx + 0x18]
cmp qword [rdi], 0
jne 0x156f4
mov eax, 0xc000000d
mov dword [rsp + 0x30], eax
jmp 0x157a9
mov r12, qword [rdi + 8]
mov qword [rsp + 0x38], r12
mov edx, 0xc
lea r8d, [rdx - 0xb]
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_ProbeForRead]
movzx edx, word [r12]
mov r8d, 2
mov rcx, qword [r12 + 4]
call qword [sym.imp.ntoskrnl.exe_ProbeForRead]
mov eax, dword [rdi + 0x1c]
test eax, eax
je 0x1573f
mov rdx, rax
mov r8d, 1
mov rcx, qword [rdi + 0x14]
call qword [sym.imp.ntoskrnl.exe_ProbeForWrite]
mov edx, 4
mov r8d, edx
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.ntoskrnl.exe_ProbeForWrite]
nop
mov rax, qword [r12 + 4]
mov qword [rsp + 0x48], rax
movzx eax, word [r12]
mov word [rsp + 0x40], ax
movzx eax, word [r12 + 2]
mov word [rsp + 0x42], ax
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x28], rax
mov eax, dword [rdi + 0x1c]
mov dword [rsp + 0x20], eax
mov r9, qword [rdi + 0x14]
mov r8d, dword [rdi + 0x10]
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
jmp 0x157a9
mov rcx, qword [rsp + 0x88]
mov dword [rcx], 4
mov rcx, qword [rsi + 0x18]
mov dword [rcx], eax
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret

Function at 0x158a0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x40
mov rdi, rdx
cmp r9d, 0x20
jae 0x158cb
xor edx, edx
mov rax, qword [rsp + 0x78]
mov dword [rax], edx
mov edx, 0xc0000004
jmp 0x15967
cmp dword [rsp + 0x70], 4
jae 0x158e5
xor edx, edx
mov rax, qword [rsp + 0x78]
mov dword [rax], edx
mov edx, 0xc0000023
jmp 0x15967
mov rbx, qword [rdx + 0x18]
cmp qword [rbx], 0
jne 0x158fa
mov eax, 0xc000000d
mov dword [rsp + 0x30], eax
jmp 0x15954
mov eax, dword [rbx + 0x14]
test eax, eax
je 0x15914
mov rdx, rax
mov r8d, 1
mov rcx, qword [rbx + 0xc]
call qword [sym.imp.ntoskrnl.exe_ProbeForWrite]
mov edx, 4
mov r8d, edx
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.ntoskrnl.exe_ProbeForWrite]
nop
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbx + 0x14]
mov r8, qword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov rcx, qword [rbx]
call qword [sym.imp.ntoskrnl.exe_ZwQueryKey]
jmp 0x15954
xor edx, edx
mov rcx, qword [rsp + 0x78]
mov dword [rcx], 4
mov rcx, qword [rdi + 0x18]
mov dword [rcx], eax
mov eax, edx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret