joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140073dc0
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 0x140073e47
mov rsi, rbx
cmp word [rax], bp
je 0x140073e06
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140073df0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140073dec
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14006f340
mov rdi, rax
test rax, rax
je 0x140073e34
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14005d720
mov rbp, rdi
xor ecx, ecx
call fcn.14006fe88
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 0x1400779bc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400779d2
mov al, 1
jmp 0x140077a32
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400779e3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140077a30
mov ecx, dword [rcx + 0x18]
nop
call fcn.140074564
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140077a30
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140077a30
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140077a30
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140077a32
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14005fd08
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor esi, esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x30], esi
lea r8, [rbp + 0x30]
xor edx, edx
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x14005fd50
lea ebx, [rsi + 0xd]
jmp 0x14005fdbb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xea
jne 0x14005fdbb
mov word [rbp + 0x20], si
mov edx, dword [rbp + 0x30]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.14003cffc
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x20]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x14005fdad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14005fdbb
mov rdx, qword [rbp - 0x20]
mov rcx, rdi
call fcn.1400033fc
mov ebx, esi
lea rcx, [rbp - 0x20]
call fcn.1400174fc
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400608e8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400bd0c0], eax
call fcn.140060b98
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400bd0c0], 0
jne case.default.0x14006093e
mov ecx, 1
call fcn.140060b98
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
cwde
adc edi, dword [rsi]
push rbp
pop rcx
invalid
Function at 0x140003060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x70
cmp qword [rcx + 0xe30], 0
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm6
movaps xmm6, xmm1
movaps xmmword [rsp + 0x50], xmm7
movaps xmm7, xmm2
jne 0x1400030a1
mov r8d, 0x609
lea rdx, str.C:Users_takumoyoshi_source_reposokayu_loaderokayu_loaderimguiimgui.cpp
lea rcx, str.Ctx___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbx + 0x38c9], 0
mov rbp, qword [rbx + 0xe30]
je 0x140003270
movss xmm1, dword [0x1400734c8]
xorps xmm2, xmm2
comiss xmm7, xmm1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x90], r14
jbe 0x1400030f5
comiss xmm7, xmm2
cvttss2si eax, xmm7
jae 0x1400030ee
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
jp 0x1400030ec
je 0x1400030ee
dec eax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm6, xmm1
jbe 0x14000311a
comiss xmm6, xmm2
cvttss2si eax, xmm6
jae 0x140003113
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x140003111
je 0x140003113
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
lea r14, [rbp + 0x3f78]
mov qword [rsp + 0x88], rdi
mov ebx, dword [r14]
sub ebx, 1
movsxd rsi, ebx
js 0x140003171
imul rdi, rsi, 0x1c
cmp ebx, dword [r14]
jl 0x140003157
mov r8d, 0x785
lea rdx, str.C:Users_takumoyoshi_source_reposokayu_loaderokayu_loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 8]
cmp dword [rdi + rax], 1
je 0x140003207
dec ebx
sub rdi, 0x1c
sub rsi, 1
jns 0x140003138
movsd xmm0, qword [rbp + 0xe40]
lea rax, [rsp + 0x28]
movsd qword [rsp + 0x28], xmm0
movss xmm0, dword [rax]
ucomiss xmm0, xmm6
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
movss xmm1, dword [rax + 4]
jp 0x1400031af
jne 0x1400031af
ucomiss xmm1, xmm7
jp 0x1400031af
je 0x140003268
mov eax, dword [rbp + 0x3f9c]
mov dword [rsp + 0x38], eax
inc eax
mov dword [rbp + 0x3f9c], eax
mov ecx, dword [r14]
mov r8d, dword [r14 + 4]
mov eax, dword [rbp + 0x3f98]
movss dword [rsp + 0x3c], xmm6
movss dword [rsp + 0x40], xmm7
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x44], eax
cmp ecx, r8d
jne 0x14000323d
inc ecx
test r8d, r8d
je 0x140003229
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14000322e
movss xmm0, dword [rdi + rax + 0xc]
movss xmm1, dword [rdi + rax + 0x10]
lea rax, [rsp + 0x20]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
jmp 0x140003184
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, r14
call fcn.14001f780
movsxd rax, dword [r14]
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
imul rcx, rax, 0x1c
mov rax, qword [r14 + 8]
movups xmmword [rcx + rax], xmm0
movsd qword [rcx + rax + 0x10], xmm1
mov dword [rcx + rax + 0x18], 0
inc dword [r14]
mov r14, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x70
pop rbp
ret
Function at 0x1400038c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000391d
lea rbx, [0x140065c60]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003904
cmp r10, 2
jb 0x140003904
cmp byte [r9], r8b
jne 0x140003904
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400038e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000395f
lea rbx, [0x140065c60]
cmp r8b, 0x23
jne 0x140003943
cmp byte [r9], r8b
jne 0x140003943
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003930
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140003a60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140003a95
mov r8d, 0x826
lea rdx, str.C:Users_takumoyoshi_source_reposokayu_loaderokayu_loaderimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor r14d, r14d
test rsi, rsi
je 0x140003aa0
mov qword [rsi], r14
lea rdx, [0x14006f898]
mov rcx, rbx
call fcn.140003970
mov rbx, rax
test rax, rax
jne 0x140003ac8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003bf2
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003bf2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003bf2
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003bf2
cmp rdi, 0xffffffffffffffff
je 0x140003bf2
mov rcx, rdi
call fcn.140008160
mov rbp, rax
test rax, rax
je 0x140003bf2
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140003bdf
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x14007f2f0]
test r8, r8
je 0x140003bd4
movsx rdx, word [r8 + 0x60c8]
lea rcx, [r8 + 0x60cc]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140003bc9
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60c8], cx
movsx rax, cx
lea rcx, [r8 + 0x60cc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60c4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003bfb
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140003bed
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140003bfd
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140007720
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x100], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x14000775c
mov r8d, 0x78e
lea rdx, str.C:Users_takumoyoshi_source_reposokayu_loaderokayu_loaderimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x108]
lea rdx, [0x140065c60]
movsxd r8, dword [rsi + 0x100]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rsi]
not ebx
cmp dword [rcx + 0x404c], ebx
jne 0x1400077d7
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001e110
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400077f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x100], 0
mov rdi, rdx
mov rbx, rcx
jg 0x140007823
mov r8d, 0x78e
lea rdx, str.C:Users_takumoyoshi_source_reposokayu_loaderokayu_loaderimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm2, dword [rbx + 0x120]
lea r9, [0x140065c60]
movss xmm0, dword [rdi]
movsxd rcx, dword [rbx + 0x100]
subss xmm0, xmm2
mov rax, qword [rbx + 0x108]
movss xmm3, dword [rbx + 0x124]
movss xmm1, dword [rdi + 4]
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0x20]
movss xmm0, dword [rdi + 8]
movzx ecx, r8b
subss xmm0, xmm2
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x21]
movss dword [rsp + 0x24], xmm1
movss xmm1, dword [rdi + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x22]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x23]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x24]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x25]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x26]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x27]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x28]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x29]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2a]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2b]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2c]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
mov rbx, qword [rsp + 0x40]
xor rcx, rax
movzx eax, byte [rsp + 0x2d]
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2e]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0x2f]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x30
pop rdi
ret
Function at 0x140016e30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x14007f2f0]
mov edi, ecx
cmp byte [rbx + 0x4d41], 0
jne 0x140016e82
cmp byte [rbx + 0x4d42], 0
jne 0x140016e82
movsx r9d, word [rbx + 0x5e98]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400036d0
test dil, 2
je 0x140016faf
jmp 0x140016f0b
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14007346c]
xor eax, eax
mulss xmm1, dword [0x140073464]
addss xmm0, dword [rbx + 0xe40]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a10], rax
mov dword [rbx + 0x49fc], 1
movss dword [rbx + 0x4a08], xmm0
movss dword [rbx + 0x4a0c], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x1400733f0]
or dword [rbx + 0x49f8], 0x41
movss dword [rbx + 0x4a58], xmm0
movsx r9d, word [rbx + 0x5e98]
call fcn.1400036d0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140016f60
lea r11, [0x140065c60]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140016f43
cmp byte [r8], r9b
jne 0x140016f43
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140016f30
not ecx
call fcn.14000ba10
test rax, rax
je 0x140016faf
cmp byte [rax + 0xbe], 0
je 0x140016faf
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5e98]
movsx r9d, word [rbx + 0x5e98]
call fcn.1400036d0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000ec90
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001c940
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5ff0], 0
lea rbx, [rcx + 0x5ff8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001c9e3
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test ecx, ecx
jns 0x14001c996
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.14001f350
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004150
mov eax, dword [rbx]
lea rcx, [0x14007f2e8]
mov r9, qword [rdi + 0x5ff0]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x6000]
cmove edx, r14d
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001c9eb
mov rcx, rbx
call fcn.140004150
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001cd20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x14007f2f0]
xor ebp, ebp
cmp byte [rbx + 0x5f48], bpl
jne 0x14001ce1c
cmp dword [rbx + 0x5f70], ebp
je 0x14001cd67
mov r8d, 0x3407
lea rdx, str.C:Users_takumoyoshi_source_reposokayu_loaderokayu_loaderimguiimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001ce15
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140003a60
mov rdi, rax
test rax, rax
je 0x14001ce15
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001cda1
mov rcx, rax
call fcn.14001cf70
mov r8, qword [0x14007f2f0]
test r8, r8
je 0x14001ce0c
movsx rdx, word [r8 + 0x60c8]
lea rcx, [r8 + 0x60cc]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001ce01
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60c8], cx
movsx rax, cx
lea rcx, [r8 + 0x60cc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60c4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f48], 1
movss xmm0, dword [rbx + 0x5f4c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001ceb9
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f4c], xmm0
jb 0x14001ceb9
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x14001cea7
mov rax, qword [0x14007f2f0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f4c], ebp
call fcn.14001d1e0
lea rdx, [0x14006f89c]
mov rcx, rdi
mov rsi, rax
call fcn.140003970
mov rdi, rax
test rax, rax
je 0x14001ceae
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001ceae
mov byte [rbx + 0xce], 1
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x5f4c], ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001ced0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14007f2f0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001cf33
mov qword [rsp], rbx
lea rbx, [0x140065c60]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001cf13
cmp byte [r8], r9b
jne 0x14001cf13
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001cf00
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f60]
not eax
mov r8, qword [r10 + 0x5f68]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001cf5f
cmp dword [r8 + 8], eax
je 0x14001cf66
add r8, 0x48
cmp r8, rcx
jne 0x14001cf50
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14003d320
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x14007c1e0], 0
jne 0x14003d335
xor edx, edx
mov ecx, 0x10001
jmp fcn.14003de50
jmp 0x14003eca0
push rbx
sub rsp, 0x80
mov rax, qword [0x14007bfc0]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14003ed37
cmp dword [rsp + 0x38], 0x12
jne 0x14003ed02
mov rbx, qword [0x14007c5d0]
test rbx, rbx
je 0x14003ed18
nop word [rax + rax]
mov rcx, rbx
call fcn.14003c9d0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14003ecf0
jmp 0x14003ed18
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14003ecd7
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x14003ee62
lea rdx, str.GLFW
mov rcx, rax
call qword [sym.imp.USER32.dll_GetPropW]
mov rbx, rax
test rax, rax
je 0x14003ee62
mov qword [rsp + 0x90], rdi
mov ecx, 0xa0
movsx edi, word [0x14007df60]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x14003eda6
cmp byte [rbx + 0x1dc], 1
jne 0x14003eda6
call fcn.1400404b0
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, edi
mov edx, 0x154
mov rcx, rbx
call fcn.14003adf0
movsx edi, word [0x14007df68]
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x14003ede2
cmp byte [rbx + 0x1e0], 1
jne 0x14003ede2
call fcn.1400404b0
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, edi
mov edx, 0x158
mov rcx, rbx
call fcn.14003adf0
movsx edi, word [0x14007df66]
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x14003ee1e
cmp byte [rbx + 0x1df], 1
jne 0x14003ee1e
call fcn.1400404b0
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, edi
mov edx, 0x157
mov rcx, rbx
call fcn.14003adf0
movsx edi, word [0x14007df6e]
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x14003ee5a
cmp byte [rbx + 0x1e3], 1
jne 0x14003ee5a
call fcn.1400404b0
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, edi
mov edx, 0x15b
mov rcx, rbx
call fcn.14003adf0
mov rdi, qword [rsp + 0x90]
mov rbx, qword [0x14007e658]
test rbx, rbx
je 0x14003eee7
mov rcx, qword [rbx + 0x350]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x6c]
cdq
sub eax, edx
sar eax, 1
mov r9d, eax
cmp dword [rbx + 0x388], eax
jne 0x14003eea9
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x38c], eax
je 0x14003eee7
mov rcx, qword [rbx + 0x350]
mov eax, r8d
cdq
mov dword [rsp + 0x60], r9d
sub eax, edx
mov dword [rbx + 0x388], r9d
sar eax, 1
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov dword [rbx + 0x38c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140048940
add rsp, 0x80
pop rbx
ret
Function at 0x14003e560
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbp, r9
mov r8, r9
mov rsi, rdx
mov rbx, rcx
call fcn.14003fc70
test eax, eax
je 0x14003e6b3
cmp dword [rdi], 0
je 0x14003e621
mov eax, dword [rdi + 4]
cmp eax, 0x36001
jne 0x14003e5c0
call fcn.140045e50
test eax, eax
je 0x14003e6b3
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.1400459d0
jmp 0x14003e606
cmp eax, 0x36002
jne 0x14003e5e4
call fcn.1400471b0
test eax, eax
je 0x14003e6b3
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.140046ce0
jmp 0x14003e606
cmp eax, 0x36003
jne 0x14003e60e
call fcn.140048030
test eax, eax
je 0x14003e6b3
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.140047e00
test eax, eax
je 0x14003e6b3
mov rdx, rdi
mov rcx, rbx
call fcn.140041c10
test eax, eax
je 0x14003e6b3
cmp qword [rbx + 0x48], 0
je 0x14003e686
mov rcx, qword [rbx + 0x350]
mov edx, 8
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x350]
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, qword [rbx + 0x350]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [rbx + 0x350]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, rbx
call fcn.14003f9b0
mov rcx, rbx
call fcn.140040410
cmp dword [rsi + 0x2c], 0
je 0x14003e6ac
mov rcx, rbx
call fcn.14003aae0
mov eax, 1
jmp 0x14003e6b5
cmp dword [rsi + 0x14], 0
je 0x14003e6ac
mov rcx, qword [rbx + 0x350]
mov edx, 8
call qword [sym.imp.USER32.dll_ShowWindow]
cmp dword [rsi + 0x1c], 0
je 0x14003e6ac
mov rcx, rbx
call fcn.14003e7b0
mov eax, 1
jmp 0x14003e6b5
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret