joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140047740
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x4e70
call fcn.1400d87c0
sub rsp, rax
mov rax, qword [0x140136188]
xor rax, rsp
mov qword [rsp + 0x4e60], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x3e80
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x20]
mov r8d, 0x3e80
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x140047856
lea rax, [rsp + 0x3ec0]
mov dword [rsp + 0x2c], ebx
mov qword [rsp + 0x30], rax
mov edi, 0xfa0
mov eax, dword [rsp + 0x20]
mov word [rsp + 0x2a], di
test rax, 0xfffffffffffffff8
jbe 0x14004784f
nop
mov r8, rdi
lea rcx, [rsp + 0x3ec0]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + rbx*8 + 0x40]
lea rdx, [rsp + 0x3ec0]
mov r8d, 0x7cf
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x3ec0]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140047810
mov r8, qword [rsp + rbx*8 + 0x40]
lea rdx, [rsp + 0x28]
add ax, ax
lea rcx, [0x1401361e0]
xor r9d, r9d
mov word [rsp + 0x28], ax
call fcn.140047880
test eax, eax
je 0x140047856
mov eax, dword [rsp + 0x20]
inc rbx
shr rax, 3
cmp rbx, rax
jb 0x1400477d0
mov eax, 1
jmp 0x140047858
xor eax, eax
mov rcx, qword [rsp + 0x4e60]
xor rcx, rsp
call fcn.1400d7200
mov rbx, qword [rsp + 0x4e80]
add rsp, 0x4e70
pop rdi
ret
Function at 0x1400483e0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x1400485f3
push rdi
sub rsp, 0x80
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x18
lea r8, [rsp + 0x20]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
je 0x1400485eb
mov eax, 0x5a4d
mov qword [rsp + 0x70], r14
mov r14d, dword [rsp + 0x28]
cmp word [rdi], ax
jne 0x1400485e6
movsxd rcx, dword [rdi + 0x3c]
lea rax, [rcx + 0x108]
cmp rax, r14
jae 0x1400485e6
cmp dword [rcx + rdi], 0x4550
mov qword [rsp + 0x78], rsi
lea rsi, [rcx + rdi]
jne 0x1400485e1
movzx eax, word [rsi + 4]
mov ecx, 0x14c
mov qword [rsp + 0xa0], rbp
cmp cx, ax
jne 0x140048484
xor ebp, ebp
jmp 0x1400484a1
mov ecx, 0x200
cmp cx, ax
je 0x14004849c
mov ecx, 0x8664
cmp cx, ax
jne 0x1400485d9
mov ebp, 1
mov qword [rsp + 0x98], rbx
mov ebx, dword [rsi + 0x28]
add rbx, rdi
je 0x1400485d1
cmp rbx, rdi
jbe 0x1400485d1
lea rax, [r14 + rdi]
cmp rbx, rax
jae 0x1400485d1
xorps xmm0, xmm0
lea rdx, [rsp + 0x38]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400485d1
test dword [rsp + 0x58], 0x1000
je 0x1400485d1
test dword [rsp + 0x60], 0x1000000
je 0x1400485d1
mov eax, dword [rsp + 0x5c]
xor ecx, ecx
test al, 0x10
jne 0x14004852c
test al, 0x20
jne 0x14004852c
test al, 0x40
jne 0x14004852c
test al, al
jns 0x140048531
mov ecx, 1
test ecx, ecx
je 0x1400485d1
mov r9d, ebp
mov r8d, r14d
mov rdx, rdi
mov rcx, rsi
call fcn.140048d80
mov edx, 0x14
mov dword [rsp + 0x90], 0
lea r9, [rsp + 0x90]
mov rcx, rbx
lea r8d, [rdx + 0x2c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400485d1
test ebp, ebp
jne 0x14004858b
mov eax, dword [0x1401361d0]
mov dword [rbx], eax
movzx eax, byte [0x1401361d4]
mov byte [rbx + 4], al
jmp 0x14004859f
movzx eax, word [0x1401361d8]
mov word [rbx], ax
movzx eax, byte [0x1401361da]
mov byte [rbx + 2], al
mov r8d, dword [rsp + 0x90]
lea r9, [rsp + 0x90]
mov edx, 0x14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x78]
mov r14, qword [rsp + 0x70]
add rsp, 0x80
pop rdi
ret
Function at 0x14005e330
Capabilities:
Link many functions at runtime

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x430
mov rax, qword [0x140136188]
xor rax, rsp
mov qword [rsp + 0x420], rax
cmp qword [0x14013d558], 0
movsxd rbx, dword [rsp + 0x448]
jne 0x14005e462
lea rcx, str.dvf.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14013d558], rax
test rax, rax
je 0x14005e458
lea rdx, str.CreateSimpleRenderer
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14013d558]
lea rdx, str.DestroySimpleRenderer
mov qword [0x14013d518], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14013d558]
lea rdx, str.SetTraceCallBack
mov qword [0x14013d500], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14013d558]
lea rdx, str.DVFGetErrorCode
mov qword [0x14013d510], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14013d558]
lea rdx, str.DVFGetErrorString
mov qword [0x14013d4f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14013d518], 0
mov rcx, rax
mov qword [0x14013d508], rax
je 0x14005e43b
cmp qword [0x14013d500], 0
je 0x14005e43b
mov rax, qword [0x14013d510]
test rax, rax
je 0x14005e43b
cmp qword [0x14013d4f8], 0
je 0x14005e43b
test rcx, rcx
jne 0x14005e469
mov rcx, qword [0x14013d558]
test rcx, rcx
je 0x14005e458
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x14013d558], 0
mov eax, 0xff96fff6
jmp 0x14005e51f
mov rax, qword [0x14013d510]
mov qword [rsp + 0x450], rsi
lea rcx, [fcn.14005e540]
mov qword [rsp + 0x458], rdi
call qword [0x140117ae0]
lea rsi, [0x14013d540]
mov rdi, rbx
cmp qword [rsi + rbx*8], 0
lea rbx, [rsi + rbx*8]
jne 0x14005e50d
mov rax, qword [0x14013d518]
xor ecx, ecx
call qword [0x140117ae0]
mov qword [rbx], rax
test rax, rax
jne 0x14005e4b9
mov eax, 0xff8bfff6
jmp 0x14005e50f
shl rdi, 4
lea rax, [0x14004cca0]
lea rdx, [rsi + 8]
add rdx, rdi
mov dword [rdx], 0x500
mov dword [rdi + rsi + 0xc], 0x2d0
mov qword [rdi + rsi + 0x10], rax
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140117ae0]
test eax, eax
je 0x14005e50d
mov ecx, eax
lea rdx, [rsp + 0x20]
mov rax, qword [0x14013d508]
call qword [0x140117ae0]
mov eax, 0xff7efff6
jmp 0x14005e50f
xor eax, eax
mov rsi, qword [rsp + 0x450]
mov rdi, qword [rsp + 0x458]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400d7200
add rsp, 0x430
pop rbx
ret
Function at 0x1400b2880
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x270
mov rax, qword [0x140136188]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov ecx, dword [r11 + 8]
mov rdi, rdx
test ecx, ecx
je 0x1400b295d
sub ecx, 1
je 0x1400b2902
cmp ecx, 1
je 0x1400b28cc
mov eax, 0x3200003
jmp 0x1400b29f4
xor r9d, r9d
lea rdx, [rsp + 0x50]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x1400b28ee
mov eax, 0x31b000c
jmp 0x1400b29f4
lea rdx, [0x140122778]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x1400b297f
xor ebx, ebx
lea r8, [rsp + 0x40]
lea rdx, [fcn.1400b2880]
mov qword [rsp + 0x40], rbx
lea ecx, [rbx + 6]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x1400b292c
mov eax, 0x30d000c
jmp 0x1400b29f4
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400b2953
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x1400b2981
mov eax, 0x314000c
jmp 0x1400b29f4
mov r8d, 0x104
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400b29ef
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor ebx, ebx
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rbx
mov r9d, 0xffffffff
mov dword [rsp + 0x28], ebx
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x400
jle 0x1400b29bc
mov ebx, 0x3430001
mov eax, ebx
jmp 0x1400b29f4
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rbx
mov r9d, 0xffffffff
mov dword [rsp + 0x28], 0x400
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, ebx
jmp 0x1400b29f4
mov eax, 0x303000c
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400d7200
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
Function at 0x1400b2a20
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, 0x38
mov rax, qword [0x140136188]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x50]
mov ecx, 1
mov r9d, dword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov r10, qword [rdx]
cmp r9d, ecx
jl 0x1400b2be7
test r10, r10
setne al
mov byte [r8], al
inc r8
test r10, r10
je 0x1400b2aa1
lea eax, [r9 - 1]
cmp eax, 0xd
jl 0x1400b2be7
mov rcx, qword [rdx]
mov eax, dword [rcx + 8]
mov dword [r8], eax
movzx eax, byte [rcx + 0x20]
mov byte [r8 + 4], al
mov rax, qword [rcx + 0x28]
mov ecx, 0xe
mov qword [r8 + 5], rax
add r8, 0xd
lea r11d, [rcx + 0x98]
cmp r9d, r11d
jl 0x1400b2be7
mov eax, dword [rdx + 8]
mov dword [r8], eax
test r10, r10
je 0x1400b2b31
mov rcx, qword [rdx + 0x10]
movabs r9, 0x8000000000000000
test rcx, rcx
je 0x1400b2adb
mov rax, qword [rdx]
sub rcx, qword [rax]
mov qword [rsp], rcx
jmp 0x1400b2adf
mov qword [rsp], r9
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x1400b2af0
mov rax, qword [rdx]
sub rcx, qword [rax]
jmp 0x1400b2af3
mov rcx, r9
mov qword [rsp + 8], rcx
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x1400b2b09
mov rax, qword [rdx]
sub rcx, qword [rax]
jmp 0x1400b2b0c
mov rcx, r9
mov qword [rsp + 0x10], rcx
mov rcx, qword [rdx + 0x28]
test rcx, rcx
je 0x1400b2b27
mov rax, qword [rdx]
sub rcx, qword [rax]
mov qword [rsp + 0x18], rcx
jmp 0x1400b2b54
mov rcx, r9
mov qword [rsp + 0x18], rcx
jmp 0x1400b2b54
mov rax, qword [rdx + 0x10]
mov qword [rsp], rax
mov rax, qword [rdx + 0x18]
mov qword [rsp + 8], rax
mov rax, qword [rdx + 0x20]
mov qword [rsp + 0x10], rax
mov rax, qword [rdx + 0x28]
mov qword [rsp + 0x18], rax
movups xmm0, xmmword [rsp]
movups xmm1, xmmword [rsp + 0x10]
movups xmmword [r8 + 4], xmm0
movups xmmword [r8 + 0x14], xmm1
movups xmm0, xmmword [rdx + 0x30]
movups xmmword [r8 + 0x24], xmm0
mov eax, dword [rdx + 0x40]
mov dword [r8 + 0x34], eax
mov eax, dword [rdx + 0x44]
mov dword [r8 + 0x38], eax
mov eax, dword [rdx + 0x48]
mov dword [r8 + 0x3c], eax
mov eax, dword [rdx + 0x4c]
mov dword [r8 + 0x40], eax
mov eax, dword [rdx + 0x50]
mov dword [r8 + 0x44], eax
mov eax, dword [rdx + 0x54]
mov dword [r8 + 0x48], eax
mov eax, dword [rdx + 0x58]
mov dword [r8 + 0x4c], eax
mov eax, dword [rdx + 0x5c]
mov dword [r8 + 0x50], eax
mov eax, dword [rdx + 0x60]
mov dword [r8 + 0x54], eax
mov eax, r11d
mov ecx, dword [rdx + 0x64]
mov dword [r8 + 0x58], ecx
movups xmm0, xmmword [rdx + 0x68]
movups xmmword [r8 + 0x5c], xmm0
movups xmm0, xmmword [rdx + 0x78]
movups xmmword [r8 + 0x6c], xmm0
mov ecx, dword [rdx + 0x88]
mov dword [r8 + 0x7c], ecx
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.1400d7200
add rsp, 0x38
ret
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.1400d7200
add rsp, 0x38
ret
Function at 0x1400b3600
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov ebx, dword [0x1401416d0]
test ebx, ebx
jne 0x1400b3639
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [rsp + 0x80]
mov dword [0x1401416d0], ebx
mov eax, 1
test ebx, ebx
cmove ebx, eax
call fcn.1400b7440
mov rsi, qword [rsp + 0xa0]
mov rdi, rax
mov rax, qword [rsi + 8]
cmp rax, 0xffffffffffffffff
jne 0x1400b3668
mov qword [rsi + 8], rdi
xor eax, eax
jmp 0x1400b3725
cmp rdi, rax
ja 0x1400b3674
xor eax, eax
jmp 0x1400b3725
mov qword [rsp + 0xa8], rbp
sub rdi, rax
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x1400b3712
mov eax, dword [rsp + 0x34]
mov rcx, rdi
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x48], eax
movabs rax, 0xa3d70a3d70a3d70b
mov r8, qword [rsp + 0x48]
add r8, qword [rsp + 0x40]
imul r8
shr rcx, 1
add rdx, r8
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov eax, dword [rsi]
mov qword [rsi], rdx
sub edx, eax
mov eax, edx
xor edx, edx
add rax, rcx
div rdi
xor edx, edx
div ebx
mov ebp, eax
call fcn.1400b7440
mov qword [rsi + 8], rax
mov eax, ebp
mov rbp, qword [rsp + 0xa8]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400b3740
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x140136188]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x20], 0x40
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x48
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x1400b37eb
mov rcx, qword [rsp + 0x28]
movabs rax, 0x47ae147ae147ae15
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 6
test rcx, rcx
je 0x1400b37eb
mov rax, qword [rsp + 0x70]
shr rax, 0x14
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400d7200
add rsp, 0xc8
ret
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400d7200
add rsp, 0xc8
ret

Function at 0x1400b3810
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x1400b3830
Capabilities:
Get common file path

Disassembly:
sub rsp, 0xe68
mov rax, qword [0x140136188]
xor rax, rsp
mov qword [rsp + 0xe50], rax
cmp qword [0x14013a1c0], 0
jbe 0x1400b386d
mov al, 1
mov rcx, qword [rsp + 0xe50]
xor rcx, rsp
call fcn.1400d7200
add rsp, 0xe68
ret
xor r9d, r9d
mov qword [rsp + 0xe70], rbx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0xe60], rdi
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x1400b38a4
mov ecx, 0x31b000c
test ecx, ecx
setne al
jmp 0x1400b39d2
lea rdx, [0x140122778]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor edi, edi
lea r8, [rsp + 0x40]
mov qword [rsp + 0x38], rdi
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x30], rdi
mov r9d, ebx
mov dword [rsp + 0x28], edi
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x400
jle 0x1400b38f5
mov ecx, 0x3430001
jmp 0x1400b392b
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x250]
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x40]
mov dword [rsp + 0x28], 0x400
mov r9d, ebx
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, edi
test cx, cx
je 0x1400b393a
test ecx, ecx
setne al
jmp 0x1400b39d2
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x250]
mov r9d, ebx
mov qword [rsp + 0x20], rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, 0x400
jg 0x1400b39d0
lea rax, [rsp + 0x650]
mov dword [rsp + 0x28], 0x400
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x250]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, str.dataZoom.us.ini
lea rcx, [rsp + 0x650]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rax, [rsp + 0x650]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], di
jne 0x1400b39b0
mov r8, rbx
lea rdx, [rsp + 0x650]
lea rcx, [0x14013a1b0]
call fcn.140049b30
mov al, 1
mov rbx, qword [rsp + 0xe70]
mov rdi, qword [rsp + 0xe60]
mov rcx, qword [rsp + 0xe50]
xor rcx, rsp
call fcn.1400d7200
add rsp, 0xe68
ret
Function at 0x1400b3a00
Capabilities:
Read .ini file

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x350
mov rax, qword [0x140136188]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov rbx, rcx
mov rdi, rdx
mov rsi, r8
call fcn.1400b3830
test al, al
jne 0x1400b3a47
mov eax, 0x6c90001
jmp 0x1400b3b1f
cmp qword [0x14013a1c8], 8
lea rax, [0x14013a1b0]
lea r9, [rsp + 0x140]
mov rdx, rdi
cmovae rax, qword [0x14013a1b0]
mov rcx, rbx
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x1400b3a90
mov eax, 0x6cf0013
jmp 0x1400b3b1f
xor edi, edi
lea r8, [rsp + 0x140]
mov qword [rsp + 0x38], rdi
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x30], rdi
mov r9d, ebx
mov dword [rsp + 0x28], edi
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x100
jg 0x1400b3aff
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x140]
mov dword [rsp + 0x28], 0x100
mov r9d, ebx
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rax, [rsp + 0x40]
inc rbx
cmp byte [rax + rbx], dil
jne 0x1400b3b04
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140049df0
xor eax, eax
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.1400d7200
add rsp, 0x350
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b3b40
Capabilities:
Read .ini file

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x370
mov rax, qword [0x140136188]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov rbx, rcx
mov rsi, rdx
mov r14, r8
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], dil
call fcn.1400b3830
test al, al
jne 0x1400b3ba6
mov edi, 0x6c90001
jmp 0x1400b3c9c
lea rax, [0x14013a1b0]
cmp qword [0x14013a1c8], 8
cmovae rax, qword [0x14013a1b0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0x160]
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x1400b3bef
mov edi, 0x6cf0013
jmp 0x1400b3c9c
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov rbx, 0xffffffffffffffff
mov r9d, ebx
lea r8, [rsp + 0x160]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x100
jg 0x1400b3c5c
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x100
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, [rsp + 0x160]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rax, [rsp + 0x60]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400b3c61
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140049df0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
xor edx, edx
lea r8d, [rdx + 0xa]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov dword [r14], eax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400b3cdc
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b3cd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b3cd7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d725c
mov eax, edi
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.1400d7200
mov rbx, qword [rsp + 0x3a8]
add rsp, 0x370
pop r14
pop rdi
pop rsi
ret
Function at 0x1400b3f70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], 0
lea rdx, [fcn.1400b3f70]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x1400b3fa2
add rsp, 0x38
ret
mov qword [rsp + 0x50], rbp
mov edx, 1
mov qword [rsp + 0x58], rsi
xor bpl, bpl
mov qword [rsp + 0x30], rdi
mov rdi, qword [rsp + 0x20]
lea r8d, [rdx + 0xf]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x1400b4040
mov rdx, rax
mov qword [rsp + 0x48], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rsi
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test rbx, rbx
je 0x1400b403b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1400b4032
cmp dword [rax + 0x28], 0xfeef04bd
jne 0x1400b4032
movzx ecx, word [rax + 0x32]
mov bpl, 1
mov rdx, qword [rsp + 0x40]
mov dword [rdx], ecx
movzx ecx, word [rax + 0x30]
mov dword [rdx + 4], ecx
movzx ecx, word [rax + 0x36]
mov dword [rdx + 8], ecx
movzx eax, word [rax + 0x34]
mov dword [rdx + 0xc], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x30]
movzx eax, bpl
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x38
ret
Function at 0x1400b52e0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbx, rcx
cmp qword [rcx], 0
je 0x1400b5310
mov eax, 0x1f0004
jmp 0x1400b549f
movsxd r15, dword [rsp + 0x88]
lea eax, [r15 - 1]
cmp eax, 3
ja 0x1400b549a
mov eax, 0x30
mul r15
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
add rax, 8
cmovb rax, rcx
lea rdx, [0x14011d8b0]
mov rcx, rax
call fcn.1400d7c74
mov qword [rsp + 0x30], rax
xor r13d, r13d
test rax, rax
je 0x1400b5387
mov qword [rax], r15
lea rdi, [rax + 8]
lea rax, [0x1400b4f80]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b4f50]
mov r8, r15
lea edx, [r13 + 0x30]
mov rcx, rdi
call fcn.1400d7bfc
jmp 0x1400b538a
mov rdi, r13
mov qword [rbx], rdi
test rdi, rdi
jne 0x1400b539c
mov eax, 0x270002
jmp 0x1400b549f
mov byte [rbx + 0xc], 0
lea rcx, [rbx + 0x18]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400b53b7
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov word [rbx + 0x108], 0
lea rcx, [rbx + 0x18]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test r15d, r15d
jle 0x1400b5435
mov rsi, r13
mov r14, r13
lea rcx, [0x1400b5010]
mov rdi, qword [rbx]
add rdi, r14
cmp qword [rdi + 8], 0
jne 0x1400b544c
mov qword [rdi + 0x18], rcx
mov qword [rdi + 0x10], rbx
mov dword [rsp + 0x30], 0xffffffff
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9, rdi
lea r8, [0x1400b4fe0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi + 8], rax
test rax, rax
je 0x1400b543d
mov byte [rdi + 0x28], 0
inc rsi
add r14, 0x30
cmp rsi, r15
jl 0x1400b53d5
mov dword [rbx + 8], r15d
xor eax, eax
jmp 0x1400b549f
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x10], r13
mov edi, 0x39001d
jmp 0x1400b5451
mov edi, 0x2f0004
mov byte [rbx + 0xc], 1
lea rcx, [rbx + 0x10]
call fcn.1400b57b0
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400b5493
cmp qword [rcx - 8], 0
je 0x1400b5485
mov rax, qword [rcx]
mov edx, 3
mov rax, qword [rax]
call qword [0x140117ae0]
mov qword [rbx], r13
mov eax, edi
jmp 0x1400b549f
mov edx, 8
add rcx, 0xfffffffffffffff8
call fcn.1400d7c6c
mov qword [rbx], r13
mov eax, edi
jmp 0x1400b549f
mov eax, 0x220001
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret