joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180022fa0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp byte [rcx], 0
mov rbx, rcx
jne 0x180022fbb
cmp byte [rcx + 0x2ef4], 0
je 0x180022fd5
mov r8d, 0xed0
lea rdx, str.D:ClientesRamonDragonDDR3imguiimgui.cpp
lea rcx, str._g.Initialized___g.SettingsLoaded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
lea r8, [0x1800be489]
mov dword [rsp + 0x2c], eax
lea r11, [0x1800bd000]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov edx, r10d
mov qword [rsp + 0x20], rax
mov r9b, 0x57
cmp r9b, 0x23
jne 0x180023019
cmp byte [r8], r9b
jne 0x180023019
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x180023006
mov ecx, dword [rbx + 0x2f14]
lea rax, [0x18002def0]
mov edi, dword [rbx + 0x2f10]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x18002de20]
mov qword [rsp + 0x38], rax
lea rax, [0x18002df70]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x180023129
inc edi
test ecx, ecx
je 0x180023085
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002308a
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x180023129
mov rax, qword [0x1800fed80]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x1800230ae
inc dword [rax + 0x3bc]
mov rdx, qword [0x1800fed90]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call qword [section..data]
mov rdx, qword [rbx + 0x2f18]
mov rsi, rax
test rdx, rdx
je 0x180023117
movsxd rcx, dword [rbx + 0x2f10]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x2f18]
test rcx, rcx
je 0x18002310a
mov rax, qword [0x1800fed80]
test rax, rax
je 0x18002310a
dec dword [rax + 0x3bc]
mov rdx, qword [0x1800fed90]
call qword [0x1800ea008]
mov qword [rbx + 0x2f18], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x2f14], edi
movsxd rax, dword [rbx + 0x2f10]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2f18]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2f10]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x180024200
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x1800fed80]
cmp byte [rbx + 0x2f30], 0
je 0x1800242e5
cmp qword [rbx + 0x2f38], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x2f40]
je 0x1800242cd
mov ecx, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test ecx, ecx
jns 0x180024272
mov eax, ecx
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.18002e980
mov dword [rdi], ebp
mov r8, rsi
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.18002e320
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x2f38]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x2f48]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x1800fed88]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.18002e320
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x18002b520
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
sub rsp, 0x28
mov rax, qword [0x1800fed80]
xor ebp, ebp
mov r15, rcx
mov dword [rax + 0x2ef8], ebp
test rcx, rcx
je 0x18002b669
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov rsi, qword [0x1800fed80]
mov qword [rsp + 0x50], rdi
lea rbx, [rsi + 0x2f00]
mov dword [rsi + 0x2ef8], ebp
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x18002b585
mov eax, ecx
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.18002e980
mov dword [rbx], ebp
cmp dword [rbx + 4], ebp
jne 0x18002b599
mov edx, 8
mov rcx, rbx
call fcn.18002e980
movsxd rcx, dword [rbx]
mov edi, ebp
mov rax, qword [rbx + 8]
mov byte [rcx + rax], bpl
inc dword [rbx]
mov eax, dword [rsi + 0x2f10]
test eax, eax
jle 0x18002b604
mov qword [rsp + 0x20], r14
mov r14, rbp
cmp ebp, eax
jl 0x18002b5d8
mov r8d, 0x4f8
lea rdx, str.D:ClientesRamonDragonDDR3imguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [rsi + 0x2f18]
mov r8, rbx
add r9, r14
mov rcx, rsi
mov rdx, r9
call qword [r9 + reloc.WLDAP32.dll_Ordinal_32]
mov eax, dword [rsi + 0x2f10]
inc edi
add r14, 0x30
cmp edi, eax
jl 0x18002b5d8
mov r14, qword [rsp + 0x20]
mov eax, dword [rbx]
lea rdi, [0x1800fed88]
test eax, eax
lea rdx, [0x1800bfca0]
lea ecx, [rax - 1]
mov rax, qword [rsi + 0x2f08]
cmove ecx, ebp
test rax, rax
movsxd rbp, ecx
mov rcx, r15
cmovne rdi, rax
call fcn.180022360
mov rsi, qword [rsp + 0x48]
mov rbx, rax
test rax, rax
je 0x18002b65f
mov r9, rax
mov r8, rbp
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x28
pop r15
pop rbp
ret
Function at 0x180031c00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x180031d91
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x180031c70
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.180035780
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.18002f160
mov dword [rbx + 0x80], 0
jmp 0x180031d7d
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.180035d00
movzx edx, word [rbx + 0x4c]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x4c], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x180040340
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1800fd258]
xor rax, rsp
mov qword [rsp + 0x48], rax
call fcn.180021ba0
mov rdi, rax
mov rcx, qword [rax + 0xa0]
cmp dword [rcx + 0x40], 0
jle 0x18004037c
cmp qword [rcx + 0x18], 0
jne 0x180040396
cmp qword [rcx + 0x20], 0
jne 0x180040396
mov r8d, Ordinal_211
lea rdx, str.D:ClientesRamonDragonDDR3imguiimgui_impl_win32.cpp
lea rcx, str.io.Fonts__IsBuilt_____Font_atlas_not_built__It_is_generally_built_by_the_renderer_back_end._Missing_call_to_renderer__NewFrame___function__e.g._ImGui_ImplOpenGL3_NewFrame__._
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [0x1800fee58]
lea rdx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x30]
sub eax, dword [rsp + 0x38]
movd xmm1, eax
mov eax, dword [rsp + 0x44]
sub eax, dword [rsp + 0x3c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
xorps xmm1, xmm1
sub rax, qword [0x1800fee60]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1800fee68]
mov ecx, reloc.WS2_32.dll_recvfrom
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rsp + 0x30]
mov qword [0x1800fee60], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_recv
and al, 1
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, 1
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x143], 0
mov byte [rdi + 0x142], al
call fcn.180021ba0
cmp byte [rax + 0x39b], 0
lea rbx, [rax + 0x128]
je 0x1800404a2
cvttss2si ecx, dword [rbx]
lea rdx, [rsp + 0x20]
cvttss2si eax, dword [rax + 0x12c]
mov dword [rsp + 0x20], ecx
mov rcx, qword [0x1800fee58]
mov dword [rsp + 0x24], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x180040513
mov rdx, qword [0x1800fee58]
cmp rax, rdx
je 0x1800404d3
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x180040513
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x180040513
mov rcx, qword [0x1800fee58]
lea rdx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x180040513
movd xmm0, dword [rsp + 0x28]
movd xmm1, dword [rsp + 0x2c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc0], 0
je 0x180040523
mov eax, 0xffffffff
jmp 0x180040528
call fcn.180021be0
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x18004053b
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.180040840
call fcn.180040560
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800b5ef0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x18004ac70
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x18004ad3c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18004ad3c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x18004ad55
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18004ad2c
cmp byte [rax], 0x5c
jne 0x18004ad26
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18004ad26
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18004ad12
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x18004ad23
test r8b, 0x10
jne 0x18004ad26
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x18004ad26
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18004bf10
test edi, edi
jne 0x18004ac90
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.18004b450
int3
Function at 0x18004c120
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov rsi, rdx
mov r14, rcx
cmp rdx, r8
je 0x18004c330
cmp qword [rdx + 0x28], 0x10
lea r8, [rdx + 0x10]
mov rax, qword [rcx + 8]
mov r10, qword [rcx + 0x18]
mov r9, qword [r8 + 0x10]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rdi
lea rdi, [rcx + 8]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x80], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x88], r10
jb 0x18004c18f
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x18004c1c4
nop word [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x18004c1b0
mov r15, qword [r14 + 0x30]
mov rcx, rdi
mov rbx, qword [rsi]
and r15, rdx
shl r15, 4
mov rdx, rsi
add r15, r10
mov r13, qword [r15]
mov r12, qword [r15 + 8]
call fcn.1800448e0
dec qword [rdi + 8]
cmp rsi, r12
je 0x18004c214
mov r14, rbx
cmp rbx, rbp
je 0x18004c22e
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rbx]
call fcn.1800448e0
dec qword [rdi + 8]
cmp r14, r12
jne 0x18004c1f0
mov r14, qword [rsp + 0x70]
mov r12, qword [rsp + 0x80]
cmp r13, rsi
mov r13, qword [rsp + 0x78]
jne 0x18004c247
mov qword [r15], r12
mov rax, r12
jmp 0x18004c24a
cmp r13, rsi
jne 0x18004c236
mov qword [r15], rbx
mov rax, qword [rsp + 0x78]
mov qword [rax], rbx
mov qword [rbx + 8], rax
jmp 0x18004c317
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x18004c30f
nop word [rax + rax]
cmp qword [rbx + 0x28], 0x10
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
mov rsi, rbx
jb 0x18004c275
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x18004c2a9
movabs r13, 0x100000001b3
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r9
jb 0x18004c290
mov r13, qword [rsp + 0x78]
mov r15, qword [r14 + 0x30]
mov rdx, rbx
mov rbx, qword [rbx]
and r15, rcx
shl r15, 4
mov rcx, rdi
add r15, qword [rsp + 0x88]
mov r14, qword [r15 + 8]
call fcn.1800448e0
dec qword [rdi + 8]
cmp rsi, r14
je 0x18004c2f6
mov rsi, rbx
cmp rbx, rbp
je 0x18004c30c
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rbx]
call fcn.1800448e0
dec qword [rdi + 8]
cmp rsi, r14
jne 0x18004c2d7
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
je 0x18004c30f
mov r14, qword [rsp + 0x70]
jmp 0x18004c260
mov qword [r15], rbx
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov r15, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
Function at 0x18004c540
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x18004c5c0
mov rax, qword [rbx + 0x38]
mov rdx, qword [rbx + 8]
shr rax, 3
mov qword [rsp + 0x38], rdi
cmp rax, rcx
jbe 0x18004c580
mov r8, rdx
mov rcx, rbx
mov rdx, qword [rdx]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp fcn.18004c120
lea rcx, [rbx + 8]
call fcn.180044840
mov rax, qword [rbx + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rbx + 8]
mov qword [rax + 8], rax
mov qword [rbx + 0x10], 0
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x30], rax
call fcn.1800453f0
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x18004c744
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x18004c730
ret
Function at 0x18004d510
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 0x18004d550
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180100540]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18004d58e
cmp rsi, r14
jb 0x18004d586
cmp rsi, r15
jae 0x18004d586
cmp qword [rsi + 8], 0
jne 0x18004d757
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18004d571
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 0x18004d622
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 0x18004d619
nop word [rax + rax]
mov r8d, Ordinal_50
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18004d619
cmp dword [rsp + 0x70], 0x10000
je 0x18004d69b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x18004d619
sub rbx, rbp
cmp rbx, r14
jae 0x18004d5e0
test rsi, rsi
jne 0x18004d700
cmp rdi, r15
ja 0x18004d73f
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 0x18004d73f
mov r8d, Ordinal_50
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18004d73f
cmp dword [rsp + 0x70], 0x10000
je 0x18004d6d1
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 0x18004d652
jmp 0x18004d73f
test rbx, rbx
je 0x18004d619
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 0x18004d700
cmp rbx, r14
jae 0x18004d5c0
jmp 0x18004d622
test rdi, rdi
je 0x18004d73f
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 0x18004d700
cmp rdi, r15
jbe 0x18004d630
jmp 0x18004d73f
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 0x18004d710
mov rax, qword [0x180100540]
mov qword [rsi], rax
mov qword [0x180100540], 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 0x18004df60
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x18010053c]
mov ebx, edi
test ecx, ecx
je 0x18004e09b
mov rax, qword [0x180100530]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x18004dfb8
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18004df90
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18004e09b
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.18004e2e0
mov r8d, dword [0x18010053c]
cmp ebx, r8d
jae 0x18004e028
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180100530]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x18004e021
mov edx, esi
mov ecx, ebx
call fcn.18004e1d0
mov edi, eax
test eax, eax
jne 0x18004e028
mov r8d, dword [0x18010053c]
inc ebx
cmp ebx, r8d
jb 0x18004dff0
cmp qword [rsp + 0x20], 0
je 0x18004e09b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18004e087
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18004e078
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18004e050
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800ff000]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18004e1d0
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 [0x180100530]
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 0x18004e234
mov eax, 0xa
jmp 0x18004e2c7
test esi, esi
je 0x18004e256
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 0x18004e279
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18004e279
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18004e272
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18004e279
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