joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cc870
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140112080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400cc905
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400cc966
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400a7190
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400df980
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1400cca21
sub ecx, 1
je 0x1400cca94
sub ecx, 1
je 0x1400cc9d0
cmp ecx, 1
je 0x1400cc9b3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400f31e8]
call fcn.1400a7190
jmp 0x1400cca94
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400cc5a0
test eax, eax
je 0x1400cca94
jmp 0x1400cc93a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400cca94
sub rax, rsi
cmp rax, rbp
jae 0x1400cca94
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400a7310
jmp 0x1400cca94
cmp r8d, 4
jle 0x1400cca94
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400cca94
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400a70b0
mov esi, eax
test eax, eax
je 0x1400cca73
mov edx, 5
mov rcx, rbx
call fcn.1400cd560
mov eax, esi
jmp 0x1400cc93a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400b5990
mov rcx, r14
call fcn.1400b5c70
test eax, eax
je 0x1400cc938
mov edx, 5
mov rcx, rbx
call fcn.1400cd560
mov eax, Ordinal_46
jmp 0x1400cc93a
Function at 0x1400df830
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400df872
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400df8b9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400df912
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400df8d0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400df953
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400f2102]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400f2103]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400df920
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400e098c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400e09d6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400e09d6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400e09d6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400e09d6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400e09d6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400e09d8
xor al, al
add rsp, 0x28
ret
Function at 0x100001ea8
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
lock add dword [0x100004540], 0xffffffff
jne 0x100001efa
mov ecx, 4
call fcn.100001838
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x100001e78]
mov r9, rax
xor edx, edx
xor ecx, ecx
mov dword [rax], 0x493e0
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x100001ef5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100001efa
call fcn.100001ab0
mov eax, dword [0x100004540]
add rsp, 0x38
ret
Function at 0x10000257c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100004c90], rdi
je 0x1000025dc
cmp rax, rdi
jne 0x1000025cf
mov r12d, 1
jmp 0x1000025dc
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000025b5
mov eax, dword [0x100004c88]
cmp eax, 1
jne 0x1000025f1
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x100002658
mov eax, dword [0x100004c88]
cmp eax, ebx
jne 0x10000264e
mov dword [0x100004c88], 1
lea r13, [0x1000012e0]
lea rdi, [0x1000012c8]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x100002640
cmp eax, ebx
jne 0x100002640
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x100002635
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x10000261e
cmp eax, ebx
je 0x100002658
mov eax, 0xff
jmp 0x1000027a0
mov dword [0x100004574], 1
mov eax, dword [0x100004c88]
cmp eax, 1
jne 0x100002680
lea rdx, [0x1000012c0]
lea rcx, [0x1000012b0]
call sub.msvcrt.dll__initterm
mov dword [0x100004c88], 2
cmp r12d, ebx
jne 0x10000268f
mov rax, rbx
xchg qword [0x100004c90], rax
cmp qword [0x100004c98], rbx
je 0x1000026b7
lea rcx, [0x100004c98]
call fcn.1000029fc
cmp eax, ebx
je 0x1000026b7
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100004c98]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x1000026cd
mov eax, 0xff
jmp 0x1000027a0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x100002752
cmp word [rcx], bx
je 0x1000026e8
cmp edx, ebx
jne 0x100002752
cmp word [rcx], bx
je 0x1000026fe
cmp word [rcx], 0x20
ja 0x1000026fe
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1000026e8
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100001f0c
mov dword [0x100004570], eax
cmp dword [0x100004554], ebx
jne 0x10000273c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100004574], ebx
jne 0x100002750
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100004570]
jmp 0x1000027a0
cmp word [rcx], 0x22
jne 0x100002765
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1000026d9
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.100002b10
add rsp, 0x28
jmp 0x10000257c
Function at 0x1000028c0
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100004110]
jne 0x1000028db
rol rcx, 0x10
test cx, 0xffff
jne 0x1000028d7
ret 0
ror rcx, 0x10
jmp 0x100002bcc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100004630]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x100004728]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x100002c51
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x100004630]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x100002c73
mov rax, qword [rsp + 0x88]
mov qword [0x100004728], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1000046c8], rax
mov rax, qword [0x100004728]
mov qword [0x1000045a0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1000046b0], rax
mov dword [0x100004590], 0xc0000409
mov dword [0x100004594], 1
mov rax, qword [0x100004110]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100004118]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100001310]
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, 0x88
ret

Function at 0x100002a68
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100002ab5
cmp rcx, 0xffffffffffffffff
je 0x100002ab5
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x100002aad
cmp dword [rcx + 0x3c], edx
jl 0x100002aad
cmp dword [rcx + 0x3c], 0x10000000
jae 0x100002aad
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100002ab5
mov rax, rdx
add rsp, 0x18
ret
Function at 0x145004058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1450041df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x145004089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14500406f
add dl, dl
jne 0x145004096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1450040f6
xor eax, eax
add dl, dl
jne 0x1450040a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1450041ad
add dl, dl
jne 0x1450040b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1450040c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1450040d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1450040dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1450040ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14500407e
mov eax, 1
add dl, dl
jne 0x145004106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x145004113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1450040fb
sub eax, ebx
mov ebx, 1
jne 0x14500414c
mov ecx, 1
add dl, dl
jne 0x14500412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14500413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x145004123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14500407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x145004168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x145004175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14500415d
cmp eax, 0x7d00
jae 0x14500419b
cmp eax, 0x500
jb 0x145004196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14500407e
cmp eax, 0x7f
ja 0x14500419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14500407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1450041d2
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 0x14500407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400015c0
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push r12
sub rsp, 0x20
cmp dword [0x14000c740], 0
jne 0x1400017be
mov rax, qword gs:[0x60]
xor r12d, r12d
mov edx, r12d
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x1400017ca
nop word [rax + rax]
mov r11, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + r11 + 0x88]
test ecx, ecx
je 0x14000163d
lea rdx, [r11 + rcx]
mov ecx, dword [r11 + rcx + 0xc]
mov eax, dword [rcx + r11]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x14000163d
mov eax, dword [rcx + r11 + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x140001649
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x140001600
test rdx, rdx
je 0x1400017ca
mov qword [rsp + 0x30], rbx
mov ebx, dword [rdx + 0x18]
mov qword [rsp + 0x38], rbp
mov ebp, dword [rdx + 0x24]
mov qword [rsp + 0x40], rsi
mov esi, dword [rdx + 0x20]
mov qword [rsp + 0x18], rdi
add rsi, r11
mov qword [rsp + 0x10], r13
mov r13d, 0x775a
mov qword [rsp + 8], r14
mov r14d, dword [rdx + 0x1c]
mov edx, r12d
add r14, r11
mov qword [rsp], r15
add rbp, r11
lea r15, [0x14000c740]
nop word [rax + rax]
lea eax, [rbx - 1]
mov r10d, dword [rsi + rax*4]
mov ebx, eax
add r10, r11
mov edi, eax
cmp word [r10], r13w
jne 0x140001703
mov r9d, r12d
mov r8d, 0x65096a4a
mov rax, r10
movzx eax, word [rax]
mov ecx, r8d
ror ecx, 8
inc r9d
add ecx, eax
mov eax, r9d
add rax, r10
xor r8d, ecx
cmp byte [rax], r12b
jne 0x1400016c0
mov ecx, edx
inc edx
add rcx, rcx
mov dword [r15 + rcx*8 + 8], r8d
movzx eax, word [rbp + rdi*2]
mov eax, dword [r14 + rax*4]
mov dword [r15 + rcx*8 + 0xc], eax
mov qword [r15 + rcx*8 + 0x10], r12
cmp edx, 0x258
je 0x140001707
test ebx, ebx
jne 0x1400016a0
mov r14, qword [rsp + 8]
lea eax, [rdx - 1]
mov r13, qword [rsp + 0x10]
mov r8d, r12d
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov dword [0x14000c740], edx
test eax, eax
je 0x1400017b0
nop
mov ecx, edx
mov eax, r12d
sub ecx, r8d
cmp ecx, 1
je 0x1400017a5
nop dword [rax]
lea r11d, [rax + 1]
mov r10d, eax
add r10, r10
mov r9d, r11d
add r9, r9
mov edi, dword [r15 + r10*8 + 0xc]
mov ebx, dword [r15 + r9*8 + 0xc]
cmp edi, ebx
jbe 0x140001796
mov edx, dword [r15 + r10*8 + 8]
mov eax, dword [r15 + r9*8 + 8]
mov rcx, qword [r15 + r10*8 + 0x10]
mov dword [r15 + r10*8 + 8], eax
mov rax, qword [r15 + r9*8 + 0x10]
mov qword [r15 + r10*8 + 0x10], rax
mov dword [r15 + r10*8 + 0xc], ebx
mov dword [r15 + r9*8 + 8], edx
mov dword [r15 + r9*8 + 0xc], edi
mov qword [r15 + r9*8 + 0x10], rcx
mov edx, dword [0x14000c740]
mov ecx, edx
mov eax, r11d
sub ecx, r8d
dec ecx
cmp r11d, ecx
jb 0x140001740
inc r8d
lea eax, [rdx - 1]
cmp r8d, eax
jb 0x140001730
mov rdi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x30]
mov r15, qword [rsp]
mov eax, 1
add rsp, 0x20
pop r12
ret
xor eax, eax
add rsp, 0x20
pop r12
ret
Function at 0x140001e20
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x595031b
call fcn.1400017e0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001f60
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x40512eb5
call fcn.1400017e0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140002be0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x8516c1db
call fcn.1400017e0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140009aa4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140009aee
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140009aee
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140009aee
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140009aee
cmp dword [rcx + 0x84], 0xe
jbe 0x140009aee
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140009af0
xor al, al
add rsp, 0x28
ret
Function at 0x180002d10
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x180002d45
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180002910
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180002eb4
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180002e2c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180002ea3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180002e69
mov r10, qword [rdx]
cmp r10, rax
je 0x180002e63
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180002ea3
cmp r9, rdx
je 0x180002e7f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180002ec5
cmp r9, rdx
jne 0x180002e70
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x180002db0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180002ea3
Function at 0x180004b70
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 0x180004bcd
lea rbx, [0x18005b8c0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180004bb4
cmp r10, 2
jb 0x180004bb4
cmp byte [r9], r8b
jne 0x180004bb4
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 0x180004b90
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180004c0f
lea rbx, [0x18005b8c0]
cmp r8b, 0x23
jne 0x180004bf3
cmp byte [r9], r8b
jne 0x180004bf3
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 0x180004be0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180004e80
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 0x180004eaf
mov r8d, 0x599
lea rdx, [0x18004eb80]
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x180004ebb
mov qword [rdi], 0
lea rdx, [0x18005ae04]
mov rcx, rbx
call fcn.180004c20
mov rbx, rax
test rax, rax
jne 0x180004edd
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 0x180004fb6
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180004fb6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x180004fb6
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 0x180004fb6
cmp rsi, 0xffffffffffffffff
je 0x180004fb6
mov rax, qword [0x1800aab38]
test rax, rax
je 0x180004f53
inc dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x180004fb6
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 0x180004fa3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800aab38]
test rax, rax
je 0x180004f98
dec dword [rax + 0x3bc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180004fbf
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x180004fb1
mov qword [rdi], rsi
mov rax, rbp
jmp 0x180004fc1
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
Function at 0x180007050
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc0], 0
mov rbx, rcx
mov edi, edx
jg 0x180007086
mov r8d, 0x504
lea rdx, str.C:UsersgiuseDownloadsIl2CPP_Base_mainIl2CPP_Base_mainImGui_DirectX_11_Kiero_Hookimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0xc0]
mov rax, qword [rbx + 0xc8]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x18005b8c0]
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 [0x1800aab38]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1a60], edx
jne 0x180007100
mov dword [rax + 0x1a64], edx
cmp dword [rax + 0x1a9c], edx
jne 0x18000710f
mov byte [rax + 0x1aa0], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret