joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400981f0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x140098398
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x140098255
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x140098255
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x140098255
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14009828c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1400982e2
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400982e2
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400982e2
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400982e2
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400982e2
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.140097ca0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x140098344
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140074420
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.140098070
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140098390
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140074420
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140099b00
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400d5080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140099b95
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140099bf6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140074420
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400acc60
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140099cb1
sub ecx, 1
je 0x140099d24
sub ecx, 1
je 0x140099c60
cmp ecx, 1
je 0x140099c43
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400c520c]
call fcn.140074420
jmp 0x140099d24
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140099830
test eax, eax
je 0x140099d24
jmp 0x140099bca
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140099d24
sub rax, rsi
cmp rax, rbp
jae 0x140099d24
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400745a0
jmp 0x140099d24
cmp r8d, 4
jle 0x140099d24
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140099d24
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140074340
mov esi, eax
test eax, eax
je 0x140099d03
mov edx, 5
mov rcx, rbx
call fcn.14009a7f0
mov eax, esi
jmp 0x140099bca
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140082c20
mov rcx, r14
call fcn.140082f00
test eax, eax
je 0x140099bc8
mov edx, 5
mov rcx, rbx
call fcn.14009a7f0
mov eax, Ordinal_45
jmp 0x140099bca
Function at 0x1400acac0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400acb02
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400acb49
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400acba2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400acb60
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400acbe3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400bf2f2]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400bf2f3]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400acbb0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400add6c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400addb6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400addb6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400addb6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400addb6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400addb6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400addb8
xor al, al
add rsp, 0x28
ret
Function at 0x1400410a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14002a5f0
sub rsp, rax
mov rax, qword [0x140086e08]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14004cb64
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400410ef
mov rax, rbp
jmp 0x1400411f7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x91230]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14004fe28
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x91230]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400411f3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400411f3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14004fe28
test rax, rax
js 0x1400411f3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400411f3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400411e5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400411e5
cmp byte [rcx], 0xd
jne 0x1400411cb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400411da
cmp byte [rcx + 1], 0xa
jne 0x1400411da
inc rcx
jmp 0x1400411da
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x87450]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400411ad
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400411f7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14002a660
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140045068
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140044e58
Function at 0x18000942c
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
sub rsp, 0x30
lea rax, [r11 + 0x10]
mov qword [r11 - 0x18], rax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r9, qword [rcx + 0x10]
mov r8, qword [r9 + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r10d, dword [rax + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x1800094c1
xor r11d, r11d
cmp dword [r10 + 0x18], r11d
jbe 0x1800094c1
mov ecx, dword [r10 + 0x20]
add rcx, r8
mov edx, dword [rcx]
mov ebx, 0x811c9dc5
add rdx, r8
mov al, byte [rdx]
inc rdx
test al, al
je 0x1800094b4
movsx eax, al
xor eax, ebx
imul ebx, eax, 0x1000193
mov al, byte [rdx]
inc rdx
test al, al
jne 0x180009498
cmp ebx, 0xaf07e45d
je 0x1800094c6
inc r11d
add rcx, 4
cmp r11d, dword [r10 + 0x18]
jb 0x180009485
mov r9, qword [r9]
jmp 0x18000945d
mov eax, dword [r10 + 0x24]
mov ecx, dword [r10 + 0x1c]
add rax, r8
mov r9, qword [rsp + 0x20]
add rcx, r8
movzx edx, word [rax + r11*2]
mov r10d, dword [rcx + rdx*4]
mov edx, 0x200
add r10, r8
lea rcx, [0x1802a0210]
mov r8, qword [rsp + 0x40]
call r10
lea rax, [0x1802a0210]
add rsp, 0x30
pop rbx
ret

Function at 0x180009f44
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
test rcx, rcx
jne 0x180009f51
xor eax, eax
jmp 0x180009fb9
mov rax, qword [rcx]
test rax, rax
je 0x180009fb9
mov r9, qword [rax + 0x10]
test r9, r9
jne 0x180009f66
xor eax, eax
jmp 0x180009fb9
mov r10, r9
mov qword [rsp + 8], r9
or edx, 0xffffffff
xor r8d, r8d
mov dword [rsp], r8d
mov ecx, edx
or rax, 0xffffffffffffffff
inc rax
cmp byte [r9 + rax], 0
jne 0x180009f7e
cmp r8d, eax
jae 0x180009fb1
movsx eax, byte [r10]
xor rax, rcx
movzx ecx, al
lea rax, [0x1802193a0]
shr edx, 8
xor edx, dword [rax + rcx*4]
inc r10
mov qword [rsp + 8], r10
inc r8d
jmp 0x180009f74
not edx
mov eax, edx
jmp 0x180009fb9
add rsp, 0x18
ret
Function at 0x180012d3c
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x28
cmp byte [0x18029f84c], 0
jne 0x180012d96
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
mov byte [0x18029f84c], 1
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm0, qword [rsp + 0x38]
cvtsi2ss xmm1, qword [rsp + 0x30]
movss dword [0x18029fac8], xmm0
movss dword [0x18029f8cc], xmm1
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x30]
subss xmm0, dword [0x18029f8cc]
divss xmm0, dword [0x18029fac8]
add rsp, 0x28
ret
Function at 0x1800177bc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180017833
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x180017833
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x180017820
cmp rbx, rcx
jae 0x180017833
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x18001780b
cmp rbx, rcx
jae 0x180017833
movzx eax, word [rbx]
neg ax
sbb rax, rax
and rax, rbx
jmp 0x180017835
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180017d24
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x70
movaps xmmword [rax - 0x18], xmm6
lea rcx, [rax + 8]
movaps xmmword [rax - 0x28], xmm7
movss xmm7, dword [0x18029c1b4]
addss xmm7, dword [0x1802803b8]
movaps xmmword [rax - 0x38], xmm8
movss xmm8, dword [0x18029c1c4]
addss xmm8, dword [0x1802803b8]
call qword [sym.imp.USER32.dll_GetCursorPos]
xor ebx, ebx
test eax, eax
je 0x180017e13
movd xmm1, dword [rsp + 0x80]
movaps xmm0, xmm7
movss xmm6, dword [0x18028040c]
cvtdq2ps xmm1, xmm1
subss xmm0, xmm6
comiss xmm1, xmm0
jb 0x180017e1b
movaps xmm0, xmm7
addss xmm0, xmm6
comiss xmm1, xmm0
ja 0x180017e1b
movd xmm1, dword [rsp + 0x84]
movaps xmm0, xmm8
cvtdq2ps xmm1, xmm1
subss xmm0, xmm6
comiss xmm1, xmm0
jb 0x180017e1b
movaps xmm0, xmm8
addss xmm0, xmm6
comiss xmm1, xmm0
ja 0x180017e1b
lea ecx, [rbx + 1]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180017e13
cmp byte [0x18029f866], bl
je 0x180017e13
movd xmm0, dword [rsp + 0x80]
movd xmm1, dword [rsp + 0x84]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
subss xmm0, dword [0x1802803b8]
subss xmm1, dword [0x1802803b8]
movss dword [0x18029c1b4], xmm0
movss dword [0x18029c1c4], xmm1
movss xmm6, dword [0x18028040c]
movaps xmm0, xmmword [0x180280b10]
lea rcx, [rsp + 0x30]
movq qword [rsp + 0x30], xmm0
psrldq xmm0, 8
movq qword [rsp + 0x38], xmm0
movss dword [rsp + 0x88], xmm7
movss dword [rsp + 0x8c], xmm8
call fcn.180042878
mov rcx, qword [0x1802a07a8]
lea rdx, [rsp + 0x88]
mov r9d, eax
mov dword [rsp + 0x20], ebx
movaps xmm2, xmm6
call fcn.180059ad0
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x40]
add rsp, 0x70
pop rbx
ret
Function at 0x180036dd4
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x180036e9a
and dword [rsp + 0x48], 0
lea r9d, [rdx + 3]
lea r8d, [rdx + 0x3f]
mov rdx, rcx
lea rax, [rsp + 0x48]
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x180036e20
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
test rbx, rbx
je 0x180036e5c
lea rax, [rsp + 0x48]
mov r9d, 4
mov r8d, 0x108
mov qword [rsp + 0x20], rax
mov rdx, rbx
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x180036e5c
xor edx, edx
mov r8d, 0x108
mov rcx, rbx
call fcn.1800e2d40
and qword [rsp + 0x28], 0
lea r8, [0x180036704]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
and qword [rsp + 0x28], 0
lea r8, [0x180026bf8]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
add rsp, 0x30
pop rbx
ret

Function at 0x180037220
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x18003724e
xor eax, eax
jmp 0x180037334
cmp qword [rcx + 0x68], 0
je 0x18003725f
call fcn.180038354
jmp 0x180037334
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180037276
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180037278
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800372aa
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1800e2690
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x18003732e
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1800372e1
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x18003730a
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1800efe9c
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x18003732e
cmp rsi, rbx
ja 0x1800372e8
test rsi, rsi
je 0x18003732e
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1800efe9c
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18003cccc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 2]
call fcn.1800e9a14
test eax, eax
jne 0x18003cd6d
mov rcx, rsi
call fcn.1800e84f4
movsxd rbx, eax
test eax, eax
js 0x18003cd6d
jne 0x18003cd05
xor eax, eax
jmp 0x18003cd72
lea eax, [rbx + 1]
movsxd rcx, eax
lea rdx, [0x180133bc0]
call fcn.1800df860
mov rdi, rax
test rax, rax
jne 0x18003cd24
lea eax, [rdi - 2]
jmp 0x18003cd72
xor r8d, r8d
mov byte [rbx + rax], 0
xor edx, edx
mov rcx, rsi
call fcn.1800e9a14
mov r9, rsi
mov r8, rbx
mov edx, 1
mov rcx, rdi
call fcn.1800efe9c
cmp rax, rbx
je 0x18003cd54
mov ebx, 0xfffffffd
jmp 0x18003cd61
mov r8, rax
mov rdx, rdi
call fcn.18003eb50
mov ebx, eax
mov rcx, rdi
call fcn.1800df824
mov eax, ebx
jmp 0x18003cd72
mov eax, 0xfffffffd
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18004208c
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x1800420e6
mov r11b, 0x23
lea rdi, [0x180276440]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x1800420d0
cmp rdx, 2
jb 0x1800420d0
cmp byte [r10], r11b
jne 0x1800420d0
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x1800420ae
jmp 0x180042127
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x180042127
mov r11b, 0x23
lea rdi, [0x180276440]
cmp dl, r11b
jne 0x18004210b
cmp byte [r10], r11b
jne 0x18004210b
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x1800420f9
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x180042258
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x180042278
and qword [r8], 0
lea rdx, [0x18027e030]
call fcn.180042138
mov rbx, rax
test rax, rax
je 0x18004235f
mov rcx, rax
call fcn.1800e84f4
mov ebp, eax
cmp eax, 0xffffffff
je 0x180042357
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1800e9a14
test eax, eax
jne 0x180042357
mov rcx, rbx
call fcn.1800e84f4
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180042357
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.1800e9a14
test eax, eax
jne 0x180042357
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x180042357
mov rax, qword [0x18029faf0]
test rax, rax
je 0x1800422f9
inc dword [rax + 0xf4]
mov rcx, rbp
call fcn.1800f015c
mov rdi, rax
test rax, rax
je 0x180042357
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call fcn.1800efe9c
mov rcx, rbx
cmp rax, rbp
je 0x180042345
call fcn.1800e9414
mov rax, qword [0x18029faf0]
test rax, rax
je 0x18004233b
dec dword [rax + 0xf4]
mov rcx, rdi
call fcn.1800ef994
jmp 0x18004235f
call fcn.1800e9414
test rsi, rsi
je 0x180042352
mov qword [rsi], rbp
mov rax, rdi
jmp 0x180042361
mov rcx, rbx
call fcn.1800e9414
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov r9d, 8
mov rax, qword [rcx + 0xd8]
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x180276440]
xor ebx, dword [rax + rcx*4]
sub r9, 1
jne 0x180044096
mov rcx, qword [0x18029faf0]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x1800440d5
mov r8, rdx
mov ecx, ebx
lea edx, [r9 + 0xc]
call fcn.1800549f8
mov eax, ebx
add rsp, 0x20
pop rbx
ret

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

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov r10d, 4
mov rax, qword [rcx + 0xd8]
mov r9d, r10d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x180276440]
xor ebx, dword [rax + rcx*4]
sub r9, 1
jne 0x18004410c
mov rcx, qword [0x18029faf0]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x18004414a
movsxd r8, edx
mov ecx, ebx
mov edx, r10d
call fcn.1800549f8
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180044154
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm2, dword [rcx + 0xf0]
lea r9, [rsp]
movss xmm3, dword [rcx + 0xf4]
mov r10d, 0x10
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xd8]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xd0]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x180276440]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x1800441c2
not r8d
mov eax, r8d
add rsp, 0x18
ret