joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011ab0
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x1400e3110]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax + 0x108]
test eax, eax
jne 0x140011ae7
jmp 0x140011d24
mov dword [rsp + 0x20], 1
jmp 0x140011afb
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x100
jge 0x140011c77
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140011bc0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x140011bc0
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x98], eax
jne 0x140011b56
mov rax, qword [rsp + 0x90]
mov byte [rax + 0x108], 0
jmp 0x140011d24
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
mov byte [rcx + rax], 1
mov ecx, 0x10
call fcn.1400561dc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140011b96
mov r8b, 1
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call fcn.14000e460
mov qword [rsp + 0x30], rax
jmp 0x140011b9f
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x90]
call fcn.140011d40
jmp 0x140011c72
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x140011c72
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x140011c72
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x98], eax
jne 0x140011c0d
mov rax, qword [rsp + 0x90]
mov byte [rax + 0x108], 0
jmp 0x140011d24
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
mov byte [rcx + rax], 0
mov ecx, 0x10
call fcn.1400561dc
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140011c4d
xor r8d, r8d
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
call fcn.14000e460
mov qword [rsp + 0x40], rax
jmp 0x140011c56
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
call fcn.140011d40
jmp 0x140011af1
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rsp + 0x90]
mov ecx, dword [rsp + 0x70]
cmp dword [rax + 0x100], ecx
jne 0x140011caa
mov rax, qword [rsp + 0x90]
mov ecx, dword [rsp + 0x74]
cmp dword [rax + 0x104], ecx
je 0x140011d24
mov ecx, 0x10
call fcn.1400561dc
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140011cdb
mov r8d, dword [rsp + 0x74]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call fcn.14000f520
mov qword [rsp + 0x50], rax
jmp 0x140011ce4
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x90]
call fcn.140011d40
mov rax, qword [rsp + 0x90]
mov ecx, dword [rsp + 0x70]
mov dword [rax + 0x100], ecx
mov rax, qword [rsp + 0x90]
mov ecx, dword [rsp + 0x74]
mov dword [rax + 0x104], ecx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140055f20
add rsp, 0x88
ret
Function at 0x1400134f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x1400e3110]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x68]
test eax, eax
je 0x1400136e2
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x38]
call fcn.14000b3c0
mov rcx, rax
call fcn.14000aa60
mov qword [rsp + 0x28], rax
mov edx, 8
lea rcx, [rsp + 0x68]
call fcn.140002890
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
call fcn.140016210
mov edx, 8
lea rcx, [rsp + 0x78]
call fcn.140002890
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x28]
call fcn.1400161e0
jmp 0x14001358d
lea rcx, [rsp + 0x68]
call fcn.140016090
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x68]
call fcn.1400160d0
movzx eax, al
test eax, eax
je 0x14001361b
lea rcx, [rsp + 0x68]
call fcn.1400160b0
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x68]
test eax, eax
jne 0x1400135c7
jmp 0x14001361b
mov rcx, qword [rsp + 0x38]
call fcn.14003c890
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x60], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x60]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x48]
jmp 0x140013583
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x38]
call fcn.14000b3c0
mov rcx, rax
call fcn.14000aa60
mov qword [rsp + 0x30], rax
mov edx, 8
lea rcx, [rsp + 0x70]
call fcn.140002890
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call fcn.140016210
mov edx, 8
lea rcx, [rsp + 0x80]
call fcn.140002890
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
call fcn.1400161e0
jmp 0x140013687
lea rcx, [rsp + 0x70]
call fcn.140016090
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x70]
call fcn.1400160d0
movzx eax, al
test eax, eax
je 0x1400136bd
lea rcx, [rsp + 0x70]
call fcn.1400160b0
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov byte [rax + 9], 1
jmp 0x14001367d
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x40]
call fcn.140004d30
mov ecx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x68], 0
mov dword [rsp + 0x20], 0x3e8
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140019400
mov rcx, rax
call fcn.140019420
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x69]
test eax, eax
je 0x140013745
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x48]
call fcn.140004d30
mov dword [rsp + 0x24], eax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x58]
call fcn.140011ab0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140055f20
add rsp, 0x98
ret
Function at 0x140013c10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x128
mov rax, qword [rsp + 0x140]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x50], rax
mov r8d, dword [rsp + 0x158]
mov edx, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x140]
call qword [rsp + 0x50]
movzx eax, al
test eax, eax
je 0x140013d76
mov rcx, qword [rsp + 0x148]
call fcn.14004bf20
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x100]
call fcn.1400027a0
lea rcx, [rsp + 0xa8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x18]
add eax, 4
cvtsi2ss xmm0, eax
movss dword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x14]
add eax, 4
cvtsi2ss xmm0, eax
movss dword [rsp + 0x3c], xmm0
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0xc]
sub eax, 2
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x10]
sub eax, 2
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x34]
mov rcx, qword [rsp + 0x58]
call fcn.140019080
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xc0]
lea rcx, [rsp + 0xa8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
movss xmm3, dword [rsp + 0x38]
movss xmm2, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.1400412a0
jmp 0x140013e9e
mov rcx, qword [rsp + 0x148]
call fcn.14004bf20
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x110]
call fcn.140002760
lea rcx, [rsp + 0xd0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x18]
add eax, 4
cvtsi2ss xmm0, eax
movss dword [rsp + 0x48], xmm0
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x14]
add eax, 4
cvtsi2ss xmm0, eax
movss dword [rsp + 0x4c], xmm0
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0xc]
sub eax, 2
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x10]
sub eax, 2
mov dword [rsp + 0x40], eax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + 0x80]
call fcn.140019080
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0xe0]
lea rcx, [rsp + 0xd0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
movss xmm3, dword [rsp + 0x48]
movss xmm2, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call fcn.1400412a0
add rsp, 0x128
pop rdi
pop rsi
ret
Function at 0x140016110
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140017870
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x14001f310
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x14001f332
mov rcx, qword [rsp + 0x40]
call fcn.14001f3e0
jmp 0x14001f349
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x14001f349
mov rcx, qword [rsp + 0x40]
call fcn.14001f490
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x14001f3e0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x14001f401
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x14001f485
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x14001f450
mov dword [rsp + 4], 0x9908b0df
jmp 0x14001f458
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14001f3f4
add rsp, 0x18
ret
Function at 0x14001f490
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x14001f4c0
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x14001f542
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x14001f50e
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x14001f516
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14001f4b5
mov qword [rsp + 8], 0xe3
jmp 0x14001f55a
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x14001f5e1
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x14001f5ab
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x14001f5b3
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14001f54d
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14001f635
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x14001f63d
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x14004e600
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.api_ms_win_core_localization_l1_2_0.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 0x14004e684
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14007e990]
cmp byte [rcx + rax], 0
je 0x14004e684
dec r8
sub rdx, 1
jne 0x14004e66a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140055dc0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1400e3110]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r14, r8
mov rsi, rdx
test rcx, rcx
je 0x140055ee0
test r8, r8
je 0x140055ee0
xor edi, edi
mov qword [r8], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rdi + 1]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
cmove rbx, rdi
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x140055ea3
lea r9d, [rdi + 0x18]
lea r8, [rsp + 0x48]
lea edx, [rdi + 1]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l2_1_0.dll_GetFileInformationByHandleEx]
test eax, eax
je 0x140055ea3
cmp dword [rsp + 0x54], edi
jle 0x140055e5b
mov edi, 0x80004005
jmp 0x140055ece
mov ecx, dword [rsp + 0x50]
call fcn.140056a1c
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
je 0x140055e74
call fcn.140056468
mov rdx, qword [rsi]
test rdx, rdx
jne 0x140055e83
mov edi, 0x8007000e
jmp 0x140055ece
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x60]
mov r8d, dword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
jne 0x140055eba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x140055ece
movzx edi, ax
or edi, 0x80070000
jmp 0x140055ece
mov eax, dword [rsp + 0x60]
cmp eax, dword [rsp + 0x50]
jae 0x140055ecb
mov edi, 0x80004005
jmp 0x140055ece
mov qword [r14], rax
test rbx, rbx
je 0x140055edc
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, edi
jmp 0x140055ee5
mov eax, 0x80070057
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140055f20
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop r14
pop rdi
pop rsi
ret

Function at 0x140056bf0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14005fe23
call fcn.1400626ec
mov dword [rax], 0x16
call fcn.140063b84
xor eax, eax
jmp 0x14005feb1
mov rdx, r9
mov rcx, r8
call fcn.14005fd88
mov rbx, rax
test rax, rax
je 0x14005feae
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14005fcb4]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14005fe9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140062660
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14005fe82
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14005fe91
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400694e8
jmp 0x14005feae
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14005feab
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140065e4c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140065c48
Function at 0x14006f99c
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 0x14006f9cc
xor eax, eax
jmp 0x14006fa8f
mov rbp, rbx
cmp word [rax], si
je 0x14006f9f1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14006f9d8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14006f9d4
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.14006c340
movsxd r14, eax
test eax, eax
jne 0x14006fa2f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14006f9c5
mov rcx, r14
call fcn.14006a120
mov rdi, rax
test rax, rax
jne 0x14006fa48
xor ecx, ecx
call fcn.1400694e8
jmp 0x14006fa24
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.14006c340
test eax, eax
jne 0x14006fa79
mov rcx, rdi
call fcn.1400694e8
jmp 0x14006fa83
xor ecx, ecx
call fcn.1400694e8
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 0x140072a04
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.140068c58
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 0x140072aa5
cmp ebx, dword [rsp + 0x30]
je 0x140072a9e
test esi, esi
je 0x140072a9e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140072a79
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140072a86
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140072a63
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140072a8a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140072aa7
mov eax, 1
jmp 0x140072aa7
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140076edc
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14005cef8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140076f66
cmp byte [rbp - 0x21], r15b
je 0x140076f61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140076f9c
call fcn.140069844
test eax, eax
jne 0x140076f88
cmp byte [rbp - 0x21], r15b
je 0x140076f80
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140076f9c
cmp byte [rbp - 0x21], r15b
je 0x140076f99
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140065600
test eax, eax
jne 0x14007703c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14005cef8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140076fdb
cmp byte [rbp - 0x21], r15b
je 0x140077010
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140077010
call fcn.140069844
test eax, eax
jne 0x140076ffc
cmp byte [rbp - 0x21], r15b
je 0x140076ff5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140077010
cmp byte [rbp - 0x21], r15b
je 0x14007700d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140065600
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14007703c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14007703f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14007704d
mov rcx, rdi
call fcn.1400694e8
cmp byte [rbp + 0x3f], r15b
je 0x14007705c
mov rcx, qword [rbp + 0x27]
call fcn.1400694e8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x180001510
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180001538
xor eax, eax
lea r8, [0x1800011e0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret