joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ea970
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1400ea98c
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400ea9e0
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400eab05
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x1400eab05
test rax, rax
je 0x1400eab05
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x1400eab05
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x1400eaa7a
lea rax, [0x1400eab60]
jmp 0x1400eaad3
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x1400eab05
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400eaaf3
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1400eaaa0
lea rax, [0x1400eab30]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x1400eab1a
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x1400f2000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.1400e0e80
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x1400f2056
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x1400f20ad
mov ebp, 0x4b0000
jmp 0x1400f20bb
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.1400e32c0
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x1400f20d1
mov eax, r12d
jmp 0x1400f20da
mov edx, edi
mov ecx, ebp
call fcn.1400e32c0
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x1400f20f6
shl esi, 0x10
mov ecx, esi
jmp 0x1400f21e5
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x1400f2154
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.1400e0e80
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x1400f2144
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.1400e3190
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.1400e0e80
add ebx, eax
jmp 0x1400f21ee
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x1400f2161
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x1400f21a0
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.1400e0e80
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x1400f21a5
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.1400e3190
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.1400e0e80
add ebx, eax
jmp 0x1400f21ee
cmp eax, r12d
jge 0x1400f21de
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.1400e0e80
sub ebp, eax
sub r15d, esi
je 0x1400f21de
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.1400e3190
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.1400e0e80
add ebx, eax
jmp 0x1400f21ee
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.1400e0e80
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.1400e0e80
Function at 0x14013e240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x140a7c340]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x14013e3dc
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x14013e3dc
cmp r10d, r14d
jne 0x14013e2e0
sub rbx, 0x10
jmp 0x14013e424
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x14013e352
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x14013e314
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x14013e31c
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x14013e33b
movzx edx, r11b
mov rcx, rsi
call fcn.14013f3f0
test al, al
jne 0x14013e435
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.14013fa60
test al, al
jne 0x14013e435
mov edx, dword [rsi + 0x64]
lea r9, [0x14013fdc0]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x14013e37e
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.14013e0c0
jmp 0x14013e3d2
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.14013e0c0
test dil, dil
je 0x14013e3ca
cmp byte [rsi + 0x6a], 0
jne 0x14013e3ca
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x14013e435
sub rbx, 0x10
jmp 0x14013e424
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x14013e439
mov ebp, dword [rbx]
jmp 0x14013e2a0
mov al, 1
jmp 0x14013e442
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401494c0
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x140145460
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x14014546b
xor eax, eax
ret
lea r11, [0x1401937d0]
not ecx
cmp r8d, 8
jb 0x140145541
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x140145490
test r8d, r8d
je 0x14014556d
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x140145550
not ecx
mov eax, ecx
ret
Function at 0x14014a164
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001780
lea rdx, [0x140001940]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, str.net_session
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
add rsp, 0x28
jmp qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
Function at 0x14006adb0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14006adbd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14006adcd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14006adb5
lea eax, [rcx + 1]
jmp 0x14006addb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14006adee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14006add4
sub eax, 3
jb 0x14006ae0e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14006ae5d
sar eax, 1
movsxd rbp, eax
jb 0x14006ae44
jmp 0x14006ae1c
add ebx, ebx
jne 0x14006ae1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14006ae44
inc ecx
add ebx, ebx
jne 0x14006ae2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14006ae44
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14006ae3d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14006ae2c
add ecx, 2
jmp 0x14006ae49
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14006ad72
jmp 0x14006adbd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x4e200
mov dl, 0xd
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14006aead
cmp rsi, rcx
jae 0x14006aeb5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14006ae94
cmp al, 0x8f
ja 0x14006ae94
cmp byte [rsi - 2], 0xf
je 0x14006ae9a
sub al, 0xe8
cmp al, 1
ja 0x14006ae7e
cmp rsi, rcx
jae 0x14006aeb5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14006ae84
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14006aeb5
lodsb al, byte [rsi]
jmp 0x14006ae94
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x68000]
mov eax, dword [rdi]
or eax, eax
je 0x14006af12
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x6b000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14006aec2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14006af0c
mov qword [rbx], rax
add rbx, 8
jmp 0x14006aee2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14006af4c
cmp al, 0xef
ja 0x14006af3e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14006af1e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14006af2d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.14006afcb], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14006afcb
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14006afbb
sub rsp, 0xffffffffffffff80
jmp 0x140001125
Function at 0x140001f90
Capabilities:
Encode data using xor
Execute command

Disassembly:
sub rsp, 0xf8
lea rcx, str.GWN_IOU_S_ao___j
movups xmm0, xmmword [rcx]
mov eax, dword [rcx + 0xa0]
lea rdx, [rsp + 0x30]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmm1, xmmword [rcx + 0x80]
movups xmmword [rdx + 0x60], xmm0
movups xmm0, xmmword [rcx + 0x70]
movups xmmword [rdx + 0x70], xmm0
movups xmm0, xmmword [rcx + 0x90]
movups xmmword [rdx + 0x80], xmm1
movups xmmword [rdx + 0x90], xmm0
mov dword [rdx + 0xa0], eax
movzx eax, word [rcx + 0xa4]
xor ecx, ecx
cmp dword [0x140006058], 2
mov word [rdx + 0xa4], ax
jl 0x140002164
movdqa xmm0, xmmword [0x140004830]
lea rdx, [rsp + 0x34]
movdqa xmm4, xmmword [0x140004800]
movdqa xmm3, xmmword [0x140004840]
movdqa xmm5, xmmword [str.5555]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0xe0], xmm6
movdqa xmm6, xmmword [0x140004820]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm4
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0xa0
jl 0x140002070
movaps xmm6, xmmword [rsp + 0xe0]
cmp ecx, 0xa6
jge 0x1400021a0
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x37
xor byte [r8 - 1], al
cmp ecx, 0xa6
jl 0x140002170
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add rsp, 0xf8
ret
Function at 0x1400034f0
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test edx, edx
je 0x180003dc0
cmp edx, 1
jne 0x180003dc5
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180004ad0]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180003dc5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret
call fcn.180005610
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x1800056b0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x38
cmp dword [0x18003cbe8], 0
mov r9, r8
je 0x180005868
mov rax, qword [0x18003cbe0]
mov r8, rdx
mov qword [rsp + 0x58], rdi
mov rdx, r9
movzx ecx, cx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x30], r14
mov rdi, qword [rax + rcx*8]
mov rcx, rdi
call fcn.18002c8a8
test eax, eax
jne 0x18000585e
xor r14d, r14d
mov esi, 1
mov ebx, r14d
lock cmpxchg dword [0x18003cbc0], esi
je 0x180005732
cmp rbx, 0x20
jae 0x18000571b
xor ecx, ecx
jmp 0x18000571d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18003cbc0], esi
jne 0x180005711
cmp qword [0x18003cbb8], r14
je 0x180005857
mov qword [rsp + 0x48], rbp
test rdi, rdi
jne 0x180005754
mov ecx, esi
call fcn.18002c7a4
mov ebp, eax
jmp 0x180005784
mov ecx, dword [0x18003d1ec]
mov ebx, r14d
test ecx, ecx
je 0x18000577f
mov r8, qword [0x18003d1e0]
mov rax, r8
nop dword [rax + rax]
cmp rdi, qword [rax]
je 0x1800057ad
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180005770
mov ebp, 4
xchg dword [0x18003cbc0], r14d
neg ebp
mov rbp, qword [rsp + 0x48]
sbb eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
add rsp, 0x38
ret
cmp ebx, 0xffffffff
je 0x18000577f
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x18000584d
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18002c2e0
mov ebp, eax
test eax, eax
jne 0x180005784
mov edx, esi
mov ecx, ebx
call fcn.18002c694
mov ebp, eax
cmp qword [rsp + 0x20], r14
je 0x180005784
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180005834
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18000582a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x180005800
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18003cbb8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180005784
mov ebp, 5
jmp 0x180005784
xchg dword [0x18003cbc0], r14d
mov eax, 0xffffffff
jmp 0x180005794
mov eax, 0xfffffffb
add rsp, 0x38
ret
Function at 0x180006c10
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rax, qword [0x18003caf8]
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call rax
mov rcx, rax
mov r8, rbx
mov rdx, rdi
call fcn.18002c8a8
mov rax, qword [0x18003caf8]
mov rcx, rsi
call rax
xor r14d, r14d
mov rdi, rax
mov ebx, r14d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x18003cbc0], esi
je 0x180006c91
nop dword [rax + rax]
cmp rbx, 0x20
jae 0x180006c7a
xor ecx, ecx
jmp 0x180006c7c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18003cbc0], esi
jne 0x180006c70
cmp qword [0x18003cbb8], r14
je 0x180006d78
test rdi, rdi
jne 0x180006caf
mov ecx, esi
call fcn.18002c7a4
jmp 0x180006d78
mov ecx, dword [0x18003d1ec]
mov ebx, r14d
test ecx, ecx
je 0x180006d78
mov rdx, qword [0x18003d1e0]
mov rax, rdx
nop word [rax + rax]
cmp rdi, qword [rax]
je 0x180006ce4
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180006cd0
jmp 0x180006d78
cmp ebx, 0xffffffff
je 0x180006d78
mov eax, ebx
imul rcx, rax, 0x38
test byte [rcx + rdx + 0x20], 2
jne 0x180006d78
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18002c2e0
test eax, eax
jne 0x180006d78
mov edx, esi
mov ecx, ebx
call fcn.18002c694
cmp qword [rsp + 0x20], r14
je 0x180006d78
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180006d64
mov rdi, qword [rsp + 0x20]
mov esi, eax
mov r8d, dword [rdi]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x180006d5a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rsi, 1
jne 0x180006d30
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18003cbb8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
xchg dword [0x18003cbc0], r14d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x1800082e0
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 0x18000833d
lea rbx, [0x180030f10]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180008324
cmp r10, 2
jb 0x180008324
cmp byte [r9], r8b
jne 0x180008324
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 0x180008300
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000837f
lea rbx, [0x180030f10]
cmp r8b, 0x23
jne 0x180008363
cmp byte [r9], r8b
jne 0x180008363
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 0x180008350
mov rbx, qword [rsp + 8]
not eax
ret