joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400077f0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x490], rbx
mov rax, qword [0x140070010]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov dword [rbp], 0x438
mov edx, dword [rcx + 0x10]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140007860
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x1400078da
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14000788b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140059140
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x1400078da
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x30]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x1400078dd
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x1400078ea
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140007902
inc rbx
test eax, eax
jne 0x1400078f0
test ecx, ecx
mov rcx, rsi
je 0x140007962
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140007851
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000795e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140007959
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400079d9
mov rcx, r8
call fcn.14005852c
xor eax, eax
jmp 0x1400079a5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov rbx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400079a2
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14000799d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400079d9
mov rcx, r8
call fcn.14005852c
mov rax, rbx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.140058090
mov rbx, qword [rbp + 0x490]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140007bb0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rdi
mov rax, qword [0x140070010]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov dword [rbp], 0x238
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140007c30
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x140007caa
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140007c5b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140059140
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x140007caa
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x2c]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x140007cad
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x140007cba
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140007cd2
inc rbx
test eax, eax
jne 0x140007cc0
test ecx, ecx
mov rcx, rsi
je 0x140007d32
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140007c20
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140007d2e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140007d29
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007db3
mov rcx, r8
call fcn.14005852c
xor eax, eax
jmp 0x140007d73
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov ebx, dword [rbp + 8]
cmp rdx, 0x10
jb 0x140007d71
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140007d6c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007db3
mov rcx, r8
call fcn.14005852c
mov eax, ebx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.140058090
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
lea rsp, [rbp + 0x250]
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000a9c0
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 0x14000aa1d
lea rbx, [0x14005efa0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000aa04
cmp r10, 2
jb 0x14000aa04
cmp byte [r9], r8b
jne 0x14000aa04
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 0x14000a9e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000aa5f
lea rbx, [0x14005efa0]
cmp r8b, 0x23
jne 0x14000aa43
cmp byte [r9], r8b
jne 0x14000aa43
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 0x14000aa30
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000aba0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000abba
mov qword [r8], 0
lea rdx, [0x140064590]
call fcn.14000aa70
mov rbx, rax
test rax, rax
jne 0x14000abda
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 0x14000acb1
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 0x14000acb1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000acb1
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 0x14000acb1
cmp rdi, 0xffffffffffffffff
je 0x14000acb1
mov rax, qword [0x140070dd0]
test rax, rax
je 0x14000ac4e
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 0x14000acb1
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 0x14000ac9e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140070dd0]
test rax, rax
je 0x14000ac93
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000acba
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000acac
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000acbc
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 0x14000e530
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x14005efa0]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f40], ebx
jne 0x14000e5c6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140022bc0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14000e5d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x14005efa0]
vmovss xmm3, dword [rcx + 0x110]
vmovss xmm4, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
vmovss xmm0, dword [rdx]
vmovss xmm2, dword [rdx + 4]
vsubss xmm1, xmm0, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
vmovss dword [rsp], xmm1
movzx eax, byte [rsp]
xor rcx, rax
movzx eax, byte [rsp + 1]
vmovss xmm1, dword [rdx + 8]
vsubss xmm0, xmm2, xmm4
vmovss dword [rsp + 4], xmm0
xor r8d, dword [r9 + rcx*4]
vmovss xmm0, dword [rdx + 0xc]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
vsubss xmm2, xmm1, xmm3
vmovss dword [rsp + 8], xmm2
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
vsubss xmm1, xmm0, xmm4
vmovss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x14001b4b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140070010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140070dd0]
mov edi, ecx
cmp byte [rbx + 0x4a9d], 0
jne 0x14001b511
cmp byte [rbx + 0x4a9e], 0
jne 0x14001b511
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14000a820
test dil, 1
je 0x14001b63f
jmp 0x14001b599
vmovss xmm1, dword [rbx + 0x389c]
vmovss xmm0, dword [0x140065760]
vfmadd213ss xmm0, xmm1, dword [rbx + 0xe0c]
vmovss xmm2, dword [0x140065780]
vfmadd213ss xmm2, xmm1, dword [rbx + 0xe08]
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
xor eax, eax
mov dword [rbx + 0x47d4], 1
vmovss dword [rbx + 0x47e0], xmm2
vmovss dword [rbx + 0x47e4], xmm0
mov qword [rbx + 0x47e8], rax
lea rcx, [rsp + 0x20]
vmovss xmm0, dword [rbx + 0x3904]
vmulss xmm1, xmm0, dword [0x140065604]
or dword [rbx + 0x47d0], 0x41
lea edx, [rax + 0x10]
vmovss dword [rbx + 0x4830], xmm1
call fcn.14000a820
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001b5f0
lea r11, [0x14005efa0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001b5d3
cmp byte [r8], r9b
jne 0x14001b5d3
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 0x14001b5c0
not ecx
call fcn.1400123d0
test rax, rax
je 0x14001b63f
cmp byte [rax + 0xb6], 0
je 0x14001b63f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bc2]
movsx r9d, word [rbx + 0x5bc2]
call fcn.14000a820
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140014ba0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140058090
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400214d0
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 + 0x5ca8], 0
lea rbx, [rcx + 0x5cb0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140021577
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002152a
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.1400238e0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000b410
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140070dc8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002157f
mov rcx, rbx
call fcn.14000b410
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400219f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140070dd0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140021a53
mov qword [rsp], rbx
lea rbx, [0x14005efa0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140021a33
cmp byte [r8], r9b
jne 0x140021a33
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 0x140021a20
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140021a87
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140021a8e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140021a74
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 0x140058d24
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140058d6e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140058d6e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140058d6e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140058d6e
cmp dword [rcx + 0x84], 0xe
jbe 0x140058d6e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140058d70
xor al, al
add rsp, 0x28
ret
Function at 0x1800045b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r15, dword [rcx + 0x3c]
xor r11d, r11d
mov rbp, rdx
mov rdi, rcx
mov ebx, dword [r15 + rcx + 0x88]
add rbx, rcx
mov r14d, dword [rbx + 0x24]
mov r10d, dword [rbx + 0x20]
add r14, rcx
add r10, rcx
cmp rdx, 0x10000
jae 0x180004624
mov r8d, dword [rbx + 0x10]
movzx edx, bp
cmp edx, r8d
jb 0x180004700
mov ecx, dword [rbx + 0x14]
add ecx, r8d
cmp edx, ecx
jae 0x180004700
mov ecx, dword [rbx + 0x1c]
sub edx, r8d
add rcx, rdi
mov r11, qword [rcx + rdx*8]
jmp 0x180004677
mov esi, dword [rbx + 0x18]
mov r9d, r11d
test esi, esi
je 0x18000467a
nop
mov r8d, dword [r10]
mov rax, rbp
add r8, rdi
sub r8, rbp
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180004653
inc rax
test ecx, ecx
jne 0x180004640
test edx, edx
je 0x180004665
inc r9d
add r10, 4
cmp r9d, esi
jb 0x180004630
jmp 0x18000467a
mov ecx, dword [rbx + 0x1c]
mov eax, r9d
add rcx, rdi
movzx edx, word [r14 + rax*2]
mov r11d, dword [rcx + rdx*4]
add r11, rdi
cmp r11, rbx
jb 0x1800046e4
mov eax, dword [r15 + rdi + 0x8c]
add rax, rbx
cmp r11, rax
jae 0x1800046e4
mov rcx, r11
call fcn.18005a81b
mov rbx, rax
test rax, rax
je 0x180004700
mov edx, 0x2e
mov rcx, rax
call fcn.180009b80
cmp qword [0x18005f1f8], 0
mov rdi, rax
mov byte [rax], 0
je 0x180004700
mov rcx, rbx
call qword [0x18005f1f8]
mov rcx, rbx
mov rsi, rax
call fcn.18005a821
test rsi, rsi
je 0x180004700
lea rdx, [rdi + 1]
mov rcx, rsi
call fcn.1800045b0
mov r11, rax
mov rax, r11
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
xor eax, eax
jmp 0x1800046e7
Function at 0x180005cf0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x180078068]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, rdx
mov qword [rsp + 0x30], rdx
mov rsi, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdx
xor edi, edi
mov dword [rsp + 0x28], edi
call fcn.180002f40
mov dword [rsp + 0x28], 1
mov ebp, edi
mov r15d, edi
mov rcx, r14
call fcn.180009ae0
mov r14, rax
test rax, rax
je 0x180005ef0
mov ebx, edi
jmp 0x180005d65
mov r15d, dword [rsp + 0x2c]
dec r14
movsxd rdx, r15d
mov rcx, qword [rsp + 0x30]
call fcn.180003cf0
movzx ecx, byte [rax]
mov byte [rsp + rbx + 0x20], cl
inc ebp
inc rbx
inc r15d
mov dword [rsp + 0x2c], r15d
movzx r13d, byte [rsp + 0x22]
movzx r15d, byte [rsp + 0x21]
movzx r12d, byte [rsp + 0x20]
cmp rbx, 3
jne 0x180005e1a
movzx eax, r12b
shr al, 2
mov byte [rsp + 0x24], al
movzx ecx, r12b
and cl, bl
shl cl, 4
movzx eax, r15b
shr al, 4
add cl, al
mov byte [rsp + 0x25], cl
movzx ecx, r15b
and cl, 0xf
shl cl, 2
movzx eax, r13b
shr al, 6
add cl, al
mov byte [rsp + 0x26], cl
movzx eax, r13b
and al, 0x3f
mov byte [rsp + 0x27], al
mov rbx, rdi
nop word [rax + rax]
movzx edx, byte [rsp + rbx + 0x24]
lea rcx, [0x1800789f8]
call fcn.180003cf0
movzx edx, byte [rax]
mov rcx, rsi
call fcn.180004030
inc rbx
cmp rbx, 4
jl 0x180005df0
mov ebp, edi
mov rbx, rdi
test r14, r14
jne 0x180005d60
test ebp, ebp
je 0x180005ef0
movsxd rax, ebp
cmp rax, 3
jge 0x180005e5a
jae 0x180005f22
mov byte [rsp + rax + 0x20], 0
inc rax
cmp rax, 3
jl 0x180005e34
movzx r13d, byte [rsp + 0x22]
movzx r15d, byte [rsp + 0x21]
movzx r12d, byte [rsp + 0x20]
movzx eax, r12b
shr al, 2
mov byte [rsp + 0x24], al
and r12b, 3
shl r12b, 4
movzx eax, r15b
shr al, 4
add r12b, al
mov byte [rsp + 0x25], r12b
and r15b, 0xf
shl r15b, 2
movzx eax, r13b
shr al, 6
add r15b, al
mov byte [rsp + 0x26], r15b
and r13b, 0x3f
mov byte [rsp + 0x27], r13b
lea eax, [rbp + 1]
movsxd rbx, eax
test eax, eax
jle 0x180005ed4
nop word [rax + rax]
movzx edx, byte [rsp + rdi + 0x24]
lea rcx, [0x1800789f8]
call fcn.180003cf0
movzx edx, byte [rax]
mov rcx, rsi
call fcn.180004030
inc rdi
cmp rdi, rbx
jl 0x180005eb0
cmp ebp, 3
jge 0x180005ef0
mov ebx, 3
sub ebx, ebp
mov dl, 0x3d
mov rcx, rsi
call fcn.180004030
sub rbx, 1
jne 0x180005ee0
mov rcx, qword [rsp + 0x30]
call fcn.180003900
mov rax, rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18005b110
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18005ae08
int3
Function at 0x180011d70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
add rcx, 0xc8
mov rbx, r8
mov rdi, rdx
call fcn.18001c7a0
xor ecx, ecx
mov rdx, rbx
sub rdx, rdi
test rbx, rbx
mov r8d, dword [rax]
cmove rdx, rcx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180012a30

Function at 0x1800129e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rcx
not r8d
test rdx, rdx
je 0x180012a1d
lea r10, [0x180060230]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9]
lea r9, [r9 + 1]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r10 + rcx*4]
sub rdx, 1
jne 0x180012a00
not r8d
mov eax, r8d
ret

Function at 0x180012a30
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 0x180012a8d
lea rbx, [0x180060230]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180012a74
cmp r10, 2
jb 0x180012a74
cmp byte [r9], r8b
jne 0x180012a74
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 0x180012a50
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180012acf
lea rbx, [0x180060230]
cmp r8b, 0x23
jne 0x180012ab3
cmp byte [r9], r8b
jne 0x180012ab3
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 0x180012aa0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180025d90
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov r10, rdx
movzx r9d, cx
mov eax, 0x5e6ea9af
shr ecx, 0x10
mul r8d
mov ebx, r8d
mov esi, r8d
shr edx, 0xb
imul eax, edx, 0x15b0
sub ebx, eax
test r8d, r8d
je 0x180025ece
mov qword [rsp + 0x20], rdi
xor edx, edx
cmp ebx, 7
jbe 0x180025e39
lea r8d, [rdx + 7]
movzx eax, byte [r10]
add edx, 8
add r9d, eax
add r8d, 8
movzx eax, byte [r10 + 1]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 2]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 3]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 4]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 5]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 6]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 7]
add ecx, r9d
add r9d, eax
add r10, 8
add ecx, r9d
cmp r8d, ebx
jb 0x180025dd2
xor r8d, r8d
xor r11d, r11d
cmp edx, ebx
jae 0x180025e96
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x180025e83
mov eax, ebx
sub eax, edx
sub eax, 2
shr eax, 1
inc eax
mov edi, eax
lea edx, [rdx + rax*2]
nop dword [rax]
movzx eax, byte [r10]
add r9d, eax
movzx eax, byte [r10 + 1]
add r8d, r9d
add r10, 2
add r9d, eax
add r11d, r9d
sub rdi, 1
jne 0x180025e60
cmp edx, ebx
jae 0x180025e90
movzx eax, byte [r10]
add r9d, eax
add ecx, r9d
inc r10
lea eax, [r11 + r8]
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
sub esi, ebx
mov ebx, 0x15b0
jne 0x180025dc7
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
shl ecx, 0x10
lea eax, [r9 + rcx]
pop rsi
ret

Function at 0x1800302c0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, edx
lea r8, str.SCROLLX
test eax, eax
lea rdx, str.SCROLLY
cmove rdx, r8
xor r8d, r8d
jmp fcn.180011d70
Function at 0x180056910
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov r9d, dword [rcx]
mov r10, rcx
movsx rax, dl
mov r8d, r9d
xor r8, rax
shr r9d, 8
movzx eax, r8b
lea r8, [0x18006a6f0]
xor r9d, dword [r8 + rax*4]
mov dword [rcx], r9d
movzx eax, r9b
add eax, dword [rcx + 4]
imul edx, eax, 0x8088405
inc edx
mov dword [rcx + 4], edx
mov ecx, dword [rcx + 8]
movzx eax, cl
shr rdx, 0x18
xor rdx, rax
shr ecx, 8
xor ecx, dword [r8 + rdx*4]
mov dword [r10 + 8], ecx
ret