joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140058944
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x48
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.1400585a4
cmp qword [rax + 0x18], 0xf
jbe 0x140058962
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1400589a4
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005899f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400589a9
call fcn.140093b30
add rsp, 0x48
ret
call fcn.14009afa0
int3

Function at 0x1400589b0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x20], r9
mov r9, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.140058668
cmp qword [rax + 0x18], 0xf
jbe 0x1400589d6
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140058a18
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058a13
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058a1d
call fcn.140093b30
add rsp, 0x58
ret
call fcn.14009afa0
int3

Function at 0x140058a24
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x48
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140058744
cmp qword [rax + 0x18], 0xf
jbe 0x140058a42
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140058a84
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058a7f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058a89
call fcn.140093b30
add rsp, 0x48
ret
call fcn.14009afa0
int3

Function at 0x140058a90
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x48
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140058808
cmp qword [rax + 0x18], 0xf
jbe 0x140058aab
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140058aed
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058ae8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058af2
call fcn.140093b30
add rsp, 0x48
ret
call fcn.14009afa0
int3

Function at 0x14005ba18
Capabilities:
Print debug messages
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str._enter_check_app_integrity__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call fcn.14005ba7c
test al, al
jne 0x14005ba69
xor r9d, r9d
lea r8, [0x1400c7568]
lea rdx, str.Dll
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x14005ba69
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, str._____leave_check_app_integrity______n
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
Function at 0x14005bd8c
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
mov r8, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14005bdc6
cmp eax, 5
je 0x14005bdc6
test rbx, rbx
je 0x14005bdc2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14005bdd6
test rbx, rbx
je 0x14005bdd4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x14005d120
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400eb280]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov rsi, rcx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rdi, rax
call sub.KERNEL32.dll_Process32FirstW
xor ebx, ebx
jmp 0x14005d18b
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call fcn.14009b6d4
test eax, eax
je 0x14005d191
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14005d16d
jmp 0x14005d193
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140093e10
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14005dbb4
Capabilities:
Print debug messages
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str._enter_pre_check_app_integrity__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call fcn.14005dc18
test al, al
jne 0x14005dc05
xor r9d, r9d
lea r8, [0x1400c7568]
lea rdx, str.Dll
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x14005dc05
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, str._____leave_pre_check_app_integrity______n
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
Function at 0x14005def4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400eb280]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov eax, dword [r9]
mov rbx, r8
add eax, eax
mov rdi, r9
mov dword [rsp + 0x30], eax
xor esi, esi
mov dword [r9], esi
lea rax, [r11 - 0x28]
mov rcx, qword [rcx]
lea r9, [r11 - 0x24]
mov qword [r11 - 0x30], rax
xor r8d, r8d
mov qword [r11 - 0x38], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005df6f
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x14005df6a
mov ecx, dword [rsp + 0x30]
test rbx, rbx
je 0x14005df87
test ecx, ecx
je 0x14005df84
test cl, 1
jne 0x14005df6a
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], si
je 0x14005df87
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140093e10
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov word [rbx], si
shr ecx, 1
mov dword [rdi], ecx
xor eax, eax
jmp 0x14005df6f
Function at 0x14005df90
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov r9d, dword [rcx + 0x108]
mov rbx, rcx
mov r8d, dword [rcx + 0x138]
mov edx, dword [rcx + 0x13c]
lea rcx, str._AppModule::Run__d:_d:_d___n
call fcn.1400654a0
mov eax, dword [rbx + 0x138]
cmp eax, 1
jne 0x14005e08f
test byte [rbx + 0x13c], al
jne 0x14005dfe7
cmp eax, 9
jne 0x14005dff8
test byte [rbx + 0x13c], 4
je 0x14005dff8
call fcn.14005cfd0
cmp eax, 0x9a1d20
jb 0x14005dff8
call fcn.1400650dc
cmp dword [rbx + 0x138], 8
jne 0x14005e011
mov rcx, rbx
call fcn.14005dbb4
mov rcx, rbx
call fcn.14005ba18
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14005d364
lea rsi, [rbx + 0x118]
mov rdx, rax
mov rcx, rsi
call fcn.14005a960
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x14005e073
or eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14005e073
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [0x1400c48f0]
or eax, 0xffffffff
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14005e073
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [0x1400c48f0]
cmp qword [rsi], 0
jne 0x14005e0aa
lea rcx, str.LoadWemeetModule_failed
call fcn.140058a90
mov eax, 0x80070005
jmp 0x14005e173
cmp eax, 8
jne 0x14005dfd9
test byte [rbx + 0x13c], 2
jne 0x14005dfe7
jmp 0x14005dff8
lea rcx, str._____Load_module_finish______n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
call qword [0x1400c48f0]
mov rcx, qword [rsi]
mov dword [rsp + 0x40], eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x58]
call qword [0x1400c48f0]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x50], eax
lea r8, str._module_type:
lea rdx, [rsp + 0x50]
lea rcx, str.module_process:
call fcn.1400588d0
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1400c48f0]
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x14005e156
mov rcx, rbx
call fcn.14005d1c4
test al, al
je 0x14005e131
lea rcx, [rbx + 0x68]
call fcn.14006671c
mov edi, eax
test eax, eax
jns 0x14005e140
jmp 0x14005e169
lea rdx, str.lumos_process
mov rcx, rbx
call fcn.14005ef30
mov rcx, qword [rbx + 0x118]
mov rax, qword [rcx]
mov rax, qword [rax + 0x68]
call qword [0x1400c48f0]
jmp 0x14005e167
lea rdx, [rsp + 0x40]
lea rcx, str.Startup_failed:
call fcn.140058944
xor edi, edi
mov rcx, rbx
call fcn.14005ebcc
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400650dc
Capabilities:
Create thread

Disassembly:
sub rsp, 0x28
cmp qword [0x1400ee350], 0
jne 0x140065102
xor r8d, r8d
lea rcx, [0x1400651b0]
xor edx, edx
call fcn.1400a1cdc
mov qword [0x1400ee350], rax
add rsp, 0x28
ret

Function at 0x14006529c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x5a0
mov rax, qword [0x1400eb280]
xor rax, rsp
mov qword [rsp + 0x590], rax
mov rsi, rdx
mov rdi, rcx
mov ebp, 0x104
lea rcx, [rsp + 0x380]
mov edx, ebp
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov rax, qword [rdi + 8]
test rax, rax
jne 0x14006532f
lea r8, str.d3d9.dll
mov edx, ebp
lea rcx, [rsp + 0x380]
call fcn.1400a0aa0
lea rcx, [rsp + 0x380]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rdi + 8], rax
test rax, rax
jne 0x14006532f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.PreDetectD3D_:_Load_d3d9.dll_failed__d__n
mov edx, eax
call fcn.1400654a0
jmp 0x140065473
lea rdx, str.Direct3DCreate9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi], rax
test rax, rax
jne 0x140065356
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.PreDetectD3D_:_GetProc_Direct3DCreate9_failed__d__n
jmp 0x140065323
mov ecx, 0x20
call qword [0x1400c48f0]
mov rdi, rax
test rax, rax
jne 0x140065378
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.PreDetectD3D_:_Call_Direct3DCreate9_failed__d__n
jmp 0x140065323
mov rax, qword [rax]
mov r9, rsi
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov rax, qword [rax + 0x28]
call qword [0x1400c48f0]
test eax, eax
js 0x140065461
cmp dword [rsi + 0x428], 0x1002
jne 0x140065461
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x20]
call qword [0x1400c48f0]
mov ebp, 1
mov r14d, eax
cmp eax, ebp
jbe 0x140065463
mov rax, qword [rdi]
mov r9, rsi
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
mov rax, qword [rax + 0x28]
call qword [0x1400c48f0]
test eax, eax
js 0x1400653f0
cmp dword [rsi + 0x428], 0x1002
jne 0x1400653f9
inc ebp
cmp ebp, r14d
jb 0x1400653c8
jmp 0x140065463
mov ebp, 0x348
lea rcx, [rsp + 0x30]
mov r8d, ebp
xor edx, edx
call fcn.1400bf140
mov dword [rsp + 0x30], ebp
xor edx, edx
mov ebp, ebx
jmp 0x140065425
test byte [rsp + 0x174], 4
jne 0x14006543b
inc ebp
mov edx, ebp
xor r9d, r9d
lea r8, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesW]
test eax, eax
jne 0x140065417
jmp 0x140065463
xor r9d, r9d
lea rax, [rsp + 0x34]
lea rcx, [rsi + 0x400]
mov qword [rsp + 0x20], rax
lea r8, [0x1400c7c50]
lea edx, [r9 + 0x1f]
call fcn.140065524
jmp 0x140065463
mov bl, 1
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
mov rcx, rdi
call qword [0x1400c48f0]
mov al, bl
mov rcx, qword [rsp + 0x590]
xor rcx, rsp
call fcn.140093e10
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400654a0
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
sub rsp, 0x830
mov rax, qword [0x1400eb280]
xor rax, rsp
mov qword [rsp + 0x820], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x800
lea rbx, [r11 + 0x10]
call fcn.1400bf140
mov r8, qword [rsp + 0x840]
lea rcx, [rsp + 0x20]
mov r9, rbx
mov edx, 0x3ff
call fcn.140065108
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.140093e10
add rsp, 0x830
pop rbx
ret

Function at 0x140065ecc
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400eb280]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r14b, r14b
xor esi, esi
mov r12, r8
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 0x10], rsi
je 0x140066018
cmp qword [rdx + 0x10], rsi
je 0x140066018
cmp qword [rdx + 0x18], 7
mov rcx, rdx
jbe 0x140065f19
mov rcx, qword [rdx]
lea rdx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r15d, eax
test eax, eax
je 0x140066018
mov ecx, r15d
lea rdx, [0x1400ca710]
call fcn.140093fa8
mov rbp, rax
test rax, rax
je 0x140066018
cmp qword [rbx + 0x18], 7
jbe 0x140065f53
mov rbx, qword [rbx]
mov edx, dword [rsp + 0x40]
mov r9, rbp
mov r8d, r15d
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140066003
lea r9, [rsp + 0x44]
mov rcx, rbp
lea r8, [rsp + 0x30]
lea rdx, str.VarFileInfoTranslation
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140066003
mov rax, qword [rsp + 0x30]
lea rdx, [0x1400ca710]
mov ecx, 0x208
movzx ebx, word [rax]
movzx eax, word [rax + 2]
shl ebx, 0x10
or ebx, eax
call fcn.140093fa8
mov rsi, rax
test rax, rax
je 0x140066003
cmp qword [rdi + 0x18], 7
jbe 0x140065fbe
mov rdi, qword [rdi]
mov r9d, ebx
mov qword [rsp + 0x20], rdi
lea r8, str.StringFileInfo_08lx_s
mov edx, 0x104
mov rcx, rsi
call fcn.1400665f4
lea r9, [rsp + 0x44]
mov rdx, rsi
lea r8, [rsp + 0x38]
mov rcx, rbp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140066000
mov rdx, qword [rsp + 0x38]
mov rcx, r12
call fcn.1400547d0
mov r14b, 1
mov rcx, rbp
call fcn.140093b30
test rsi, rsi
je 0x140066018
mov rcx, rsi
call fcn.140093b30
mov al, r14b
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140093e10
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140066804
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
mov rdx, rdi
call fcn.140095efc
xor ebp, ebp
mov rsi, rax
test rax, rax
je 0x140066906
mov rcx, rdi
call fcn.14009b320
lea r9, [rsi + rax*2]
movzx eax, word [r9]
cmp ax, 0x3d
jne 0x1400668e6
add r9, 2
mov rdx, r9
movzx eax, word [r9]
cmp ax, 0x22
je 0x14006686e
cmp ax, 0x27
jne 0x140066888
add r9, 2
mov rdx, r9
movzx ecx, word [r9]
jmp 0x14006689b
cmp ax, 0x20
je 0x1400668a0
add rdx, 2
movzx eax, word [rdx]
test ax, ax
jne 0x14006687b
jmp 0x1400668a0
cmp cx, ax
je 0x1400668a0
add rdx, 2
movzx ecx, word [rdx]
test cx, cx
jne 0x14006688f
sub rdx, r9
sar rdx, 1
cmp rdx, qword [rbx + 0x18]
ja 0x1400668d5
cmp qword [rbx + 0x18], 7
mov rdi, rbx
jbe 0x1400668b9
mov rdi, qword [rbx]
mov qword [rbx + 0x10], rdx
mov rcx, rdi
lea rbx, [rdx + rdx]
mov rdx, r9
mov r8, rbx
call fcn.1400beaa0
mov word [rbx + rdi], bp
jmp 0x1400668e2
mov r8b, byte [rsp + 0x40]
mov rcx, rbx
call fcn.140051ab0
mov al, 1
jmp 0x140066908
mov ecx, 0xffdf
test cx, ax
jne 0x140066906
cmp qword [rbx + 0x18], 7
mov rax, rbx
jbe 0x1400668fd
mov rax, qword [rbx]
mov qword [rbx + 0x10], rbp
mov word [rax], bp
jmp 0x1400668e2
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14006ebf0
Capabilities:
Hash data with md5
Print debug messages
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x1400eb280]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rsi, rdx
mov rbx, rcx
lea r8, [0x1400c94f4]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.1400a1f50
nop
call fcn.1400534b0
mov rcx, rax
test rax, rax
je 0x14006ed9a
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, str.QbCoreProxy::MDFile_filename:_s
lea rcx, [rsp + 0x20]
call fcn.1400532d0
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r9, qword [rsp + 0x48]
test r9, r9
jne 0x14006ec94
lea rcx, str.QbCoreProxy::MDFile_in_file_is_nullptr
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor dil, dil
jmp 0x14006ed54
and dword [rsp + 0x54], 0
and dword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0x67452301
mov dword [rsp + 0x5c], 0xefcdab89
mov dword [rsp + 0x60], 0x98badcfe
mov dword [rsp + 0x64], 0x10325476
mov edi, 1
jmp 0x14006ecd6
mov r8d, eax
lea rdx, [rbp - 0x40]
call fcn.14006eb10
mov r9, qword [rsp + 0x48]
mov r8d, 0x400
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.14009f9a0
lea rcx, [rsp + 0x50]
test eax, eax
jne 0x14006ecc5
call fcn.14006ea00
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.14006edb0
mov rdx, rax
mov rcx, rsi
call fcn.14005a860
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14006ed49
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ed44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ed94
call fcn.140093b30
mov rcx, qword [rsp + 0x48]
call fcn.14009f070
nop
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14006ed6f
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov al, dil
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.140093e10
mov rbx, qword [rsp + 0x500]
add rsp, 0x4d0
pop rdi
pop rsi
pop rbp
ret
call fcn.14009afa0
nop
mov ecx, 0x80004005
call fcn.140051450
int3

Function at 0x140074930
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 0x14007496a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14007496f
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 0x1400749b8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400ca760]
cmp byte [rcx + rax], 0
je 0x1400749b8
dec r8
sub rdx, 1
jne 0x14007499e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14008a0f0
Capabilities:
Encode data using xor
Hash data using fnv

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

Function at 0x1400945d0
Capabilities:
Parse pe header

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

Function at 0x1400a9634
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400a9460
Function at 0x1400b2878
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 rbx, rcx
test rcx, rcx
jne 0x1400b259e
call fcn.14009b1b0
mov dword [rax], 0x16
call fcn.14009af80
jmp 0x1400b26e9
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400b26e9
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400b26e9
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400b25cd
lock or dword [rcx + 0x14], 0x10
jmp 0x1400b26e9
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400b25e1
call fcn.1400b3980
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x1400b25f1
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x1400b25f4
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.1400ae170
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.1400b3270
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x1400b26d7
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x1400b2685
mov rcx, rbx
call fcn.1400ae170
cmp eax, 0xffffffff
je 0x1400b2670
mov rcx, rbx
call fcn.1400ae170
cmp eax, 0xfffffffe
je 0x1400b2670
mov rcx, rbx
call fcn.1400ae170
movsxd rdi, eax
lea r14, [0x1400f37c0]
mov rcx, rbx
sar rdi, 6
call fcn.1400ae170
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x1400b2677
lea rdx, [0x1400eb820]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400b2685
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x1400b26a9
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x1400b26a9
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x1400b26a9
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x1400b26c7
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x1400b26d2
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x1400b26ee
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
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
jmp 0x1400b2568
Function at 0x1400be860
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400be888
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400be888
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret