joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b2a40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
sub rsp, 0x60
cmp qword [rcx + 0x38], 0
mov rdi, rcx
jne 0x1400b2ae3
cmp qword [rcx + 0x40], 0
jne 0x1400b2ae3
mov r10, qword [rcx]
mov ecx, dword [rcx + 0x30]
mov eax, ecx
movaps xmm0, xmmword [rdx]
shr eax, 0x18
movdqa xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x70], ecx
cmp al, 0xff
jae 0x1400b2ac2
test al, al
jne 0x1400b2a8c
mov word [rsp + 0x70], 0
mov byte [rsp + 0x72], al
jmp 0x1400b2ac2
mov edx, eax
movzx eax, cl
imul eax, edx
add eax, 0x7f
shr eax, 8
mov byte [rsp + 0x70], al
movzx eax, byte [rsp + 0x71]
imul eax, edx
add eax, 0x7f
shr eax, 8
mov byte [rsp + 0x71], al
movzx eax, byte [rsp + 0x72]
imul eax, edx
add eax, 0x7f
shr eax, 8
mov byte [rsp + 0x72], al
mov rax, qword [r10]
mov rdx, rdi
mov r9d, dword [rsp + 0x70]
mov rcx, r10
mov byte [rsp + 0x20], r8b
lea r8, [rsp + 0x30]
call qword [rax + 0x68]
add rsp, 0x60
pop rdi
ret
mov rcx, qword [rcx]
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rsi
movaps xmmword [rsp + 0x50], xmm6
movaps xmm6, xmmword [rdx]
lea rdx, [rsp + 0x40]
mov rax, qword [rcx]
movaps xmmword [rsp + 0x30], xmm6
call qword [rax + 0x58]
movd ecx, xmm6
movdqa xmm0, xmm6
mov r11, rax
psrldq xmm6, 8
psrldq xmm0, 4
mov edx, dword [rax]
mov r10d, edx
mov esi, dword [rax + 4]
cmp edx, ecx
mov r8d, dword [r11 + 8]
mov r9d, esi
cmovl r10d, ecx
movd ebx, xmm0
movd eax, xmm6
movaps xmm6, xmmword [rsp + 0x50]
cmp esi, ebx
cmovl r9d, ebx
add ecx, eax
add r8d, edx
cmp ecx, r8d
cmovl r8d, ecx
sub r8d, r10d
js 0x1400b2c14
mov ecx, dword [rsp + 0x3c]
mov edx, dword [r11 + 0xc]
add ecx, ebx
add edx, esi
cmp ecx, edx
cmovl edx, ecx
sub edx, r9d
js 0x1400b2c14
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x34], r9d
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x3c], edx
test r8d, r8d
jle 0x1400b2c14
test edx, edx
jle 0x1400b2c14
mov ecx, 0x20
call fcn.1400daadc
mov rbx, rax
mov qword [rsp + 0x88], rax
xor ecx, ecx
mov dword [rax + 8], ecx
lea rax, vtable.juce::RenderingHelpers::ClipRegions_struct_juce::OpenGLRendering::SavedState_::RectangleListRegion.0
mov qword [rbx], rax
mov rax, qword [rsp + 0x38]
shr rax, 0x20
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rcx
test eax, eax
jle 0x1400b2bff
mov ecx, 0x80
call fcn.1400e2094
movups xmm0, xmmword [rsp + 0x30]
mov qword [rbx + 0x10], rax
movsxd rcx, dword [rbx + 0x1c]
mov dword [rbx + 0x18], 8
lea eax, [rcx + 1]
add rcx, rcx
mov dword [rbx + 0x1c], eax
mov rax, qword [rbx + 0x10]
movups xmmword [rax + rcx*8], xmm0
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x70]
inc dword [rbx + 8]
mov rcx, rdi
call fcn.1400b0dc0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400b4b60
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14041d440]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rcx
xor ebx, ebx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400b4bab
lea rdx, [rbp - 0x14]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rbp - 0x14], 0x103
je 0x1400b4d25
mov dword [rsi + 0x14], ebx
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x18]
lea r8, [rbp - 0xc]
mov edx, 1
mov rcx, qword [rsi]
call fcn.1400b6a80
test eax, eax
je 0x1400b4bf3
xor r9d, r9d
lea r8, [0x1402bd5f0]
lea rdx, str.C:Users_vijayDocumentsProjectsFxSound_fxsound_app_audiopassthru_srcAudioPassthruAudioPassthruPrivate.cpp
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
jmp 0x1400b4d27
cmp dword [rbp - 0x10], ebx
jne 0x1400b4bfe
mov byte [rsi + 0x418], bl
cmp dword [rbp - 0xc], ebx
jle 0x1400b4c2e
cmp dword [rbp - 0x18], 1
jne 0x1400b4c2e
lea rax, [rsi + 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9, rsi
lea r8, [0x1400b4d60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
mov rcx, rsi
call fcn.1400b5050
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rbx
mov rcx, qword [rsi + 0x428]
sub rcx, qword [rsi + 0x420]
movabs rax, 0x69b4069b4069b407
imul rcx
mov rdi, rdx
sar rdi, 9
mov rax, rdi
shr rax, 0x3f
add rdi, rax
je 0x1400b4d15
movabs rax, 0x34da034da034da
cmp rdi, rax
ja 0x1400b4d4b
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.1400b47f0
mov rbx, rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
imul rcx, rdi, 0x4d8
add rcx, rax
mov qword [rbp - 0x40], rcx
lea rax, [rbp - 0x50]
mov qword [rbp - 0x38], rax
mov r14, qword [rsi + 0x428]
mov rdi, qword [rsi + 0x420]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
lea rax, [rbp - 0x50]
mov qword [rbp - 0x20], rax
cmp rdi, r14
je 0x1400b4d02
nop
mov rdx, rdi
mov rcx, rbx
call fcn.14000c200
add rbx, 0x4d8
mov qword [rbp - 0x28], rbx
add rdi, 0x4d8
cmp rdi, r14
jne 0x1400b4ce0
lea r8, [rbp - 0x50]
mov rdx, rbx
mov rcx, rbx
call fcn.14000c930
mov qword [rbp - 0x48], rbx
mov rcx, qword [rsi + 0x448]
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
call qword [rax]
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400da5a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400b47d0
int3
Function at 0x1400bb5a0
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x14041d440]
xor rax, rsp
mov qword [rsp + 0x170], rax
xorps xmm0, xmm0
mov dword [rcx], 0
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x11c
movups xmmword [r11 - 0x48], xmm0
movups xmmword [r11 - 0x38], xmm0
movups xmmword [r11 - 0x28], xmm0
call fcn.1400dda90
lea rcx, [0x1402bf128]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x140]
test rax, rax
je 0x1400bb61f
call rax
jmp 0x1400bb625
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
or dword [rbx], 1
mov eax, 0x100
cmp dword [rsp + 0x164], 0x24a
mov edx, 0x80
cmovbe eax, edx
or dword [rbx], eax
mov eax, dword [rsp + 0x160]
mov dword [rdi], eax
xor eax, eax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400da5a0
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x180
pop rdi
ret

Function at 0x1400bb7e0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14041d440]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, r8
test rdx, rdx
jne 0x1400bb82e
lea r8, [0x1402bf440]
xor r9d, r9d
lea rdx, str.C:Users_vijayDocumentsProjectsFxSound_fxsound_app_audiopassthru_src_reg_regWithoutKeyname.cpp
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400da5a0
add rsp, 0x70
pop rbx
ret
test rbx, rbx
jne 0x1400bb83c
lea r8, [0x1402bf448]
jmp 0x1400bb804
mov qword [rsp + 0x80], rdi
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [r8 + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400bb850
lea edi, [rax*2 + 2]
cmp ecx, 1
jne 0x1400bb872
mov rcx, 0xffffffff80000000
jmp 0x1400bb89e
cmp ecx, 2
jne 0x1400bb880
mov rcx, 0xffffffff80000002
jmp 0x1400bb89e
cmp ecx, 4
jne 0x1400bb88e
mov rcx, 0xffffffff80000001
jmp 0x1400bb89e
cmp ecx, 3
jne 0x1400bb92f
mov rcx, 0xffffffff80000003
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea r9, [0x1403923a8]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1400bb8e2
lea r8, [0x1402bf458]
jmp 0x1400bb936
mov rcx, qword [rsp + 0x50]
lea rdx, [0x1403923a8]
mov dword [rsp + 0x28], edi
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400bb913
lea r8, [0x1402be400]
jmp 0x1400bb936
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400bb92b
lea r8, [0x1402be5a8]
jmp 0x1400bb936
xor eax, eax
jmp 0x1400bb94d
lea r8, [0x1402bf450]
xor r9d, r9d
lea rdx, str.C:Users_vijayDocumentsProjectsFxSound_fxsound_app_audiopassthru_src_reg_regWithoutKeyname.cpp
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400da5a0
add rsp, 0x70
pop rbx
ret
Function at 0x1400bb970
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14041d440]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov dword [r8], 0
mov rdi, r9
mov rbx, r8
test rdx, rdx
jne 0x1400bb9a7
lea r8, [0x1402bf468]
jmp 0x1400bba4e
cmp ecx, 1
jne 0x1400bb9b5
mov rcx, 0xffffffff80000000
jmp 0x1400bb9dd
cmp ecx, 2
jne 0x1400bb9c3
mov rcx, 0xffffffff80000002
jmp 0x1400bb9dd
cmp ecx, 3
jne 0x1400bb9d1
mov rcx, 0xffffffff80000003
jmp 0x1400bb9dd
cmp ecx, 4
jne 0x1400bba47
mov rcx, 0xffffffff80000001
lea rax, [rsp + 0x30]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400bba43
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [0x1403923a8]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400bba43
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400bba3d
lea r8, [0x1402bf338]
jmp 0x1400bba4e
mov dword [rbx], 1
xor eax, eax
jmp 0x1400bba65
lea r8, [0x1402bf470]
xor r9d, r9d
lea rdx, str.C:Users_vijayDocumentsProjectsFxSound_fxsound_app_audiopassthru_src_reg_regWithoutKeyname.cpp
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400da5a0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400c6400
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r15
sub rsp, 0x60
mov rbx, rdx
movaps xmmword [rsp + 0x20], xmm9
mov r15, rcx
mov edx, 0x478
mov ecx, 1
movaps xmm9, xmm3
mov rsi, r8
call fcn.1400eb0e4
mov rdi, rax
test rax, rax
jne 0x1400c645a
lea r8, [0x1402c21e0]
xor r9d, r9d
lea rdx, str.C:Users_vijayDocumentsProjectsFxSound_fxsound_appdspptutilQntQntitor2.cpp
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
jmp 0x1400c65aa
test rbx, rbx
jne 0x1400c6468
lea r8, [0x1402bf5c0]
jmp 0x1400c643e
cmp dword [rbx + 0x408], 2
je 0x1400c647a
lea r8, [0x1402bf5c8]
jmp 0x1400c643e
mov qword [rax], rsi
xor esi, esi
mov dword [rax + 0x408], 2
mov eax, dword [rbx + 0x410]
mov dword [rdi + 0x410], eax
movsxd rax, dword [rbx + 0x40c]
lea edx, [rsi + 4]
mov rcx, rax
mov qword [rsp + 0x88], r14
mov qword [rdi + 0x418], rsi
mov qword [rdi + 0x420], rsi
mov dword [rdi + 0x460], esi
mov dword [rdi + 0x40c], eax
call fcn.1400eb0e4
mov qword [rdi + 0x428], rax
mov r14, rax
test rax, rax
jne 0x1400c64f9
xor r9d, r9d
lea r8, [0x1402c1198]
lea rdx, str.C:Users_vijayDocumentsProjectsFxSound_fxsound_appdspptutilQntQntitor2.cpp
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [rsi + 1]
jmp 0x1400c65a2
cmp dword [rbx + 0x40c], esi
jle 0x1400c659d
mov qword [rsp + 0x80], rbp
mov rbp, rsi
movaps xmmword [rsp + 0x50], xmm6
movss xmm6, dword [0x1403acdf0]
movaps xmmword [rsp + 0x40], xmm7
movss xmm7, dword [0x1403ac578]
movaps xmmword [rsp + 0x30], xmm8
movss xmm8, dword [0x1403ac6c4]
nop dword [rax]
mov rax, qword [rbx + 0x428]
movaps xmm0, xmm8
movss xmm1, dword [rax + rbp]
mulss xmm1, xmm7
mulss xmm1, xmm9
divss xmm0, xmm1
xorps xmm0, xmm6
cvtss2sd xmm0, xmm0
call fcn.1400fd6a0
xorps xmm1, xmm1
lea rbp, [rbp + 4]
cvtsd2ss xmm1, xmm0
inc esi
movss dword [r14 + rbp - 4], xmm1
cmp esi, dword [rbx + 0x40c]
jl 0x1400c6540
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
mov rbp, qword [rsp + 0x80]
mov qword [r15], rdi
xor eax, eax
mov r14, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
movaps xmm9, xmmword [rsp + 0x20]
add rsp, 0x60
pop r15
pop rdi
pop rsi
ret
Function at 0x1400d936c
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1400d939a
xor eax, eax
jmp 0x1400d9480
cmp qword [rcx + 0x68], 0
je 0x1400d93ab
call fcn.1400150f0
jmp 0x1400d9480
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400d93c2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400d93c4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400d93f6
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400dd3e0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1400d947a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1400d942d
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1400d9456
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1400f4144
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1400d947a
cmp rsi, rbx
ja 0x1400d9434
test rsi, rsi
je 0x1400d947a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400f4144
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400db624
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400db66e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400db66e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400db66e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400db66e
cmp dword [rcx + 0x84], 0xe
jbe 0x1400db66e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400db670
xor al, al
add rsp, 0x28
ret
Function at 0x1400eb224
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 0x1400eb25b
call fcn.1400ea378
mov dword [rax], SafeArrayCopy
call fcn.1400e1ff4
xor eax, eax
jmp 0x1400eb2e9
mov rdx, r9
mov rcx, r8
call fcn.1400eb1c0
mov rbx, rax
test rax, rax
je 0x1400eb2e6
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400eb0ec]
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 0x1400eb2d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400ea2ec
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400eb2ba
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400eb2c9
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140103a70
jmp 0x1400eb2e6
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400eb2e3
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 0x140102710
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14010250c

Function at 0x14010b28c
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.140103e24
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 0x14010b32d
cmp ebx, dword [rsp + 0x30]
je 0x14010b326
test esi, esi
je 0x14010b326
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14010b301
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14010b30e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14010b2eb
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14010b312
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14010b32f
mov eax, 1
jmp 0x14010b32f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14010ce14
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14010ce2a
mov al, 1
jmp 0x14010ce8a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14010ce3b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14010ce88
mov ecx, dword [rcx + 0x18]
nop
call fcn.14010f34c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14010ce88
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14010ce88
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14010ce88
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14010ce8a
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14010d028
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14043be90]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14010d07f
cmp word [rdx], r13w
jne 0x14010d07f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14010d084
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14010d1a9
mov r11d, SafeArrayGetDim
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14010d1ca
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14010d0bd
mov rdx, r9
mov word [rbx], cx
jmp 0x14010d0e4
cmp r9, r8
jae 0x14010d0f4
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14010d09e
jmp 0x14010d1a9
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14010d19e
cmp dword [rsp + 0x80], esi
je 0x14010d19e
lea r8, [0x14043be90]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14010d176
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14010d146
mov word [rbx], r13w
jmp 0x14010d1a6
mov ecx, SafeArrayGetDim
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14010d153
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14010d1a6
cmp word [rsp + 0x70], r13w
jne 0x14010d183
cmp rbx, r14
je 0x14010d140
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140110aec
cmp word [rsp + 0x70], r13w
je 0x14010d1a9
mov ecx, SafeArrayGetDim
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14043be90]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14010d1a3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14010d1a9
Function at 0x1401105fc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400db290
sub rsp, rax
mov rax, qword [0x14041d440]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400f3510
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14011064b
mov rax, rbp
jmp 0x140110753
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x43be90]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140110ae4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x43be90]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14011074f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14011074f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140110ae4
test rax, rax
js 0x14011074f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14011074f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140110741
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140110741
cmp byte [rcx], 0xd
jne 0x140110727
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140110736
cmp byte [rcx + 1], 0xa
jne 0x140110736
inc rcx
jmp 0x140110736
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x41dfa0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140110709
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140110753
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400da5a0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140112258
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 0x140112288
xor eax, eax
jmp 0x14011234b
mov rbp, rbx
cmp word [rax], si
je 0x1401122ad
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140112294
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140112290
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.140106b10
movsxd r14, eax
test eax, eax
jne 0x1401122eb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140112281
mov rcx, r14
call fcn.140104200
mov rdi, rax
test rax, rax
jne 0x140112304
xor ecx, ecx
call fcn.140103a70
jmp 0x1401122e0
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.140106b10
test eax, eax
jne 0x140112335
mov rcx, rdi
call fcn.140103a70
jmp 0x14011233f
xor ecx, ecx
call fcn.140103a70
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 0x140112368
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1401123ef
mov rsi, rbx
cmp word [rax], bp
je 0x1401123ae
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140112398
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140112394
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140104200
mov rdi, rax
test rax, rax
je 0x1401123dc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400dd3e0
mov rbp, rdi
xor ecx, ecx
call fcn.140103a70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret