joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140075050
Capabilities:
Get common file path

Disassembly:
sub rsp, 0xe68
mov rax, qword [0x1401b2190]
xor rax, rsp
mov qword [rsp + 0xe50], rax
cmp qword [0x1401b2228], 0
jbe 0x14007508d
mov al, 1
mov rcx, qword [rsp + 0xe50]
xor rcx, rsp
call fcn.140126360
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 0x1400750c4
mov ecx, 0x31c000c
test ecx, ecx
setne al
jmp 0x1400751f2
lea rdx, [0x14018f9d8]
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 0x140075115
mov ecx, 0x3440001
jmp 0x14007514b
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 0x14007515a
test ecx, ecx
setne al
jmp 0x1400751f2
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 0x1400751f0
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 0x1400751d0
mov r8, rbx
lea rdx, [rsp + 0x650]
lea rcx, [0x1401b2218]
call fcn.1400692d0
mov al, 1
mov rbx, qword [rsp + 0xe70]
mov rdi, qword [rsp + 0xe60]
mov rcx, qword [rsp + 0xe50]
xor rcx, rsp
call fcn.140126360
add rsp, 0xe68
ret
Function at 0x140075220
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 [0x1401b2190]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov rbx, rcx
mov rdi, rdx
mov rsi, r8
call fcn.140075050
test al, al
jne 0x140075267
mov eax, 0x6ca0001
jmp 0x14007533f
cmp qword [0x1401b2230], 8
lea rax, [0x1401b2218]
lea r9, [rsp + 0x140]
mov rdx, rdi
cmovae rax, qword [0x1401b2218]
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 0x1400752b0
mov eax, 0x6d00013
jmp 0x14007533f
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 0x14007531f
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 0x140075324
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140069520
xor eax, eax
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.140126360
add rsp, 0x350
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400755c0
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.1400755c0]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x1400755f2
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 0x140075690
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 0x14007568b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140075682
cmp dword [rax + 0x28], 0xfeef04bd
jne 0x140075682
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 0x140077030
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x60
mov rbx, qword [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov rcx, qword [rbx]
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 8], rax
test rax, rax
jne 0x14007706f
mov eax, 0x9a000c
add rsp, 0x60
pop rbx
ret
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rbx + 8]
mov qword [rbx + 0x10], rdx
call fcn.140076dd0
test al, al
jne 0x1400770c3
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400770b8
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
mov eax, 0xa3000c
add rsp, 0x60
pop rbx
ret
xor eax, eax
add rsp, 0x60
pop rbx
ret

Function at 0x1400836f0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
sub rsp, 0x68
movsxd rdx, dword [rcx + 0x350]
mov rax, rcx
mov r10, qword [r11 + 0x18]
mov r8, qword [rsp + 0xa0]
mov r11, qword [r11 + 0x20]
movsxd rsi, dword [rsp + 0xb0]
lea eax, [rdx + 1]
movsxd rcx, eax
mov rax, rdx
imul rcx, r8
imul rax, r8
lea rbx, [r11 + rcx*4]
mov qword [rsp + 0x28], rdx
lea r9, [r10 + rcx*4]
mov qword [rsp], rbx
shl rax, 2
sub r10, rax
sub r11, rax
mov eax, dword [rsp + 0xb8]
test eax, eax
jle 0x1400838a3
mov qword [rsp + 0x60], rbp
lea r8, [r8*4]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsp + 0x88]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r13
mov r13d, eax
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x20], r8
mov qword [rsp + 8], rax
test rsi, rsi
jle 0x140083866
mov rax, rbx
lea rcx, [rdx + 1]
lea rdx, [rdx*8]
mov rbp, rbx
sub rax, rdx
lea rcx, [r9 + rcx*4]
sub rax, r9
mov r14, r11
add rax, 0xfffffffffffffffc
mov r15, r10
mov qword [rsp + 0x10], rax
mov r12, 0xfffffffffffffffc
mov r8, qword [rsp + 0x10]
mov rax, r10
sub rax, rdx
mov rbx, r11
sub rax, r9
sub rbp, r9
add rax, 0xfffffffffffffffc
sub r14, r9
sub r15, r9
sub r12, rdx
sub rbx, rdx
mov r13, rax
sub rbx, r9
nop word [rax + rax]
mov eax, dword [rcx + r12]
sub eax, dword [rcx + r13]
sub eax, dword [r8 + rcx]
sub eax, dword [r14 + rcx]
add eax, dword [rbx + rcx - 4]
add eax, dword [r15 + rcx]
add eax, dword [rcx + rbp]
sub eax, dword [rcx]
lea rcx, [rcx + 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [rsp + 0xa8]
setl al
mov byte [rdi], al
inc rdi
sub rsi, 1
jne 0x140083810
mov r8, qword [rsp + 0x20]
mov rbx, qword [rsp]
mov r13, qword [rsp + 8]
movsxd rsi, dword [rsp + 0xb0]
mov rdx, qword [rsp + 0x28]
add rbx, r8
add r9, r8
add r10, r8
mov qword [rsp], rbx
add r11, r8
sub r13, 1
mov qword [rsp + 8], r13
jne 0x1400837a1
mov r15, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
pop rsi
pop rbx
ret
Function at 0x140091610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
push r12
sub rsp, 0x60
mov rbx, rcx
lea r8, [rax - 0x58]
xor esi, esi
lea rcx, [rcx + 0x28]
mov dword [rax - 0x58], esi
mov edx, dword [rbx + 0x18]
call fcn.14010d0e0
mov r12d, dword [rsp + 0x20]
mov ecx, r12d
neg ecx
movzx ecx, cx
neg ecx
jns 0x140091660
mov eax, r12d
add rsp, 0x60
pop r12
pop rsi
pop rbx
ret
mov eax, dword [rbx + 0x18]
mov edx, dword [rbx + 0x3c]
cmp eax, edx
mov qword [rsp + 0x40], r14
cmovge eax, edx
mov dword [rbx + 0x40], eax
mov r14, qword [rbx + 0x30]
test r14, r14
je 0x14009169a
test eax, eax
mov rcx, r14
cmovne edx, eax
mov rax, qword [r14]
mov rax, qword [rax + 0x30]
call qword [case.0x14008f836.32]
mov r14, qword [rbx + 0x30]
test r14, r14
jne 0x1400916ad
mov r14, qword [rsp + 0x40]
mov eax, 0xfe48fff8
add rsp, 0x60
pop r12
pop rsi
pop rbx
ret
mov ecx, dword [rbx + 0x18]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x38], r15
mov r15, qword [rsp + 0xa0]
mov r9d, dword [r15 + 4]
test ecx, ecx
jle 0x140091774
lea rdi, [rbx + 0x58]
nop dword [rax]
mov r8d, dword [r15 + 0xc]
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cdq
idiv ecx
lea ebp, [r9 + rax*2]
lea eax, [rcx - 1]
cmp esi, eax
jne 0x140091701
mov ebp, dword [r15 + 4]
add ebp, r8d
mov rax, qword [rsp + 0x88]
lea r8, [rdi - 0x10]
mov qword [r8], rax
lea rdx, [rbx + 0x10]
mov rax, qword [rsp + 0x90]
mov rcx, r14
mov qword [rdi - 8], rax
mov rax, qword [rsp + 0x98]
mov qword [rdi], rax
mov eax, dword [r15]
mov dword [rdi + 8], eax
mov eax, dword [r15 + 8]
mov dword [rdi + 0x10], eax
mov eax, ebp
sub eax, r9d
mov dword [rdi + 0xc], r9d
mov dword [rdi + 0x14], eax
mov rax, qword [r14]
mov rax, qword [rax + 8]
call qword [case.0x14008f836.32]
mov r12d, eax
neg eax
movzx eax, ax
neg eax
js 0x140091774
mov ecx, dword [rbx + 0x18]
inc esi
add rdi, 0x28
mov r9d, ebp
cmp esi, ecx
jl 0x1400916e0
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 0x10]
call qword [case.0x14008f836.32]
mov rbp, qword [rsp + 0x58]
mov eax, r12d
mov r13, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r15, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
add rsp, 0x60
pop r12
pop rsi
pop rbx
ret
Function at 0x1400a9200
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 [0x1401b2190]
xor rax, rsp
mov qword [rsp + 0x420], rax
cmp qword [0x1401b9888], 0
movsxd rbx, dword [rsp + 0x448]
jne 0x1400a9332
lea rcx, [0x140190458]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1401b9888], rax
test rax, rax
je 0x1400a9328
lea rdx, str.CreateSimpleRenderer
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1401b9888]
lea rdx, str.DestroySimpleRenderer
mov qword [0x1401b96a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1401b9888]
lea rdx, str.SetTraceCallBack
mov qword [0x1401b9690], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1401b9888]
lea rdx, str.DVFGetErrorCode
mov qword [0x1401b9698], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1401b9888]
lea rdx, str.DVFGetErrorString
mov qword [0x1401b9688], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x1401b96a8], 0
mov rcx, rax
mov qword [0x1401b96a0], rax
je 0x1400a930b
cmp qword [0x1401b9690], 0
je 0x1400a930b
mov rax, qword [0x1401b9698]
test rax, rax
je 0x1400a930b
cmp qword [0x1401b9688], 0
je 0x1400a930b
test rcx, rcx
jne 0x1400a9339
mov rcx, qword [0x1401b9888]
test rcx, rcx
je 0x1400a9328
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x1401b9888], 0
mov eax, 0xff96fff6
jmp 0x1400a93ef
mov rax, qword [0x1401b9698]
mov qword [rsp + 0x450], rsi
lea rcx, [0x1400a9410]
mov qword [rsp + 0x458], rdi
call qword [case.0x14008f836.32]
lea rsi, [0x1401b9870]
mov rdi, rbx
cmp qword [rsi + rbx*8], 0
lea rbx, [rsi + rbx*8]
jne 0x1400a93dd
mov rax, qword [0x1401b96a8]
xor ecx, ecx
call qword [case.0x14008f836.32]
mov qword [rbx], rax
test rax, rax
jne 0x1400a9389
mov eax, 0xff8bfff6
jmp 0x1400a93df
shl rdi, 4
lea rax, [fcn.140079b50]
lea rdx, [rsi + 8]
add rdx, rdi
mov qword [rdi + rsi + 0x10], rax
mov dword [rdi + rsi + 0xc], 0x2d0
mov dword [rdx], 0x500
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14008f836.32]
test eax, eax
je 0x1400a93dd
mov ecx, eax
lea rdx, [rsp + 0x20]
mov rax, qword [0x1401b96a0]
call qword [case.0x14008f836.32]
mov eax, 0xff7efff6
jmp 0x1400a93df
xor eax, eax
mov rsi, qword [rsp + 0x450]
mov rdi, qword [rsp + 0x458]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.140126360
add rsp, 0x430
pop rbx
ret
Function at 0x14010b880
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x60
xor ebx, ebx
lea rcx, [0x140190a58]
mov dword [rsp + 0x20], ebx
xor edi, edi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea ebp, [rbx + 1]
test rax, rax
je 0x14010b96e
lea rdx, str.GetLogicalProcessorInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x14010b96e
nop dword [rax]
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov rax, r14
call qword [case.0x14008f836.32]
test eax, eax
jne 0x14010b922
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14010b96e
test rbx, rbx
je 0x14010b90e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x14010b8e0
jmp 0x14010b96e
test rbx, rbx
jne 0x14010b92e
mov edi, ebp
jmp 0x14010ba01
mov edx, dword [rsp + 0x20]
cmp rdx, 0x20
jb 0x14010b95d
lea rcx, [rbx + 8]
nop dword [rax]
cmp dword [rcx], 0
lea eax, [rdi + 1]
lea rcx, [rcx + 0x20]
cmovne eax, edi
add esi, 0x20
mov edi, eax
mov eax, esi
add rax, 0x20
cmp rax, rdx
jbe 0x14010b940
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp edi, ebp
jge 0x14010ba03
lea rcx, [0x140190a58]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14010b9b7
lea rdx, str.IsWow64Process
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14010b9b7
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rax, rbx
call qword [case.0x14008f836.32]
cmp dword [rsp + 0x20], 0
je 0x14010b9f2
lea rcx, [0x140190a58]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14010b9f2
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14010b9f2
lea rcx, [rsp + 0x28]
call qword [case.0x14008f836.32]
jmp 0x14010b9fd
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rsp + 0x48]
cmp edi, ebp
lea r11, [rsp + 0x60]
cmovg ebp, edi
mov rbx, qword [r11 + 0x10]
mov eax, ebp
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14010c9a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push r14
sub rsp, 0x40
mov rsi, qword [rsp + 0x60]
xor r14d, r14d
lea rcx, [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [rsi + 0x10]
mov ecx, edx
mov r8d, dword [rsi + 0xc]
sub ecx, r8d
mov eax, dword [rsi + 0x14]
cmp eax, ecx
jg 0x14010ca1e
nop dword [rax]
cmp edx, r8d
jl 0x14010ca1e
lea rcx, [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsi + 0x80]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [rsi + 0x10]
mov ecx, edx
mov r8d, dword [rsi + 0xc]
sub ecx, r8d
mov eax, dword [rsi + 0x14]
cmp eax, ecx
jle 0x14010c9e0
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
test eax, eax
jg 0x14010cb04
mov ecx, 0x8f
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14010caf7
xorps xmm0, xmm0
lea rbx, [rax + 0x2f]
and rbx, 0xffffffffffffffe0
movabs rcx, 0x10400000000
mov qword [rbx - 8], rax
mov qword [rax], rcx
lea rcx, [rbx + 0x10]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x38], rax
mov r9, rbx
mov rax, qword [rsp + 0x68]
lea r8, [0x14010ccd0]
mov qword [rbx + 0x48], rax
xor edx, edx
mov rax, qword [rsp + 0x70]
xor ecx, ecx
mov qword [rbx + 0x40], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov qword [rbx + 0x50], rsi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
jne 0x14010caff
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbx + 0x10]
mov qword [rbx + 0x38], r14
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rbx - 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14d, 0xff98feff
jmp 0x14010cb4b
inc dword [rsi + 0x10]
jmp 0x14010cb4b
lea ecx, [rax - 1]
mov dword [rsi + 0x14], ecx
movsxd rcx, eax
mov rbx, qword [rsi + rcx*8 + 0x10]
mov qword [rsi + rcx*8 + 0x10], r14
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rbx + 0x38]
mov qword [rbx + 0x48], rdx
mov rdx, qword [rsp + 0x70]
mov qword [rbx + 0x40], rdx
mov qword [rbx + 0x50], rsi
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdi, qword [rsp + 0x30]
mov eax, r14d
mov rbx, qword [rsp + 0x38]
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
Function at 0x14010ea90
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x78
lea rcx, [0x140190a58]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14010eb22
lea rdx, str.GetLogicalProcessorInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14010eb22
xor ebx, ebx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov rax, rdi
call qword [case.0x14008f836.32]
test eax, eax
jne 0x14010ebb5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14010ebb5
test rbx, rbx
je 0x14010eb0b
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x28], rax
mov rbx, rax
test rax, rax
jne 0x14010ead5
lea rcx, [0x140190a58]
mov dword [rsp + 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14010eb6b
lea rdx, str.IsWow64Process
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14010eb6b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
mov rax, rbx
call qword [case.0x14008f836.32]
cmp dword [rsp + 0x24], 0
je 0x14010ecd5
lea rcx, [0x140190a58]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14010ecd5
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14010ecd5
lea rcx, [rsp + 0x30]
call qword [case.0x14008f836.32]
jmp 0x14010ece0
test rbx, rbx
je 0x14010eb22
mov qword [rsp + 0xa0], rbp
mov rdi, rbx
mov qword [rsp + 0x70], r12
xor ebp, ebp
mov r12d, dword [rsp + 0x20]
mov qword [rsp + 0x68], r14
xor r14d, r14d
mov qword [rsp + 0x60], r15
xor r15d, r15d
cmp r12, 0x20
jb 0x14010ec98
mov qword [rsp + 0xa8], rsi
movabs rbx, 0x8000000000000000
cmp dword [rdi + 8], 0
jne 0x14010ec75
mov r8, qword [rdi]
xor edx, edx
inc r15d
xor r9d, r9d
xor r10d, r10d
mov rax, rbx
xor r11d, r11d
lea esi, [rdx + 0x10]
nop
test r8, rax
mov ecx, 0
setne cl
shr rax, 1
add edx, ecx
mov ecx, 0
test r8, rax
setne cl
shr rax, 1
add r11d, ecx
mov ecx, 0
test r8, rax
setne cl
shr rax, 1
add r10d, ecx
mov ecx, 0
test r8, rax
setne cl
shr rax, 1
add r9d, ecx
sub rsi, 1
jne 0x14010ec20
lea eax, [r9 + r10]
add eax, r11d
add edx, eax
add r14d, edx
add ebp, 0x20
add rdi, 0x20
mov eax, ebp
add rax, 0x20
cmp rax, r12
jbe 0x14010ec01
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0xa8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x90]
mov r12, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xa0]
mov dword [rax], r15d
mov rax, qword [rsp + 0x98]
mov r15, qword [rsp + 0x60]
mov dword [rax], r14d
mov r14, qword [rsp + 0x68]
add rsp, 0x78
pop rdi
pop rbx
ret
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x50]
mov dword [rax], ecx
mov rax, qword [rsp + 0x90]
mov dword [rax], ecx
add rsp, 0x78
pop rdi
pop rbx
ret
Function at 0x14011bba0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x4e70
call fcn.1401276b0
sub rsp, rax
mov rax, qword [0x1401b2190]
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 0x14011bcc6
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 0x14011bcbf
nop dword [rax]
nop dword [rax + rax]
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 0x14011bc80
mov r8, qword [rsp + rbx*8 + 0x40]
lea rdx, [rsp + 0x28]
add ax, ax
lea rcx, [0x1401b2240]
xor r9d, r9d
mov word [rsp + 0x28], ax
call fcn.14011bcf0
test eax, eax
je 0x14011bcc6
mov eax, dword [rsp + 0x20]
inc rbx
shr rax, 3
cmp rbx, rax
jb 0x14011bc40
mov eax, 1
jmp 0x14011bcc8
xor eax, eax
mov rcx, qword [rsp + 0x4e60]
xor rcx, rsp
call fcn.140126360
mov rbx, qword [rsp + 0x4e88]
add rsp, 0x4e70
pop rdi
ret