joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009044
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 0x140008ed7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140008ed7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140008ed7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140008ed7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140008ed7
cmp dword [rcx + 0x84], 0xe
jbe 0x140008ed7
cmp dword [rcx + 0xf8], 0
je 0x140008ed7
mov ecx, ebx
call fcn.140008f78
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.140008d68
cmp dword [rbp + 0x20], 0
je 0x140008f24
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140008f2c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140008e70
Function at 0x140011258
Capabilities:
Terminate process

Disassembly:
jmp 0x1400140b0
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 0x1400112f8
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015400
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015420
xor al, al
jmp 0x1400154a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015433
xor al, al
jmp 0x1400154a1
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 0x14001545d
xor al, al
jmp 0x1400154a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015471
xor al, al
jmp 0x1400154a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015483
xor al, al
jmp 0x1400154a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001549f
xor al, al
jmp 0x1400154a1
mov al, 1
add rsp, 0x38
ret
Function at 0x407e8b
Capabilities:
Check http status code

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b8]
sub rsp, 0x2b8
and dword [rbp + 0x208], 0
mov rdi, rcx
xor r14d, r14d
lea rcx, [rsp + 0x40]
xor edx, edx
mov esi, 0x84600200
lea ebx, [r14 + 0x68]
mov r8d, ebx
call fcn.00409903
lea rax, [rbp - 0x50]
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x58], rax
lea rcx, [rdi + 0x520]
lea rax, [rbp + 0xb0]
xor edx, edx
mov qword [rbp - 0x78], rax
lea r9, [rsp + 0x40]
mov eax, 0x100
mov r8d, 0x10000000
mov dword [rsp + 0x60], eax
mov dword [rbp - 0x70], eax
call qword [rdi + 0xc8]
xor ebx, ebx
test eax, eax
je 0x408121
cmp dword [rsp + 0x54], 4
mov eax, 0x84e03200
mov r12d, ebx
mov dword [rsp + 0x20], ebx
sete r12b
cmove esi, eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [rdi + 0xd0]
mov r13, rax
test rax, rax
je 0x408121
movzx r8d, word [rsp + 0x64]
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov dword [rsp + 0x30], ebx
mov rcx, rax
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rbx
call qword [rdi + 0xd8]
mov r15, rax
test rax, rax
je 0x4080d1
mov qword [rsp + 0x38], rbx
lea rdx, [rdi + 0x620]
mov dword [rsp + 0x30], esi
lea r8, [rbp + 0xb0]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [rdi + 0xf8]
mov rbx, rax
test rax, rax
je 0x4080c8
test r12d, r12d
je 0x407fe6
bt esi, 0xc
jae 0x407fe6
lea r9d, [r14 + 4]
mov dword [rbp + 0x210], 0x3380
lea r8, [rbp + 0x210]
mov rcx, rax
lea edx, [r14 + 0x1f]
call qword [rdi + 0xe0]
xor r12d, r12d
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r12d
xor edx, edx
mov rcx, rbx
call qword [rdi + 0x100]
test eax, eax
je 0x4080bf
lea r9, [rbp + 0x200]
mov dword [rbp + 0x200], 4
lea r8, [rbp + 0x208]
mov qword [rsp + 0x20], r12
mov edx, 0x20000013
mov rcx, rbx
call qword [rdi + 0x108]
test eax, eax
je 0x4080bf
cmp dword [rbp + 0x208], 0xc8
jne 0x4080bf
lea rsi, [rdi + 0x750]
mov dword [rbp + 0x200], 8
mov r8, rsi
mov qword [rsi], r12
lea r9, [rbp + 0x200]
mov qword [rsp + 0x20], r12
mov edx, 0x20000005
mov rcx, rbx
call qword [rdi + 0x108]
test eax, eax
je 0x4080bf
mov rdx, qword [rsi]
test rdx, rdx
je 0x4080bf
xor ecx, ecx
lea r9d, [r12 + 4]
mov r8d, 0x3000
call qword [rdi + 0x48]
mov qword [rdi + 0x758], rax
test rax, rax
je 0x4080bf
mov r8d, dword [rsi]
lea r9, [rbp + 0x218]
mov rdx, rax
mov dword [rbp + 0x218], r12d
mov rcx, rbx
call qword [rdi + 0xe8]
mov r14d, eax
mov rcx, rbx
call qword [rdi + 0xf0]
mov rcx, r15
call qword [rdi + 0xf0]
mov rcx, r13
call qword [rdi + 0xf0]
test r14d, r14d
je 0x40811c
mov rbx, qword [rdi + 0x758]
lea rdx, [rdi + 0x740]
mov r9, qword [rdi + 0x750]
lea rcx, [rdi + 0x730]
mov r8, rbx
call fcn.004097b3
mov rdx, qword [rdi + 0x28]
lea rcx, [rdi + 0x628]
call fcn.0040966b
cmp rax, qword [rbx + 0x1908]
jne 0x408121
mov eax, r14d
jmp 0x408123
xor eax, eax
add rsp, 0x2b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x408137
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
movsxd r15, dword [rdx + 0x3c]
mov r13, r9
mov rbx, rdx
mov r12, rcx
mov eax, dword [r15 + rdx + 0x88]
test eax, eax
je 0x40820d
lea rdi, [rdx + rax]
mov esi, dword [rdi + 0x18]
test esi, esi
je 0x40820d
mov eax, dword [rdi + 0x1c]
xor ecx, ecx
mov r8d, dword [rdi + 0xc]
add rax, rdx
mov qword [rsp + 0x30], rax
add r8, rdx
mov eax, dword [rdi + 0x20]
add rax, rdx
mov qword [rbp + 0x158], rax
mov eax, dword [rdi + 0x24]
add rax, rdx
mov qword [rsp + 0x28], rax
mov al, byte [r8]
test al, al
je 0x4081ce
xor edx, edx
inc ecx
or al, 0x20
mov byte [rbp + rdx], al
mov edx, ecx
mov al, byte [rcx + r8]
test al, al
jne 0x4081bc
mov byte [rbp + rcx], 0
mov rdx, r13
lea rcx, [rbp]
call fcn.0040966b
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x158]
dec esi
mov rdx, r13
mov ecx, dword [rax + rsi*4]
add rcx, rbx
call fcn.0040966b
xor rax, qword [rsp + 0x20]
cmp rax, qword [rbp + 0x160]
je 0x40822a
test esi, esi
jne 0x4081e4
xor eax, eax
mov rbx, qword [rsp + 0x250]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rax + rsi*2]
mov r8d, dword [rcx + rax*4]
add r8, rbx
cmp r8, rdi
jb 0x4082f7
mov eax, dword [r15 + rbx + 0x8c]
add rax, rdi
cmp r8, rax
jae 0x4082f7
xor ebx, ebx
mov r9d, ebx
cmp byte [r8], bl
je 0x408287
cmp r9d, 0x3c
jae 0x408287
mov ecx, r9d
mov al, byte [rcx + r8]
mov byte [rsp + rcx + 0x40], al
cmp byte [rcx + r8], 0x2e
je 0x408287
inc r9d
cmp byte [r9 + r8], bl
jne 0x408266
lea eax, [r9 + 1]
mov edx, eax
mov byte [rsp + rax + 0x40], 0x64
lea eax, [r9 + 2]
mov byte [rsp + rax + 0x40], 0x6c
lea eax, [r9 + 3]
mov byte [rsp + rax + 0x40], 0x6c
lea eax, [r9 + 4]
lea r9, [rdx + r8]
mov byte [rsp + rax + 0x40], bl
mov edx, ebx
cmp byte [r9], bl
je 0x4082ce
cmp edx, 0x7f
jae 0x4082ce
mov ecx, edx
inc edx
mov al, byte [rcx + r9]
mov byte [rbp + rcx - 0x80], al
cmp byte [rdx + r9], bl
jne 0x4082b7
mov eax, edx
lea rcx, [rsp + 0x40]
mov byte [rbp + rax - 0x80], bl
call qword [r12 + 0x30]
test rax, rax
je 0x4082f4
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [r12 + 0x38]
mov r8, rax
jmp 0x4082f7
mov r8, rbx
mov rax, r8
jmp 0x40820f
Function at 0x4095cf
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
xor r10d, r10d
mov r9, qword [rax + 0x18]
mov rbx, qword [r9 + 0x10]
jmp 0x40961e
test r10, r10
jne 0x409627
mov r9, rdi
mov r8, rsi
mov rdx, rax
mov rcx, rbp
call fcn.00408137
mov rbx, qword [rbx]
mov r10, rax
mov rax, qword [rbx + 0x30]
test rax, rax
jne 0x409602
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x40973f
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x10
movups xmm0, xmmword [rcx]
mov qword [rax + 0x10], rdx
mov ecx, edx
mov r8d, dword [rax + 0x14]
xor r10d, r10d
movups xmmword [rsp], xmm0
mov edx, dword [rax - 0xc]
mov r11d, dword [rax - 0x10]
mov ebx, dword [rax - 0x14]
mov r9d, dword [rsp]
mov eax, edx
ror ecx, 8
add ecx, r8d
mov edx, ebx
xor ecx, r9d
ror edx, 8
add edx, r9d
rol r8d, 3
xor edx, r10d
rol r9d, 3
xor r9d, edx
xor r8d, ecx
inc r10d
mov ebx, r11d
mov r11d, eax
cmp r10d, 0x1b
jb 0x409769
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x2c], r8d
mov rax, qword [rsp + 0x28]
add rsp, 0x10
pop rbx
ret

Function at 0x4097b3
Capabilities:
Encode data using xor
Encrypt data using chaskey

Disassembly:
test r9, r9
je 0x4098e1
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r13
push r14
mov rbp, rsp
sub rsp, 0x10
mov r10, rcx
lea rax, [rbp - 0x10]
sub r10, rax
mov esi, 1
sub rsi, rdx
mov r11, r8
mov rdi, rdx
mov r13d, 0x10
movups xmm0, xmmword [rdi]
lea rcx, [rbp - 0x10]
mov edx, 4
movdqu xmmword [rbp - 0x10], xmm0
mov eax, dword [r10 + rcx]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x409806
mov edx, dword [rbp - 4]
mov rbx, r13
mov eax, dword [rbp - 8]
mov r8d, dword [rbp - 0xc]
mov ecx, dword [rbp - 0x10]
add ecx, r8d
add eax, edx
rol r8d, 5
xor r8d, ecx
rol edx, 8
xor edx, eax
rol ecx, 0x10
add eax, r8d
add ecx, edx
rol r8d, 7
rol edx, 0xd
xor r8d, eax
xor edx, ecx
rol eax, 0x10
sub rbx, 1
jne 0x409826
mov dword [rbp - 4], edx
lea edx, [rbx + 4]
mov dword [rbp - 0x10], ecx
lea rcx, [rbp - 0x10]
mov dword [rbp - 0xc], r8d
mov dword [rbp - 8], eax
mov eax, dword [rcx + r10]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x409868
cmp r9, r13
mov eax, r9d
cmova eax, r13d
movsxd rdx, eax
test eax, eax
jle 0x4098a5
lea r8, [rbp - 0x10]
mov rcx, r11
sub r8, r11
mov rbx, rdx
mov al, byte [r8 + rcx]
xor byte [rcx], al
inc rcx
sub rbx, 1
jne 0x409896
sub r9, rdx
lea rcx, [rdi + 0xf]
add r11, rdx
add byte [rcx], 1
jne 0x4098c0
dec rcx
lea rax, [rsi + rcx]
test rax, rax
jg 0x4098af
test r9, r9
jne 0x4097f5
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x10
pop r14
pop r13
pop rbp
ret
Function at 0x40a093
Capabilities:
Check http status code

Disassembly:
sub esp, 0x258
push rbx
push rsi
push rdi
push 0x3c
pop rdi
xor esi, esi
lea eax, [rsp + 0x28]
push rdi
push rsi
push rax
mov dword [rsp + 0x1c], esi
mov ebx, 0x84600200
call fcn.0040b867
lea eax, [rsp + 0x70]
mov dword [rsp + 0x34], edi
mov edi, dword [rsp + 0x274]
add esp, 0xc
mov dword [rsp + 0x38], eax
lea eax, [rsp + 0x164]
mov dword [rsp + 0x54], eax
mov eax, 0x100
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x58], eax
lea eax, [rsp + 0x28]
push rax
push 0x10000000
push rsi
lea eax, [rdi + 0x520]
push rax
call qword [rdi + 0x7c]
test eax, eax
je 0x40a2a4
xor eax, eax
cmp dword [rsp + 0x34], 4
push rsi
push rsi
sete al
push rsi
mov dword [rsp + 0x20], eax
mov eax, 0x84e03200
push rsi
push rsi
cmove ebx, eax
call qword [rdi + 0x80]
mov dword [rsp + 0x24], eax
test eax, eax
je 0x40a2a4
push rsi
push rsi
push 3
push rsi
push rsi
push qword [rsp + 0x54]
lea ecx, [rsp + 0x7c]
push rcx
push rax
call qword [rdi + 0x84]
mov ecx, eax
mov dword [rsp + 0x20], ecx
test ecx, ecx
je 0x40a24d
push rbp
push rsi
push rbx
push rsi
push rsi
push rsi
lea eax, [rsp + 0x17c]
push rax
lea eax, [rdi + 0x620]
push rax
push rcx
call qword [rdi + 0x94]
mov ebp, eax
test ebp, ebp
je 0x40a242
cmp dword [rsp + 0x18], esi
je 0x40a19e
test ebx, 0x1000
je 0x40a19e
push 4
lea eax, [rsp + 0x20]
mov dword [rsp + 0x20], 0x3380
push rax
push 0x1f
push rbp
call qword [rdi + 0x88]
push rsi
push rsi
push rsi
push rsi
push rbp
call qword [rdi + 0x98]
test eax, eax
je 0x40a23b
push rsi
lea eax, [rsp + 0x14]
mov dword [rsp + 0x14], 4
push rax
lea eax, [rsp + 0x1c]
push rax
push 0x20000013
push rbp
call qword [rdi + 0x9c]
test eax, eax
je 0x40a23b
cmp dword [rsp + 0x14], 0xc8
jne 0x40a23b
push rsi
lea eax, [rsp + 0x14]
mov dword [rsp + 0x14], 4
push rax
lea ebx, [rdi + 0x750]
push rbx
push 0x20000005
push rbp
mov dword [rbx], esi
mov dword [rbx + 4], esi
call qword [rdi + 0x9c]
test eax, eax
je 0x40a23b
mov eax, dword [rbx]
or eax, dword [rbx + 4]
je 0x40a23b
push 4
push 0x3000
push qword [rbx]
push rsi
call qword [rdi + 0x3c]
mov dword [rdi + 0x758], eax
test eax, eax
je 0x40a23b
lea ecx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
push rcx
push qword [rbx]
push rax
push rbp
call qword [rdi + 0x8c]
mov esi, eax
push rbp
call qword [rdi + 0x90]
push qword [rsp + 0x24]
call qword [rdi + 0x90]
pop rbp
push qword [rsp + 0x24]
call qword [rdi + 0x90]
test esi, esi
je 0x40a2a0
push qword [rdi + 0x750]
mov ebx, dword [rdi + 0x758]
lea eax, [rdi + 0x740]
push rbx
push rax
lea eax, [rdi + 0x730]
push rax
call fcn.0040b742
push qword [rdi + 0x2c]
lea eax, [rdi + 0x628]
push qword [rdi + 0x28]
push rax
call fcn.0040b61d
add esp, 0x1c
cmp eax, dword [rbx + 0x1908]
jne 0x40a2a4
cmp edx, dword [rbx + 0x190c]
jne 0x40a2a4
mov eax, esi
jmp 0x40a2a6
xor eax, eax
pop rdi
pop rsi
pop rbx
add esp, 0x258
ret
Function at 0x40b6df
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [rsp + 0x18]
mov edx, dword [rsp + 0x1c]
push rbx
push rbp
push rsi
mov esi, dword [rsp + 0x20]
xor ebx, ebx
push rdi
lea edi, [rsp + 0x10]
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
mov ecx, dword [rsp + 0x14]
mov esi, dword [rsp + 0x1c]
mov ebp, dword [rsp + 0x18]
mov edi, dword [rsp + 0x10]
mov dword [rsp + 0x28], ecx
mov ecx, esi
ror eax, 8
mov esi, dword [rsp + 0x28]
add eax, edx
ror esi, 8
xor eax, edi
add esi, edi
rol edx, 3
xor esi, ebx
rol edi, 3
xor edx, eax
mov dword [rsp + 0x28], ebp
xor edi, esi
mov ebp, ecx
cmp r11d, 0x1b
jb 0x40b710
pop rdi
pop rsi
pop rbp
pop rbx
add esp, 0x10
ret

Function at 0x40b742
Capabilities:
Encode data using xor
Encrypt data using chaskey

Disassembly:
mov edx, dword [rsp + 0x10]
sub esp, 0x14
push rbx
mov ebx, dword [rsp + 0x24]
test edx, edx
je 0x40b83e
mov eax, dword [rsp + 0x20]
push rbp
xor ebp, ebp
push r14
lea ecx, [rax + 0xf]
sub ebp, eax
push rdi
mov dword [rsp + 0x10], ecx
mov dword [rsp + 0x34], ebp
mov esi, eax
lea edi, [rsp + 0x14]
xor ecx, ecx
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
mov esi, dword [rsp + 0x28]
mov eax, dword [rsi + rcx*4]
xor dword [rsp + rcx*4 + 0x14], eax
cmp r9d, 4
jb 0x40b77d
mov esi, dword [rsp + 0x20]
mov eax, dword [rsp + 0x1c]
mov edi, dword [rsp + 0x18]
mov ecx, dword [rsp + 0x14]
mov dword [rsp + 0x30], 0x10
add ecx, edi
add eax, esi
rol edi, 5
xor edi, ecx
rol esi, 8
xor esi, eax
rol ecx, 0x10
add eax, edi
add ecx, esi
rol edi, 7
rol esi, 0xd
xor edi, eax
xor esi, ecx
rol eax, 0x10
sub dword [rsp + 0x30], 1
jne 0x40b7a2
mov ebp, dword [rsp + 0x28]
mov dword [rsp + 0x14], ecx
xor ecx, ecx
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x18], edi
mov dword [rsp + 0x1c], eax
mov eax, dword [rbp + rcx*4]
xor dword [rsp + rcx*4 + 0x14], eax
cmp r9d, 4
jb 0x40b7e1
mov ebp, dword [rsp + 0x34]
mov ecx, edx
push 0x10
pop rax
cmp edx, eax
cmova ecx, eax
test ecx, ecx
jle 0x40b81a
lea edi, [rsp + 0x14]
mov esi, ebx
sub edi, ebx
mov ebp, ecx
mov al, byte [rdi + rsi]
xor byte [rsi], al
sub ebp, 1
jne 0x40b80b
mov ebp, dword [rsp + 0x34]
sub edx, ecx
add ebx, ecx
mov ecx, dword [rsp + 0x10]
add byte [rcx], 1
jne 0x40b82f
lea rax, [r9 + rbp]
test eax, eax
jg 0x40b822
mov eax, dword [rsp + 0x2c]
test edx, edx
jne 0x40b76d
pop rdi
pop rsi
pop rbp
pop rbx
add esp, 0x14
ret
Function at 0x140002ab0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x70
cmp qword [rcx + 0xdf8], 0
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm6
movaps xmm6, xmm1
movaps xmmword [rsp + 0x50], xmm7
movaps xmm7, xmm2
jne 0x140002af1
mov r8d, 0x5b8
lea rdx, str.C:UsersFerDesktopexamplesimgui_1.89.6imgui.cpp
lea rcx, str.Ctx___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbx + 0x37b1], 0
mov rbp, qword [rbx + 0xdf8]
je 0x140002cc0
movss xmm1, dword [0x1400d1484]
xorps xmm2, xmm2
comiss xmm7, xmm1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x90], r14
jbe 0x140002b45
comiss xmm7, xmm2
cvttss2si eax, xmm7
jae 0x140002b3e
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
jp 0x140002b3c
je 0x140002b3e
dec eax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm6, xmm1
jbe 0x140002b6a
comiss xmm6, xmm2
cvttss2si eax, xmm6
jae 0x140002b63
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x140002b61
je 0x140002b63
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
lea r14, [rbp + 0x3e48]
mov qword [rsp + 0x88], rdi
mov ebx, dword [r14]
sub ebx, 1
movsxd rsi, ebx
js 0x140002bc1
imul rdi, rsi, 0x1c
cmp ebx, dword [r14]
jl 0x140002ba7
mov r8d, 0x709
lea rdx, str.C:UsersFerDesktopexamplesimgui_1.89.6imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 8]
cmp dword [rdi + rax], 1
je 0x140002c57
dec ebx
sub rdi, 0x1c
sub rsi, 1
jns 0x140002b88
movsd xmm0, qword [rbp + 0xe08]
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 0x140002bff
jne 0x140002bff
ucomiss xmm1, xmm7
jp 0x140002bff
je 0x140002cb8
mov eax, dword [rbp + 0x3e6c]
mov dword [rsp + 0x38], eax
inc eax
mov dword [rbp + 0x3e6c], eax
mov ecx, dword [r14]
mov r8d, dword [r14 + 4]
mov eax, dword [rbp + 0x3e68]
movss dword [rsp + 0x3c], xmm6
movss dword [rsp + 0x40], xmm7
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x44], eax
cmp ecx, r8d
jne 0x140002c8d
inc ecx
test r8d, r8d
je 0x140002c79
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140002c7e
movss xmm0, dword [rdi + rax + 0xc]
movss xmm1, dword [rdi + rax + 0x10]
lea rax, [rsp + 0x20]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
jmp 0x140002bd4
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, r14
call fcn.140030300
movsxd rax, dword [r14]
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
imul rcx, rax, 0x1c
mov rax, qword [r14 + 8]
movups xmmword [rcx + rax], xmm0
movsd qword [rcx + rax + 0x10], xmm1
mov dword [rcx + rax + 0x18], 0
inc dword [r14]
mov r14, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x70
pop rbp
ret
Function at 0x140003400
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 0x14000345d
lea rbx, [0x1400b6eb0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003444
cmp r10, 2
jb 0x140003444
cmp byte [r9], r8b
jne 0x140003444
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 0x140003420
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000349f
lea rbx, [0x1400b6eb0]
cmp r8b, 0x23
jne 0x140003483
cmp byte [r9], r8b
jne 0x140003483
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 0x140003470
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003660
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 0x14000368f
mov r8d, 0x7d0
lea rdx, str.C:UsersFerDesktopexamplesimgui_1.89.6imgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000369b
mov qword [rdi], 0
lea rdx, [0x1400b4918]
mov rcx, rbx
call fcn.1400034b0
mov rbx, rax
test rax, rax
jne 0x1400036bd
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 0x140003794
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 0x140003794
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003794
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 0x140003794
cmp rsi, 0xffffffffffffffff
je 0x140003794
mov rax, qword [0x1400e0798]
test rax, rax
je 0x140003731
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 0x140003794
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 0x140003781
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400e0798]
test rax, rax
je 0x140003776
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000379d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14000378f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x14000379f
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