joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002974
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov rax, qword [0x140026040]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov r9, r8
mov qword [rsp + 0x48], rcx
mov r8d, 4
mov dword [rsp + 0x40], 1
mov rdi, rcx
lea rax, [rsp + 0x40]
mov r10, rdx
lea rcx, [rbp + 0x150]
lea r11d, [r8 + 0x7c]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
add rax, r11
movups xmmword [rcx + 0x60], xmm0
add rcx, r11
movups xmmword [rcx - 0x10], xmm1
sub r8, 1
jne 0x1400029ce
mov rax, qword [rax]
lea edx, [r8 + 4]
mov qword [rcx], rax
lea rcx, [rbp + 0x360]
lea rax, [rsp + 0x40]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
add rax, r11
movups xmmword [rcx + 0x60], xmm0
add rcx, r11
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140002a2e
mov rax, qword [rax]
xor ebx, ebx
mov qword [rcx], rax
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x3c], r9d
lea rax, [rsp + 0x38]
lea r9, [rbp + 0x360]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x150]
lea rdx, [rsp + 0x40]
lea ecx, [rdi + 1]
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
test eax, eax
jns 0x140002ac1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140002a8a
test esi, esi
jne 0x140002aca
lea eax, [rsi + 0xd]
jmp 0x140002b39
jle 0x140002b34
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x140002af2
lea rdx, [rbp + 0x150]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x140002b34
lea rax, [rsp + 0x34]
mov dword [rsp + 0x30], ebx
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov dword [rsp + 0x34], 4
mov r8d, 0x1007
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
js 0x140002b2b
cmp dword [rsp + 0x30], ebx
je 0x140002b30
mov ebx, 2
mov eax, ebx
jmp 0x140002b39
mov eax, 2
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.140019e00
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140003f1c
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140026040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdx, qword [rcx + 8]
mov r8, qword [rcx + 0x18]
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x48], rdx
lea edi, [rdx + 1]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], r8d
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x140003f8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140003f60
test ebx, ebx
setg al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140019e00
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x140003fb4
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140026040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdx, qword [rcx + 8]
mov r8, qword [rcx + 0x28]
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x48], rdx
lea edi, [rdx + 1]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], r8d
lea rax, [rsp + 0x30]
xor r9d, r9d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, edi
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x140004025
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140003ff8
test ebx, ebx
setg al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140019e00
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x14000404c
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbx, rcx
mov eax, 0x7fffffff
mov rcx, qword [rcx + 0x48]
cmp r8, rax
mov rdi, r8
mov rbp, rdx
cmova rdi, rax
mov rsi, qword [rbx + 0x50]
cmp rcx, rsi
jae 0x1400040b8
mov rdx, qword [rbx + 0x30]
sub rsi, rcx
add rdx, rcx
mov rcx, rbp
cmp rdi, rsi
ja 0x1400040a4
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx + 0x48], rdi
mov rax, rdi
jmp 0x140004167
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx + 0x48], rsi
mov rax, rsi
jmp 0x140004167
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
test al, al
jne 0x1400040ce
or rax, 0xffffffffffffffff
jmp 0x140004167
and qword [rbx + 0x48], 0
and qword [rbx + 0x50], 0
mov r14, qword [rbx + 8]
cmp rdi, 0x1000
jae 0x140004140
mov r15, qword [rbx + 0x30]
xor r9d, r9d
mov r8d, 0x1000
mov rdx, r15
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rsi, eax
test eax, eax
jns 0x140004110
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1400040e9
test rsi, rsi
jle 0x1400040b0
mov rdx, qword [rbx + 0x30]
mov rcx, rbp
cmp rsi, rdi
jg 0x14000412b
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400040b0
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbx + 0x48], rdi
mov qword [rbx + 0x50], rsi
jmp 0x14000409c
xor r9d, r9d
mov r8d, edi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x140004164
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140004140
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140004178
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x1400041a5
or rax, 0xffffffffffffffff
jmp 0x1400041d0
mov rdi, qword [rbx + 8]
xor r9d, r9d
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
test eax, eax
jns 0x1400041cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1400041a9
mov rax, rbx
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400041e8
Capabilities:
Resolve dns

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rax, qword [0x140026040]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov rcx, qword [rcx + 8]
mov rsi, r8
mov rdi, rdx
mov dword [rsp + 0x40], 0x80
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x1400042ba
mov ebx, dword [rsp + 0x40]
lea r15d, [rax + 2]
cmp word [rsp + 0x50], r15w
je 0x140004251
cmp word [rsp + 0x50], 0x17
jne 0x1400042ba
movzx ecx, word [rsp + 0x52]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
xor edx, edx
mov dword [rsi], eax
lea rcx, [rbp - 0x30]
mov esi, 0x401
mov r8d, esi
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], r15d
lea r8, [rbp - 0x30]
and dword [rsp + 0x28], 0
lea rcx, [rsp + 0x50]
and qword [rsp + 0x20], 0
mov r9d, esi
mov edx, ebx
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x1400042ba
lea rax, [rbp - 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400042a4
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.14000dc5c
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140019e00
add rsp, 0x4f0
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000b5c8
Capabilities:
Get common file path

Disassembly:
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140026040]
xor rax, rsp
mov qword [rbp + 0x80], rax
lea rdx, [rbp - 0x80]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rax, [rbp - 0x80]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000b612
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.14000357c
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
lea rdx, str.C:_A_Za_z0_9__
lea rcx, [rsp + 0x58]
call fcn.14000c68c
nop
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r9, [rsp + 0x58]
xor r8d, r8d
call fcn.140012d00
nop
lea rcx, [rsp + 0x58]
test al, al
je 0x14000b6dd
call fcn.14000c614
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14000b6d9
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b6d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b717
call fcn.140019e20
xor al, al
jmp 0x14000b725
call fcn.14000c614
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14000b723
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b71e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b71e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140019e20
mov al, 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140019e00
add rsp, 0x190
pop rbp
ret
Function at 0x14000caac
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14000cadc
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14000cb54
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14000caf3
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000caf5
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000cb4e
test ecx, ecx
jle 0x14000cb2e
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14000cb4e
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000cb4e
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14000cb70
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000cb90
xor eax, eax
jmp 0x14000cc79
cmp qword [rcx + 0x68], 0
je 0x14000cba2
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x14000cc79
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000cbb9
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000cbbb
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000cbed
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000cc73
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000cc24
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14000cc4e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x14000cc73
cmp rdi, rbx
ja 0x14000cc2b
test rdi, rdi
je 0x14000cc73
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000d020
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140026040]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x14000d059
xor eax, eax
jmp 0x14000d179
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x14000d093
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x14000d093
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x14000d179
cmp qword [rbx + 0x80], 0
je 0x14000d177
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000d0ce
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000d0ef
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
jmp 0x14000d174
lea rax, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x2f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x30]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000d13d
sub eax, 1
je 0x14000d13d
cmp eax, 2
jne 0x14000d177
movsx ecx, byte [rbp - 0x30]
jmp 0x14000d0db
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x14000d168
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x14000d177
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
cmovne edi, esi
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140019e00
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x14000d654
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rcx, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14000d687
movzx eax, byte [rdx + r9]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x14000d669
mov eax, ecx
ret
Function at 0x14000e320
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140026040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000e38f
cmp byte [rcx + 0x71], 0
je 0x14000e38f
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000e3e4
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000e3a9
sub eax, 1
je 0x14000e3ad
cmp eax, 2
jne 0x14000e3e4
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140019e00
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000e3db
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000e3e4
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000e391
xor al, al
jmp 0x14000e391
Function at 0x140019878
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400198b2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400198b7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140019900
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14001d860]
cmp byte [rcx + rax], 0
je 0x140019900
dec r8
sub rdx, 1
jne 0x1400198e6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14001a9c4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001aa0e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001aa0e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001aa0e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001aa0e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001aa0e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001aa10
xor al, al
add rsp, 0x28
ret
Function at 0x140002fd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x70
mov rbp, qword [0x1400b0090]
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm6
mov r14, rbp
movaps xmmword [rsp + 0x50], xmm7
movaps xmm6, xmm1
movaps xmm7, xmm2
lea rax, [rbp + 8]
cmp rax, rcx
je 0x140003027
mov r8d, 0x5a8
lea rdx, str.C:Users1337Desktop2imgui.cpp
lea rcx, str.g.IO__this___Can_only_add_events_to_current_context._
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbp, qword [0x1400b0090]
cmp byte [rbx + 0x37a1], 0
je 0x1400031d1
movss xmm1, dword [0x14005bdb0]
xorps xmm2, xmm2
comiss xmm7, xmm1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rdi
jbe 0x140003074
comiss xmm7, xmm2
cvttss2si eax, xmm7
jae 0x14000306d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
jp 0x14000306b
je 0x14000306d
dec eax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm6, xmm1
jbe 0x140003099
comiss xmm6, xmm2
cvttss2si eax, xmm6
jae 0x140003092
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x140003090
je 0x140003092
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov esi, dword [rbp + 0x37c0]
sub esi, 1
movsxd rdi, esi
js 0x1400030ef
lea rbx, [rdi + rdi*2]
shl rbx, 3
nop
cmp esi, dword [rbp + 0x37c0]
jl 0x1400030d2
mov r8d, 0x708
lea rdx, str.C:Users1337Desktop2imgui.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 [rbp + 0x37c8]
cmp dword [rbx + rax], 1
je 0x140003179
dec esi
sub rbx, 0x18
sub rdi, 1
jns 0x1400030b0
movsd xmm0, qword [r14 + 0xdfc]
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 0x14000312e
jne 0x14000312e
ucomiss xmm1, xmm7
jp 0x14000312e
je 0x1400031d1
lea rbx, [r14 + 0x37c0]
movss dword [rsp + 0x38], xmm6
mov ecx, dword [rbx]
mov r8d, dword [rbx + 4]
movss dword [rsp + 0x3c], xmm7
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 1
cmp ecx, r8d
jne 0x1400031af
inc ecx
test r8d, r8d
je 0x14000319b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400031a0
movss xmm0, dword [rbx + rax + 8]
movss xmm1, dword [rbx + rax + 0xc]
lea rax, [rsp + 0x20]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
jmp 0x140003103
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.14001ffd0
movsxd rax, dword [rbx]
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
movups xmmword [rax + rcx*8], xmm0
movsd qword [rax + rcx*8 + 0x10], xmm1
inc dword [rbx]
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
movaps xmm7, xmmword [rsp + 0x50]
mov rsp, r11
pop r14
ret
Function at 0x1400035d0
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 0x14000362d
lea rbx, [0x140054070]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003614
cmp r10, 2
jb 0x140003614
cmp byte [r9], r8b
jne 0x140003614
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 0x1400035f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000366f
lea rbx, [0x140054070]
cmp r8b, 0x23
jne 0x140003653
cmp byte [r9], r8b
jne 0x140003653
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 0x140003640
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003830
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14000385f
mov r8d, 0x79f
lea rdx, str.C:Users1337Desktop2imgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000386b
mov qword [rdi], 0
lea rdx, [0x1400538c8]
mov rcx, rbx
call fcn.140003680
mov rbx, rax
test rax, rax
jne 0x14000388d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003964
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 0x140003964
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003964
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 0x140003964
cmp rsi, 0xffffffffffffffff
je 0x140003964
mov rax, qword [0x1400b0090]
test rax, rax
je 0x140003901
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140003964
mov r9, rbx
mov r8, rsi
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, rsi
je 0x140003951
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400b0090]
test rax, rax
je 0x140003946
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000396d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14000395f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x14000396f
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 rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret