joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006270
Capabilities:
Create directory
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x390
mov rax, qword [0x140030008]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.140011b90
lea rax, str.Diagnostics.txt
mov r9, rdi
lea r8, [0x14002b2e0]
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.140004200
xor ebx, ebx
lea rcx, str.C:Windows_system32_rdpnnp.xml
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x140006411
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x48], rbx
lea r8, [rsp + 0x48]
mov dword [rsp + 0x40], ebx
mov edx, 0x153
call fcn.140003af0
test al, al
je 0x140006411
mov rbx, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
mov rdx, rbx
call fcn.140003d80
test al, al
je 0x140006411
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400040a0
test al, al
je 0x140006411
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor edx, edx
lea rcx, [rsp + 0x160]
mov r8d, 0x104
call fcn.140011b90
xor edx, edx
lea rcx, [rsp + 0x270]
mov r8d, 0x104
call fcn.140011b90
mov r9, rdi
lea r8, str._sx86.dll
mov edx, 0x104
lea rcx, [rsp + 0x160]
call fcn.140004200
mov r9, rdi
lea r8, str._sx64.dll
mov edx, 0x104
lea rcx, [rsp + 0x270]
call fcn.140004200
lea r8, [rsp + 0x160]
mov edx, 0x1a7
call fcn.140006440
test al, al
je 0x140006411
lea r8, [rsp + 0x270]
mov edx, 0x1ac
call fcn.140006440
test al, al
setne al
jmp 0x140006413
xor al, al
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.14000e940
mov rbx, qword [rsp + 0x3a8]
add rsp, 0x390
pop rdi
ret
Function at 0x140036631
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140085310
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400dd033]
call fcn.140038585
mov qword [rbp + 8], 0
jmp 0x14008534e
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x1400853a4
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x140085343
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400374e1
Capabilities:
Terminate process

Disassembly:
jmp 0x14009c8e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140037a09
Capabilities:
Parse pe header

Disassembly:
jmp 0x14009d410
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14009d430
xor al, al
jmp 0x14009d4b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14009d443
xor al, al
jmp 0x14009d4b1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14009d46d
xor al, al
jmp 0x14009d4b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14009d481
xor al, al
jmp 0x14009d4b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14009d493
xor al, al
jmp 0x14009d4b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14009d4af
xor al, al
jmp 0x14009d4b1
mov al, 1
add rsp, 0x38
ret
Function at 0x180004990
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 0x1800049ed
lea rbx, [0x1800dd330]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800049d4
cmp r10, 2
jb 0x1800049d4
cmp byte [r9], r8b
jne 0x1800049d4
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 0x1800049b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180004a2f
lea rbx, [0x1800dd330]
cmp r8b, 0x23
jne 0x180004a13
cmp byte [r9], r8b
jne 0x180004a13
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 0x180004a00
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180004b70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180004b8a
mov qword [r8], 0
lea rdx, [0x1800dc5a8]
call fcn.180004a40
mov rbx, rax
test rax, rax
jne 0x180004baa
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 0x180004c81
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 0x180004c81
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180004c81
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 0x180004c81
cmp rdi, 0xffffffffffffffff
je 0x180004c81
mov rax, qword [0x1800f85c0]
test rax, rax
je 0x180004c1e
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 0x180004c81
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 0x180004c6e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800f85c0]
test rax, rax
je 0x180004c63
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180004c8a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180004c7c
mov qword [r14], rdi
mov rax, rsi
jmp 0x180004c8c
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 0x180008e70
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x128]
lea r11, [0x1800dd330]
mov rax, qword [rcx + 0x130]
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 + 0x4068], ebx
jne 0x180008f06
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.18002ab50
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180008f10
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x130]
lea r9, [0x1800dd330]
movss xmm2, dword [rcx + 0x148]
movss xmm3, dword [rcx + 0x14c]
movsxd rcx, dword [rcx + 0x128]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
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 0x18000d3c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x1800f85c0]
movzx esi, r9b
mov r12d, dword [rsp + 0x90]
mov r15d, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x4020]
mov eax, dword [rbx + 0x14]
movss xmm3, dword [rbx + 0x288]
and eax, 4
movss xmm5, dword [rbx + 0x28c]
or eax, 0x1200103
or r12d, eax
cmp qword [rbx + 0x1e0], 0
jne 0x18000d42a
cmp qword [rdi + 0x4d08], 0
je 0x18000d432
movss xmm3, dword [rbx + 0x258]
cvttss2si eax, dword [r8]
subss xmm3, dword [rbx + 0x138]
subss xmm5, dword [rbx + 0x13c]
xorps xmm4, xmm4
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm4
cvtdq2ps xmm0, xmm0
jp 0x18000d46c
jne 0x18000d46c
mov eax, 1
jmp 0x18000d46e
xor eax, eax
ucomiss xmm0, xmm4
jp 0x18000d47d
jne 0x18000d47d
mov r14d, 2
jmp 0x18000d480
xor r14d, r14d
movss xmm2, dword [0x1800e3f7c]
or r14d, eax
comiss xmm4, xmm1
jb 0x18000d49c
addss xmm1, xmm3
comiss xmm1, xmm2
jae 0x18000d49c
movaps xmm1, xmm2
comiss xmm4, xmm0
jb 0x18000d4ad
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x18000d4ad
movaps xmm0, xmm2
or dword [rdi + 0x4900], 2
xor edx, edx
movss dword [rdi + 0x4924], xmm1
movss dword [rdi + 0x4928], xmm0
mov dword [rdi + 0x4908], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x18000d4f6
mov dword [rsp + 0x28], r15d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.180004870
jmp 0x18000d50c
lea r8, str._s__08X
mov dword [rsp + 0x20], r15d
lea rcx, [rsp + 0x70]
call fcn.180004870
movss xmm6, dword [rdi + 0x3908]
test sil, sil
jne 0x18000d523
mov dword [rdi + 0x3908], 0
mov rcx, qword [rsp + 0x70]
mov r8d, r12d
xor edx, edx
call fcn.1800106c0
mov rsi, qword [rdi + 0x4020]
movzx ebp, al
movss dword [rdi + 0x3908], xmm6
cmp word [rsi + 0xf8], 1
mov dword [rsi + 0xb4], r15d
mov byte [rsi + 0x10a], r14b
jne 0x18000d569
movsd xmm0, qword [rsi + 0x50]
movsd qword [rbx + 0x138], xmm0
mov r9d, r15d
lea rdx, [0x1800db9c1]
not r9d
lea r10, [0x1800dd330]
mov ebx, r9d
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x18000d596
cmp byte [rdx], r8b
jne 0x18000d596
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x18000d583
not ebx
cmp dword [rdi + 0x4080], ebx
jne 0x18000d5c6
xor edx, edx
xor ecx, ecx
call fcn.1800090d0
cmp dword [rdi + 0x4aa0], r15d
jne 0x18000d613
bt r12d, 0x17
jb 0x18000d613
cmp word [rsi + 0x194], 0
jne 0x18000d5e9
cmp byte [rsi + 0x19a], 0
je 0x18000d613
xor edx, edx
mov rcx, rsi
call fcn.180013990
xor edx, edx
mov rcx, rsi
call fcn.18001a170
mov rdx, rsi
mov ecx, ebx
call fcn.1800090d0
mov eax, dword [rdi + 0x4ac4]
mov dword [rdi + 0x40a8], eax
mov rbx, qword [rsp + 0x78]
movzx eax, bpl
mov rbp, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x180017d80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800f7080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1800f85c0]
mov edi, ecx
cmp byte [rbx + 0x4c51], 0
jne 0x180017de1
cmp byte [rbx + 0x4c52], 0
jne 0x180017de1
movsx r9d, word [rbx + 0x5d82]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1800047f0
test dil, 2
je 0x180017f10
jmp 0x180017e71
movss xmm1, dword [rbx + 0x39a4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5d82]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1800e3fd8]
mulss xmm1, dword [0x1800e3fc4]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x491c], rax
mov dword [rbx + 0x4904], 1
movss dword [rbx + 0x4914], xmm0
mov byte [rbx + 0x493c], 1
movss dword [rbx + 0x4918], xmm1
movss xmm0, dword [rbx + 0x3a10]
mulss xmm0, dword [0x1800e3ef0]
or dword [rbx + 0x4900], 0x41
movss dword [rbx + 0x4960], xmm0
call fcn.1800047f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180017ec1
lea r11, [0x1800dd330]
cmp r9b, 0x23
jne 0x180017ea4
cmp byte [r8], r9b
jne 0x180017ea4
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 0x180017e91
not ecx
call fcn.18000d940
test rax, rax
je 0x180017f10
cmp byte [rax + 0xeb], 0
je 0x180017f10
mov byte [rax + 0xf0], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0x110], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5d82]
movsx r9d, word [rbx + 0x5d82]
call fcn.1800047f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.1800106c0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800c7740
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18001ded0
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 + 0x5ec0], 0
lea rbx, [rcx + 0x5ec8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001df77
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001df2a
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.18002bec0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180005560
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ec0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5ed0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1800f85b8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001df7f
mov rcx, rbx
call fcn.180005560
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18001e2d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800f85c0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001e333
mov qword [rsp], rbx
lea rbx, [0x1800dd330]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001e313
cmp byte [r8], r9b
jne 0x18001e313
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 0x18001e300
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5e28]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x18001e367
mov r10, qword [r10 + 0x5e30]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18001e36e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x18001e354
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 0x180022040
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x18002228e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1800f7080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1800dd330]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x180022256
mov rcx, rbp
call fcn.180021670
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x180022111
movsxd rdx, dword [rbp + 0x5dd0]
mov r8, qword [rbp + 0x5dd8]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x180022101
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x1800220f9
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x1800220fc
mov rdx, rcx
test rdx, rdx
jne 0x1800220d0
cmp r8, r10
je 0x180022111
cmp dword [r8], r9d
jne 0x180022111
mov rcx, qword [r8 + 8]
jmp 0x180022113
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xc8]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xc8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x1800221a7
cmp qword [rcx + 0x20], 0
jne 0x18002219c
mov qword [rcx + 0x20], rbx
jmp 0x1800221a7
cmp qword [rcx + 0x28], 0
jne 0x1800221a7
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xbc], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 6]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x1800221ec
nop word [rax + rax]
mov r9, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x1800221e0
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x20]
call fcn.1800047f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x180022248
cmp r9b, 0x23
jne 0x18002222b
cmp byte [r8], r9b
jne 0x18002222b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x180022218
not ecx
call fcn.18000d940
mov qword [rbx + 0x88], rax
add rdi, 0x24
sub rsi, 1
jne 0x180022090
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800c7740
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x180029e20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x180029e6d
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x180029e72
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x180029e9d
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x180029e9d
mov rax, qword [rax + 0x3a8]
test rax, rax
je 0x180029e9d
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x28], eax
jmp 0x180029ea2
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x180029ebc
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x180029ec1
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], sil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x180029f43
inc ecx
test r8d, r8d
je 0x180029f2e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180029f33
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.18002b790
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x180029f82
lea r8d, [rsi + 1]
mov rcx, rbp
call fcn.180029e20
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x180029f92
inc esi
jmp 0x180029e50
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret