joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001bc0
Capabilities:
Enumerate pe sections
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x14005fe40]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, 0xffffffffffffffff
mov qword [rsp + 0x58], rsi
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov r14d, ebx
mov qword [rsp + 0x48], rbx
xor r15b, r15b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd r8, dword [rax + 0x3c]
add r8, rax
movzx eax, word [r8 + 0x14]
lea r9, [r8 + 0x18]
add r9, rax
mov edx, ebx
mov dword [rsp + 0x40], ebx
lea r10, [0x140042dc4]
movzx eax, word [r8 + 6]
cmp edx, eax
jge 0x140001c6e
movsxd rax, edx
lea rcx, [rax + rax*4]
lea rdi, [r9 + rcx*8]
mov rax, rbx
nop dword [rax + rax]
movzx ecx, byte [rdi + rax]
inc rax
cmp cl, byte [r10 + rax - 1]
jne 0x140001c66
cmp rax, 7
jne 0x140001c50
jmp 0x140001c71
inc edx
mov dword [rsp + 0x40], edx
jmp 0x140001c34
mov rdi, rbx
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140001d3b
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r12d, 1
mov r8d, r12d
mov edx, 0x80000000
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
je 0x140001d3b
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140001d3b
mov ecx, dword [rdi + 0x10]
add ecx, dword [rdi + 0x14]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140001d3b
movsxd rcx, dword [rax + 0x3c]
mov edx, dword [rcx + rax + 0xd8]
sub edx, dword [rdi + 0xc]
add edx, dword [rdi + 0x14]
movzx r15d, r15b
cmp dword [rdx + rax + 0xc], 0
cmovne r15d, r12d
test r14, r14
je 0x140001d49
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test rbx, rbx
je 0x140001d57
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rsi, 0xffffffffffffffff
je 0x140001d66
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, r15b
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400219d0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x14001db00
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x10090
call fcn.140021ca0
sub rsp, rax
mov rax, qword [0x14005fe40]
xor rax, rsp
mov qword [rsp + 0x10080], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor ebp, ebp
mov rsi, rcx
mov word [rsp + 0x80], bp
mov edi, 0x28
mov word [rsp + 0x30], bp
test al, al
je 0x14001dbc2
nop dword [rax]
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.140030c6c
cmp rax, 1
jne 0x14001dc1e
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x14001db9f
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x14001db93
cmp rcx, 1
jb 0x14001dc1e
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14001db60
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x14001dbf3
lea rcx, [rsp + 0x80]
call fcn.1400336f0
jmp 0x14001dbf5
xor eax, eax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.1400219d0
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140030a18
int3
Function at 0x1400214b0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x14005fe40]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor r14d, r14d
mov rbp, rdx
mov word [rsp + 0x30], r14w
mov rsi, rcx
mov edi, 0x28
test al, al
je 0x140021561
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], r14b
lea rcx, [rsp + 0x24]
call fcn.140030c6c
cmp rax, 1
jne 0x140021597
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r14w
je 0x14002153d
add rax, 2
dec rcx
cmp word [rax], r14w
jne 0x140021530
cmp rcx, 1
jb 0x140021597
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], r14w
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x140021500
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400219d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.140030a18
int3

Function at 0x1400217d0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x14005fe40]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor ebp, ebp
mov rsi, rcx
mov word [rsp + 0x30], bp
mov edi, 0x28
test al, al
je 0x14002187f
nop dword [rax]
nop dword [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.140030c6c
cmp rax, 1
jne 0x1400218b5
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x14002185c
nop
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x140021850
cmp rcx, 1
jb 0x1400218b5
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x140021820
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400219d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140030a18
int3

Function at 0x140022438
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140022482
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140022482
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140022482
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140022482
cmp dword [rcx + 0x84], 0xe
jbe 0x140022482
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140022484
xor al, al
add rsp, 0x28
ret
Function at 0x140028110
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 0x14002817f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002817f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002817f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002817f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002817f
cmp dword [rcx + 0x84], 0xe
jbe 0x14002817f
cmp dword [rcx + 0xf8], 0
je 0x14002817f
mov ecx, ebx
call fcn.140028230
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.14002800c
nop
cmp dword [rbp + 0x20], 0
je 0x1400281cd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400281d8
int3
xor r8d, r8d
xor edx, edx
jmp 0x140028110

Function at 0x140028314
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 0x14002817f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002817f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002817f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002817f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002817f
cmp dword [rcx + 0x84], 0xe
jbe 0x14002817f
cmp dword [rcx + 0xf8], 0
je 0x14002817f
mov ecx, ebx
call fcn.140028230
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.14002800c
nop
cmp dword [rbp + 0x20], 0
je 0x1400281cd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400281d8
int3
xor r8d, r8d
xor edx, edx
jmp 0x140028110
Function at 0x140038560
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 0x1400385e7
mov rsi, rbx
cmp word [rax], bp
je 0x1400385a6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140038590
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14003858c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140034788
mov rdi, rax
test rax, rax
je 0x1400385d4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14003e220
mov rbp, rdi
xor ecx, ecx
call fcn.140033c40
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
Function at 0x14003b998
Capabilities:
Get file size

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

Function at 0x14003e070
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14003e098
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14003e098
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140132b26
Capabilities:
Access peb ldr_data
Get kernel32 base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, qword gs:[0x60]
lea r14, [rdi + rcx]
mov rax, qword [rax + 0x18]
jne 0x140132710
je 0x140132710
movabs rbx, 0x11e7620000025de9
neg r12
cmp r10d, 0x45043e44
jmp 0x140132972
lea rdx, [rbp + 0xe0]
mov rcx, 0xffffffffffffffff
call r12
lea rax, [0x140133d70]
mov ecx, dword [rax]
jmp 0x1401329dc
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
test ecx, ecx
je 0x14013349f
cmp dword [rax + 4], r13d
je 0x14013349f
jmp 0x1401326f9
add byte [rax], al
mov r9d, dword [rbp + 0xcc]
lea rax, [rbp + 0xcc]
lea r8, [rbp + 0xd8]
xchg r9, rax
mov qword [rsp + 0x20], r9
xchg r9, rax
jmp 0x140132869
Function at 0x401000
Capabilities:
Execute command

Disassembly:
mov eax, 0x4040
call fcn.00401580
nop
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
call sub.msvcrt.dll___iob_func
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll__fileno
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll__isatty
cmp eax, 0
jne 0x4010ea
call sub.msvcrt.dll_clock
mov dword [rbp - 4], eax
call sub.msvcrt.dll___iob_func
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_feof
cmp eax, 0
jne 0x40108a
call sub.msvcrt.dll___iob_func
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_getc
mov dword [rbp - 8], eax
call sub.msvcrt.dll___iob_func
add rax, 0x30
mov r11, rax
mov eax, dword [rbp - 8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_putc
jmp 0x40103f
call sub.msvcrt.dll_clock
mov dword [rbp - 0xc], eax
call sub.msvcrt.dll___iob_func
add rax, 0x60
mov ecx, dword [rbp - 0xc]
mov edx, dword [rbp - 4]
sub ecx, edx
cvtsi2sd xmm0, ecx
movq xmm1, qword [0x00402008]
mulsd xmm0, xmm1
movq xmm1, qword [0x00402010]
divsd xmm0, xmm1
movsd xmm2, xmm0
movq r8, xmm2
lea rcx, str._.3fs_n
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_fprintf
mov eax, 0
jmp 0x40124f
mov eax, dword [rbp + 0x10]
cmp eax, 1
jle 0x40124a
movabs rax, 0x4000
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x400c]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 1
mov dword [rbp - 0x4010], eax
mov eax, dword [rbp - 0x4010]
mov ecx, dword [rbp + 0x10]
cmp eax, ecx
jge 0x4011a2
jmp 0x401152
mov eax, dword [rbp - 0x4010]
add eax, 1
mov dword [rbp - 0x4010], eax
jmp 0x40112b
mov eax, dword [rbp - 0x4010]
movsxd rax, eax
shl rax, 3
mov rcx, qword [rbp + 0x18]
add rcx, rax
mov rax, qword [rcx]
mov r11, rax
lea rax, [rbp - 0x400c]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_strcat
lea rax, [0x00402018]
mov r11, rax
lea rax, [rbp - 0x400c]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_strcat
jmp 0x401141
lea rax, [rbp - 0x400c]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_clock
mov dword [rbp - 0x4014], eax
lea rax, [rbp - 0x400c]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_system
mov dword [rbp - 0x4018], eax
call sub.msvcrt.dll_clock
mov dword [rbp - 0x401c], eax
call sub.msvcrt.dll___iob_func
add rax, 0x60
mov ecx, dword [rbp - 0x401c]
mov edx, dword [rbp - 0x4014]
sub ecx, edx
cvtsi2sd xmm0, ecx
movq xmm1, qword [0x00402038]
mulsd xmm0, xmm1
movq xmm1, qword [0x00402040]
divsd xmm0, xmm1
mov ecx, dword [rbp - 0x4018]
mov r9, rcx
movsd xmm2, xmm0
movq r8, xmm2
lea rcx, str._.3fs___return_code:__d_n
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_fprintf
mov eax, dword [rbp - 0x4018]
jmp 0x40124f
mov eax, 0
leave
ret
Function at 0x40100b
Capabilities:
Execute command

Disassembly:
mov eax, 0x4040
call fcn.00401580
nop
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
call sub.msvcrt.dll___iob_func
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll__fileno
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll__isatty
cmp eax, 0
jne 0x4010ea
call sub.msvcrt.dll_clock
mov dword [rbp - 4], eax
call sub.msvcrt.dll___iob_func
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_feof
cmp eax, 0
jne 0x40108a
call sub.msvcrt.dll___iob_func
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_getc
mov dword [rbp - 8], eax
call sub.msvcrt.dll___iob_func
add rax, 0x30
mov r11, rax
mov eax, dword [rbp - 8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_putc
jmp 0x40103f
call sub.msvcrt.dll_clock
mov dword [rbp - 0xc], eax
call sub.msvcrt.dll___iob_func
add rax, 0x60
mov ecx, dword [rbp - 0xc]
mov edx, dword [rbp - 4]
sub ecx, edx
cvtsi2sd xmm0, ecx
movq xmm1, qword [0x00402008]
mulsd xmm0, xmm1
movq xmm1, qword [0x00402010]
divsd xmm0, xmm1
movsd xmm2, xmm0
movq r8, xmm2
lea rcx, str._.3fs_n
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_fprintf
mov eax, 0
jmp 0x40124f
mov eax, dword [rbp + 0x10]
cmp eax, 1
jle 0x40124a
movabs rax, 0x4000
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x400c]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 1
mov dword [rbp - 0x4010], eax
mov eax, dword [rbp - 0x4010]
mov ecx, dword [rbp + 0x10]
cmp eax, ecx
jge 0x4011a2
jmp 0x401152
mov eax, dword [rbp - 0x4010]
add eax, 1
mov dword [rbp - 0x4010], eax
jmp 0x40112b
mov eax, dword [rbp - 0x4010]
movsxd rax, eax
shl rax, 3
mov rcx, qword [rbp + 0x18]
add rcx, rax
mov rax, qword [rcx]
mov r11, rax
lea rax, [rbp - 0x400c]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_strcat
lea rax, [0x00402018]
mov r11, rax
lea rax, [rbp - 0x400c]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_strcat
jmp 0x401141
lea rax, [rbp - 0x400c]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_clock
mov dword [rbp - 0x4014], eax
lea rax, [rbp - 0x400c]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_system
mov dword [rbp - 0x4018], eax
call sub.msvcrt.dll_clock
mov dword [rbp - 0x401c], eax
call sub.msvcrt.dll___iob_func
add rax, 0x60
mov ecx, dword [rbp - 0x401c]
mov edx, dword [rbp - 0x4014]
sub ecx, edx
cvtsi2sd xmm0, ecx
movq xmm1, qword [0x00402038]
mulsd xmm0, xmm1
movq xmm1, qword [0x00402040]
divsd xmm0, xmm1
mov ecx, dword [rbp - 0x4018]
mov r9, rcx
movsd xmm2, xmm0
movq r8, xmm2
lea rcx, str._.3fs___return_code:__d_n
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_fprintf
mov eax, dword [rbp - 0x4018]
jmp 0x40124f
mov eax, 0
leave
ret
Function at 0x1800116d4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x18007dc58]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor ebx, ebx
mov rdi, rdx
mov r14, rcx
test rcx, rcx
je 0x18001187e
test rdx, rdx
je 0x18001187e
lea ecx, [rbx + 3]
call fcn.18000be60
test al, al
je 0x18001173c
mov r9d, dword [rdi + 0x88]
lea rcx, str.VM3DVideoProcessBlt:_hDevice___p__DestFormat___d__NumSrcSurfaces___d._n
mov r8d, dword [rdi + 0x34]
mov rdx, r14
call fcn.180033750
mov eax, dword [rdi + 0x88]
mov esi, ebx
test eax, eax
je 0x180011785
mov ecx, 3
call fcn.18000be60
test al, al
je 0x180011779
mov r8, qword [rdi + 0x80]
mov edx, esi
mov eax, esi
imul rcx, rax, 0x88
mov r8, qword [rcx + r8 + 0x18]
lea rcx, str.VM3DVideoProcessBlt:_SrcResource__d____p_n
call fcn.180033750
mov eax, dword [rdi + 0x88]
inc esi
cmp esi, eax
jb 0x180011748
cmp eax, 1
jae 0x180011794
mov ebx, 0x80070057
jmp 0x180011883
mov rax, qword [r14 + 0x48b8]
cmp byte [rax + 0x20], 1
je 0x1800117bc
cmp byte [rax + 0x20], bl
jne 0x1800118a9
mov rdx, rdi
mov rcx, r14
call fcn.1800119b8
mov ebx, eax
jmp 0x180011883
mov rcx, qword [rdi + 0x80]
mov r9, qword [rdi + 8]
mov r8d, dword [rcx + 0x20]
test r9, r9
je 0x180011877
mov rdx, qword [rcx + 0x18]
test rdx, rdx
je 0x180011877
cmp qword [r9], rbx
je 0x180011877
mov eax, dword [rcx + 0x24]
mov dword [rbp + 0x1f], eax
mov eax, dword [rcx + 0x28]
mov dword [rbp + 0x23], eax
mov eax, dword [rcx + 0x2c]
sub eax, dword [rcx + 0x24]
mov dword [rbp + 0x2b], eax
mov eax, dword [rcx + 0x30]
sub eax, dword [rcx + 0x28]
mov dword [rbp + 0x2f], eax
mov dword [rbp + 0x27], ebx
mov dword [rbp + 0x33], 1
mov eax, dword [rcx + 0x34]
mov dword [rbp + 7], eax
mov eax, dword [rcx + 0x38]
mov dword [rbp + 0xb], eax
mov eax, dword [rcx + 0x3c]
sub eax, dword [rcx + 0x34]
mov dword [rbp + 0x13], eax
mov eax, dword [rcx + 0x40]
sub eax, dword [rcx + 0x38]
mov rcx, r14
mov dword [rsp + 0x48], ebx
mov dword [rbp + 0x17], eax
lea rax, [rbp + 7]
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
mov dword [rbp + 0xf], ebx
mov dword [rbp + 0x1b], 1
mov eax, dword [r9 + 8]
mov dword [rsp + 0x28], eax
mov rax, qword [r9]
lea r9, [rbp + 0x1f]
mov qword [rsp + 0x20], rax
call fcn.1800137b0
test al, al
jne 0x180011883
mov ebx, 0x80004005
jmp 0x180011883
mov ebx, 0x80070006
jmp 0x180011883
mov ebx, 0x80004003
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.18003a580
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov r8d, 0xb6
lea rdx, str.d:_buildob_bora_18379147_bora_vmsoft_svgawddminclude_vm3ddevadapter.h
lea rcx, str.ASSERT__s:_d_n
call fcn.1800335c0
int3
Function at 0x180033aa0
Capabilities:
Enumerate files on windows

Disassembly:
push rsi
sub rsp, 0x180
mov rax, qword [0x18007dc58]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov eax, dword [0x18007ebf0]
lea r9, [0x18007ff00]
mov dword [rsp + 0x28], eax
lea r8, str.C:_vm3dum_log_vm3dum_s__d__d.log
mov eax, dword [0x18007fed0]
lea rcx, [0x18007ff20]
mov edx, 0x80
mov dword [rsp + 0x20], eax
call fcn.180033f90
mov r8d, 0x20
lea rdx, [0x18006890c]
lea rcx, [0x18007ff20]
call fcn.180045364
mov rsi, rax
test rax, rax
je 0x180033baf
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x198], rdi
lea rcx, str.C:_vm3dum_log_vm3dum.log
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180033b93
mov qword [rsp + 0x190], rbx
lea rdx, [rsp + 0x30]
mov rcx, rax
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x180033b71
inc ebx
cmp ebx, 0x200
ja 0x180033b71
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180033b55
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 0x200
mov rbx, qword [rsp + 0x190]
ja 0x180033b93
mov qword [0x18007ebe8], rsi
jmp 0x180033ba7
mov rcx, rsi
call fcn.180044ec4
lea rcx, [0x18007ff20]
call fcn.1800454e4
mov rdi, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.18003a580
add rsp, 0x180
pop rsi
ret

Function at 0x180033cd0
Capabilities:
Enumerate files on windows

Disassembly:
sub rsp, 0x28
cmp byte [0x18007ebf4], 0
je 0x180033db2
movups xmm0, xmmword [rcx]
movups xmmword [0x18007fea0], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [0x18007feb0], xmm1
movups xmm0, xmmword [rcx + 0x20]
mov ecx, dword [0x18007fe94]
movups xmmword [0x18007fec0], xmm0
test ecx, ecx
je 0x180033d79
sub ecx, 1
je 0x180033d65
sub ecx, 1
je 0x180033d51
sub ecx, 1
je 0x180033d3d
cmp ecx, 1
je 0x180033d29
xor eax, eax
mov dword [0x18007fe90], eax
jmp 0x180033d8b
mov eax, dword [0x18007feb0]
mov dword [0x18007fe90], eax
mov eax, dword [0x18007fec8]
jmp 0x180033d8b
mov eax, dword [0x18007feac]
mov dword [0x18007fe90], eax
mov eax, dword [0x18007fec4]
jmp 0x180033d8b
mov eax, dword [0x18007fea8]
mov dword [0x18007fe90], eax
mov eax, dword [0x18007fec0]
jmp 0x180033d8b
mov eax, dword [0x18007fea4]
mov dword [0x18007fe90], eax
mov eax, dword [0x18007febc]
jmp 0x180033d8b
mov eax, dword [0x18007fea0]
mov dword [0x18007fe90], eax
mov eax, dword [0x18007feb8]
cmp byte [0x18007fecc], 0
mov dword [0x18007fe8c], eax
je 0x180033dad
cmp qword [0x18007ebe8], 0
jne 0x180033dad
add rsp, 0x28
jmp fcn.180033aa0
add rsp, 0x28
ret
mov r8d, 0xd5
lea rdx, str.d:_buildob_bora_18379147_bora_vmsoft_build_release_x64_svgawddm_srclibumliblog.c
lea rcx, str.ASSERT__s:_d_n
call fcn.1800335c0
int3