joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b3bd0
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 [0x140425440]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rcx
xor ebx, ebx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400b3c1b
lea rdx, [rbp - 0x14]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rbp - 0x14], 0x103
je 0x1400b3db6
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.1400b5a80
test eax, eax
je 0x1400b3c63
xor r9d, r9d
lea r8, [0x1402bc5e0]
lea rdx, str.C:Users_vijayDocumentsProjects_fxsound_app_audiopassthru_srcAudioPassthruAudioPassthruPrivate.cpp
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
jmp 0x1400b3db8
cmp dword [rbp - 0x10], ebx
jne 0x1400b3c6e
mov byte [rsi + 0x418], bl
cmp dword [rbp - 0xc], ebx
jle 0x1400b3c9e
cmp dword [rbp - 0x18], 1
jne 0x1400b3c9e
lea rax, [rsi + 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9, rsi
lea r8, [0x1400b3df0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
mov rcx, rsi
call fcn.1400b40e0
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
sar rdx, 9
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400b3da6
movabs rax, 0x34da034da034da
cmp rdx, rax
ja 0x1400b3de2
imul rdi, rdx, 0x4d8
test rdi, rdi
je 0x1400b3d3d
cmp rdi, 0x1000
jb 0x1400b3d32
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1400b3de8
call fcn.1400da124
test rax, rax
je 0x1400b3ddc
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400b3d3d
mov rcx, rdi
call fcn.1400da124
mov rbx, rax
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
lea rcx, [rdi + rbx]
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 0x1400b3da2
nop
mov rdx, rdi
mov rcx, rbx
call fcn.1400087a0
add rbx, 0x4d8
mov qword [rbp - 0x28], rbx
add rdi, 0x4d8
cmp rdi, r14
jne 0x1400b3d80
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.1400d9d70
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.1400e0c38
int3
call fcn.1400040a0
int3
call fcn.140003990
int3
Function at 0x1400ba650
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x140425440]
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.1402a2d50
lea rcx, [0x1402be080]
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 0x1400ba6cf
call rax
jmp 0x1400ba6d5
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.1400d9d70
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x180
pop rdi
ret

Function at 0x1400ba890
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140425440]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, r8
test rdx, rdx
jne 0x1400ba8de
lea r8, [0x1402be370]
xor r9d, r9d
lea rdx, str.C:Users_vijayDocumentsProjects_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.1400d9d70
add rsp, 0x70
pop rbx
ret
test rbx, rbx
jne 0x1400ba8ec
lea r8, [0x1402be378]
jmp 0x1400ba8b4
mov qword [rsp + 0x80], rdi
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [r8 + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400ba900
lea edi, [rax*2 + 2]
cmp ecx, 1
jne 0x1400ba922
mov rcx, 0xffffffff80000000
jmp 0x1400ba94e
cmp ecx, 2
jne 0x1400ba930
mov rcx, 0xffffffff80000002
jmp 0x1400ba94e
cmp ecx, 4
jne 0x1400ba93e
mov rcx, 0xffffffff80000001
jmp 0x1400ba94e
cmp ecx, 3
jne 0x1400ba9df
mov rcx, 0xffffffff80000003
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea r9, [0x14039b798]
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 0x1400ba992
lea r8, [0x1402be388]
jmp 0x1400ba9e6
mov rcx, qword [rsp + 0x50]
lea rdx, [0x14039b798]
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 0x1400ba9c3
lea r8, [0x1402bd3c0]
jmp 0x1400ba9e6
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400ba9db
lea r8, [0x1402bd558]
jmp 0x1400ba9e6
xor eax, eax
jmp 0x1400ba9fd
lea r8, [0x1402be380]
xor r9d, r9d
lea rdx, str.C:Users_vijayDocumentsProjects_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.1400d9d70
add rsp, 0x70
pop rbx
ret
Function at 0x1400baa20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140425440]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov dword [r8], 0
mov rdi, r9
mov rbx, r8
test rdx, rdx
jne 0x1400baa57
lea r8, [0x1402be398]
jmp 0x1400baafe
cmp ecx, 1
jne 0x1400baa65
mov rcx, 0xffffffff80000000
jmp 0x1400baa8d
cmp ecx, 2
jne 0x1400baa73
mov rcx, 0xffffffff80000002
jmp 0x1400baa8d
cmp ecx, 3
jne 0x1400baa81
mov rcx, 0xffffffff80000003
jmp 0x1400baa8d
cmp ecx, 4
jne 0x1400baaf7
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 0x1400baaf3
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [0x14039b798]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400baaf3
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400baaed
lea r8, [0x1402be280]
jmp 0x1400baafe
mov dword [rbx], 1
xor eax, eax
jmp 0x1400bab15
lea r8, [0x1402be3a0]
xor r9d, r9d
lea rdx, str.C:Users_vijayDocumentsProjects_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.1400d9d70
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400c5dc0
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.1400e9d14
mov rdi, rax
test rax, rax
jne 0x1400c5e1a
lea r8, [0x1402c0f90]
xor r9d, r9d
lea rdx, str.C:Users_vijayDocumentsProjects_fxsound_appdspptutilQntQntitor2.cpp
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
jmp 0x1400c5f6a
test rbx, rbx
jne 0x1400c5e28
lea r8, [0x1402be4d0]
jmp 0x1400c5dfe
cmp dword [rbx + 0x408], 2
je 0x1400c5e3a
lea r8, [0x1402be4d8]
jmp 0x1400c5dfe
mov qword [rax], rsi
mov edx, 4
mov dword [rax + 0x408], 2
xor esi, esi
mov eax, dword [rbx + 0x410]
mov dword [rdi + 0x410], eax
movsxd rax, dword [rbx + 0x40c]
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.1400e9d14
mov qword [rdi + 0x428], rax
mov r14, rax
test rax, rax
jne 0x1400c5ebd
xor r9d, r9d
lea r8, [0x1402c0018]
lea rdx, str.C:Users_vijayDocumentsProjects_fxsound_appdspptutilQntQntitor2.cpp
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
jmp 0x1400c5f62
cmp dword [rbx + 0x40c], esi
jle 0x1400c5f5d
mov qword [rsp + 0x80], rbp
mov rbp, rsi
movaps xmmword [rsp + 0x50], xmm6
movss xmm6, dword [0x1403b6240]
movaps xmmword [rsp + 0x40], xmm7
movss xmm7, dword [0x1403b5998]
movaps xmmword [rsp + 0x30], xmm8
movss xmm8, dword [0x1403b5ae4]
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.1400fc2d0
xorps xmm1, xmm1
lea rbp, [rbp + 4]
cvtsd2ss xmm1, xmm0
inc esi
movss dword [r14 + rbp - 4], xmm1
cmp esi, dword [rbx + 0x40c]
jl 0x1400c5f00
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 0x1400d88c8
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 0x1400d88f6
xor eax, eax
jmp 0x1400d89dc
cmp qword [rcx + 0x68], 0
je 0x1400d8907
call fcn.140015b50
jmp 0x1400d89dc
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400d891e
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400d8920
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400d8952
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1402a26b0
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 0x1400d89d6
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1400d8989
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 0x1400d89b2
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1400f2d74
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1400d89d6
cmp rsi, rbx
ja 0x1400d8990
test rsi, rsi
je 0x1400d89d6
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400f2d74
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 0x1400dad9c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400dade6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400dade6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400dade6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400dade6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400dade6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400dade8
xor al, al
add rsp, 0x28
ret
Function at 0x1400e9e54
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 0x1400e9e8b
call fcn.1400e8fa8
mov dword [rax], SafeArrayCopy
call fcn.1400e0c18
xor eax, eax
jmp 0x1400e9f19
mov rdx, r9
mov rcx, r8
call fcn.1400e9df0
mov rbx, rax
test rax, rax
je 0x1400e9f16
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400e9d1c]
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 0x1400e9f03
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400e8f1c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400e9eea
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400e9ef9
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1401017e0
jmp 0x1400e9f16
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400e9f13
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 0x140100250
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1401002bf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401002bf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401002bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401002bf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401002bf
cmp dword [rcx + 0x84], 0xe
jbe 0x1401002bf
cmp dword [rcx + 0xf8], 0
je 0x1401002bf
mov ecx, ebx
call fcn.140100370
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14010014c
nop
cmp dword [rbp + 0x20], 0
je 0x14010030d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140100318
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140100250

Function at 0x140100454
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140100250
Function at 0x140108f8c
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.140101b94
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 0x14010902d
cmp ebx, dword [rsp + 0x30]
je 0x140109026
test esi, esi
je 0x140109026
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140109001
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14010900e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140108feb
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140109012
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14010902f
mov eax, 1
jmp 0x14010902f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14010ab14
Capabilities:
Get file size

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

Function at 0x14010ad28
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, [0x140443db0]
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 0x14010ad7f
cmp word [rdx], r13w
jne 0x14010ad7f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14010ad84
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14010aea9
mov r11d, SafeArrayGetDim
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14010aeca
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14010adbd
mov rdx, r9
mov word [rbx], cx
jmp 0x14010ade4
cmp r9, r8
jae 0x14010adf4
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 0x14010ad9e
jmp 0x14010aea9
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 0x14010ae9e
cmp dword [rsp + 0x80], esi
je 0x14010ae9e
lea r8, [0x140443db0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14010ae76
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14010ae46
mov word [rbx], r13w
jmp 0x14010aea6
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 0x14010ae53
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14010aea6
cmp word [rsp + 0x70], r13w
jne 0x14010ae83
cmp rbx, r14
je 0x14010ae40
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14010e67c
cmp word [rsp + 0x70], r13w
je 0x14010aea9
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, [0x140443db0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14010aea3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14010aea9
Function at 0x14010e18c
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.1400da8e0
sub rsp, rax
mov rax, qword [0x140425440]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400f2140
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14010e1db
mov rax, rbp
jmp 0x14010e2e3
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 + 0x443db0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14010e674
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x443db0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14010e2df
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 0x14010e2df
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14010e674
test rax, rax
js 0x14010e2df
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14010e2df
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14010e2d1
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14010e2d1
cmp byte [rcx], 0xd
jne 0x14010e2b7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14010e2c6
cmp byte [rcx + 1], 0xa
jne 0x14010e2c6
inc rcx
jmp 0x14010e2c6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x425fd0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14010e299
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14010e2e3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400d9d70
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 0x14010fde8
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 0x14010fe18
xor eax, eax
jmp 0x14010fedb
mov rbp, rbx
cmp word [rax], si
je 0x14010fe3d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14010fe24
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14010fe20
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.140104880
movsxd r14, eax
test eax, eax
jne 0x14010fe7b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14010fe11
mov rcx, r14
call fcn.140101f70
mov rdi, rax
test rax, rax
jne 0x14010fe94
xor ecx, ecx
call fcn.1401017e0
jmp 0x14010fe70
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.140104880
test eax, eax
jne 0x14010fec5
mov rcx, rdi
call fcn.1401017e0
jmp 0x14010fecf
xor ecx, ecx
call fcn.1401017e0
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 0x14010fef8
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 0x14010ff7f
mov rsi, rbx
cmp word [rax], bp
je 0x14010ff3e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14010ff28
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14010ff24
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140101f70
mov rdi, rax
test rax, rax
je 0x14010ff6c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1402a26b0
mov rbp, rdi
xor ecx, ecx
call fcn.1401017e0
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