joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140160996
Capabilities:
Write file on windows

Disassembly:
jmp 0x1403b05d0
test rcx, rcx
je 0x1403b0736
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x860
mov rax, qword [0x140534080]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
je 0x1403b071e
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.14015c96d
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x1403b0691
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x1403b0650
cmp byte [rax + rcx - 1], 0xa
jne 0x1403b0678
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x1403b068c
lea r8, [0x1404340ec]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.14015bf54
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1403b0696
cmp qword [rdi + 0x718], 0
je 0x1403b06de
mov dl, 1
mov rcx, rdi
call fcn.14015ff9b
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.14015ff9b
jmp 0x1403b0716
mov r9, qword [rdi + 0x668]
lea rcx, [0x1404e74e8]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14015d7aa
add rsp, 0x860
pop rdi
ret

Function at 0x140160b3f
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1401b00a0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.140161373
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x140429fa0]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x1401b011f
mov dword [rbp + 0x120], 1
jmp 0x1401b0129
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x1401b0172
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x1401b00ea
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x140160b62
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1403b22d0
push rbx
sub rsp, 0x30
mov eax, dword [0x14053e96c]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x1403b232d
xor edx, edx
lea r9d, [rax + 3]
lea r8d, [rax + 2]
lea ecx, [rax + 6]
call fcn.14015f690
test al, al
je 0x1403b2321
mov dword [0x14053e96c], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x14053e96c], 1
jmp 0x1403b2332
cmp eax, 2
je 0x1403b2384
lea rax, [rsp + 0x58]
mov edx, 0xffff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1403b2363
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x1403b2384
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x30
pop rbx
ret
Function at 0x140160cf2
Capabilities:
Read file on windows

Disassembly:
jmp 0x140394100
sub rsp, 0x28
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cdqe
add rsp, 0x28
ret

Function at 0x140160eaa
Capabilities:
Hash data using sha256

Disassembly:
jmp 0x1403b5e00
xor eax, eax
mov qword [rcx + 0x24], 0x5be0cd19
mov qword [rcx], rax
mov dword [rcx + 8], 0x6a09e667
mov dword [rcx + 0xc], 0xbb67ae85
mov dword [rcx + 0x10], 0x3c6ef372
mov dword [rcx + 0x14], 0xa54ff53a
mov dword [rcx + 0x18], 0x510e527f
mov dword [rcx + 0x1c], 0x9b05688c
mov dword [rcx + 0x20], 0x1f83d9ab
ret
Function at 0x14016105d
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x14032c600
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140534080]
xor rax, rbp
mov qword [rbp + 0x1b8], rax
lea rcx, [0x140567418]
call fcn.140161373
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14032c655
jmp 0x14032c7ea
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
mov ecx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x48]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x88], rax
mov dword [rbp + 0xa4], 0
jmp 0x14032c6c6
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
mov rax, qword [rbp + 0x88]
add rax, 0x28
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 6]
cmp dword [rbp + 0xa4], eax
jae 0x14032c77a
lea r9, [rbp + 0xc4]
mov r8d, 0x40
mov edx, Ordinal_41
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x88]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x88]
mov byte [rcx + rax], 0
mov rax, qword [rbp + 0x88]
mov dword [rax + 0xc], 0
mov rax, qword [rbp + 0x88]
mov dword [rax + 8], 0
mov rax, qword [rbp + 0x88]
mov dword [rax + 8], 0
lea r9, [rbp + 0xc4]
mov r8d, dword [rbp + 0xc4]
mov edx, Ordinal_41
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x14032c6a6
mov r8d, 8
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x68]
call fcn.14015d80e
mov r8d, 8
xor edx, edx
lea rcx, [rbp + 0x68]
call fcn.14015f758
lea r9, [rbp + 0xe4]
mov r8d, 0x40
mov edx, 8
lea rcx, [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, 8
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x48]
call fcn.14015d80e
lea r9, [rbp + 0xe4]
mov r8d, dword [rbp + 0xe4]
mov edx, 8
lea rcx, [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_connect
call fcn.140160054
mov rcx, qword [rbp + 0x1b8]
xor rcx, rbp
call fcn.14015d7aa
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x1401611fc
Capabilities:
Write file on windows

Disassembly:
jmp 0x140302000
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, reloc.WLDAP32.dll_Ordinal_50
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x140534080]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x14056730b]
call fcn.140161373
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x140302066
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14030206d
mov al, 1
jmp 0x1403021dd
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.14015bf4f
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.14015bf4f
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.14015fb95
movzx eax, al
test eax, eax
je 0x1403020d0
xor al, al
jmp 0x1403021dd
mov qword [rbp + 8], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x140302143
cmp dword [rbp + 0x160], 1
je 0x14030214e
cmp dword [rbp + 0x160], 3
je 0x1403021cc
jmp 0x1403021db
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14030219e
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14030219e
xor al, al
jmp 0x1403021dd
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1403021b9
mov dword [rbp + 0x154], 1
jmp 0x1403021c3
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1403021dd
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1403021dd
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140160054
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.14015d7aa
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1401613aa
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1403612b0
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 8], sil
je 0x1403612e4
mov eax, esi
lea ecx, [rax + 0x7e]
xor byte [r8 + rax], cl
inc rax
cmp rax, 7
jb 0x1403612d0
mov byte [r8 + 8], sil
add r8, 7
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14015d46c
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140361309
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140161bcf
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140361383
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14036137e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14036137e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015ffa0
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140161701
Capabilities:
Print debug messages

Disassembly:
jmp 0x140410a64
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.14015f758
and qword [rdi + 0x50], 0
lea rax, [0x140000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x1404f3de8]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.14015d66a
test eax, eax
jne 0x140410afb
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140410afb
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140410af4
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x14053e708], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x140161a53
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14037d990
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140534080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x18], rdx
xor ebx, ebx
mov dword [rbp - 0x50], 0xe2e30a0d
mov dword [rbp - 0x4c], 0xf7f0e7
mov byte [rbp - 0x48], 1
mov ecx, ebx
nop dword [rax]
lea eax, [rcx + 0x7e]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 7
jb 0x14037d9d0
mov byte [rbp - 0x48], 0
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x38]
call fcn.14015d46c
nop
cmp byte [rdi], 0
jne 0x14037da0b
mov byte [rdi], 1
call fcn.14015d70f
mov qword [rdi + 8], rax
cmp byte [rdi], 1
jne 0x14037da22
lea rdx, [rbp - 0x38]
mov rcx, qword [rdi + 8]
call fcn.14015ee34
mov rcx, rax
jmp 0x14037da26
mov rcx, qword [rbp - 0x18]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, rbx
movzx eax, byte [rax]
mov byte [rsi + 0x210], al
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14037da78
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14037da73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14037da73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015ffa0
mov dword [rbp - 0x50], 0xf2f31a13
mov dword [rbp - 0x4c], 0xe1e4e3
mov byte [rbp - 0x48], 1
nop word [rax + rax]
lea eax, [rbx + 0x7e]
xor byte [rbp + rbx - 0x50], al
inc rbx
cmp rbx, 7
jb 0x14037da90
mov byte [rbp - 0x48], 0
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x38]
call fcn.14015d46c
nop
cmp byte [rdi], 0
jne 0x14037dacb
mov byte [rdi], 1
call fcn.14015d70f
mov qword [rdi + 8], rax
cmp byte [rdi], 1
jne 0x14037dadf
lea rdx, [rbp - 0x38]
mov rcx, qword [rdi + 8]
call fcn.14015ee34
jmp 0x14037dae3
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0x218]
mov rdx, rax
call fcn.14015fefb
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14037db32
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14037db2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14037db2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015ffa0
nop
lea rcx, [rdi + 8]
movzx edx, byte [rdi]
call fcn.14015ae38
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14015d7aa
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140161bed
Capabilities:
Encode data using xor
Execute command

Disassembly:
jmp 0x1403740e0
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140534080]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
mov qword [rbp + 0x27], rcx
movdqa xmm0, xmmword [0x1404e2c90]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x39], 0x100
xor ecx, ecx
nop dword [rax]
lea eax, [rcx + 0x7e]
xor byte [rbp + rcx - 0x49], al
inc rcx
cmp rcx, 0x10
jb 0x140374120
mov byte [rbp - 0x38], 0
movdqa xmm0, xmmword [0x1404e2f30]
movdqu xmmword [rbp - 0x31], xmm0
movdqa xmm1, xmmword [0x1404e3190]
movdqu xmmword [rbp - 0x21], xmm1
mov dword [rbp - 0x11], 0x81d2f0ec
mov dword [rbp - 0xd], 0xc0848584
mov dword [rbp - 9], 0x89c7cfc5
mov word [rbp - 5], 0x100
xor ecx, ecx
nop dword [rax + rax]
lea eax, [rcx + 0x7e]
xor byte [rbp + rcx - 0x31], al
inc rcx
cmp rcx, 0x2c
jb 0x140374170
mov byte [rbp - 4], 0
mov r8, rbx
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 7]
call fcn.14015a497
nop
lea rcx, [rbp - 0x49]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], 0
jne 0x1403741a0
lea rdx, [rbp - 0x49]
mov rcx, rax
call fcn.140161977
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3f], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2f], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x3f], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140374225
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140374220
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140374220
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015ffa0
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova rcx, qword [rbp + 0x2f]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
int 0x29
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x14037427b
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140374276
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140374276
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015ffa0
movdqa xmm0, xmmword [0x1404e2790]
movdqu xmmword [rbp + 0x3f], xmm0
mov byte [rbp + 0x2f], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1403742c2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1403742bd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1403742f2
mov rcx, r8
call fcn.14015ffa0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14015d7aa
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140161d96
Capabilities:
Write file on windows

Disassembly:
jmp 0x1403b03f0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x160
mov rax, qword [0x140534080]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
jne 0x1403b0433
cmp qword [rcx + 0x678], 0
je 0x1403b0510
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.14015c96d
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1403b0461
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x1403b04a8
cmp byte [rdi + 0x1597], 0
jne 0x1403b04a8
lea rdx, [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1403b0490
mov byte [rdi + 0x1597], 1
cmp byte [rdi + 0xf1e], 0
je 0x1403b0508
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x1403b0563
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x1403b0529
mov dl, 1
mov rcx, rdi
call fcn.14015ff9b
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.14015ff9b
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14015d7aa
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x1404e74e8]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x1403b0508
call fcn.14015f3ca
int3

Function at 0x140161eb3
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14033c110
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14056740e]
call fcn.140161373
movsx eax, byte [rbp + 0xe8]
mov ecx, dword [rbp + 0xe0]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1402c1250
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, reloc.WLDAP32.dll_Ordinal_22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140534080]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x1405673b3]
call fcn.140161373
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14030a880
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.1402d6c20
nop
lea rax, [0x1402be310]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.1403227f0
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x1402c132a
lea rcx, [rbp + 8]
call fcn.14032ebc0
jmp 0x1402c1343
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14015b97d
nop
lea rcx, [rbp + 8]
call fcn.1402e6c20
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.140160054
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.14015d7aa
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x1402ee5a0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3f8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, Ordinal_143
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x418]
mov rax, qword [0x140534080]
xor rax, rbp
mov qword [rbp + 0x3a8], rax
lea rcx, [0x140567417]
call fcn.140161373
mov dword [rbp + 0x134], 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rbp + 0x134]
lea r8, [rbp + 0x10]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameA]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x158], 0
je 0x1402ee665
cmp qword [rbp + 0x158], 0xffffffffffffffff
jne 0x1402ee6a1
mov qword [rbp + 0x338], 0
mov qword [rbp + 0x314], 0
lea r8, [rbp + 0x314]
lea rdx, [rbp + 0x338]
mov rcx, qword [rbp + 0x3d8]
call fcn.14015b4fa
mov rax, qword [rbp + 0x3d8]
jmp 0x1402ee76a
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [rbp + 0x178], rax
cmp qword [rbp + 0x178], 0
jne 0x1402ee721
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x378], 0
mov qword [rbp + 0x354], 0
lea r8, [rbp + 0x354]
lea rdx, [rbp + 0x378]
mov rcx, qword [rbp + 0x3d8]
call fcn.14015b4fa
mov rax, qword [rbp + 0x3d8]
jmp 0x1402ee76a
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbp + 0x398], rax
lea r8, [rbp + 0x158]
lea rdx, [rbp + 0x398]
mov rcx, qword [rbp + 0x3d8]
call fcn.14015e63c
mov rax, qword [rbp + 0x3d8]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.140160054
mov rax, rdi
mov rcx, qword [rbp + 0x3a8]
xor rcx, rbp
call fcn.14015d7aa
lea rsp, [rbp + 0x3b8]
pop rdi
pop rbp
ret