joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400afadc
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14011cc18], rbx
je 0x1400afb28
cmp rax, rbx
jne 0x1400afb1b
mov ebx, 1
mov esi, ebx
jmp 0x1400afb2d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400afb00
mov ebx, 1
mov eax, dword [0x14011cc20]
cmp eax, ebx
jne 0x1400afb43
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400afba8
mov eax, dword [0x14011cc20]
test eax, eax
jne 0x1400afba2
mov dword [0x14011cc20], ebx
lea r15, [0x1400c5768]
lea rdi, [0x1400c5750]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400afb94
test eax, eax
jne 0x1400afb98
cmp qword [rdi], 0
je 0x1400afb89
mov rax, qword [rdi]
mov rcx, qword [str.__a_v_]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400afb6a
test eax, eax
je 0x1400afba8
mov eax, 0xff
jmp 0x1400afc84
mov dword [0x14011b398], ebx
mov eax, dword [0x14011cc20]
cmp eax, ebx
jne 0x1400afbcf
lea rdx, [0x1400c5748]
lea rcx, [0x1400c51a8]
call sub.msvcrt.dll__initterm
mov dword [0x14011cc20], 2
test esi, esi
jne 0x1400afbdc
xor eax, eax
xchg qword [0x14011cc18], rax
cmp qword [0x14011cc38], 0
je 0x1400afc10
lea rcx, [0x14011cc38]
call fcn.1400b01a0
test eax, eax
je 0x1400afc10
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14011cc38]
mov r9, qword [str.__a_v_]
call r9
mov r8, qword [0x14011b3b0]
mov rdx, qword [0x14011b3a8]
mov ecx, dword [0x14011b3a0]
call fcn.14000345c
mov dword [0x14011b394], eax
cmp dword [0x14011b3b8], 0
jne 0x1400afc40
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14011b398], 0
jne 0x1400afc55
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14011b394]
jmp 0x1400afc84
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call 0x1401b4000
add rsp, 0x28
jmp 0x1400afadc

Function at 0x1400b00b0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400b00fc
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400b00f4
cmp dword [rcx + 0x3c], edx
jl 0x1400b00f4
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400b00f4
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 0x1400b00fc
mov rax, rdx
add rsp, 0x18
ret
Function at 0x180002c30
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
add rdx, 0xffffffffffff0000
mov rdi, rcx
movzx eax, dx
mov rbx, rdx
sub rbx, rax
test rax, rax
cmove rbx, rdx
cmp rbx, rcx
jbe 0x180002d0b
nop dword [rax]
cmp rbx, qword [section..data]
jb 0x180002c7e
cmp rbx, qword [0x180008008]
ja 0x180002c7e
sub rbx, 0x8000000
jmp 0x180002d02
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180002d0b
cmp dword [rsp + 0x40], 0x10000
jne 0x180002ce6
cmp qword [rsp + 0x38], 0x10000
jb 0x180002ce6
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x180002d0d
sub rbx, 0x10000
jmp 0x180002d02
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffff0000
movzx eax, cx
mov rbx, rcx
sub rbx, rax
test rax, rax
cmove rbx, rcx
cmp rbx, rdi
ja 0x180002c60
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x180002d20
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
movzx eax, cx
mov rdi, rdx
mov rbx, rcx
test rax, rax
je 0x180002d42
sub rbx, rax
add rbx, 0x10000
cmp rbx, rdi
jae 0x180002dfd
nop dword [rax + rax]
cmp rbx, qword [section..data]
jb 0x180002d6e
cmp rbx, qword [0x180008008]
ja 0x180002d6e
add rbx, 0x8000000
jmp 0x180002df4
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180002dfd
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x180002dd9
cmp rcx, 0x10000
jb 0x180002dd9
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x180002dff
add rbx, 0x10000
jmp 0x180002df4
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x180002df4
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x180002d50
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x180002e10
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
lea rdi, [rcx - 0x7ff80000]
mov rbx, rcx
cmp rcx, 0x7ff80000
ja 0x180002e32
mov edi, 0x80000
mov qword [rsp + 0x38], rsi
lea rsi, [rcx + 0x7ff80000]
cmp rbx, 0xffffffff80000000
jb 0x180002e4e
mov rsi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x180002e65
cmp byte [rcx + 1], 0x25
jne 0x180002ea9
movsxd rcx, dword [rcx + 2]
add rcx, 6
jmp 0x180002e71
cmp al, 0xe9
jne 0x180002ea9
movsxd rcx, dword [rcx + 1]
add rcx, 5
add rcx, rbx
cmp rcx, rbx
jae 0x180002e94
cmp rcx, 0xffffffff80000000
jae 0x180002e8b
lea rsi, [rcx + 0x7ff80000]
jmp 0x180002ea9
mov rsi, 0xfffffffffff80000
jmp 0x180002ea9
lea rdi, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x180002ea9
mov edi, 0x80000
mov rdx, qword [0x180008158]
mov rax, qword [0x180008150]
mov qword [rsp + 0x30], rbp
test rdx, rdx
jne 0x180002ed0
test rax, rax
je 0x180002ee7
mov rdx, rax
mov qword [0x180008158], rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x180002ee7
cmp rcx, rdi
jb 0x180002ee7
cmp rcx, rsi
jbe 0x18000303a
mov qword [0x180008158], rax
mov rdx, rax
test rax, rax
je 0x180002f32
mov rcx, rax
nop dword [rax]
test rax, rax
je 0x180002f1c
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x180002f1c
cmp rax, rdi
jb 0x180002f1c
cmp rax, rsi
jbe 0x18000303a
mov rdx, qword [rdx + 8]
mov qword [0x180008158], rdx
mov rcx, rdx
mov rax, rdx
test rdx, rdx
jne 0x180002f00
movzx eax, bx
sub rbx, rax
cmp rbx, 0x40000000
jbe 0x180002f5c
lea rdx, [rbx - 0x40000000]
mov rcx, rdi
call fcn.180002c30
mov rdx, rax
test rax, rax
jne 0x180002fe8
movabs rbp, 0xffffffff40000000
cmp rbx, rbp
jae 0x180002f82
lea rcx, [rbx + 0x40000000]
mov rdx, rsi
call fcn.180002d20
mov rdx, rax
test rax, rax
jne 0x180002fe8
cmp rbx, 0x40000000
jbe 0x180002fa2
lea rcx, [rbx - 0x40000000]
mov rdx, rbx
call fcn.180002d20
mov rdx, rax
test rax, rax
jne 0x180002fe8
cmp rbx, rbp
jae 0x180002fbe
lea rdx, [rbx + 0x40000000]
mov rcx, rbx
call fcn.180002c30
mov rdx, rax
test rax, rax
jne 0x180002fe8
mov rdx, rbx
mov rcx, rdi
call fcn.180002c30
mov rdx, rax
test rax, rax
jne 0x180002fe8
mov rdx, rsi
mov rcx, rbx
call fcn.180002d20
mov rdx, rax
test rax, rax
je 0x180003071
mov dword [rdx], 0x52727464
lea rcx, [rdx + 0xffa8]
xor r8d, r8d
mov qword [0x180008158], rdx
mov qword [rdx + 0x10], r8
mov r9d, 0x2a7
mov rax, qword [0x180008150]
mov qword [rdx + 8], rax
lea rax, [rdx + 0xff60]
mov qword [0x180008150], rdx
mov qword [rcx], r8
lea rcx, [rcx - 0x60]
mov r8, rax
sub rax, 0x60
sub r9, 1
jne 0x180003022
mov qword [rdx + 0x10], r8
mov rax, qword [rdx + 0x10]
cmp rax, rdi
jb 0x180003071
cmp rax, rsi
ja 0x180003071
mov rcx, qword [rax + 0x48]
movdqa xmm0, xmmword [0x1800062b0]
mov qword [rdx + 0x10], rcx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
jmp 0x180003073
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800032d0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x1800032fe
xor al, al
jmp 0x180003340
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x18000330f
xor al, al
jmp 0x180003340
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x180003336
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x180003336
mov al, 1
jmp 0x180003340
xor al, al
add rsp, 0x50
pop rbx
ret
add rsp, 0x50
pop rbx
ret
Function at 0x180003820
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
cmp dword [0x180008168], 0
jne 0x1800038c7
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x180008168], ecx
jne 0x1800038c7
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x180008150]
mov qword [rsp + 0x20], rdi
xor edi, edi
mov qword [0x180008180], rdi
mov qword [0x180008178], rdi
mov qword [0x180008170], rdi
test rbx, rbx
je 0x1800038b0
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1800038a8
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x180003880
jmp 0x1800038b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov dword [0x18000816c], edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov eax, 0x10dd
add rsp, 0x28
ret
Function at 0x180003ee0
Capabilities:
Suspend thread

Disassembly:
push rdi
sub rsp, 0x20
mov eax, dword [0x18000816c]
mov rdi, rcx
test eax, eax
jne 0x180003f83
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
jne 0x180003f0a
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rbx
call fcn.180004700
mov rbx, rax
test rax, rax
jne 0x180003f26
lea edi, [rax + 8]
jmp 0x180003f49
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x180003f67
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, 0x10
mov rcx, rbx
call fcn.180004ab4
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [0x18000816c], edi
mov qword [0x180008170], 0
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x180008178]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rdi
mov qword [0x180008178], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005da0
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 0x140005dfd
lea rbx, [0x1400de670]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140005de4
cmp r10, 2
jb 0x140005de4
cmp byte [r9], r8b
jne 0x140005de4
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 0x140005dc0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140005e3f
lea rbx, [0x1400de670]
cmp r8b, 0x23
jne 0x140005e23
cmp byte [r9], r8b
jne 0x140005e23
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 0x140005e10
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140005f80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140005f9a
mov qword [r8], 0
lea rdx, [0x1400de1fc]
call fcn.140005e50
mov rbx, rax
test rax, rax
jne 0x140005fba
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140006093
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 0x140006093
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140006093
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140006093
cmp rdi, 0xffffffffffffffff
je 0x140006093
mov rax, qword [0x14013d110]
test rax, rax
je 0x140006030
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140006093
mov r9, rbx
mov r8, rdi
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, rdi
je 0x140006080
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14013d110]
test rax, rax
je 0x140006075
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000609c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000608e
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000609e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140009280
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r8, [0x1400de670]
movsxd rcx, dword [rcx + 0xe8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x14013d110]
not ebx
cmp dword [rcx + 0x3f08], ebx
jne 0x140009315
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001bf70
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140015cf0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140104080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14013d110]
mov edi, ecx
cmp byte [rbx + 0x4a4d], 0
jne 0x140015d51
cmp byte [rbx + 0x4a4e], 0
jne 0x140015d51
movsx r9d, word [rbx + 0x5b4a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140005c60
test dil, 1
je 0x140015e78
jmp 0x140015ddc
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b4a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400f0bbc]
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400f0b9c]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47b0], rax
mov dword [rbx + 0x479c], 1
movss dword [rbx + 0x47a8], xmm0
movss dword [rbx + 0x47ac], xmm1
movss xmm0, dword [rbx + 0x3914]
mulss xmm0, dword [0x1400f0b28]
or dword [rbx + 0x4798], 0x41
movss dword [rbx + 0x47f8], xmm0
call fcn.140005c60
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140015e30
lea r11, [0x1400de670]
nop dword [rax]
cmp r9b, 0x23
jne 0x140015e13
cmp byte [r8], r9b
jne 0x140015e13
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 0x140015e00
not ecx
call fcn.14000cea0
test rax, rax
je 0x140015e78
cmp byte [rax + 0xae], 0
je 0x140015e78
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b4a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b4a]
call fcn.140005c60
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000f5e0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400c76d0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001a810
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c30], 0
lea rbx, [rcx + 0x5c38]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001a8b7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001a86a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001cbe0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400064a0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c30]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c40]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14013d108]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001a8bf
mov rcx, rbx
call fcn.1400064a0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001ae30
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14013d110]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001ae93
mov qword [rsp], rbx
lea rbx, [0x1400de670]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001ae73
cmp byte [r8], r9b
jne 0x14001ae73
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001ae60
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5ba8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001aec7
mov r10, qword [r10 + 0x5bb0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001aece
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001aeb4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14003a9d0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14003aa01
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 + 0x30], rbx
mov rbx, qword [0x14013d7e8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x14013d7f8]
lea rdx, [rdi + rdi]
call fcn.14003a590
mov rax, qword [0x14013d7e8]
lea r9, [rdi - 1]
mov qword [0x14013d810], r9
mov qword [0x14013d818], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14003ab74
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x14013d7f8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14003aac0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14003ab35
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14003aafd
mov r10, qword [rdx]
cmp r10, rax
je 0x14003aaf7
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 0x14003ab35
cmp r9, rdx
je 0x14003ab11
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14003ab49
cmp r9, rdx
jne 0x14003ab02
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
je 0x14003ab6f
mov r9, qword [0x14013d810]
jmp 0x14003aa71
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 0x14003ab35
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140041970
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
movzx eax, byte [0x1400ec188]
lea rdx, [rsp + 0x20]
movsd xmm0, qword [str.PDEWK]
xor al, 0x3d
movsd qword [rsp + 0x20], xmm0
mov rbx, rcx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
xor byte [rsp + 0x21], 0x36
xor byte [rsp + 0x22], 0x37
xor byte [rsp + 0x23], 0x38
xor byte [rsp + 0x24], 0x39
xor byte [rsp + 0x25], 0x3a
xor byte [rsp + 0x26], 0x3b
xor byte [rsp + 0x27], 0x3c
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], 0x65
call fcn.140052c20
mov rcx, rax
mov rdx, rbx
call fcn.140052c20
lea rdx, [0x140052e00]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140041a77
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140041a77
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140041a72
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140041a50
cmp r8d, 0x2fa62ca8
je 0x140041a7c
test r9d, r9d
jne 0x140041a30
mov rax, qword [rax]
jmp 0x140041a00
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov ecx, 0xbb8
add rax, r10
call rax
mov rbx, qword [rsp + 0x40]
mov qword [0], 1
add rsp, 0x30
pop rdi
ret