joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400059b8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14001a550]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140003704
xor ebx, ebx
cmp qword [0x14001bb58], rbx
mov rdi, rax
jne 0x140005acb
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140005ba2
lea rdx, [0x140015060]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140005ba2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14001bb58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14001bb60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14001bb68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14001bb78], rax
test rax, rax
je 0x140005ac2
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14001bb70], rax
jmp 0x140005ad2
mov rax, qword [0x14001bb70]
jmp 0x140005ad9
mov rax, qword [0x14001bb70]
mov r11, qword [0x14001bb78]
cmp rax, rdi
je 0x140005b40
cmp r11, rdi
je 0x140005b40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14001bb78]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140005b40
test rax, rax
je 0x140005b40
call rsi
test rax, rax
je 0x140005b3a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140005b3a
test byte [rsp + 0x40], 1
jne 0x140005b40
bts ebp, 0x15
jmp 0x140005b80
mov rcx, qword [0x14001bb60]
cmp rcx, rdi
je 0x140005b80
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140005b80
call rax
mov rbx, rax
test rax, rax
je 0x140005b80
mov rcx, qword [0x14001bb68]
cmp rcx, rdi
je 0x140005b80
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140005b80
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14001bb58]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140005ba2
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140005ba4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140005e00
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000df6f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14001a550]
jne 0x140005e1a
rol rcx, 0x10
test cx, 0xffff
jne 0x140005e16
repz ret
ror rcx, 0x10
jmp 0x14000dec8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14001bd00]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14001bdf8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000df4d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14001bd00]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000df6f
mov rax, qword [rsp + 0x88]
mov qword [0x14001bdf8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14001bd98], rax
mov rax, qword [0x14001bdf8]
mov qword [0x14001bc70], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14001bd80], rax
mov dword [0x14001bc60], 0xc0000409
mov dword [0x14001bc64], 1
mov rax, qword [0x14001a550]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14001a558]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14001bcf8], eax
mov ecx, 1
call fcn.14000ddb8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400161b8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14001bcf8], 0
jne 0x14000dff6
mov ecx, 1
call fcn.14000ddb8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140001a90
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx]
mov rbx, rdx
mov r9d, eax
mov r10d, eax
mov r11d, eax
shr r9d, 0x18
shr r10d, 0x10
shr r11d, 8
test eax, eax
js 0x140001b86
cmp eax, dword [rcx]
jge 0x140001b86
mov r8d, dword [rdx + 4]
mov edi, r8d
mov esi, r8d
mov ebp, r8d
shr edi, 0x18
shr esi, 0x10
shr ebp, 8
test r8d, r8d
js 0x140001b86
cmp r8d, dword [rcx + 4]
jge 0x140001b86
movzx r8d, r8b
add rcx, 0x10
movzx edx, al
movzx eax, r11b
mov qword [rsp + 0x60], r14
movabs r14, 0xcbf29ce484222325
xor rdx, r14
mov qword [rsp + 0x68], r15
xor r8, r14
movabs r15, 0x100000001b3
imul rdx, r15
imul r8, r15
xor rdx, rax
movzx eax, r10b
imul rdx, r15
xor rdx, rax
mov eax, r9d
imul rdx, r15
xor rdx, rax
movzx eax, bpl
xor r8, rax
movzx eax, sil
imul r8, r15
imul rdx, r15
xor r8, rax
mov eax, edi
imul r8, r15
xor r8, rax
imul r8, r15
xor r8, rdx
mov rdx, rbx
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
jmp fcn.140002ee0
lea rcx, [rsp + 0x20]
call fcn.140001880
lea rdx, [0x14008d920]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x140002070
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
movzx r9d, byte [rdx]
mov r8, rcx
mov r10, rdx
movabs rcx, 0xcbf29ce484222325
xor r9, rcx
movabs rdx, 0x100000001b3
imul r9, rdx
movzx eax, byte [r10 + 1]
mov rbx, qword [r8 + 8]
xor r9, rax
movzx eax, byte [r10 + 2]
mov r11, qword [r8 + 0x28]
imul r9, rdx
xor r9, rax
movzx eax, byte [r10 + 3]
imul r9, rdx
xor r9, rax
movzx eax, byte [r10 + 4]
xor rax, rcx
movzx ecx, byte [r10 + 5]
imul rax, rdx
imul r9, rdx
xor rax, rcx
movzx ecx, byte [r10 + 6]
imul rax, rdx
xor rax, rcx
movzx ecx, byte [r10 + 7]
imul rax, rdx
xor rax, rcx
mov rcx, qword [r8 + 0x30]
imul rax, rdx
lea rdi, [rcx + rcx*2]
xor r8d, r8d
xor rax, r9
shl rdi, 2
and rax, rbx
lea rcx, [rax + rax*2]
cmp r8w, word [r11 + rcx*4]
lea rdx, [r11 + rcx*4]
jg 0x14000214a
mov r9d, dword [r10]
cmp dword [rdx + 4], r9d
jne 0x140002131
mov ecx, dword [r10 + 4]
cmp dword [rdx + 8], ecx
je 0x140002157
inc rax
inc r8w
and rax, rbx
lea rcx, [rax + rax*2]
cmp r8w, word [r11 + rcx*4]
lea rdx, [r11 + rcx*4]
jle 0x140002122
xor al, al
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
lea rcx, [rax + rax*2]
shl rcx, 2
cmp rcx, rdi
je 0x14000214a
mov rbx, qword [rsp + 8]
mov al, 1
mov rdi, qword [rsp + 0x10]
ret
Function at 0x140003590
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
movaps xmmword [rsp + 0x20], xmm6
mov rdi, rcx
xorps xmm0, xmm0
test rdx, rdx
js 0x1400035b6
cvtsi2ss xmm0, rdx
jmp 0x1400035cb
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx + 0x4c]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm6, dword [0x140089184]
xor eax, eax
comiss xmm0, xmm6
movabs rsi, 0x8000000000000000
jb 0x1400035fa
subss xmm0, xmm6
comiss xmm0, xmm6
jae 0x1400035fa
mov rax, rsi
mov rcx, qword [rdi + 0x38]
cvttss2si rbx, xmm0
xorps xmm0, xmm0
add rbx, rax
test rcx, rcx
js 0x140003615
cvtsi2ss xmm0, rcx
jmp 0x14000362a
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rdi + 0x4c]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor edx, edx
comiss xmm0, xmm6
jb 0x140003647
subss xmm0, xmm6
comiss xmm0, xmm6
jae 0x140003647
mov rdx, rsi
cvttss2si rax, xmm0
mov rcx, rdi
add rax, rdx
cmp rbx, rax
cmovb rbx, rax
mov rdx, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rdi
jmp fcn.140003680
Function at 0x140005ac0
Capabilities:
Hash data using fnv

Disassembly:
mov r11, rsp
push rdi
push r13
push r14
push r15
sub rsp, 0x48
mov r10, qword [r8]
mov rdi, rcx
movsxd rcx, dword [rdx]
mov r15, r8
mov r14, rdx
test ecx, ecx
js 0x140005cf8
mov r9, qword [r8 + 8]
dec rcx
sub r9, r10
movabs r13, 0x2aaaaaaaaaaaaaab
mov rax, r13
imul r9
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
add rcx, rdx
cmp rcx, 0x100000
jae 0x140005cf8
movsxd rax, dword [r14 + 4]
test eax, eax
js 0x140005cf8
mov rcx, qword [r10 + 8]
dec rax
sub rcx, qword [r10]
add rcx, rax
cmp rcx, 0x100000
jae 0x140005cf8
mov rcx, qword [r8 + 8]
mov rax, r13
mov qword [r11 + 0x20], rsi
sub rcx, r10
imul rcx
mov qword [r11 + 8], rbx
xor esi, esi
sar rdx, 2
mov rax, rdx
mov qword [r11 + 0x18], rbp
shr rax, 0x3f
mov qword [r11 - 0x28], r12
add rdx, rax
je 0x140005cd0
movabs rbp, 0x100000001b3
mov rax, qword [r10 + 8]
xor ebx, ebx
mov rdx, r10
cmp rax, qword [r10]
je 0x140005ca4
movsxd rax, esi
lea rcx, [rax + rax*2]
lea r12, [rcx*8]
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r12 + r10]
cmp byte [rcx + rax], 0
je 0x140005c89
mov eax, dword [r14]
mov r8d, dword [r14 + 4]
add eax, esi
add r8d, ebx
mov dword [rsp + 0x78], eax
mov r9d, eax
mov dword [rsp + 0x7c], r8d
mov r10d, eax
shr r9d, 0x18
mov r11d, eax
shr r10d, 0x10
shr r11d, 8
test eax, eax
js 0x140005d06
cmp eax, dword [rdi]
jge 0x140005d06
test r8d, r8d
js 0x140005d06
cmp r8d, dword [rdi + 4]
jge 0x140005d06
movzx edx, al
lea rcx, [rdi + 0x10]
movzx r8d, r8b
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movzx eax, r11b
imul rdx, rbp
xor rdx, rax
movzx eax, r10b
imul rdx, rbp
xor rdx, rax
mov eax, r9d
imul rdx, rbp
xor rdx, rax
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rsp + 0x7d]
imul r8, rbp
imul rdx, rbp
xor r8, rax
movzx eax, byte [rsp + 0x7e]
imul r8, rbp
xor r8, rax
movzx eax, byte [rsp + 0x7f]
imul r8, rbp
xor r8, rax
imul r8, rbp
xor r8, rdx
lea rdx, [rsp + 0x78]
call fcn.140002ee0
mov rdx, qword [r15]
inc ebx
movsxd rcx, ebx
mov r10, rdx
mov rax, qword [rdx + 8]
sub rax, qword [rdx]
cmp rcx, rax
jb 0x140005bb0
mov rcx, qword [r15 + 8]
mov r10, rdx
sub rcx, rdx
inc esi
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, esi
cmp rax, rdx
jb 0x140005b80
mov rbx, qword [rsp + 0x70]
mov al, 1
mov rbp, qword [rsp + 0x80]
mov r12, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x88]
add rsp, 0x48
pop r15
pop r14
pop r13
pop rdi
ret
xor al, al
add rsp, 0x48
pop r15
pop r14
pop r13
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.140001880
lea rdx, [0x14008d920]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140006850
Capabilities:
Terminate process

Disassembly:
push rbp
sub rsp, 0x60
cmp byte [0x1400954e4], 0
je 0x140006885
lea rdx, [0x1400954f0]
lea rcx, [rsp + 0x40]
call fcn.140018180
mov rcx, qword [rax]
test rcx, rcx
je 0x14000687e
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [0x1400954e4], 0
call fcn.14001cbc0
movups xmm0, xmmword [0x140097708]
xor edx, edx
mov ecx, 0x8892
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x140097718]
movaps xmmword [rsp + 0x40], xmm0
call qword [0x1400955e8]
xor edx, edx
mov ecx, 0x8893
call qword [0x1400955e8]
movaps xmm1, xmmword [rsp + 0x20]
movd eax, xmm1
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rbp, xmm0
test eax, eax
jle 0x1400069d8
mov qword [rsp + 0x70], rbx
lea rbx, [rbp + 8]
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rdi
lea rdi, [rbp + 0x30]
mov esi, eax
cmp byte [0x140098188], 0
je 0x14000693a
mov ecx, dword [rbx + 0x20]
call qword [0x140095698]
xor ecx, ecx
call qword [0x140095b18]
mov ecx, 1
call qword [0x140095b18]
mov ecx, 2
call qword [0x140095b18]
mov ecx, 3
call qword [0x140095b18]
xor ecx, ecx
call qword [0x140095698]
lea rdx, [rdi - 4]
mov ecx, 1
call qword [0x140095a28]
mov rdx, rdi
mov ecx, 1
call qword [0x140095a28]
lea rdx, [rdi + 4]
mov ecx, 1
call qword [0x140095a28]
lea rdx, [rdi + 8]
mov ecx, 1
call qword [0x140095a28]
cmp byte [0x140098188], 0
je 0x14000698d
lea rdx, [rdi - 8]
mov ecx, 1
call qword [0x140095ab8]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add rdi, 0x40
add rbx, 0x40
sub rsi, 1
jne 0x1400068f7
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor ecx, ecx
call qword [0x140097070]
mov edx, dword [0x14009802c]
mov ecx, dword [0x140098034]
call qword [0x140095b00]
mov edx, dword [0x140098030]
mov ecx, dword [0x140098034]
call qword [0x140095b00]
mov ecx, dword [0x14009802c]
call qword [0x140095a98]
mov ecx, dword [0x140098030]
call qword [0x140095a98]
mov ecx, dword [0x140098034]
call qword [0x140095a58]
mov rcx, qword [0x140098038]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8d, dword [0x140098034]
lea rdx, str.SHADER:__ID__i__Default_shader_unloaded_successfully
mov ecx, 3
call fcn.1400349a0
lea rdx, [0x140098018]
mov ecx, 1
call qword [0x140095aa8]
mov r8d, dword [0x140098018]
lea rdx, str.TEXTURE:__ID__i__Default_texture_unloaded_successfully
mov ecx, 3
call fcn.1400349a0
mov rcx, qword [0x1400981c8]
call fcn.1400403d0
call fcn.140042090
mov ecx, 1
call sub.WINMM.dll_timeEndPeriod
lea rdx, str.Window_closed_successfully
mov byte [0x140094a0c], 0
mov ecx, 3
add rsp, 0x60
pop rbp
jmp fcn.1400349a0
Function at 0x14000add0
Capabilities:
Terminate process

Disassembly:
cmp ecx, 1
jge 0x14000adda
xorps xmm1, xmm1
jmp 0x14000adee
movsd xmm1, qword [0x140089160]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
lea rdx, str.TIMER:_Target_time_per_frame:__02.03f_milliseconds
mov ecx, 3
movsd qword [0x1400954c8], xmm1
mulss xmm0, dword [0x140050630]
cvtps2pd xmm2, xmm0
movq r8, xmm2
jmp fcn.1400349a0

Function at 0x14000ae20
Capabilities:
Get thread local storage value
Set thread local storage value
Terminate process

Disassembly:
sub rsp, 0x38
mov rdx, qword [rcx]
test rdx, rdx
jne 0x14000ae3f
mov rcx, qword [0x1400981c8]
xor r8d, r8d
add rsp, 0x38
jmp 0x140041db0
cmp dword [rcx + 0x14], 7
jne 0x14000ae73
mov eax, dword [rcx + 8]
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], eax
mov eax, dword [rcx + 0xc]
mov rcx, qword [0x1400981c8]
mov qword [rsp + 0x28], rdx
mov edx, 1
mov dword [rsp + 0x24], eax
call 0x140041db0
add rsp, 0x38
ret
lea rdx, str.GLFW:_Window_icon_image_must_be_in_R8G8B8A8_pixel_format
mov ecx, 4
add rsp, 0x38
jmp fcn.1400349a0
cmp dword [0x14009ffe0], 0
mov r10, rcx
movsxd r9, edx
jne 0x140041dcb
xor edx, edx
mov ecx, 0x10001
jmp fcn.140039200
test edx, edx
jns 0x140041de0
lea rdx, str.Invalid_image_count_for_window_icon
mov ecx, 0x10004
jmp fcn.140039200
je 0x140041dfe
xor ecx, ecx
mov rax, r8
cmp dword [rax], 0
jle 0x140041e0b
cmp dword [rax + 4], 0
jle 0x140041e0b
inc rcx
add rax, 0x10
cmp rcx, r9
jl 0x140041de7
mov edx, r9d
mov rcx, r10
jmp qword [0x1400a0108]
lea rdx, str.Invalid_image_dimensions_for_window_icon
mov ecx, 0x10004
jmp fcn.140039200
Function at 0x14000b620
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x48
cmp byte [0x140094a0d], 0
mov rcx, qword [0x1400981c8]
mov qword [rsp + 0x40], rbx
jne 0x14000b6b2
lea r8, [0x140094a18]
lea rdx, [0x140094a14]
call fcn.140041260
mov dword [rsp + 0x50], 0
call fcn.140007200
lea rcx, [rsp + 0x50]
movsxd rbx, eax
call fcn.140041000
cmp ebx, dword [rsp + 0x50]
jge 0x14000b692
mov rdx, qword [rax + rbx*8]
test rdx, rdx
je 0x14000b692
or dword [0x140094a08], 2
xor r9d, r9d
mov rcx, qword [0x1400981c8]
xor r8d, r8d
mov byte [0x140094a0d], 1
jmp 0x14000b6cf
lea rdx, str.GLFW:_Failed_to_get_monitor
mov ecx, 4
call fcn.1400349a0
mov rcx, qword [0x1400981c8]
xor r9d, r9d
xor r8d, r8d
jmp 0x14000b6c0
mov r9d, dword [0x140094a18]
mov r8d, dword [0x140094a14]
and dword [0x140094a08], 0xfffffffd
xor edx, edx
mov byte [0x140094a0d], dl
mov eax, dword [0x140094a30]
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], eax
mov eax, dword [0x140094a2c]
mov dword [rsp + 0x20], eax
call fcn.140041ea0
test byte [0x140094a08], 0x40
mov rbx, qword [rsp + 0x40]
je 0x14000b70c
mov ecx, 1
add rsp, 0x48
jmp fcn.140042030
add rsp, 0x48
ret
Function at 0x140018f40
Capabilities:
Terminate process

Disassembly:
xor eax, eax
mov r10, r9
mov dword [rdx], eax
mov dword [r8], eax
mov dword [r9], eax
lea eax, [rcx - 1]
cmp eax, 0x17
ja case.default.0x140018f6d
lea r11, [0x140000000]
cdqe
mov r9d, dword [r11 + rax*4 + 0x1918c]
add r9, r11
jmp r9
mov dword [rdx], 0x8229
mov dword [r8], 0x1903
mov dword [r10], 0x1401
ret
mov dword [rdx], 0x822b
mov dword [r8], 0x8227
mov dword [r10], 0x1401
ret
mov dword [rdx], 0x8d62
mov dword [r8], 0x1907
mov dword [r10], 0x8363
ret
mov dword [rdx], 0x8051
mov dword [r8], 0x1907
mov dword [r10], 0x1401
ret
mov dword [rdx], 0x8057
mov dword [r8], 0x1908
mov dword [r10], 0x8034
ret
mov dword [rdx], 0x8056
mov dword [r8], 0x1908
mov dword [r10], 0x8033
ret
mov dword [rdx], 0x8058
mov dword [r8], 0x1908
mov dword [r10], 0x1401
ret
cmp byte [0x14009818d], 0
je 0x140019012
mov dword [rdx], 0x822e
mov dword [r8], 0x1903
mov dword [r10], 0x1406
ret
cmp byte [0x14009818d], 0
je 0x140019030
mov dword [rdx], 0x8815
mov dword [r8], 0x1907
mov dword [r10], 0x1406
ret
cmp byte [0x14009818d], 0
je 0x14001904e
mov dword [rdx], 0x8814
mov dword [r8], 0x1908
mov dword [r10], 0x1406
ret
cmp byte [0x14009818e], 0
je 0x14001906c
mov dword [rdx], 0x822d
mov dword [r8], 0x1903
mov dword [r10], 0x140b
ret
cmp byte [0x14009818e], 0
je 0x14001908a
mov dword [rdx], 0x881b
mov dword [r8], 0x1907
mov dword [r10], 0x140b
ret
cmp byte [0x14009818e], 0
je 0x1400190a8
mov dword [rdx], 0x881a
mov dword [r8], 0x1908
mov dword [r10], 0x140b
ret
cmp byte [0x14009818f], 0
je 0x14001918b
mov dword [rdx], 0x83f0
ret
cmp byte [0x14009818f], 0
je 0x14001918b
mov dword [rdx], 0x83f1
ret
cmp byte [0x14009818f], 0
je 0x14001918b
mov dword [rdx], 0x83f2
ret
cmp byte [0x14009818f], 0
je 0x14001918b
mov dword [rdx], 0x83f3
ret
cmp byte [0x140098190], 0
je 0x14001918b
mov dword [rdx], 0x8d64
ret
cmp byte [0x140098191], 0
je 0x14001918b
mov dword [rdx], 0x9274
ret
cmp byte [0x140098191], 0
je 0x14001918b
mov dword [rdx], 0x9278
ret
cmp byte [0x140098192], 0
je 0x14001918b
mov dword [rdx], 0x8c00
ret
cmp byte [0x140098192], 0
je 0x14001918b
mov dword [rdx], 0x8c02
ret
cmp byte [0x140098193], 0
je 0x14001918b
mov dword [rdx], 0x93b0
ret
cmp byte [0x140098193], 0
je 0x14001918b
mov dword [rdx], 0x93b7
ret
mov r8d, ecx
lea rdx, str.TEXTURE:_Current_format_not_supported___i_
mov ecx, 4
jmp fcn.1400349a0
ret
Function at 0x140032880
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, dword [rcx]
test ebx, ebx
je 0x1400328ac
mov ecx, ebx
call fcn.14001b0b0
mov r8d, ebx
lea rdx, str.TEXTURE:__ID__i__Unloaded_texture_data_from_VRAM__GPU_
mov ecx, 3
add rsp, 0x20
pop rbx
jmp fcn.1400349a0
add rsp, 0x20
pop rbx
ret
Function at 0x1400348a0
Capabilities:
Write file 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, 0x20
xor sil, sil
movsxd rdi, r8d
mov r14, rdx
mov rbx, rcx
test rcx, rcx
je 0x14003496b
mov rax, qword [0x14009ffc8]
test rax, rax
je 0x1400348e5
mov r8d, edi
call rax
jmp 0x140034980
lea rdx, [0x140052e60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbp, rax
test rax, rax
je 0x140034955
mov r8, rdi
mov r9, rax
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
test eax, eax
jne 0x14003491e
lea ecx, [rax + 4]
lea rdx, str.FILEIO:___s__Failed_to_write_file
jmp 0x14003493c
cmp eax, edi
je 0x140034930
mov ecx, 4
lea rdx, str.FILEIO:___s__File_partially_written
jmp 0x14003493c
mov ecx, 3
lea rdx, str.FILEIO:___s__File_saved_successfully
mov r8, rbx
call fcn.1400349a0
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test eax, eax
sete sil
jmp 0x14003497c
mov r8, rbx
lea rdx, str.FILEIO:___s__Failed_to_open_file
mov ecx, 4
call fcn.1400349a0
jmp 0x14003497c
lea rdx, str.FILEIO:_File_name_provided_is_not_valid
mov ecx, 4
call fcn.1400349a0
movzx eax, sil
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400349a0
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rdi
sub rsp, 0x148
mov rax, qword [0x140093880]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp ecx, dword [0x140091c30]
mov rbx, rdx
mov edi, ecx
jl 0x1400349f8
mov rax, qword [0x14009ffb8]
mov qword [r11 - 0x18], rsi
lea rsi, [r11 + 0x18]
test rax, rax
je 0x140034a12
mov r8, rsi
call rax
mov rsi, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400451f0
add rsp, 0x148
pop rdi
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
lea eax, [rdi - 1]
cmp eax, 5
ja case.default.0x140034a43
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x34b68]
add rcx, rdx
jmp rcx
movabs rax, 0x203a4543415254
jmp 0x140034ab2
movabs rax, 0x203a4755424544
jmp 0x140034ab2
mov eax, dword [0x140053110]
mov dword [rsp + 0x30], eax
movzx eax, word [0x140053114]
mov word [rsp + 0x34], ax
movzx eax, byte [0x140053116]
mov byte [rsp + 0x36], al
jmp case.default.0x140034a43
movsd xmm0, qword [str.WARNING:]
movzx eax, word [0x140053120]
movsd qword [rsp + 0x30], xmm0
mov word [rsp + 0x38], ax
jmp case.default.0x140034a43
movabs rax, 0x203a524f525245
jmp 0x140034ab2
movabs rax, 0x203a4c41544146
mov qword [rsp + 0x30], rax
mov rcx, 0xffffffffffffffff
mov rdx, rcx
inc rdx
cmp byte [rbx + rdx], 0
jne 0x140034ac1
mov eax, 0xf4
cmp edx, eax
cmovb eax, edx
mov r8d, eax
lea rax, [rsp + 0x30]
nop dword [rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140034ae0
lea rax, [rsp + 0x30]
mov rdx, rbx
add rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x30]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140034b01
movzx eax, word [0x140053124]
mov word [rcx], ax
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rbx, rax
call fcn.1400041d0
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vfprintf]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
cmp edi, 6
jne 0x1400349f0
lea ecx, [rdi - 5]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3