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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
movzx eax, byte [0x140143048]
test eax, eax
jne 0x140015b29
jmp 0x140015c06
mov dword [rsp + 0x24], 0
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140015b48
mov byte [rsp + 0x21], 1
jmp 0x140015b4d
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x20], al
mov rcx, qword [rsp + 0x50]
call fcn.14000fab0
mov byte [rsp + 0x22], al
mov edx, dword [rsp + 0x24]
lea rcx, [0x140191dd0]
call fcn.14001d7b0
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140015bbb
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140015bbb
mov dword [rsp + 0x28], 5
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1400088d0
mov rcx, rax
call fcn.14000c710
nop
mov edx, 0x10001
lea rcx, [0x140191dd0]
call fcn.14001d7b0
nop
jmp 0x140015c06
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140015be1
movzx eax, byte [rsp + 0x22]
test eax, eax
jne 0x140015be1
mov edx, pe_nt_image_headers64
lea rcx, [0x140191dd0]
call fcn.14001d7b0
nop
jmp 0x140015c06
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140015c06
cmp dword [rsp + 0x24], 0x10001
jne 0x140015c06
mov edx, pe_nt_image_headers64
lea rcx, [0x140191dd0]
call fcn.14001d7b0
nop
add rsp, 0x48
ret
Function at 0x14001d510
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x4b0
lea rbp, [rsp + 0x20]
mov dword [rbp + 0x50], 0x438
mov rax, qword [rbp + 0x4a0]
mov edx, dword [rax + 0x10]
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 8]
call sub.KERNEL32.dll_Module32FirstW
call fcn.14001d8f0
mov dword [rbp + 0x10], eax
mov rcx, qword [rbp + 0x4a8]
call fcn.140004f70
mov qword [rbp + 0x38], rax
lea rax, [rbp + 0x80]
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x18], 0
jne 0x14001d58a
mov qword [rbp + 0x28], 0
jmp 0x14001d60a
mov rcx, qword [rbp + 0x18]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x14001d5ab
mov qword [rbp + 0x20], 0
jmp 0x14001d602
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rbp + 0x30], rax
movsxd rcx, dword [rbp]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x14001d5d3
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1400d09d0
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 0x10]
mov rcx, qword [rbp + 0x30]
mov r8d, ecx
mov rdx, qword [rbp + 0x18]
mov rcx, rax
call fcn.14001d450
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x28], rax
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x28]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14001d640
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x40], rax
mov rcx, qword [rbp + 0x4a8]
call fcn.1400041f0
mov rax, qword [rbp + 0x40]
jmp 0x14001d678
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 8]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x14001d55b
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [rbp + 0x48], 0
mov rcx, qword [rbp + 0x4a8]
call fcn.1400041f0
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x490]
pop rbp
ret
Function at 0x140020b50
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x2b0
lea rbp, [rsp + 0x20]
mov dword [rbp + 0x50], 0x238
xor edx, edx
mov ecx, 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 8]
call sub.KERNEL32.dll_Process32FirstW
call fcn.14001d8f0
mov dword [rbp + 0x10], eax
mov rcx, qword [rbp + 0x2a8]
call fcn.140004f70
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x7c]
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 0
jne 0x140020bbf
mov qword [rbp + 0x30], 0
jmp 0x140020c3f
mov rcx, qword [rbp + 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x140020be0
mov qword [rbp + 0x28], 0
jmp 0x140020c37
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rbp + 0x38], rax
movsxd rcx, dword [rbp]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x140020c08
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1400d09d0
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 0x10]
mov rcx, qword [rbp + 0x38]
mov r8d, ecx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call fcn.14001d450
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x30], rax
mov rdx, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140020c72
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 0x58]
mov dword [rbp + 0x14], eax
mov rcx, qword [rbp + 0x2a8]
call fcn.1400041f0
mov eax, dword [rbp + 0x14]
jmp 0x140020ca8
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 8]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140020b93
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rbp + 0x18], 0
mov rcx, qword [rbp + 0x2a8]
call fcn.1400041f0
mov eax, dword [rbp + 0x18]
lea rsp, [rbp + 0x290]
pop rbp
ret
Function at 0x140059470
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
add rsp, 0x28
ret

Function at 0x1400594b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add rsp, 0x28
ret

Function at 0x1400598d0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x140109860]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x14005995e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x140059902
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret
Function at 0x140059970
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x140109860]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x140059a74
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x140059a6f
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x140059a44
cmp qword [rsp + 0x38], 2
jb 0x140059a44
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140059a44
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140059a44
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1400599b7
jmp 0x140059b06
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x140059b06
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x140059adc
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140059adc
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140059adc
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140059a74
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x140085c40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x5c], 0
xorps xmm0, xmm0
movss dword [rsp + 0x60], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x64], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x68], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x6c], xmm0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x2c], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x34], xmm0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
lea r8, [rsp + 0x58]
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.14008af40
test eax, eax
je 0x140085dc6
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0xe
mov rcx, rax
call fcn.14005d990
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.14008af40
test eax, eax
je 0x140085dc6
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x50], eax
je 0x140085dba
mov r8d, 0x8eb
lea rdx, [0x14011dad0]
lea rcx, str.output_ctx.num_vertices__count_ctx.num_vertices
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
xor eax, eax
test eax, eax
jne 0x140085d92
mov eax, dword [rsp + 0x50]
jmp 0x140085dd7
mov rax, qword [rsp + 0xb0]
mov qword [rax], 0
xor eax, eax
add rsp, 0x98
ret
Function at 0x140094490
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400944b6
mov dword [rsp + 0x20], 1
jmp 0x1400944be
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400ad800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x3bf8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
movss xmm0, dword [rax + 0x3c00]
movss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [rax + 0x14]
movss dword [rsp + 0x3c], xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.14000d3f0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x30], rax
jae 0x1400ad94f
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xa
jne 0x1400ad911
movss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax]
call fcn.140044010
mov rax, qword [rsp + 0x70]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0xa0]
test eax, eax
je 0x1400ad90c
jmp 0x1400ad94f
jmp 0x1400ad882
cmp dword [rsp + 0x28], 0xd
jne 0x1400ad91d
jmp 0x1400ad882
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.1400acd20
mulss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x20]
addss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x20], xmm0
jmp 0x1400ad882
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rax]
jbe 0x1400ad96e
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
movss dword [rax], xmm0
cmp qword [rsp + 0x98], 0
je 0x1400ad9aa
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14000d3f0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x1400feb48]
ja 0x1400ad9ce
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x1400feb48]
jp 0x1400ad9e8
jne 0x1400ad9e8
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
cmp qword [rsp + 0x90], 0
je 0x1400ada03
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x1400cb430
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x1400cb45b
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400cb462
mov al, 1
jmp 0x1400cb5b8
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140023650
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140023650
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.140023660
movzx eax, al
test eax, eax
je 0x1400cb4b7
xor al, al
jmp 0x1400cb5b8
mov qword [rsp + 0x68], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call fcn.1400cff40
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400cb526
cmp dword [rsp + 0x30], 1
je 0x1400cb532
cmp dword [rsp + 0x30], 3
je 0x1400cb5a6
jmp 0x1400cb5b6
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x1400cb57d
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
cmp qword [rsp + 0x48], rax
je 0x1400cb57d
xor al, al
jmp 0x1400cb5b8
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400cb597
mov dword [rsp + 0x34], 1
jmp 0x1400cb59f
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x1400cb5b8
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400cb5b8
xor al, al
add rsp, 0xa8
ret
Function at 0x1400ce420
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
call fcn.140023650
mov edx, dword [rsp + 0xc8]
mov ecx, eax
call fcn.140023660
movzx eax, al
test eax, eax
je 0x1400ce45b
mov ecx, dword [rsp + 0xc8]
call fcn.1400ce290
jmp 0x1400ce6b5
mov rcx, qword [rsp + 0xc0]
call fcn.1400cec90
test rax, rax
je 0x1400ce4c6
mov rcx, qword [rsp + 0xc0]
call fcn.1400cec90
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0xc0]
call fcn.1400cdbb0
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
jae 0x1400ce4c6
mov ecx, dword [rsp + 0xc8]
call fcn.140043980
mov byte [rsp + 0x42], al
mov rcx, qword [rsp + 0xc0]
call fcn.140021fc0
movzx ecx, byte [rsp + 0x42]
mov byte [rax], cl
mov eax, dword [rsp + 0xc8]
jmp 0x1400ce6b5
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x80], 0
jne 0x1400ce4e2
call fcn.140023650
jmp 0x1400ce6b5
mov rcx, qword [rsp + 0xc0]
call fcn.1400cc310
nop
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x68], 0
jne 0x1400ce558
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x60], rax
mov ecx, dword [rsp + 0xc8]
call fcn.140043980
mov byte [rsp + 0x43], al
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rsp + 0x43]
call fcn.1400c4c00
movzx eax, al
test eax, eax
je 0x1400ce546
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x48], eax
jmp 0x1400ce54f
call fcn.140023650
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
jmp 0x1400ce6b5
mov qword [rsp + 0x80], 0x20
mov ecx, dword [rsp + 0xc8]
call fcn.140043980
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0xa8]
lea rcx, [rsp + 0x41]
mov rdx, qword [rsp + 0xc0]
add rdx, 0x74
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9, rcx
lea r8, [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
call fcn.1400ce3a0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1400ce5f8
cmp dword [rsp + 0x44], 1
je 0x1400ce5f8
cmp dword [rsp + 0x44], 3
je 0x1400ce674
jmp 0x1400ce6b0
lea rax, [rsp + 0x88]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jbe 0x1400ce64c
mov rax, qword [rsp + 0xc0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
lea rcx, [rsp + 0x88]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
cmp qword [rsp + 0x50], rax
je 0x1400ce64c
call fcn.140023650
jmp 0x1400ce6b5
mov rax, qword [rsp + 0xc0]
mov byte [rax + 0x71], 1
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x78], rax
je 0x1400ce66d
mov eax, dword [rsp + 0xc8]
jmp 0x1400ce6b5
call fcn.140023650
jmp 0x1400ce6b5
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 0x80]
movzx ecx, byte [rsp + 0x40]
call fcn.1400c4c00
movzx eax, al
test eax, eax
je 0x1400ce6a1
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x4c], eax
jmp 0x1400ce6aa
call fcn.140023650
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
jmp 0x1400ce6b5
call fcn.140023650
add rsp, 0xb8
ret
Function at 0x1400cff90
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 0x1400cffb5
xor eax, eax
jmp 0x1400d0176
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x1400cffdd
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400d0180
jmp 0x1400d0176
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.1400cb960
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x1400d007a
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.140003d70
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400ce0f0
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.140004fc0
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.1400cdda0
nop
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x1400d0166
mov rcx, qword [rsp + 0x70]
call fcn.1400cc310
mov qword [rsp + 0x58], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x1400d011a
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
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 0x1400d0118
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x1400d0176
jmp 0x1400d00a0
cmp qword [rsp + 0x20], 0
jbe 0x1400d0166
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
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 0x1400d11a4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400d11ee
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400d11ee
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400d11ee
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d11ee
cmp dword [rcx + 0x84], 0xe
jbe 0x1400d11ee
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400d11f0
xor al, al
add rsp, 0x28
ret
Function at 0x1400d1a60
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 0x1400d1a9a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400d1a9f
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 0x1400d1ae8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1401324c0]
cmp byte [rcx + rax], 0
je 0x1400d1ae8
dec r8
sub rdx, 1
jne 0x1400d1ace
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400e98fc
Capabilities:
Encode data using xor
Hash data using fnv

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

Function at 0x1400f33e8
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call sub.api_ms_win_crt_locale_l1_1_0.dll____lc_locale_name_func
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x1400f343a
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x1400f343a
sub ecx, 1
je 0x1400f3433
cmp ecx, 1
je 0x1400f342c
xor eax, eax
jmp 0x1400f343f
mov eax, 3
jmp 0x1400f343f
mov eax, 1
jmp 0x1400f343f
mov eax, 2
add rsp, 0x28
ret