joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800ba6b0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x18018bc90]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x1800ba6e8
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1800ba746
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x1800ba773
test eax, eax
js 0x1800ba752
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1800ba769
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.1800b3e50
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1800af250
mov ecx, 7
int 0x29
ud2

Function at 0x1800ba7d0
Capabilities:
Create udp socket

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov edi, edx
cmp word [rcx], 0
mov eax, 2
mov r14d, 0x17
cmove r14d, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
xor ebx, ebx
mov ecx, r14d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1800ba8b1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x1800ba838
mov esi, eax
cmp eax, 0x2726
jne 0x1800ba8a4
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, r14d
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1800ba89c
mov rsi, rax
xor ebx, ebx
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
jne 0x1800ba8b1
call qword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_closesocket]
mov ebx, 1
mov rsi, rdi
jmp 0x1800ba8b1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov ebx, 1
mov rax, rbx
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x1800bb2b0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1801d1771]
mov ecx, 0x10
mov edx, 8
call fcn.180023d40
test rax, rax
je 0x1800bb38f
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1800bb440]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1800bb381
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1800bb358
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.180023d50
mov edx, 0x10
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.180023d50
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rdi
mov ecx, 8
mov edx, 0x10
call fcn.18012d960
ud2

Function at 0x1800bd250
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x208
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x186], ax
mov rax, qword [0x1801d1aa0]
cmp rax, 3
jne 0x1800bd382
lea rax, [rbp + 0x186]
mov qword [rbp + 0x170], rax
cmp rdi, 0x17f
ja 0x1800bd3a8
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi - 0x60], 0
inc rdi
lea rcx, [rbp + 0x158]
mov rdx, rbx
mov r8, rdi
call fcn.1800ca110
cmp qword [rbp + 0x158], 0
je 0x1800bd2f1
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1800bd373
mov rcx, qword [rbp + 0x160]
xorps xmm0, xmm0
movaps xmmword [rbp + 0x120], xmm0
movaps xmmword [rbp + 0x140], xmm0
movaps xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x178], 0
lea r8, [rbp + 0x120]
lea r9, [rbp + 0x178]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1800bd354
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1800bd36c
mov rax, qword [rbp + 0x178]
movzx ecx, word [rbp + 0x186]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov rax, rsi
add rsp, 0x208
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rbx, rdx
call fcn.18012c960
mov rdx, rbx
lea rax, [rbp + 0x186]
mov qword [rbp + 0x170], rax
cmp rdi, 0x17f
jbe 0x1800bd2a7
lea r9, [rbp + 0x170]
mov rcx, rsi
mov r8, rdi
call fcn.18012ca40
jmp 0x1800bd373
Function at 0x1800d1120
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x1800d11aa
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1800d11a0
cmp r11, r10
ja 0x1800d1226
cmp r10, rdx
ja 0x1800d1238
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x1800d11a2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1800d1180
jmp 0x1800d1207
ja 0x1800d11aa
mov r11, r10
cmp rax, r8
jne 0x1800d1147
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x1800d120b
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1800d11e0
mov r8, r10
sub ecx, r9d
jns 0x1800d11fe
jmp 0x1800d120d
cmp r10, rdx
je 0x1800d121a
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1800d120d
xor al, 1
cmp r8, rdx
jne 0x1800d11c0
jmp 0x1800d120d
xor eax, eax
jmp 0x1800d120d
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.18012dad0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.18012df70
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.18012df60
int3

Function at 0x1800d3e70
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1801d2140]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
jne 0x1800d3ed4
mov eax, 0xa
jmp 0x1800d3f67
test esi, esi
je 0x1800d3ef6
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800d3f19
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800d3f19
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800d3f12
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800d3f19
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.kernel32.dll_VirtualProtect]
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.kernel32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1800d3f80
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1801d16c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 4]
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1800d40cc
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.kernel32.dll_Thread32First
test eax, eax
je 0x1800d40c3
mov esi, 1
mov qword [rsp + 0x68], rbx
cmp dword [rsp + 0x20], 0x10
jb 0x1800d407a
call qword [sym.imp.kernel32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800d407a
call qword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800d407a
mov rdx, qword [rdi]
test rdx, rdx
jne 0x1800d403b
mov dword [rdi + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x1801d18a8]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x1800d40a2
lea rbx, [rdi + 0xc]
jmp 0x1800d406f
mov eax, dword [rdi + 8]
lea rbx, [rdi + 0xc]
cmp dword [rbx], eax
jb 0x1800d406f
add eax, eax
mov r8, rdx
mov r9d, eax
xor edx, edx
mov dword [rdi + 8], eax
mov rcx, qword [0x1801d18a8]
shl r9, 2
call qword [sym.imp.kernel32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1800d40a2
mov qword [rdi], rax
mov ecx, dword [rbx]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rbp
call sub.kernel32.dll_Thread32Next
test eax, eax
jne 0x1800d3fe1
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x12
je 0x1800d40be
mov r8, qword [rdi]
xor esi, esi
test r8, r8
je 0x1800d40be
mov rcx, qword [0x1801d18a8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov qword [rdi], rsi
mov rbx, qword [rsp + 0x68]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1801263a0
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1800d40f0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov ebp, r8d
mov qword [rcx], 0
mov r14d, edx
mov qword [rcx + 8], 0
mov rdi, rcx
call fcn.1800d3f80
test eax, eax
jne 0x1800d4137
mov eax, 9
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rdi], 0
je 0x1800d41ae
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x1800d4196
mov qword [rsp + 0x38], rsi
nop
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.kernel32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800d418a
mov rcx, rax
call qword [sym.imp.kernel32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.1800d46c0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1800d4150
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rbp, qword [rsp + 0x40]
xor eax, eax
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1800d41d0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov edi, 1
mov ebp, r15d
mov ebx, r15d
xor eax, eax
lock cmpxchg dword [0x1801d18a0], edi
je 0x1800d4221
nop
cmp rbx, 0x20
jae 0x1800d420a
xor ecx, ecx
jmp 0x1800d420c
mov ecx, edi
call qword [sym.imp.kernel32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1801d18a0], edi
jne 0x1800d4200
cmp qword [0x1801d18a8], rbp
je 0x1800d434d
mov r8d, dword [0x1801d214c]
mov ebx, r15d
test r8d, r8d
je 0x1800d4352
mov rdx, qword [0x1801d2140]
add rdx, 0x20
nop dword [rax]
movzx ecx, byte [rdx]
shr cl, 1
xor cl, byte [rdx]
test cl, 2
jne 0x1800d426c
inc ebx
add rdx, 0x38
cmp ebx, r8d
jb 0x1800d4250
jmp 0x1800d4352
cmp ebx, 0xffffffff
je 0x1800d4352
mov edx, 0xffffffff
lea rcx, [rsp + 0x20]
mov r8d, 2
call fcn.1800d40f0
mov ebp, eax
test eax, eax
jne 0x1800d4352
mov r8d, dword [0x1801d214c]
cmp ebx, r8d
jae 0x1800d42e4
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x1801d2140]
movzx r9d, byte [rdx + rcx + 0x20]
movzx ecx, r9b
shr cl, 1
xor cl, r9b
test cl, 2
je 0x1800d42dd
mov edx, r9d
mov ecx, ebx
shr edx, 2
and edx, edi
call fcn.1800d3e70
mov ebp, eax
test eax, eax
jne 0x1800d42e4
mov r8d, dword [0x1801d214c]
inc ebx
cmp ebx, r8d
jb 0x1800d42a0
cmp qword [rsp + 0x20], r15
je 0x1800d4352
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800d4337
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rsi
mov esi, eax
nop
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.kernel32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800d4328
mov rcx, rax
call qword [sym.imp.kernel32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x1800d4300
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1801d18a8]
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1800d4352
mov ebp, 2
xchg dword [0x1801d18a0], r15d
mov rbx, qword [rsp + 0x48]
mov eax, ebp
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x1800d4870
Capabilities:
Encode data using xor

Disassembly:
mov edx, 1
jmp 0x1800d4870
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor esi, esi
mov edi, edx
mov r14d, esi
mov ebx, esi
xor eax, eax
mov rbp, rcx
mov r15d, 1
lock cmpxchg dword [0x1801d18a0], r15d
je 0x1800d48ca
cmp rbx, 0x20
jae 0x1800d48b1
xor ecx, ecx
jmp 0x1800d48b4
mov ecx, r15d
call qword [sym.imp.kernel32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1801d18a0], r15d
jne 0x1800d48a7
cmp qword [0x1801d18a8], rsi
je 0x1800d4965
test rbp, rbp
jne 0x1800d491b
cmp dword [0x1801d214c], esi
mov r8d, esi
jbe 0x1800d496b
shl dil, 2
nop
mov eax, r8d
inc r8d
imul rdx, rax, 0x38
mov rax, qword [0x1801d2140]
movzx ecx, byte [rdx + rax + 0x20]
xor cl, dil
and cl, 4
xor byte [rdx + rax + 0x20], cl
cmp r8d, dword [0x1801d214c]
jb 0x1800d48f0
jmp 0x1800d496b
mov edx, dword [0x1801d214c]
mov eax, esi
test edx, edx
je 0x1800d4940
mov r8, qword [0x1801d2140]
mov rcx, r8
cmp rbp, qword [rcx]
je 0x1800d4948
inc eax
add rcx, 0x38
cmp eax, edx
jb 0x1800d4931
mov r14d, 4
jmp 0x1800d496b
cmp eax, 0xffffffff
je 0x1800d4940
shl dil, 2
imul rcx, rax, 0x38
xor dil, byte [rcx + r8 + 0x20]
and dil, 4
xor byte [rcx + r8 + 0x20], dil
jmp 0x1800d496b
mov r14d, 2
xchg dword [0x1801d18a0], esi
mov rsi, qword [rsp + 0x50]
mov eax, r14d
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1800d4a40
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x1800d4a80
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1801d2130]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1800d4abe
cmp rsi, r14
jb 0x1800d4ab6
cmp rsi, r15
jae 0x1800d4ab6
cmp qword [rsi + 8], 0
jne 0x1800d4c87
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1800d4aa1
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800d4b52
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800d4b49
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_VirtualQuery]
test rax, rax
je 0x1800d4b49
cmp dword [rsp + 0x70], 0x10000
je 0x1800d4bcb
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x1800d4b49
sub rbx, rbp
cmp rbx, r14
jae 0x1800d4b10
test rsi, rsi
jne 0x1800d4c30
cmp rdi, r15
ja 0x1800d4c6f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800d4c6f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_VirtualQuery]
test rax, rax
je 0x1800d4c6f
cmp dword [rsp + 0x70], 0x10000
je 0x1800d4c01
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800d4b82
jmp 0x1800d4c6f
test rbx, rbx
je 0x1800d4b49
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.kernel32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800d4c30
cmp rbx, r14
jae 0x1800d4af0
jmp 0x1800d4b52
test rdi, rdi
je 0x1800d4c6f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.kernel32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800d4c30
cmp rdi, r15
jbe 0x1800d4b60
jmp 0x1800d4c6f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1800d4c40
mov rax, qword [0x1801d2130]
mov qword [rsi], rax
mov qword [0x1801d2130], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x1800e2bf0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1801d16c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1801d1948]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x4a2d], 0
jne 0x1800e2c58
cmp byte [rbx + 0x4a2e], 0
jne 0x1800e2c58
movsx r9d, word [rbx + 0x631a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1800f06b0
test sil, 1
je 0x1800e2d89
jmp 0x1800e2cf1
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x180180e04]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x180180df8]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
or dword [rbx + 0x4778], 1
mov qword [rbx + 0x4790], rax
movss dword [rbx + 0x4788], xmm0
mov dword [rbx + 0x477c], 1
movss dword [rbx + 0x478c], xmm1
movss xmm0, dword [rbx + 0x38f4]
mov rax, qword [0x1801d1948]
mulss xmm0, dword [0x180180d84]
or dword [rax + 0x4778], 0x40
movss dword [rax + 0x47d8], xmm0
movsx r9d, word [rbx + 0x631a]
call fcn.1800f06b0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1800e2d41
lea r11, [0x180176370]
cmp r9b, 0x23
jne 0x1800e2d24
cmp byte [r8], r9b
jne 0x1800e2d24
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 0x1800e2d11
not ecx
call fcn.1800ec200
test rax, rax
je 0x1800e2d89
cmp byte [rax + 0xae], 0
je 0x1800e2d89
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x631a]
mov edx, 0x10
movsx r9d, word [rbx + 0x631a]
call fcn.1800f06b0
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.1800dd720
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1801263a0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1800ec0e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x1801d1948]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x1800ec144
lea r10, [0x180176370]
cmp r8b, 0x23
jne 0x1800ec127
cmp byte [rdx], r8b
jne 0x1800ec127
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x1800ec114
mov eax, dword [r14 + 0x6378]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x1800ec1a5
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x1800ec16a
cmp edi, eax
jl 0x1800ec184
mov r8d, 0x6fa
lea rdx, str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.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 + 0x6380]
cmp dword [rax + rbp + 8], ebx
je 0x1800ec1c2
mov eax, dword [r14 + 0x6378]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x1800ec161
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x1800ec1cf
cmp edi, dword [r14 + 0x6378]
jl 0x1800ec1e9
mov r8d, 0x6fa
lea rdx, str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x6380]
lea rax, [rax + rcx*8]
jmp 0x1800ec1a7

Function at 0x1800eca40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xe8], 0
mov rbx, rcx
movsxd rdi, edx
jg 0x1800eca77
mov r8d, 0x703
lea rdx, str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0xf0]
lea rdx, [0x180176370]
movsxd r8, dword [rbx + 0xe8]
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 [0x1801d1948]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x1800ecaf8
xor r9d, r9d
mov r8, rdi
mov ecx, ebx
lea edx, [r9 + 4]
call fcn.1800e8570
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret