joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180a3c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x180a3c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180a3c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180a3c06f
add dl, dl
jne 0x180a3c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180a3c0f6
xor eax, eax
add dl, dl
jne 0x180a3c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180a3c1ad
add dl, dl
jne 0x180a3c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180a3c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180a3c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180a3c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180a3c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180a3c07e
mov eax, 1
add dl, dl
jne 0x180a3c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180a3c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180a3c0fb
sub eax, ebx
mov ebx, 1
jne 0x180a3c14c
mov ecx, 1
add dl, dl
jne 0x180a3c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180a3c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180a3c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180a3c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180a3c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180a3c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180a3c15d
cmp eax, 0x7d00
jae 0x180a3c19b
cmp eax, 0x500
jb 0x180a3c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180a3c07e
cmp eax, 0x7f
ja 0x180a3c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180a3c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180a3c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x180a3c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000248c
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rdi, rdx
mov ebx, ecx
mov ecx, 1
call fcn.140025c74
mov rcx, rax
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
call fcn.1400283b4
mov ecx, 0x30
call fcn.14000505c
mov qword [rsp + 0x50], rax
mov rcx, rax
call fcn.1400015e4
nop
lea rdx, [0x1400441f0]
lea rcx, [0x140051ad0]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp ebx, 1
jle 0x140002509
lea rcx, [rdi + 8]
mov rax, qword [rcx]
cmp word [rax], 0x2d
jne 0x140002509
add rcx, 8
dec ebx
cmp ebx, 1
jg 0x1400024f5
lea rdx, [0x140043dec]
lea rcx, str.JuicyPotato_modified_by_skyer_v_s__n_n
call fcn.140001550
cmp qword [0x140051b28], 0
jne 0x140002572
xor ecx, ecx
call fcn.140027420
mov rcx, rax
call fcn.140027738
call fcn.14002770c
mov ebx, eax
cmp eax, 0x1000
jb 0x140002535
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov edx, 8
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [0x140051b28], rax
mov r8d, 0xa
mov rdx, rax
mov ecx, ebx
call fcn.140028524
cmp qword [0x140051af8], 0
jne 0x14000258b
call fcn.1400015ac
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, str.e60687f7_01a1_40aa_86ac_db1cbf673334
mov rax, qword [0x140051b30]
test rax, rax
cmovne rcx, rax
mov qword [0x140051b30], rcx
xor ecx, ecx
call fcn.140002788
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x14000842c
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14000843f
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140008a40
lea rdx, [0x14004bb40]
lea rcx, [rsp + 0x20]
call fcn.140022da8
int3

Function at 0x140012c80
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x140050b28]
xor edx, edx
jmp fcn.14000842c

Function at 0x140013618
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x140050b28]
jmp fcn.14000842c

Function at 0x14001f2b8
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14001f374]
mov r9, qword [r9 + 8]
jmp fcn.140010684

Function at 0x14001f34c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14001f384]
mov r9, qword [r9 + 8]
jmp fcn.140010684

Function at 0x140028288
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14002811b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002811b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002811b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002811b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002811b
cmp dword [rcx + 0x84], 0xe
jbe 0x14002811b
cmp dword [rcx + 0xf8], 0
je 0x14002811b
mov ecx, ebx
call fcn.1400281bc
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140027fac
cmp dword [rbp + 0x20], 0
je 0x140028168
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140028170
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400280b4
Function at 0x1400112bc
Capabilities:
Terminate process

Disassembly:
jmp 0x140013bd0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011316
Capabilities:
Create process on windows

Disassembly:
jmp 0x140012640
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x218]
mov rax, qword [0x140020008]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x1400260f4]
call fcn.1400114ba
mov edx, 0x68
lea rcx, [rbp + 0x10]
call fcn.140011384
mov edx, 0x18
lea rcx, [rbp + 0x98]
call fcn.140011384
mov dword [rbp + 0x10], 0x68
mov dword [rbp + 0x4c], 0x100
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 0x70], rax
mov eax, dword [0x14001d300]
mov dword [rbp + 0xc4], eax
lea rax, [rbp + 0x98]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xc4]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14001277a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x194], eax
lea rdx, str.CreateProcessA___failed
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110a0
mov ecx, dword [rbp + 0x194]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140011046]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
jmp 0x1400127a8
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.14001141f
mov rax, rdi
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.14001125d
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x140011375
Capabilities:
Parse pe header

Disassembly:
jmp 0x140016470
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140016490
xor al, al
jmp 0x140016511
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400164a3
xor al, al
jmp 0x140016511
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400164cd
xor al, al
jmp 0x140016511
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400164e1
xor al, al
jmp 0x140016511
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400164f3
xor al, al
jmp 0x140016511
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001650f
xor al, al
jmp 0x140016511
mov al, 1
add rsp, 0x38
ret
Function at 0x1400021d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000ad80]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400021f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400021f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400021f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000224d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002244
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400021f0
add rax, 0x28
cmp rax, r9
jne 0x140002230
xor eax, eax
ret

Function at 0x140002250
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000ad80]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000226f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002278
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000226f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002310
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000ad80]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000232f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002338
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400080b0
Capabilities:
Query or enumerate registry key

Disassembly:
sub rsp, 0x78
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMControlSet001EnumUSBSTOR
mov rcx, 0xffffffff80000002
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rax, [rsp + 0x64]
xor edx, edx
xor r9d, r9d
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edx, dword [rsp + 0x64]
mov eax, 1
test edx, edx
je 0x140008150
add rsp, 0x78
ret
lea rcx, str.usb_error_n
call fcn.1400084d0
xor eax, eax
add rsp, 0x78
ret

Function at 0x140008210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
movsxd rax, dword [rcx + 0x3c]
mov r13d, dword [rcx + rax + 0x88]
add r13, rcx
mov rsi, rcx
mov rbp, rdx
mov edi, dword [r13 + 0x18]
mov eax, dword [r13 + 0x20]
test edi, edi
je 0x140008290
xor ebx, ebx
lea r12, [rcx + rax]
jmp 0x140008251
add rbx, 1
cmp rbx, rdi
je 0x140008290
mov edx, dword [r12 + rbx*4]
mov rcx, rbp
add rdx, rsi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140008248
mov eax, dword [r13 + 0x24]
lea rdx, [rsi + rbx*2]
movzx edx, word [rdx + rax]
mov eax, dword [r13 + 0x1c]
lea rdx, [rsi + rdx*4]
mov eax, dword [rdx + rax]
add rax, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x1400082a0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x448
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r15, qword [rax + 0x20]
lea r14, [rax + 0x20]
xor eax, eax
lea rsi, [rsp + 0x20]
mov qword [rsp + 0x490], rcx
lea rbx, [rsp + 0x230]
mov ecx, 0x41
mov rdi, rsi
rep stosq qword [rdi], rax
mov ecx, 0x41
mov rdi, rbx
rep stosq qword [rdi], rax
cmp r14, r15
je 0x14000839c
mov r13, qword [sym.imp.msvcrt.dll_wcscpy_s]
mov r12, qword [sym.imp.msvcrt.dll__wcslwr_s]
xor ebp, ebp
nop
mov rax, rbp
mov ecx, 0x41
mov rdi, rsi
mov edx, 0x104
rep stosq qword [rdi], rax
mov ecx, 0x41
mov rdi, rbx
rep stosq qword [rdi], rax
mov rcx, rsi
mov r8, qword [r15 + 0x40]
call r13
mov r8, qword [rsp + 0x490]
mov edx, 0x104
mov rcx, rbx
call r13
mov edx, 0x104
mov rcx, rbx
call r12
mov edx, 0x104
mov rcx, rsi
call r12
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_StrStrW]
test rax, rax
je 0x140008390
mov rax, qword [r15 + 0x20]
add rsp, 0x448
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r15, qword [r15]
cmp r14, r15
jne 0x140008310
mov rdx, qword [rsp + 0x490]
lea rcx, str.failed_to_get_a_handle_to__s_n
call fcn.1400084d0
xor eax, eax
jmp 0x140008376

Function at 0x140008410
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x90
lea rdx, str.hack.exe
call sub.msvcrt.dll_strstr
test rax, rax
je 0x1400084c0
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x1400084a0
call fcn.140008520
mov ebx, eax
test eax, eax
jne 0x1400084b0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x40], 1
jbe 0x140008480
mov dword [rsp + 0x50], 0x40
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x58]
shr rax, 0x1e
cmp eax, 1
jbe 0x140008480
mov eax, ebx
add rsp, 0x90
pop rbx
ret
lea rcx, str.possibly_launched_in_sandbox_n
call fcn.1400084d0
mov ebx, 1
mov eax, ebx
add rsp, 0x90
pop rbx
ret
lea rcx, str.attached_debugger_detected___n
call fcn.1400084d0
jmp 0x14000848c
lea rcx, str.NUMA_memory_allocate_failed__n
call fcn.1400084d0
jmp 0x14000848c
lea rcx, str.nononono__n
call fcn.1400084d0
jmp 0x14000848c
Function at 0x180002ab0
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 0x180002b0d
lea rbx, [0x1800c3b00]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180002af4
cmp r10, 2
jb 0x180002af4
cmp byte [r9], r8b
jne 0x180002af4
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 0x180002ad0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180002b4f
lea rbx, [0x1800c3b00]
cmp r8b, 0x23
jne 0x180002b33
cmp byte [r9], r8b
jne 0x180002b33
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 0x180002b20
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180002da0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
jne 0x180002dcf
mov r8d, 0x599
lea rdx, str.C:UserszuxviDesktop_aaaaaimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rsi, rsi
je 0x180002ddb
mov qword [rsi], 0
lea rdx, [0x1800c37a8]
mov rcx, rbx
call fcn.180002b60
mov rbx, rax
test rax, rax
jne 0x180002dfd
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
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 0x180002ee8
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 0x180002ee8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180002ee8
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 0x180002ee8
cmp rdi, 0xffffffffffffffff
je 0x180002ee8
mov rax, qword [0x180204970]
test rax, rax
je 0x180002e79
inc dword [rax + 0x3bc]
mov rdx, qword [0x180204960]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rbp, rax
test rax, rax
je 0x180002ee8
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 0x180002ed5
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180204970]
test rax, rax
je 0x180002ec4
dec dword [rax + 0x3bc]
mov rdx, qword [0x180204960]
mov rcx, rbp
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x180002ef1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x180002ee3
mov qword [rsi], rdi
mov rax, rbp
jmp 0x180002ef3
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]
add rsp, 0x20
pop rsi
ret
Function at 0x180004e30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0xc0]
mov rbx, rcx
mov edi, edx
test eax, eax
jg 0x180004e6d
mov r8d, 0x51b
lea rdx, str.C:UserszuxviDesktop_aaaaaimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0xc0]
movsxd rcx, eax
lea r8, [0x1800c3b00]
mov rax, qword [rbx + 0xc8]
mov edx, dword [rax + rcx*4 - 4]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x180204970]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1a78], edx
jne 0x180004ee2
mov dword [rax + 0x1a7c], edx
cmp dword [rax + 0x1ab4], edx
jne 0x180004ef1
mov byte [rax + 0x1ab8], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x180004f00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0xc0]
mov rdi, rdx
mov rbx, rcx
test eax, eax
jg 0x180004f3a
mov r8d, 0x51b
lea rdx, str.C:UserszuxviDesktop_aaaaaimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0xc0]
movss xmm0, dword [rdi]
subss xmm0, dword [rbx + 0x10]
movss xmm1, dword [rdi + 4]
subss xmm1, dword [rbx + 0x14]
movsxd rcx, eax
mov rax, qword [rbx + 0xc8]
cvttss2si r8d, xmm0
movss xmm0, dword [rdi + 8]
subss xmm0, dword [rbx + 0x10]
cvttss2si r9d, xmm1
movss xmm1, dword [rdi + 0xc]
lea rdi, [0x1800c3b00]
subss xmm1, dword [rbx + 0x14]
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, r8b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
cvttss2si r10d, xmm0
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
movzx eax, r9b
cvttss2si r11d, xmm1
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
movzx eax, r10b
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
xor ebx, dword [rdi + rdx*4]
shr eax, 0x10
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
movzx eax, r11b
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r11d
shr eax, 8
movzx edx, al
mov eax, r11d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x180204970]
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r11d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
not ebx
cmp dword [rax + 0x1a78], ebx
jne 0x1800050d7
mov dword [rax + 0x1a7c], ebx
cmp dword [rax + 0x1ab4], ebx
jne 0x1800050e6
mov byte [rax + 0x1ab8], 1
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180007b70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp byte [rcx], 0
mov rbx, rcx
jne 0x180007b8b
cmp byte [rcx + 0x2f4c], 0
je 0x180007ba5
mov r8d, 0xed7
lea rdx, str.C:UserszuxviDesktop_aaaaaimguiimgui.cpp
lea rcx, str._g.Initialized___g.SettingsLoaded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
lea r8, [0x1800c1bd9]
mov dword [rsp + 0x2c], eax
lea r11, [0x1800c3b00]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov edx, r10d
mov qword [rsp + 0x20], rax
mov r9b, 0x57
cmp r9b, 0x23
jne 0x180007be9
cmp byte [r8], r9b
jne 0x180007be9
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x180007bd6
mov ecx, dword [rbx + 0x2f6c]
lea rax, [0x180016620]
mov edi, dword [rbx + 0x2f68]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x1800166a0]
mov qword [rsp + 0x38], rax
lea rax, [0x180016780]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x180007cf7
inc edi
test ecx, ecx
je 0x180007c55
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180007c5a
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x180007cf7
mov rax, qword [0x180204970]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x180007c7e
inc dword [rax + 0x3bc]
mov rdx, qword [0x180204960]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rdx, qword [rbx + 0x2f70]
mov rsi, rax
test rdx, rdx
je 0x180007ce5
movsxd rcx, dword [rbx + 0x2f68]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x2f70]
test rcx, rcx
je 0x180007cd9
mov rax, qword [0x180204970]
test rax, rax
je 0x180007cd9
dec dword [rax + 0x3bc]
mov rdx, qword [0x180204960]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rbx + 0x2f70], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x2f6c], edi
movsxd rax, dword [rbx + 0x2f68]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2f70]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2f68]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret