joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180005020
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
cmp byte [r8 + 0xc], sil
je 0x180005054
mov ecx, esi
lea eax, [rcx - 9]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xb
jb 0x180005040
mov byte [r8 + 0xc], sil
lea rax, [r8 + 0xb]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
cmp r9, rax
je 0x180005089
mov r8d, listen
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.180008400
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180005097
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.18000b3b0
mov qword [rdi], rsi
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 + 0x40]
cmp rdx, 0x10
jb 0x18000510e
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005109
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005109
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bf958
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x180005d80
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 0xb], sil
je 0x180005db4
mov ecx, esi
lea eax, [rcx - 9]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xa
jb 0x180005da0
mov byte [r8 + 0xb], sil
lea rax, [r8 + 0xa]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x180005de9
mov r8d, 0xa
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.180008400
nop
cmp byte [rbx + 0xe], 0
je 0x180005e13
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 9]
xor byte [rbx + rcx], al
inc rcx
cmp rcx, 0xd
jb 0x180005e00
mov byte [rbx + 0xe], 0
lea rax, [rbx + 0xd]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x180005e48
mov r8d, reloc.WS2_32.dll_listen
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180008400
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.18000a2b0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x180005ea1
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005e9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005e9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bf958
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180005ee1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005edc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005edc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bf958
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x180005ef0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x180005f24
mov ecx, esi
lea eax, [rcx - 9]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x180005f10
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
cmp r9, rax
je 0x180005f59
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.180008400
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180005f67
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.18000b3b0
mov qword [rdi], rsi
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 + 0x40]
cmp rdx, 0x10
jb 0x180005fde
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005fd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005fd9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bf958
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800067f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x180006824
mov ecx, esi
lea eax, [rcx - 9]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x180006810
mov byte [r8 + 9], sil
lea rax, [r8 + 8]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x180006859
mov r8d, 8
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.180008400
nop
cmp byte [rbx + 9], 0
je 0x180006883
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 9]
xor byte [rbx + rcx], al
inc rcx
cmp rcx, 8
jb 0x180006870
mov byte [rbx + 9], 0
lea rax, [rbx + 8]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x1800068b8
mov r8d, 8
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180008400
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.18000a2b0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x180006911
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000690b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000690b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bf958
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180006951
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000694c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000694c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bf958
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x180015b38
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x180015b68
movzx eax, byte [rcx + r9]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x180015b4a
mov rax, r8
ret

Function at 0x180015b6c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rdx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [rcx + r8]
movabs r9, 0x100000001b3
xor rdx, rax
inc r8
imul rdx, r9
cmp r8, 4
jb 0x180015b79
mov rax, rdx
ret
Function at 0x180020e38
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x180020e5f
and qword [r8], 0
call fcn.180020f44
mov rbx, rax
test rax, rax
je 0x180020f27
mov rcx, rax
call fcn.180020dc0
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180020f1e
mov rax, qword [0x1802b3f60]
test rax, rax
je 0x180020e97
inc dword [rax + 0xf4]
mov rdx, qword [0x1802b3f70]
lea rcx, [rdi + rbp]
call qword [0x1801eb268]
mov rsi, rax
test rax, rax
je 0x180020f1e
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]
cmp rax, rdi
je 0x180020ef6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1802b3f60]
test rax, rax
je 0x180020ee4
dec dword [rax + 0xf4]
mov rdx, qword [0x1802b3f70]
mov rcx, rsi
call qword [0x1801eb270]
jmp 0x180020f27
test ebp, ebp
jle 0x180020f08
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180020f19
mov qword [r14], rdi
mov rax, rsi
jmp 0x180020f29
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

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

Disassembly:
mov r9, rcx
not r8d
test rdx, rdx
je 0x180021a42
movzx eax, byte [r9]
inc r9
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x1800c5010]
xor r8d, dword [rax + rcx*4]
sub rdx, 1
jne 0x180021a1f
not r8d
mov eax, r8d
ret

Function at 0x180021a4c
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 0x180021aa6
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rbx, [0x1800c5010]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x180021a90
cmp rdx, 2
jb 0x180021a90
cmp byte [r10], r11b
jne 0x180021a90
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x180021a6e
jmp 0x180021ae7
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x180021ae7
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rbx, [0x1800c5010]
cmp dl, r11b
jne 0x180021acb
cmp byte [r10], r11b
jne 0x180021acb
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 [rbx + rcx*4]
test dl, dl
jne 0x180021ab9
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x180023ab4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c58], 0
lea rbx, [rcx + 0x5c60]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180023b4d
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x180023b05
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18003025c
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.18002f878
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c58]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1802b3f68]
movsxd r8, eax
mov rax, qword [rdi + 0x5c68]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x180023b55
mov rcx, rbx
call fcn.18002f878
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18002ac38
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1802b3f60]
mov rbx, rcx
and dword [rax + 0x5bbc], 0
test rcx, rcx
je 0x18002aca1
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18002acac
lea rdx, [0x1800c689c]
mov rcx, rbx
mov rdi, rax
call fcn.180020f44
mov rbx, rax
test rax, rax
je 0x18002aca1
mov r8, qword [rsp + 0x30]
mov r9, rax
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 rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18005c710
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rax, qword [0x1802b38c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x1802b56e0]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x18005c755
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x20]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18005c78b
mov eax, 0xa
jmp 0x18005c81a
test esi, esi
je 0x18005c7ad
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18005c7ce
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18005c7ce
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18005c7c8
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18005c7ce
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800bfe80
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x18005c87c
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1802b38c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov r15d, edx
mov rdi, rcx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
xor edx, edx
mov r14d, r8d
mov esi, ebx
lea ecx, [rbx + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x18005ca18
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_30
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x18005c9ba
lea esi, [rbx + 1]
cmp dword [rsp + 0x20], 0x10
jb 0x18005c976
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18005c976
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18005c976
mov rdx, qword [rdi]
test rdx, rdx
jne 0x18005c938
mov dword [rdi + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x1802b42e0]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x18005c99e
jmp 0x18005c969
mov eax, dword [rdi + 8]
cmp dword [rdi + 0xc], eax
jb 0x18005c969
add eax, eax
mov r8, rdx
mov r9d, eax
xor edx, edx
mov dword [rdi + 8], eax
mov rcx, qword [0x1802b42e0]
shl r9, 2
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x18005c99e
mov qword [rdi], rax
mov ecx, dword [rdi + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rdi + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_30
mov rcx, rbp
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x18005c8e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x18005c9ba
mov esi, ebx
cmp qword [rdi], rbx
je 0x18005c9ba
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x1802b42e0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rdi], rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x18005ca18
cmp qword [rdi], rbx
je 0x18005ca1d
mov esi, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x18005ca1d
mov r8, qword [rdi]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbp, rax
test rax, rax
je 0x18005ca0f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, r14d
mov edx, r15d
mov rcx, rbp
call fcn.18005cc5c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rdi + 0xc]
jb 0x18005c9d3
jmp 0x18005ca1d
mov ebx, 9
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800bfe80
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x18005cdec
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x18005ce50
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x18005ce3e
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18005ce37
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x18005ce0b
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x1802b42e0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180063a5c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
lea rax, [rbp - 0x20]
mov qword [rbp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
lea r14, [0x1802b4678]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [r14 + r8], 0
jne 0x180063a94
mov rdx, r14
lea rcx, [rbp - 0x20]
call fcn.180015914
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
and qword [rbp - 0x30], 0
and qword [rbp - 0x28], 0
lea r15, [0x1802b4668]
inc rbx
cmp byte [r15 + rbx], 0
jne 0x180063ac3
mov r8, rbx
mov rdx, r15
lea rcx, [rbp - 0x40]
call fcn.180015914
nop
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x40]
lea rcx, [0x1802b49b0]
call fcn.1800043b0
cmp byte [0x1802b4be8], 0
je 0x180063bdd
movabs rax, 0x43f381f84c9629ef
mov qword [rbp - 0x20], rax
movabs rcx, 0xb7dd5d2d26dfbf00
mov qword [rbp - 0x18], rcx
movabs rax, 0x43f3819625f146a3
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rcx
movaps xmm0, xmmword [rbp - 0x40]
xorps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x20], xmm0
lea r8, [0x1801cede4]
lea rdx, [rbp - 0x20]
lea rcx, [0x1802b46d8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1802b46d8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, qword [0x1802b46d8]
mov ebx, 0xa
lea r8d, [rbx - 9]
mov edx, ebx
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [0x1802b46d8]
lea r8d, [rbx - 9]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [0x1802b46d8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [0x1802b458a], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
lea r8d, [rbx + 0x11]
lea rdx, str.User_Connected_Successfully
lea rcx, [rbp - 0x20]
call fcn.180015914
lea rdx, [rbp - 0x20]
lea rcx, [0x1802b49b0]
call fcn.180005ff0
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rbp
ret
Function at 0x180063da0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
lea rax, [rbp - 0x40]
mov qword [rbp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
and qword [rbp - 0x30], 0
and qword [rbp - 0x28], 0
lea rdx, [0x1802b4688]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdx + r8], 0
jne 0x180063ddb
lea rcx, [rbp - 0x40]
call fcn.180015914
nop
lea rax, [rbp - 0x60]
mov qword [rbp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
and qword [rbp - 0x50], 0
and qword [rbp - 0x48], 0
lea r15, [0x1802b4678]
mov r8, rbx
inc r8
cmp byte [r15 + r8], 0
jne 0x180063e12
mov rdx, r15
lea rcx, [rbp - 0x60]
call fcn.180015914
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
lea r14, [0x1802b4668]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x180063e41
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x20]
call fcn.180015914
nop
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x20]
lea rcx, [0x1802b49b0]
call fcn.180005120
cmp byte [0x1802b4be8], 0
je 0x180063f36
call fcn.18001e0e4
movabs rax, 0x43f381f84c9629ef
mov qword [rbp - 0x40], rax
movabs rcx, 0xb7dd5d2d26dfbf00
mov qword [rbp - 0x38], rcx
movabs rax, 0x43f3819625f146a3
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rcx
movaps xmm0, xmmword [rbp - 0x60]
xorps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
lea r8, [0x1801cede4]
lea rdx, [rbp - 0x40]
lea rcx, [0x1802b46d8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1802b46d8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, qword [0x1802b46d8]
mov ebx, 0xa
lea r8d, [rbx - 9]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [0x1802b46d8]
lea r8d, [rbx - 9]
mov edx, ebx
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [0x1802b46d8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [reloc.WS2_32.dll_accept], 0
mov byte [0x1802b4589], 1
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rbp
ret
Function at 0x18006c98c
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
cmp byte [0x1802b4da1], bpl
je 0x18006cb6b
mov rax, qword [0x1802b4df8]
test rax, rax
jne 0x18006ca58
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r11, qword [rax]
mov rdx, r11
mov r8, qword [rdx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18006ca3d
mov ecx, dword [r9 + 0x18]
test ecx, ecx
je 0x18006ca3d
mov esi, dword [r9 + 0x20]
dec ecx
mov ebx, 0x811c9dc5
mov edi, ecx
lea rax, [rsi + rcx*4]
mov r10d, dword [rax + r8]
add r10, r8
mov al, byte [r10]
inc r10
test al, al
je 0x18006ca39
movsx eax, al
xor eax, ebx
imul ebx, eax, 0x1000193
mov al, byte [r10]
inc r10
test al, al
jne 0x18006ca18
cmp ebx, 0x95466b05
je 0x18006cb4e
test ecx, ecx
jne 0x18006c9fa
mov rax, qword [rdx]
mov rdx, rax
cmp rax, r11
je 0x18006ca4e
cmp qword [rax + 0x30], rbp
jne 0x18006c9d6
mov rax, rbp
mov qword [0x1802b4df8], rax
mov ecx, dword [0x1802b4dbc]
call rax
test ax, ax
je 0x18006cb6b
mov rax, qword [0x1802b4348]
mov rcx, qword [rax]
test rcx, rcx
je 0x18006cb6b
mov r9, qword [rcx + 8]
test r9, r9
je 0x18006cb6b
mov rax, qword [0x1802b4350]
mov rcx, qword [rax]
test rcx, rcx
je 0x18006cb6b
mov r8, qword [rcx + 0x18]
test r8, r8
je 0x18006cb6b
movss xmm2, dword [0x1800c4e7c]
mov r10d, ebp
mov r11, rbp
movsxd rax, r10d
cmp rax, qword [r8 + 0x108]
jae 0x18006cb6b
mov rcx, qword [r8 + 0x100]
test rcx, rcx
je 0x18006cb42
mov rcx, qword [r11 + rcx]
test rcx, rcx
je 0x18006cb42
cmp rcx, r9
je 0x18006cb42
mov eax, dword [0x1802b437c]
mov edx, dword [rax + rcx]
test edx, edx
je 0x18006cb42
and edx, 0x1fc000
cmp edx, 0x8000
je 0x18006cb42
movsd xmm0, qword [r9 + 0x90]
mov eax, dword [r9 + 0x98]
movsd qword [rsp + 0x20], xmm0
movss xmm0, dword [rsp + 0x20]
movss dword [rcx + 0x90], xmm0
movss xmm1, dword [rsp + 0x24]
addss xmm1, xmm2
movss dword [rcx + 0x94], xmm1
mov dword [rcx + 0x98], eax
mov dword [rcx + 0x280], 0x3dcccccd
inc r10d
add r11, 0x10
jmp 0x18006cab7
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdi*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x18006ca51
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret