joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004eaa0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x1801c11d8]
cmp byte [rbx + 0x30a1], 0
jne 0x18004ec16
cmp dword [rbx + 0x30c8], 0
je 0x18004eadd
mov r8d, 0x27bf
lea rdx, str.C:UsersWyckoDownloads_tyhlu.xyz_FiveMimguiimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x18004ec0f
lea rdx, [0x180161208]
mov qword [rsp + 0x40], rdi
call fcn.18003f920
mov rdi, rax
test rax, rax
je 0x18004ec0a
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x18004ebf7
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18004ebf7
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x18004ebf7
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18004ebf7
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x18004ebf7
mov rax, qword [0x1801c11d8]
test rax, rax
je 0x18004eb86
inc dword [rax + 0x3b0]
mov rdx, qword [0x1801c11e8]
mov rcx, rbp
call qword [0x1801befd0]
mov rsi, rax
test rax, rax
je 0x18004ebf7
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rbp
je 0x18004ebc2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x18004ebd3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, rbp
mov rcx, rsi
call fcn.180041e10
mov rax, qword [0x1801c11d8]
test rax, rax
je 0x18004ebe5
dec dword [rax + 0x3b0]
mov rdx, qword [0x1801c11e8]
mov rcx, rsi
call qword [0x1801befd8]
jmp 0x18004ec00
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x30a1], 1
movss xmm0, dword [rbx + 0x30a4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x18004ec67
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x30a4], xmm0
jb 0x18004ec67
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x18004ec56
call fcn.18004bd60
mov dword [rbx + 0x30a4], 0
add rsp, 0x20
pop rbx
ret
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x30a4], 0
add rsp, 0x20
pop rbx
ret
Function at 0x18006bb80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x1801bfd30]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx r8d, byte [rcx]
movaps xmm6, xmm2
mov ebx, edx
test r8b, r8b
je 0x18006bbd5
lea rax, [rcx + 1]
cmp r8b, 0x25
jne 0x18006bbc3
cmp byte [rax], r8b
jne 0x18006bbd5
cmp r8b, r8b
cmovne rax, rcx
movzx r8d, byte [rax + 1]
lea rcx, [rax + 1]
test r8b, r8b
jne 0x18006bbb1
cmp byte [rcx], 0x25
jne 0x18006bcbe
cmp byte [rcx + 1], 0x25
je 0x18006bcbe
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0x20]
call fcn.18007e170
xorps xmm3, xmm3
lea r8, [rsp + 0x20]
cvtss2sd xmm3, xmm6
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.18003faf0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x18006bc2c
inc rcx
cmp byte [rcx], 0x20
je 0x18006bc24
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x18006bcac
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x18006bc47
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x18006bc5d
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x18006bc9a
movss xmm2, dword [0x18015aa14]
cmp al, 0x39
ja 0x18006bc9a
movzx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x18006bc74
cmp r9b, 0x2d
jne 0x18006bcb9
xorps xmm1, xmmword [0x180161530]
movaps xmm0, xmm1
jmp 0x18006bcc1
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x18006bcc1
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800e2990
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
ret
Function at 0x18006bcf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x1801bfd30]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx r8d, byte [rcx]
movaps xmm6, xmm2
mov ebx, edx
test r8b, r8b
je 0x18006bd45
lea rax, [rcx + 1]
cmp r8b, 0x25
jne 0x18006bd33
cmp byte [rax], r8b
jne 0x18006bd45
cmp r8b, r8b
cmovne rax, rcx
movzx r8d, byte [rax + 1]
lea rcx, [rax + 1]
test r8b, r8b
jne 0x18006bd21
cmp byte [rcx], 0x25
jne 0x18006be24
cmp byte [rcx + 1], 0x25
je 0x18006be24
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0x20]
call fcn.18007e170
movaps xmm3, xmm6
lea r8, [rsp + 0x20]
movq r9, xmm6
lea rcx, [rsp + 0x40]
mov edx, 0x40
call fcn.18003faf0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x18006bd98
inc rcx
cmp byte [rcx], 0x20
je 0x18006bd90
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x18006be16
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x18006bdb3
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x18006bdc9
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x18006be04
movsd xmm2, qword [0x180169f60]
cmp al, 0x39
ja 0x18006be04
movzx eax, al
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x18006bde0
cmp r9b, 0x2d
jne 0x18006be1f
xorps xmm1, xmmword [0x18016a000]
movaps xmm0, xmm1
jmp 0x18006be27
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x18006be27
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800e2990
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
ret
Function at 0x180081930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rdi
push r12
push r15
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
mov rax, qword [0x1801bfd30]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [0x1801c11d8]
lea rdx, [rsp + 0x30]
movss xmm1, dword [rcx + 0x2c]
mov rdi, rcx
movss xmm0, dword [rax + 0x15b0]
mov r12, qword [rax + 0x1c20]
subss xmm1, xmm0
movaps xmm2, xmm0
movss xmm0, dword [rcx + 0x30]
addss xmm2, dword [rax + 0x1990]
movss xmm6, dword [r12 + 0xd8]
movss xmm7, dword [r12 + 0xdc]
movss dword [r12 + 0xdc], xmm0
movss dword [r12 + 0xd8], xmm1
addss xmm2, dword [rcx + 0x2c]
movss dword [rcx + 0x2c], xmm2
xor ecx, ecx
movups xmm0, xmmword [rax + 0x1638]
movups xmmword [rsp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [0x18015a9b0]
movss dword [rsp + 0x3c], xmm0
call fcn.180048be0
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_setsockopt
movups xmmword [rsp + 0x20], xmm0
call fcn.180048be0
xor edx, edx
lea rcx, [0x1801615c8]
lea r8d, [rdx + 0x50]
call fcn.1800713f0
mov ecx, 2
movzx ebx, al
call fcn.1800481c0
xor r15d, r15d
test bl, bl
je 0x180081b09
mov eax, dword [rdi]
mov qword [rsp + 0xb0], rsi
mov esi, r15d
test eax, eax
jle 0x180081afc
mov qword [rsp + 0xa8], rbp
mov ebp, r15d
mov qword [rsp + 0x70], r14
mov r14d, r15d
nop dword [rax + rax]
test rbp, rbp
js 0x180081a59
cmp esi, eax
jl 0x180081a73
mov r8d, 0x6bd
lea rdx, str.C:UsersWyckoDownloads_tyhlu.xyz_FiveMimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [rdi + 8]
add rbx, r14
test dword [rbx + 4], 0x200000
jne 0x180081adc
mov eax, dword [rbx + 0x1c]
cmp eax, 0xffffffff
je 0x180081a93
cmp eax, dword [rdi + 0x88]
jl 0x180081aad
mov r8d, 0x811
lea rdx, str.C:UsersWyckoDownloads_tyhlu.xyz_FiveMimguiimgui_internal.h
lea rcx, str.tab__NameOffset____1__tab__NameOffset___TabsNames.Buf.Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [rbx + 0x1c]
lea r9, [rsp + 0x20]
add rcx, qword [rdi + 0x90]
mov eax, dword [rbx]
cmp dword [rdi + 0x18], eax
mov qword [rsp + 0x20], 0
sete dl
xor r8d, r8d
call fcn.18007eae0
test al, al
cmovne r15, rbx
mov eax, dword [rdi]
inc esi
inc rbp
add r14, 0x28
cmp esi, eax
jl 0x180081a50
mov r14, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xa8]
call fcn.18003c680
mov rsi, qword [rsp + 0xb0]
movss dword [r12 + 0xd8], xmm6
mov rax, r15
movss dword [r12 + 0xdc], xmm7
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800e2990
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x78
pop r15
pop r12
pop rdi
pop rbx
ret
Function at 0x180093290
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x1801bfd30]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x1800932df
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1801c20c0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18009331d
cmp rsi, r14
jb 0x180093315
cmp rsi, r15
jae 0x180093315
cmp qword [rsi + 8], 0
jne 0x1800934e7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180093300
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800933b2
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800933a9
nop word [rax + rax]
mov r8d, Ordinal_50
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800933a9
cmp dword [rsp + 0x40], 0x10000
je 0x18009342b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x1800933a9
sub rbx, rbp
cmp rbx, r14
jae 0x180093370
test rsi, rsi
jne 0x180093490
cmp rdi, r15
ja 0x1800934cf
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800934cf
mov r8d, Ordinal_50
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800934cf
cmp dword [rsp + 0x40], 0x10000
je 0x180093461
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800933e2
jmp 0x1800934cf
test rbx, rbx
je 0x1800933a9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180093490
cmp rbx, r14
jae 0x180093350
jmp 0x1800933b2
test rdi, rdi
je 0x1800934cf
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180093490
cmp rdi, r15
jbe 0x1800933c0
jmp 0x1800934cf
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1800934a0
mov rax, qword [0x1801c20c0]
mov qword [rsi], rax
mov qword [0x1801c20c0], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800e2990
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x180093d30
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x1801c20bc]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x180093d77
mov rax, qword [0x1801c20b0]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180093d84
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x180093d60
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x180093d77
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.180094240
mov edi, eax
test eax, eax
jne 0x180093e6d
mov r9d, dword [0x1801c20bc]
cmp ebx, r9d
jae 0x180093dfc
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x1801c20b0]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x180093df5
mov edx, esi
mov ecx, ebx
call fcn.180093fa0
mov edi, eax
test eax, eax
jne 0x180093dfc
mov r9d, dword [0x1801c20bc]
inc ebx
cmp ebx, r9d
jb 0x180093dc0
cmp qword [rsp + 0x20], 0
je 0x180093e6b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180093e57
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180093e48
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180093e20
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1801c17d8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x180093fa0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1801bfd30]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1801c20b0]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180094013
mov eax, 0xa
jmp 0x1800940a6
test esi, esi
je 0x180094035
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180094058
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180094058
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180094051
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180094058
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800e2990
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1800940d0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1801bfd30]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x18009421c
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_32
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180094213
mov esi, 1
mov qword [rsp + 0x68], rbx
cmp dword [rsp + 0x20], 0x10
jb 0x1800941ca
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800941ca
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800941ca
mov rdx, qword [rdi]
test rdx, rdx
jne 0x18009418b
mov dword [rdi + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x1801c17d8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x1800941f2
lea rbx, [rdi + 0xc]
jmp 0x1800941bf
mov eax, dword [rdi + 8]
lea rbx, [rdi + 0xc]
cmp dword [rbx], eax
jb 0x1800941bf
add eax, eax
mov r8, rdx
mov r9d, eax
xor edx, edx
mov dword [rdi + 8], eax
mov rcx, qword [0x1801c17d8]
shl r9, 2
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1800941f2
mov qword [rdi], rax
mov ecx, dword [rbx]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_32
mov rcx, rbp
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x180094131
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x18009420e
mov r8, qword [rdi]
xor esi, esi
test r8, r8
je 0x18009420e
mov rcx, qword [0x1801c17d8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rdi], rsi
mov rbx, qword [rsp + 0x68]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800e2990
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x180094240
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov ebp, r8d
mov qword [rcx], 0
mov r14d, edx
mov qword [rcx + 8], 0
mov rdi, rcx
call fcn.1800940d0
test eax, eax
jne 0x180094287
mov eax, 9
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rdi], 0
je 0x1800942fe
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x1800942e6
mov qword [rsp + 0x38], rsi
nop
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800942da
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.180094660
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1800942a0
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rbp, qword [rsp + 0x40]
xor eax, eax
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x180094810
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x18009487f
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x180094868
mov qword [rsp + 0x38], rsi
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18009485c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x180094830
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x1801c17d8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800a89f0
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, 0x30
cmp qword [rcx + 0x718], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x1800a8a4e
mov dl, 1
call fcn.180099440
mov rax, qword [rdi + 0x670]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.180099440
mov eax, ebx
jmp 0x1800a8a92
cmp ebx, 2
ja 0x1800a8a90
mov r9, qword [rdi + 0x668]
lea rdx, [0x18019f350]
lea rcx, [rbx + rbx*2]
add rcx, rdx
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]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1800a8ab0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x160
mov rax, qword [0x1801bfd30]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
jne 0x1800a8af3
cmp qword [rcx + 0x678], 0
je 0x1800a8bd0
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.1800ac0c0
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800a8b21
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x1800a8b68
cmp byte [rdi + 0x1597], 0
jne 0x1800a8b68
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 0x1800a8b50
mov byte [rdi + 0x1597], 1
cmp byte [rdi + 0xf1e], 0
je 0x1800a8bc8
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x1800a8c23
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x1800a8be9
mov dl, 1
mov rcx, rdi
call fcn.180099440
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.180099440
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800e2990
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x18019f350]
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 0x1800a8bc8
call fcn.1800e2c90
int3
Function at 0x1800a8c30
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x1800a8d96
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 [0x1801bfd30]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
je 0x1800a8d7e
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1800ac0c0
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x1800a8cf1
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x1800a8cb0
cmp byte [rax + rcx - 1], 0xa
jne 0x1800a8cd8
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x1800a8cec
lea r8, [0x18015e5c4]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.1800abfc0
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800a8cf6
cmp qword [rdi + 0x718], 0
je 0x1800a8d3e
mov dl, 1
mov rcx, rdi
call fcn.180099440
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.180099440
jmp 0x1800a8d76
mov r9, qword [rdi + 0x668]
lea rcx, [0x18019f350]
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.1800e2990
add rsp, 0x860
pop rdi
ret

Function at 0x1800a8e30
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x1800a8e72
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, Ordinal_60
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret