joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400445e0
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x14004466c
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x140044640
lea r11, [0x1400e2f40]
nop
cmp r9b, 0x23
jne 0x140044623
cmp byte [r8], r9b
jne 0x140044623
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140044610
mov rcx, qword [0x1400fc448]
not eax
cmp dword [rcx + 0x3f00], eax
jne 0x140044657
mov dword [rcx + 0x3f04], eax
cmp dword [rcx + 0x3f30], eax
jne 0x1400446c6
mov byte [rcx + 0x3f34], 1
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
xor edx, edx
mov rbx, qword [0x1400fc448]
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov r8, qword [rbx + 0x3ea0]
movsxd rax, dword [r8 + 0xe8]
mov r8, qword [r8 + 0xf0]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140006fe0
cmp dword [rbx + 0x3ee8], eax
mov esi, eax
mov rbx, qword [rsp + 0x30]
jne 0x1400446bf
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.14001e970
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140049b30
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1400f9040]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov ecx, 2
xor edi, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140049b6e
xor eax, eax
jmp 0x140049bfc
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call fcn.1400c3990
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140049bf1
lea rdx, [rsp + 0x4c]
lea rcx, str.cs2.exe
call fcn.140083350
test eax, eax
je 0x140049bed
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140049bf1
lea rdx, [rsp + 0x4c]
lea rcx, str.cs2.exe
call fcn.140083350
test eax, eax
je 0x140049bed
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140049bc3
jmp 0x140049bf1
mov edi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140049d30
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x140049c20
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x1400f9040]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov edx, ecx
xor edi, edi
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140049c5e
xor eax, eax
jmp 0x140049cf0
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x434
call fcn.1400c3990
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x438
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
cmp eax, 1
jne 0x140049ce4
lea rdx, [rsp + 0x50]
lea rcx, str.client.dll
call fcn.140054660
test rax, rax
jne 0x140049cdf
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
cmp eax, 1
jne 0x140049ce4
lea rdx, [rsp + 0x50]
lea rcx, str.client.dll
call fcn.140054660
test rax, rax
jne 0x140049cdf
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
cmp eax, 1
je 0x140049cb4
jmp 0x140049ce4
mov rdi, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140049d30
mov rbx, qword [rsp + 0x488]
add rsp, 0x470
pop rdi
ret

Function at 0x14004aa50
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14004a600
movzx eax, al
test eax, eax
jne 0x14004aa70
mov ecx, 7
call fcn.14004b330
nop
mov byte [rsp + 0x20], 0
call fcn.14004a590
mov byte [rsp + 0x21], al
cmp dword [0x1400fa8b0], 1
jne 0x14004aa94
mov ecx, 7
call fcn.14004b330
nop
jmp 0x14004aaec
cmp dword [0x1400fa8b0], 0
jne 0x14004aae7
mov dword [0x1400fa8b0], 1
lea rdx, [0x1400c6718]
lea rcx, [0x1400c66d0]
call fcn.140086930
test eax, eax
je 0x14004aac8
mov eax, 0xff
jmp 0x14004abf1
lea rdx, [0x1400c66c8]
lea rcx, [0x1400c64f8]
call fcn.1400868d0
mov dword [0x1400fa8b0], 2
jmp 0x14004aaec
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14004a7f0
call fcn.14004b870
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14004ab49
mov rcx, qword [rsp + 0x30]
call fcn.14004a760
movzx eax, al
test eax, eax
je 0x14004ab49
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [str.p2_f_]
nop
call fcn.14004b880
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14004ab7d
mov rcx, qword [rsp + 0x38]
call fcn.14004a760
movzx eax, al
test eax, eax
je 0x14004ab7d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140084380
nop
call fcn.14004ac00
mov dword [rsp + 0x28], eax
call fcn.14004b4f0
movzx eax, al
test eax, eax
jne 0x14004ab9c
mov ecx, dword [rsp + 0x28]
call fcn.1400843d0
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14004abab
call fcn.140084340
nop
xor edx, edx
mov cl, 1
call fcn.14004a820
mov eax, dword [rsp + 0x28]
jmp 0x14004abf1
add rsp, 0x68
ret
Function at 0x140050330
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x80], 0
jg 0x140050355
xor eax, eax
jmp 0x140050516
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x14005037d
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140050520
jmp 0x140050516
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400494f0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x14005041a
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1400029e0
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x70]
call fcn.140049530
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.140002910
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.14004f050
nop
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x140050506
mov rcx, qword [rsp + 0x70]
call fcn.14004eb80
mov qword [rsp + 0x58], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x1400504ba
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.1400746f0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x30], 0xfff
je 0x1400504b8
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x140050516
jmp 0x140050440
cmp qword [rsp + 0x20], 0
jbe 0x140050506
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.1400746f0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x68
ret

Function at 0x14005b4c0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.14005afa0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14005b4ff
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [str.p2_f_]
jmp 0x14005b509
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x140084120
Capabilities:
Terminate process

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x28
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140084148
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [rsp + 0x30]
call fcn.140084240
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1400928f0
Capabilities:
Print debug messages

Disassembly:
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 0x140098bf0
Capabilities:
Get geographical location

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.1400980a0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140098c4c
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call fcn.1400c32b0
jmp 0x140098c6e
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.140098f00
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret
Function at 0x14009d480
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.1400b9860
sub rsp, rax
mov rax, qword [0x1400f9040]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1400fbe30]
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 0x14009d67a
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 0x14009d5c6
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14009d5c6
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 0x14009d5ab
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 0x14009d548
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14009d63a
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 0x14009d699
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x40], eax
jae 0x14009d675
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 0x14009d699
jmp 0x14009d51e
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.140049d30
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14009d6c0
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.1400b9860
sub rsp, rax
mov rax, qword [0x1400f9040]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1400fbe30]
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 0x14009d8d5
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 0x14009d819
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14009d819
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 0x14009d7f9
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 0x14009d788
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 + 0x48], eax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x48]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14009d895
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 0x14009d8f4
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x44], eax
jae 0x14009d8d0
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 0x14009d8f4
jmp 0x14009d75e
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.140049d30
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14009f5b0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.140070a10
movzx eax, al
test eax, eax
je 0x14009f5d7
mov al, 1
jmp 0x14009f6cc
lea rcx, [rsp + 0x60]
call fcn.140070a50
movzx eax, al
test eax, eax
je 0x14009f616
lea rcx, [rsp + 0x60]
call fcn.14004ba80
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
call fcn.14004ba80
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x40]
cmp qword [rcx], rax
jne 0x14009f616
xor al, al
jmp 0x14009f6cc
lea rcx, [rsp + 0x60]
call fcn.1400724d0
mov ecx, eax
call fcn.1400a72c0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x14009f63b
xor al, al
jmp 0x14009f6cc
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov r9d, 1
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x14009f680
xor al, al
jmp 0x14009f6cc
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x14009f6a9
xor al, al
jmp 0x14009f6cc
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
jne 0x14009f6bf
mov dword [rsp + 0x20], 1
jmp 0x14009f6c7
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x50
pop rdi
ret
Function at 0x1400a4b10
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14004cba0
lea rcx, [rsp + 0x40]
call fcn.1400a4ad0
movzx eax, al
test eax, eax
jne 0x1400a4b58
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.1400a4a00
mov rax, qword [rsp + 0x70]
jmp 0x1400a4d29
lea rcx, [rsp + 0x40]
call fcn.14004ba80
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400a4a80
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.14004ba80
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1400a48d0
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1400a4bfe
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.1400a4a00
mov rax, qword [rsp + 0x80]
jmp 0x1400a4d29
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400809d0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14004cba0
lea rcx, [rsp + 0x48]
call fcn.140052030
movzx eax, al
test eax, eax
jne 0x1400a4c65
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.140052010
lea rcx, [rsp + 0x40]
call fcn.1400a4a00
mov rax, qword [rsp + 0x88]
jmp 0x1400a4d29
lea rcx, [rsp + 0x48]
call fcn.14004ba80
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14004ba80
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1400a48d0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1400a4cfb
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.140052010
lea rcx, [rsp + 0x40]
call fcn.1400a4a00
mov rax, qword [rsp + 0xa0]
jmp 0x1400a4d29
lea rcx, [rsp + 0x48]
call fcn.140053860
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.140052010
lea rcx, [rsp + 0x40]
call fcn.1400a4a00
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x1400ac0d0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x40], 0
je 0x1400ac10f
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
test eax, eax
je 0x1400ac10f
lea rdx, [0x1400db078]
mov rcx, qword [rsp + 0x40]
call fcn.1400a9890
test eax, eax
jne 0x1400ac146
mov r9d, 2
lea r8, [rsp + 0x20]
mov edx, 0x20001004
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1400ac135
xor eax, eax
jmp 0x1400ac195
cmp dword [rsp + 0x20], 0
jne 0x1400ac144
call qword [sym.imp.KERNEL32.dll_GetACP]
jmp 0x1400ac195
jmp 0x1400ac191
lea rdx, [0x1400db090]
mov rcx, qword [rsp + 0x40]
call fcn.1400a9890
test eax, eax
jne 0x1400ac183
mov r9d, 2
lea r8, [rsp + 0x20]
mov edx, 0x2000000b
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1400ac181
xor eax, eax
jmp 0x1400ac195
jmp 0x1400ac191
mov rcx, qword [rsp + 0x40]
call fcn.1400908a0
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x1400ac200
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov dword [rsp + 0x20], 0
movzx eax, word [rsp + 0x50]
and eax, 0x3ff
movzx eax, ax
bts eax, 0xa
movzx eax, ax
mov dword [rsp + 0x24], eax
call fcn.140093ac0
add rax, 0x98
mov qword [rsp + 0x30], rax
mov r9d, 2
lea r8, [rsp + 0x20]
mov edx, 0x20000001
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1400ac263
xor eax, eax
jmp 0x1400ac2a3
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x50], eax
je 0x1400ac29e
cmp dword [rsp + 0x58], 0
je 0x1400ac29e
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call fcn.1400ab9d0
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
call fcn.14008efc0
mov ecx, dword [rsp + 0x28]
cmp ecx, eax
jne 0x1400ac29e
xor eax, eax
jmp 0x1400ac2a3
mov eax, 1
add rsp, 0x48
ret
Function at 0x1400b02b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1400f9040]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1400b02d9
jmp 0x1400b035e
mov rcx, qword [rbp + 0x30]
call fcn.1400c4140
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1400b02f2
jmp 0x1400b035e
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1400b030f
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400b9860
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], 0
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.1400ad250
test eax, eax
jne 0x1400b035e
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.140049d30
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x1400b6a20
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.14008f480
lea rcx, [rsp + 0x48]
call fcn.14008f480
call fcn.1400925e0
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.14008f370
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400b6a8f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.14008f510
lea rcx, [rsp + 0x78]
call fcn.14008f510
mov eax, dword [rsp + 0x24]
jmp 0x1400b6b20
call fcn.1400925e0
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.14008f370
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1400b6ad6
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.14008f510
lea rcx, [rsp + 0x78]
call fcn.14008f510
mov eax, dword [rsp + 0x2c]
jmp 0x1400b6b20
lea rcx, [rsp + 0x48]
call fcn.14007be00
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.14007be00
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.14008f510
lea rcx, [rsp + 0x78]
call fcn.14008f510
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x140f618ac
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f618b6
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f618df
pop rbp
sub rbp, 0x33
sub rbp, 0xf618ac
sub rsp, 0x20
jmp 0x140f618fe
mov rax, 0xf618ac
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x5ee9aa64
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f6191d
jmp 0x140f61934
sub al, 0xed
invalid