joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800b3920
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rcx, qword [0x180cccd48]
call fcn.180002e70
mov qword [rsp + 0x30], rax
mov rcx, qword [0x180cccd48]
call fcn.180002e70
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x1800b397c
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rcx, qword [0x180cccd48]
call fcn.180002e70
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x1800b3a1c
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x68]
call fcn.18000cd70
mov rcx, qword [rsp + 0x40]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x1800b39de
inc rcx
test dl, dl
jne 0x1800b39cb
xor eax, eax
jmp 0x1800b39e3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1800b3a17
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [0x180cccd48]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov al, 1
jmp 0x1800b3a1e
jmp 0x1800b3972
xor al, al
add rsp, 0x58
ret

Function at 0x1800c31c0
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x50
syscall
ret

Function at 0x180e350ae
Capabilities:
Execute anti-debugging instructions

Disassembly:
push r15
cmovle r11w, cx
rdtsc
pushfq
add r11b, 0xb3
movsxd rdx, r13d
movabs rax, 0
stc
cmp bl, bl
push rax
and esi, r14d
bt si, 0x3d
mov esi, dword [rsp + 0x90]
xor esi, 0xd2833f3b
add r8b, cl
movsx rdx, r12w
not esi
xor esi, 0x80867889
bts rdx, r9
sal r8b, 0x14
sub esi, 0xb1b139be
xor r11w, r8w
movzx r11d, r15w
or dl, 0xb4
add rsi, rax
clc
cmp r15b, r11b
movabs rax, 0x100000000
lea rsi, [rsi + rax]
movzx r11d, si
mov r8, rsp
sal rbx, 0x37
lea r11, [r8 - 0x200]
shl r9w, 0x98
add edi, 0x5f201ba4
and r11, 0xfffffffffffffff0
mov rsp, r11
and r9, 0x64a32f83
movzx edx, sp
mov rbx, rsi
shrd dx, r13w, 5
movabs r9, 0
rcl dil, cl
sbb rdx, 0x5e3cf730
sub rbx, r9
shl edi, cl
test eax, r12d
btr di, 0x93
lea rdi, [0x180d39d92]
sub rsi, 4
mov edx, dword [rsi]
cmp r12b, 0x95
test rbp, rdx
cmc
xor edx, ebx
stc
rol edx, 2
cmc
neg edx
cmc
add edx, 0xd5382ea5
not edx
jmp 0x180dc61aa
push r12
jmp 0x180dd73c8
push rdi
ret
dec edx
stc
clc
not edx
cmc
jmp 0x180dd9976
push rdx
cqo
push rcx
not dl
push r9
movsx r9d, bp
movsx rdx, sp
setne dh
push r14
movzx r9d, cx
movsx r9w, r12b
movsx edx, r15w
push r8
cqo
push rsi
cmovne esi, r15d
cwd
cqo
push rax
movzx rdx, r9w
movzx r8w, r9b
mov sil, bl
push rbx
movsx r8w, dl
mov bl, 0x2d
rdtsc
push r11
cdq
movsxd rsi, r9d
movsx rax, bx
push rbp
mov dx, 0x4c30
movzx ebx, bp
push rdi
cwd
push r13
jmp 0x180d39cc6
push rbx
xor dword [rsp], edx
pop rbx
movsxd rdx, edx
add rdi, rdx
jmp 0x180d90651
push r10
jmp 0x180d61ee7
Function at 0x180001850
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x18004e010]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor edi, edi
lea rcx, [0x180041650]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x180001a28
lea rdx, str.D3D11CreateDeviceAndSwapChain
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x180001a28
mov dword [rsp + 0x48], edi
lea r9, [rsp + 0x48]
lea edx, [rdi + 0xb]
lea r8d, [rdi + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rbx], 0x48c48b48
mov dword [rbx + 4], 0x48085889
mov word [rbx + 8], 0x7089
mov byte [rbx + 0xa], 0x10
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x48]
lea edx, [rdi + 0xb]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop word [rax + rax]
lea rdx, [rsp + 0x20]
mov ecx, 3
call fcn.18003bfc0
test eax, eax
je 0x1800019fd
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov r8d, 0xf
lea rdx, str.Couldnt_render
lea rcx, [rsp + 0x50]
call fcn.180001df0
nop
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.180001c10
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.180001af0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x180001989
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001984
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800019ef
call fcn.18003ebf4
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
xor r9d, r9d
lea r8, str.Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1800018f0
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800019e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800019f6
call fcn.18003ebf4
jmp 0x1800018f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp dword [0x18004ebd8], 0
je 0x180001a28
mov rax, qword [0x18004ebd0]
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call fcn.18003d590
test eax, eax
jne 0x180001a28
lea edx, [rax + 1]
mov rcx, rbx
call fcn.18003d8f0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.18003eb90
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x180002550
Capabilities:
Log keystrokes via polling

Disassembly:
push r12
sub rsp, 0x30
movss xmm1, dword [0x18004738c]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov rbp, r9
mov qword [rsp + 0x50], rsi
mov rsi, r8
mov qword [rsp + 0x58], rdi
mov rdi, rdx
mov qword [rsp + 0x28], r14
mov r14, rcx
mov ecx, 0xb
call fcn.180012340
mov rbx, qword [0x18004eae8]
xor edx, edx
mov rcx, r14
mov rax, qword [rbx + 0x1a18]
mov byte [rax + 0x80], 1
mov r8, qword [rbx + 0x1a18]
movsxd rax, dword [r8 + 0xc0]
mov r8, qword [r8 + 0xc8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.180007590
cmp dword [rbx + 0x1a60], eax
jne 0x1800025d4
mov dword [rbx + 0x1a64], eax
cmp dword [rbx + 0x1a9c], eax
jne 0x1800025e3
mov byte [rbx + 0x1aa0], 1
cmp byte [rdi], 0
lea r12, [0x180000000]
mov ecx, eax
jne 0x180002626
call fcn.1800125a0
movsxd rcx, dword [rsi]
mov rdx, rbp
mov rcx, qword [r12 + rcx*8 + 0x41ed0]
call fcn.18002b190
test al, al
je 0x180002610
mov byte [rdi], 1
mov r9, qword [0x18004eae8]
mov rax, qword [r9 + 0x1a18]
dec dword [rax + 0xc0]
jmp 0x1800026a4
mov qword [rsp + 0x20], r15
call fcn.1800125a0
mov rdx, rbp
lea rcx, [0x180041a64]
call fcn.18002b190
mov rax, qword [0x18004eae8]
mov rcx, qword [rax + 0x1a18]
dec dword [rcx + 0xc0]
mov ecx, 0x3c
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rbx, [0x180041c30]
lea r15, [0x180041ec8]
nop dword [rax]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [rbx]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18000268f
mov eax, dword [rbx]
mov dword [rsi], eax
mov byte [rdi], 0
add rbx, 4
cmp rbx, r15
jne 0x180002670
mov r15, qword [rsp + 0x20]
mov r9, qword [0x18004eae8]
movss xmm1, dword [0x180047424]
xorps xmm0, xmm0
call fcn.180012ae0
mov r8, qword [r9 + 0x1a18]
mov rcx, r14
movss xmm0, dword [rbp + 4]
mulss xmm0, dword [0x1800472cc]
movss xmm4, dword [r8 + 0xd4]
subss xmm4, dword [r8 + 0x14]
addss xmm4, dword [r8 + 0x58]
mov byte [r8 + 0x80], 1
mov rax, qword [r9 + 0x1a18]
addss xmm4, xmm0
movss xmm0, dword [rax + 0xec]
movss xmm1, dword [rax + 0x14]
subss xmm1, dword [rax + 0x58]
addss xmm1, xmm4
maxss xmm0, xmm1
movss dword [rax + 0xd4], xmm1
movss dword [rax + 0xec], xmm0
call fcn.18002a870
mov rcx, qword [0x18004eae8]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
movsxd rax, dword [rcx + 0x1b40]
mov r8, qword [rcx + 0x1b48]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rdx, [rax + rax*2]
movsxd rax, dword [r8 + rdx*4 - 0xc]
lea rax, [rax + rax*2]
cmp dword [r12 + rax*4 + 0x42400], 8
mov r9d, dword [r12 + rax*4 + 0x42408]
jne 0x1800027b6
mov eax, dword [r12 + rax*4 + 0x42404]
cmp eax, 1
jne 0x180002797
mov eax, dword [r8 + rdx*4 - 8]
mov dword [r9 + rcx + 0x1558], eax
dec dword [rcx + 0x1b40]
add rsp, 0x30
pop r12
ret
cmp eax, 2
jne 0x1800027b6
mov eax, dword [r8 + rdx*4 - 8]
mov dword [r9 + rcx + 0x1558], eax
mov eax, dword [r8 + rdx*4 - 4]
mov dword [r9 + rcx + 0x155c], eax
dec dword [rcx + 0x1b40]
add rsp, 0x30
pop r12
ret
Function at 0x180005ad0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180005b06
xor eax, eax
lea r8, [0x1800059a0]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180005b06
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180007590
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 0x1800075ed
lea rbx, [0x180042520]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800075d4
cmp r10, 2
jb 0x1800075d4
cmp byte [r9], r8b
jne 0x1800075d4
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 0x1800075b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000762f
lea rbx, [0x180042520]
cmp r8b, 0x23
jne 0x180007613
cmp byte [r9], r8b
jne 0x180007613
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 0x180007600
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180007810
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18000782a
mov qword [r8], 0
lea rdx, [0x1800465d0]
call fcn.180007640
mov rbx, rax
test rax, rax
jne 0x18000784a
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 0x180007921
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 0x180007921
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180007921
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 0x180007921
cmp rdi, 0xffffffffffffffff
je 0x180007921
mov rax, qword [0x18004eae8]
test rax, rax
je 0x1800078be
inc dword [rax + 0x3bc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180007921
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 0x18000790e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18004eae8]
test rax, rax
je 0x180007903
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000792a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18000791c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18000792c
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 0x18000bd60
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor eax, eax
lea r8, [0x18004650d]
mov dword [rsp + 0x2c], eax
lea r11, [0x180042520]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov edx, r10d
mov r9b, 0x57
nop
cmp r9b, 0x23
jne 0x18000bdb3
cmp byte [r8], r9b
jne 0x18000bdb3
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 0x18000bda0
mov ecx, dword [rbx + 0x2f14]
lea rax, [0x1800180e0]
mov edi, dword [rbx + 0x2f10]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x180018190]
mov qword [rsp + 0x38], rax
lea rax, [0x180018270]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x18000beb5
inc edi
test ecx, ecx
je 0x18000be1f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18000be24
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x18000beb5
mov rax, qword [0x18004eae8]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x18000be48
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x2f18]
mov rsi, rax
test rdx, rdx
je 0x18000bea3
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 0x18000be9d
mov rax, qword [0x18004eae8]
test rax, rax
je 0x18000be9d
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
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 0x18000d240
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18000d290
lea r11, [0x180042520]
nop dword [rax]
cmp r9b, 0x23
jne 0x18000d273
cmp byte [r8], r9b
jne 0x18000d273
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18000d260
mov rcx, qword [0x18004eae8]
not eax
movsxd rdx, dword [rcx + 0x1a00]
mov r9, qword [rcx + 0x1a08]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x18000d2f1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18000d2e9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18000d2ec
mov rdx, r8
test rdx, rdx
jne 0x18000d2c0
cmp r9, r10
je 0x18000d300
cmp dword [r9], eax
jne 0x18000d300
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x1800125a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x18004eae8]
lea rdx, [0x180042520]
mov r8d, ecx
mov rsi, qword [rax + 0x1a18]
lea rbx, [rsi + 0xc0]
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rsi + 0xc4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x18001265f
lea ecx, [r9 + 1]
test r8d, r8d
je 0x18001264b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180012650
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180019490
movsxd rcx, dword [rbx]
mov rax, qword [rsi + 0xc8]
mov rsi, qword [rsp + 0x40]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800178d0
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 [0x18004eae8]
cmp byte [rbx + 0x2f30], 0
je 0x1800179bc
cmp qword [rbx + 0x2f38], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x2f40]
je 0x1800179a4
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x18001794b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1800192d0
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.180007fa0
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, [0x18004eac9]
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.180007fa0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x180017d40
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push r13
sub rsp, 0x38
mov r13, qword [0x18004eae8]
mov qword [rsp + 0x50], rbx
mov rbx, rdx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rdi
mov rdi, rcx
mov qword [rsp + 0x30], r12
test rdx, rdx
jne 0x180017d7e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x180017d75
test r13, r13
je 0x180017d8a
inc dword [r13 + 0x3bc]
lea rcx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x58], rax
mov rsi, rax
lea r12, [rax + rbx]
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
mov byte [r12], 0
xor edi, edi
mov rcx, rsi
cmp rsi, r12
jae 0x180017f53
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0xa
je 0x180017f97
cmp al, 0xd
je 0x180017f97
mov rbx, rcx
cmp rcx, r12
jae 0x180017e03
nop dword [rax + rax]
movzx eax, byte [rbx]
cmp al, 0xa
je 0x180017e03
cmp al, 0xd
je 0x180017e03
inc rbx
cmp rbx, r12
jb 0x180017df0
mov byte [rbx], 0
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x180017f37
cmp al, 0x5b
jne 0x180017f1e
cmp rbx, rcx
jbe 0x180017f1e
cmp byte [rbx - 1], 0x5d
lea rsi, [rbx - 1]
jne 0x180017f1e
lea r14, [rcx + 1]
mov byte [rsi], 0
mov r8, rsi
mov rcx, r14
sub r8, r14
mov edx, 0x5d
call sub.VCRUNTIME140.dll_memchr
mov r15, rax
test rax, rax
je 0x180017f37
lea rcx, [rax + 1]
mov edx, 0x5b
sub rsi, rcx
mov r8, rsi
call sub.VCRUNTIME140.dll_memchr
mov r11, rax
test rax, rax
je 0x180017f37
mov r10, qword [0x18004eae8]
lea r8, [r14 + 1]
mov byte [r15], 0
mov esi, 0xffffffff
movzx r9d, byte [r14]
mov ecx, esi
test r9b, r9b
je 0x180017eca
cmp r9b, 0x23
jne 0x180017ea7
cmp byte [r8], r9b
jne 0x180017ea7
cmp byte [r8 + 1], r9b
cmove ecx, esi
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
lea rax, [0x180042520]
inc r8
xor ecx, dword [rax + rdx*4]
test r9b, r9b
jne 0x180017e95
mov r8d, dword [r10 + 0x2f10]
xor eax, eax
not ecx
test r8d, r8d
jle 0x180017ef4
mov r9, qword [r10 + 0x2f18]
lea rdx, [r9 + 8]
cmp dword [rdx], ecx
je 0x180017efa
inc eax
add rdx, 0x30
cmp eax, r8d
jl 0x180017ee5
xor edi, edi
xor ebp, ebp
jmp 0x180017f37
cdqe
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, r9
je 0x180017ef6
mov rax, qword [rdi + 0x10]
lea r8, [r11 + 1]
mov rdx, rdi
mov rcx, r13
call rax
mov rbp, rax
jmp 0x180017f37
test rdi, rdi
je 0x180017f37
test rbp, rbp
je 0x180017f37
mov r9, rcx
mov r8, rbp
mov rcx, r13
mov rdx, rdi
call qword [rdi + 0x18]
lea rcx, [rbx + 1]
cmp rcx, r12
jb 0x180017dd0
mov rsi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
test rsi, rsi
je 0x180017f7e
mov rax, qword [0x18004eae8]
test rax, rax
je 0x180017f7e
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [r13 + 0x2ef4], 1
add rsp, 0x38
pop r13
pop rsi
ret
inc rcx
jmp 0x180017dd0
Function at 0x180017fa0
Capabilities:
Write file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov rbx, qword [0x18004eae8]
xor r15d, r15d
mov r14, rcx
mov dword [rbx + 0x2ef8], r15d
test rcx, rcx
je 0x1800180cb
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
lea rdi, [rbx + 0x2f00]
mov dword [rbx + 0x2ef8], r15d
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x180018004
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.1800192d0
mov dword [rdi], r15d
cmp dword [rdi + 4], r15d
jne 0x18001801a
mov edx, 8
mov rcx, rdi
call fcn.1800192d0
movsxd rcx, dword [rdi]
mov ebp, r15d
mov rax, qword [rdi + 8]
mov byte [rcx + rax], r15b
inc dword [rdi]
cmp dword [rbx + 0x2f10], r15d
jle 0x180018065
mov rsi, r15
nop word [rax + rax]
mov r9, qword [rbx + 0x2f18]
mov r8, rdi
add r9, rsi
mov rcx, rbx
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add rsi, 0x30
cmp ebp, dword [rbx + 0x2f10]
jl 0x180018040
mov eax, dword [rdi]
lea rdx, [0x1800465d4]
test eax, eax
lea rdi, [0x18004eac9]
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x2f08]
cmove ecx, r15d
test rax, rax
movsxd rsi, ecx
mov rcx, r14
cmovne rdi, rax
call fcn.180007640
mov rbp, qword [rsp + 0x40]
mov rbx, rax
test rax, rax
je 0x1800180c1
mov r9, rax
mov r8, rsi
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 rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x180023490
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x180023621
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 0x180023500
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.180022eb0
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.180022510
mov dword [rbx + 0x80], 0
jmp 0x18002360d
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.1800213d0
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