joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140073855
Capabilities:
Terminate process

Disassembly:
jmp 0x1400a57f0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400a581e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140074002
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140073d3c
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x14007d3b0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x748
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x13a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x768]
mov rax, qword [0x140197040]
xor rax, rbp
mov qword [rbp + 0x718], rax
lea rcx, [0x1401a90f6]
call fcn.140074390
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140072f5e
mov edx, dword [rbp + 0x740]
mov ecx, 8
call fcn.14007287e
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140071a0f
nop
lea rcx, [rbp + 8]
call fcn.1400728f6
cmp rax, 0xffffffffffffffff
jne 0x14007d453
mov byte [rbp + 0x6c4], 0
lea rcx, [rbp + 8]
call fcn.1400738a5
movzx eax, byte [rbp + 0x6c4]
jmp 0x14007d4e8
mov dword [rbp + 0x30], 0x438
lea rax, [rbp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 0x434
rep stosb byte [rdi], al
lea rcx, [rbp + 8]
call fcn.1400728f6
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.140072fcc
test eax, eax
je 0x14007d4d1
mov rcx, qword [rbp + 0x748]
call fcn.1400721f8
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.140074278
test eax, eax
jne 0x14007d4b8
mov byte [rbp + 0x6e4], 1
lea rcx, [rbp + 8]
call fcn.1400738a5
movzx eax, byte [rbp + 0x6e4]
jmp 0x14007d4e8
lea rcx, [rbp + 8]
call fcn.1400728f6
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.14007175d
test eax, eax
jne 0x14007d483
mov byte [rbp + 0x704], 0
lea rcx, [rbp + 8]
call fcn.1400738a5
movzx eax, byte [rbp + 0x704]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140162670]
call fcn.140073a85
mov rax, rdi
mov rcx, qword [rbp + 0x718]
xor rcx, rbp
call fcn.1400728f1
lea rsp, [rbp + 0x728]
pop rdi
pop rbp
ret

Function at 0x140074057
Capabilities:
Print debug messages

Disassembly:
jmp 0x140118760
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1400740fc
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400a4790
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400a40e0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400a47d9
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401aa020]
jmp 0x1400a47e8
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x1400742dc
Capabilities:
Enumerate processes

Disassembly:
jmp 0x14007cce0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x488
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xba
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4a8]
mov rax, qword [0x140197040]
xor rax, rbp
mov qword [rbp + 0x458], rax
lea rcx, [0x1401a90f6]
call fcn.140074390
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140072f5e
xor edx, edx
mov ecx, 2
call fcn.14007287e
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140071a0f
nop
lea rcx, [rbp + 8]
call fcn.1400728f6
cmp rax, 0xffffffffffffffff
jne 0x14007cd7e
mov dword [rbp + 0x404], 0
lea rcx, [rbp + 8]
call fcn.1400738a5
mov eax, dword [rbp + 0x404]
jmp 0x14007ce16
mov dword [rbp + 0x30], 0x238
lea rax, [rbp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
lea rcx, [rbp + 8]
call fcn.1400728f6
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.140072efa
test eax, eax
je 0x14007cdfd
mov rcx, qword [rbp + 0x480]
call fcn.1400721f8
mov rdx, rax
lea rcx, [rbp + 0x5c]
call fcn.140074278
test eax, eax
jne 0x14007cde4
mov eax, dword [rbp + 0x38]
mov dword [rbp + 0x424], eax
lea rcx, [rbp + 8]
call fcn.1400738a5
mov eax, dword [rbp + 0x424]
jmp 0x14007ce16
lea rcx, [rbp + 8]
call fcn.1400728f6
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.140073c1f
test eax, eax
jne 0x14007cdae
mov dword [rbp + 0x444], 0
lea rcx, [rbp + 8]
call fcn.1400738a5
mov eax, dword [rbp + 0x444]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140162450]
call fcn.140073a85
mov rax, rdi
mov rcx, qword [rbp + 0x458]
xor rcx, rbp
call fcn.1400728f1
lea rsp, [rbp + 0x468]
pop rdi
pop rbp
ret
Function at 0x14014aee0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140071942
sub rsp, rax
mov rax, qword [0x140197040]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x14019a190]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14014b0d2
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x14014b026
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14014b026
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14014b00b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x14014afa8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14014b092
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14014b0f1
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x14014b0cd
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14014b0f1
jmp 0x14014af7e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400728f1
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14014b1a0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140071942
sub rsp, rax
mov rax, qword [0x140197040]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x14019a190]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14014b3ad
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x14014b2f9
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14014b2f9
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x14014b2d9
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x14014b268
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14014b36d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14014b3cc
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x14014b3a8
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14014b3cc
jmp 0x14014b23e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400728f1
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14123a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14123a1df
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 0x14123a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14123a06f
add dl, dl
jne 0x14123a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14123a0f6
xor eax, eax
add dl, dl
jne 0x14123a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14123a1ad
add dl, dl
jne 0x14123a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14123a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14123a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14123a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14123a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14123a07e
mov eax, 1
add dl, dl
jne 0x14123a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14123a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14123a0fb
sub eax, ebx
mov ebx, 1
jne 0x14123a14c
mov ecx, 1
add dl, dl
jne 0x14123a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14123a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14123a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14123a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14123a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14123a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14123a15d
cmp eax, 0x7d00
jae 0x14123a19b
cmp eax, 0x500
jb 0x14123a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14123a07e
cmp eax, 0x7f
ja 0x14123a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14123a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14123a1d2
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 0x14123a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x140001a50
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400043fa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400043ff
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140004448
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140006400]
cmp byte [rcx + rax], 0
je 0x140004448
dec r8
sub rdx, 1
jne 0x14000442e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140005600
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rbx, rcx
mov dword [rsp + 0x40], 0x3a98
mov rax, rdx
mov dword [rsp + 0x20], 0xa4000000
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rcx], xmm0
xor ecx, ecx
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rcx
mov byte [rbx], cl
mov qword [rbx + 0x20], rcx
lea edx, [rcx + 1]
mov qword [rbx + 0x28], rcx
mov dword [rbx + 0x30], ecx
mov rcx, rax
mov dword [rbx + 0x34], r8d
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbx + 0x20], rax
test rax, rax
je 0x1800014ca
mov r9d, 4
lea r8, [rsp + 0x40]
mov rcx, rax
lea edx, [r9 - 2]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rcx, qword [rbx + 0x20]
lea r8, [rsp + 0x40]
mov r9d, 4
lea edx, [r9 + 4]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rcx, qword [rbx + 0x20]
lea r8, [rsp + 0x40]
mov r9d, 4
lea edx, [r9 + 3]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800018e0
Capabilities:
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x30
mov rdi, rcx
mov dword [rsp + 0x48], 0
mov ecx, 0x1000
call fcn.18002ede0
mov rbp, rax
test rax, rax
je 0x180001a82
xor edx, edx
mov r8d, 0x1000
mov rcx, rax
call fcn.180053f00
mov rcx, qword [rdi + 0x28]
lea r9, [rsp + 0x48]
mov r8d, 0x1000
mov rdx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [rsp + 0x48]
test ecx, ecx
je 0x180001a7a
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
nop dword [rax]
mov rdx, qword [rdi + 0x10]
test rdx, rdx
jne 0x1800019e9
mov r9, rbp
cmp ecx, 3
jb 0x18000198f
movzx eax, byte [0x18006b002]
movzx edx, word [section..data]
cmp word [r9], dx
jne 0x18000198f
cmp byte [r9 + 2], al
jne 0x18000198f
add ecx, 0xfffffffd
add r9, 3
mov dword [rsp + 0x48], ecx
cmp ecx, 3
jae 0x180001973
cmp ecx, 2
jbe 0x1800019a8
movzx eax, word [r9]
cmp ax, word [0x18006b004]
jne 0x1800019a8
mov dword [rdi + 0x30], 1
test ecx, ecx
je 0x180001a3c
mov rax, qword [rdi + 0x18]
mov ebx, ecx
cmp rbx, rax
ja 0x1800019df
mov qword [rdi + 0x10], rbx
mov rsi, rdi
cmp rax, 0xf
jbe 0x1800019cb
mov rsi, qword [rdi]
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.180053860
mov byte [rsi + rbx], 0
jmp 0x180001a3c
mov qword [rsp + 0x20], rbx
mov rdx, rbx
jmp 0x180001a31
mov esi, ecx
mov rcx, qword [rdi + 0x18]
mov rax, rcx
sub rax, rdx
cmp rsi, rax
ja 0x180001a26
lea rax, [rdx + rsi]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rcx, 0xf
jbe 0x180001a0e
mov rax, qword [rdi]
lea rbx, [rax + rdx]
mov r8, rsi
mov rcx, rbx
mov rdx, rbp
call fcn.180053860
mov byte [rbx + rsi], 0
jmp 0x180001a3c
mov qword [rsp + 0x20], rsi
mov r9, rbp
mov rdx, rsi
xor r8d, r8d
mov rcx, rdi
call fcn.180001290
xor edx, edx
mov r8d, 0x1000
mov rcx, rbp
call fcn.180053f00
mov rcx, qword [rdi + 0x28]
lea r9, [rsp + 0x48]
mov r8d, 0x1000
mov rdx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [rsp + 0x48]
test ecx, ecx
jne 0x180001950
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rcx, rbp
call fcn.18002edd8
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x18002415c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1800104ea
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1800104cd
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1800104b8

Function at 0x1800364ac
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 0x18003635f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18003635f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18003635f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18003635f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18003635f
cmp dword [rcx + 0x84], 0xe
jbe 0x18003635f
cmp dword [rcx + 0xf8], 0
je 0x18003635f
mov ecx, ebx
call fcn.180036410
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.1800361ec
nop
cmp dword [rbp + 0x20], 0
je 0x1800363ad
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800363b8
int3
xor r8d, r8d
xor edx, edx
jmp 0x1800362f0
Function at 0x18004a514
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18004a544
xor eax, eax
jmp 0x18004a607
mov rbp, rbx
cmp word [rax], si
je 0x18004a569
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18004a550
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18004a54c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800484ec
movsxd r14, eax
test eax, eax
jne 0x18004a5a7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18004a53d
mov rcx, r14
call fcn.180044390
mov rdi, rax
test rax, rax
jne 0x18004a5c0
xor ecx, ecx
call fcn.180044354
jmp 0x18004a59c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800484ec
test eax, eax
jne 0x18004a5f1
mov rcx, rdi
call fcn.180044354
jmp 0x18004a5fb
xor ecx, ecx
call fcn.180044354
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18004a624
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 0x18004a6ab
mov rsi, rbx
cmp word [rax], bp
je 0x18004a66a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x18004a654
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x18004a650
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.180044390
mov rdi, rax
test rax, rax
je 0x18004a698
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.180053860
mov rbp, rdi
xor ecx, ecx
call fcn.180044354
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 0x18004d698
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1800421a8
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x18004d739
cmp ebx, dword [rsp + 0x30]
je 0x18004d732
test esi, esi
je 0x18004d732
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18004d70d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18004d71a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18004d6f7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18004d71e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18004d73b
mov eax, 1
jmp 0x18004d73b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800534b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800534d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800534d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret