joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140030c80
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x140030f26
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x140030f1a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x1408f7916], 0
jne 0x140030ce2
xor edx, edx
xor ebx, ebx
nop
jmp 0x140030d2a
xor edx, edx
jmp 0x140030d0d
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.140020200
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x140030ce6
add rax, 0x1260
call fcn.140030b40
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x140030eb4
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax + rax]
cmp rsi, 0x1000
jb 0x140030d27
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.1400150a0
test rax, rax
jne 0x140030d82
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x140030d27
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
nop
mov r8, rcx
shr rcx, 3
movzx r9d, byte [rsi + rcx]
and r8d, 7
mov rdx, rcx
mov rcx, r8
mov r10d, 1
shl r10d, cl
add rsi, rdx
test r10b, r9b
je 0x140030dc9
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x140030d27
nop
lock or byte [rsi], r10b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x140030f0d
lea r10, [0x1408c9d50]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x11440]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x11440]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x140030e4f
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x140030e85
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1248]
add r8, qword [rbx + 0x68]
mov qword [rax + 0x1248], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x140030d27
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x140030f05
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1270], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x140030d27
cmp rbx, 0x200
ja 0x140030ef8
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.140026380
mov rax, qword [rsp + 0x48]
add rax, 0x1260
call fcn.140030b40
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
call fcn.140066d00
mov rax, r8
call fcn.140066c80
mov rax, r8
mov ecx, 0x40
call fcn.140066ca0
mov edx, 0x200
nop
call fcn.140066ce0
nop
mov qword [rsp + 8], rax
call fcn.1400691e0
mov rax, qword [rsp + 8]
jmp fcn.140030c80
Function at 0x140046320
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14004648a
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x140046338
cmp edx, ecx
jne 0x140046478
nop dword [rax]
test rsi, rsi
jne 0x140046478
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x140046394
nop
call fcn.140068640
xorps xmm15, xmm15
mov r14, qword [0x1408f7b48]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.140046220
mov rcx, qword [0x1408a3ab8]
mov rdx, qword [0x1408a3ab0]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
mov r8d, esi
and esi, 0xffffffe0
sub edi, esi
test edi, edi
jl 0x140046473
cmp edi, 0x20
sbb esi, esi
sar r8d, 5
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x140046468
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x1408a4bf0]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x1408a4bf0], rbx
nop
mov edx, 1
lea rsi, [0x1408a4bf8]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1220]
shr rdx, 0x3d
test dl, dl
jne 0x140046457
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1220], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x1403c4157]
mov ebx, 0x28
call fcn.140037ae0
mov rcx, rax
mov rax, rsi
call fcn.140066c80
call fcn.140035fa0
lea rax, [0x1403c1f86]
mov ebx, 0x23
call fcn.140037ae0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140064600
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140046320
Function at 0x1400535a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x140053718
movzx edx, byte [rax]
nop
test edx, edx
jne 0x1400535dc
test r8b, r8b
jne 0x1400535dc
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x1400535ef
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x1400536d8
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x1400536c6
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x1400536bc
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x140053643
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x140053686
mov eax, 1
cmp rax, rbx
ja 0x140053675
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.140066d40
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x1400536b4
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x14005367d
mov r8d, eax
mov eax, r10d
jmp 0x140053648
mov rcx, rbx
call fcn.140066c80
xor eax, eax
mov rcx, rax
call fcn.140066c80
mov eax, r8d
mov rcx, rbx
call fcn.140066d40
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x14005370e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x1400536d1
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x1400535f5
mov eax, edx
mov rcx, rbx
call fcn.140066c80
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.140066c80
nop
int3
Function at 0x14005afa0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14005b059
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x14005b0a0]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.1400644c0
xorps xmm15, xmm15
mov r14, qword [0x1408f7b48]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.140064600
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.14005afa0
Function at 0x140066700
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x1408f7cc0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x1408f7915], 0
je 0x140066736
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x1408f8000]
aesenc xmm0, xmmword [0x1408f8010]
aesenc xmm0, xmmword [0x1408f8020]
movq rax, xmm0
ret
jmp 0x14000aca0

Function at 0x1402ecee0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14089e300]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1402ecf00
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1402ecf08
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1402ecf00
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1402ecf55
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1402ecf4c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1402ecf00
add rax, 0x28
cmp rax, r9
jne 0x1402ecf38
xor eax, eax
ret

Function at 0x1402ecf60
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14089e300]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1402ecf80
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1402ecf88
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1402ecf80
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1402ed010
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14089e300]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1402ed030
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1402ed038
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140008850
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x140069010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x1400088fc
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x1400088fc
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400088fa
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
lea rbx, [rsp + 0x28]
mov qword [rsp + 0x20], rbx
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [rax + 0x40]
cmp eax, 3
je 0x140008913
cmp eax, 1
je 0x1400088c7
test eax, eax
jne 0x1400088fa
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x1400088f0
mov r9, qword [rsi + 0x80]
lea rcx, [rsp + 0x30]
mov edx, 1
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x1400088fa
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x1400088fc
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004dc30
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
jmp 0x1400088fc
Function at 0x140006ea0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140006ed4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140006ec0
ret
Function at 0x14000de50
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000df1c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14000df1c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14000df35
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14000df0c
cmp byte [rax], 0x5c
jne 0x14000df06
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14000df06
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14000def2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14000df03
test r8b, 0x10
jne 0x14000df06
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14000df06
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14000a2a0
test edi, edi
jne 0x14000de70
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14000a290
int3

Function at 0x14000fd54
Capabilities:
Get geographical location

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

Function at 0x140010f20
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0xa8
mov word [rsp + 0x20], 0x65
mov word [rsp + 0x22], 0x5b
mov word [rsp + 0x24], 0x6e
mov word [rsp + 0x26], 0x70
mov word [rsp + 0x28], 0x72
mov word [rsp + 0x2a], 0x7c
mov word [rsp + 0x2c], 0x7d
mov word [rsp + 0x2e], 0x7b
mov word [rsp + 0x30], 0x82
mov word [rsp + 0x32], 0x65
mov word [rsp + 0x34], 0x56
mov word [rsp + 0x36], 0x6a
mov word [rsp + 0x38], 0x6c
mov word [rsp + 0x3a], 0x71
mov word [rsp + 0x3c], 0x72
mov word [rsp + 0x3e], 0x77
mov word [rsp + 0x40], 0x6e
mov word [rsp + 0x42], 0x65
mov word [rsp + 0x44], 0x5c
mov word [rsp + 0x46], 0x62
mov word [rsp + 0x48], 0x5c
mov word [rsp + 0x4a], 0x5d
mov word [rsp + 0x4c], 0x4e
mov word [rsp + 0x4e], 0x56
mov word [rsp + 0x50], 0x65
mov word [rsp + 0x52], 0x4c
mov word [rsp + 0x54], 0x7e
mov word [rsp + 0x56], 0x7b
mov word [rsp + 0x58], 0x7b
mov word [rsp + 0x5a], 0x6e
mov word [rsp + 0x5c], 0x77
mov word [rsp + 0x5e], 0x7d
mov word [rsp + 0x60], 0x4c
mov word [rsp + 0x62], 0x78
mov word [rsp + 0x64], 0x77
mov word [rsp + 0x66], 0x7d
mov word [rsp + 0x68], 0x7b
mov word [rsp + 0x6a], 0x78
mov word [rsp + 0x6c], 0x75
mov word [rsp + 0x6e], 0x5c
mov word [rsp + 0x70], 0x6e
mov word [rsp + 0x72], 0x7d
mov word [rsp + 0x74], 0x65
mov word [rsp + 0x76], 0x5c
mov word [rsp + 0x78], 0x6e
mov word [rsp + 0x7a], 0x7b
mov word [rsp + 0x7c], 0x7f
mov word [rsp + 0x7e], 0x72
mov word [rsp + 0x80], 0x6c
mov word [rsp + 0x82], 0x6e
mov word [rsp + 0x84], 0x7c
mov word [rsp + 0x86], 0x65
mov word [rsp + 0x88], 0x6d
mov word [rsp + 0x8a], 0x78
mov word [rsp + 0x8c], 0x7c
mov word [rsp + 0x8e], 0x7f
mov word [rsp + 0x90], 0x6c
mov word [rsp + 0x92], 9
cmp byte [0x1409a81d8], 0
jne 0x140002503
mov byte [0x1409a8254], 1
mov eax, 0
lea rcx, [0x1409a81e0]
movzx edx, word [rsp + rax*2 + 0x20]
mov word [rcx + rax*2], dx
add rax, 1
cmp rax, 0x3a
jne 0x1400024dd
mov byte [0x1409a81d8], 1
lea rcx, [0x1400016d5]
call fcn.1400014f0
lea rax, [0x1409a81e0]
add rsp, 0xa8
ret
Function at 0x140009990
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x1400099c0
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x1400099bf
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x1400099c5
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x1400099bf
mov eax, 0
jmp 0x1400099bf

Function at 0x14000a040
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140009ff0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140013650
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14001c190
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14001c190
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x1400136c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1409a8b74]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x140013850
mov rax, qword [0x1409a8b78]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14001370c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x140013795
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x1400136f0
mov rcx, rdi
call fcn.140014220
test rax, rax
mov r12, rax
je 0x1400138a2
mov rax, qword [0x1409a8b78]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.140014360
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1409a8b78]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140013885
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001378e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140013800
add dword [0x1409a8b74], 1
cmp ebx, 8
jae 0x1400137c1
test bl, 4
jne 0x140013860
test ebx, ebx
je 0x1400137b6
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x140013874
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x1400137b6
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x1400137da
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1409a8b78]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001378e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140013650
xor esi, esi
jmp 0x140013717
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x1400137b6
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x1400137b6
mov rax, qword [0x1409a8b78]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.140013650
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.140013650
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140013e70
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1409a8be0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1409a8bc0]
test rbx, rbx
je 0x140013ec4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140013ebb
test rsi, rsi
je 0x140013ebb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140013ea0
lea rcx, [0x1409a8be0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140014220
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1409a1030]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14001428f
mov rcx, r9
call fcn.1400140f0
test eax, eax
je 0x14001428f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14001428d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140014284
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14001428f
add rdx, 0x28
cmp rdx, r9
jne 0x140014270
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14001e840
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x14099caa0]
jmp 0x140015050

Function at 0x14001e850
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x14099caa0]
jmp 0x140015050
Function at 0x140007c34
Capabilities:
Get geographical location

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

Function at 0x140008718
Capabilities:
Parse pe header

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