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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x1801c1168]
cmp byte [rbx + 0x30a1], 0
jne 0x18004f0e6
cmp dword [rbx + 0x30c8], 0
je 0x18004efad
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 0x18004f0df
lea rdx, [0x180161248]
mov qword [rsp + 0x40], rdi
call fcn.18003fdf0
mov rdi, rax
test rax, rax
je 0x18004f0da
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 0x18004f0c7
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 0x18004f0c7
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x18004f0c7
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 0x18004f0c7
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x18004f0c7
mov rax, qword [0x1801c1168]
test rax, rax
je 0x18004f056
inc dword [rax + 0x3b0]
mov rdx, qword [0x1801c1178]
mov rcx, rbp
call qword [0x1801befd0]
mov rsi, rax
test rax, rax
je 0x18004f0c7
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 0x18004f092
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x18004f0a3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, rbp
mov rcx, rsi
call fcn.1800422e0
mov rax, qword [0x1801c1168]
test rax, rax
je 0x18004f0b5
dec dword [rax + 0x3b0]
mov rdx, qword [0x1801c1178]
mov rcx, rsi
call qword [0x1801befd8]
jmp 0x18004f0d0
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 0x18004f137
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x30a4], xmm0
jb 0x18004f137
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x18004f126
call fcn.18004c230
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 0x18006c050
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x1801bfcc0]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx r8d, byte [rcx]
movaps xmm6, xmm2
mov ebx, edx
test r8b, r8b
je 0x18006c0a5
lea rax, [rcx + 1]
cmp r8b, 0x25
jne 0x18006c093
cmp byte [rax], r8b
jne 0x18006c0a5
cmp r8b, r8b
cmovne rax, rcx
movzx r8d, byte [rax + 1]
lea rcx, [rax + 1]
test r8b, r8b
jne 0x18006c081
cmp byte [rcx], 0x25
jne 0x18006c18e
cmp byte [rcx + 1], 0x25
je 0x18006c18e
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0x20]
call fcn.18007e640
xorps xmm3, xmm3
lea r8, [rsp + 0x20]
cvtss2sd xmm3, xmm6
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.18003ffc0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x18006c0fc
inc rcx
cmp byte [rcx], 0x20
je 0x18006c0f4
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x18006c17c
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x18006c117
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x18006c12d
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x18006c16a
movss xmm2, dword [0x18015aa14]
cmp al, 0x39
ja 0x18006c16a
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 0x18006c144
cmp r9b, 0x2d
jne 0x18006c189
xorps xmm1, xmmword [0x180161570]
movaps xmm0, xmm1
jmp 0x18006c191
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x18006c191
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800e2cb0
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
ret
Function at 0x18006c1c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x1801bfcc0]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx r8d, byte [rcx]
movaps xmm6, xmm2
mov ebx, edx
test r8b, r8b
je 0x18006c215
lea rax, [rcx + 1]
cmp r8b, 0x25
jne 0x18006c203
cmp byte [rax], r8b
jne 0x18006c215
cmp r8b, r8b
cmovne rax, rcx
movzx r8d, byte [rax + 1]
lea rcx, [rax + 1]
test r8b, r8b
jne 0x18006c1f1
cmp byte [rcx], 0x25
jne 0x18006c2f4
cmp byte [rcx + 1], 0x25
je 0x18006c2f4
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0x20]
call fcn.18007e640
movaps xmm3, xmm6
lea r8, [rsp + 0x20]
movq r9, xmm6
lea rcx, [rsp + 0x40]
mov edx, 0x40
call fcn.18003ffc0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x18006c268
inc rcx
cmp byte [rcx], 0x20
je 0x18006c260
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x18006c2e6
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x18006c283
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x18006c299
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x18006c2d4
movsd xmm2, qword [0x180169fa0]
cmp al, 0x39
ja 0x18006c2d4
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 0x18006c2b0
cmp r9b, 0x2d
jne 0x18006c2ef
xorps xmm1, xmmword [0x18016a040]
movaps xmm0, xmm1
jmp 0x18006c2f7
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x18006c2f7
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800e2cb0
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
ret
Function at 0x180081e00
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 [0x1801bfcc0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [0x1801c1168]
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.1800490b0
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_setsockopt
movups xmmword [rsp + 0x20], xmm0
call fcn.1800490b0
xor edx, edx
lea rcx, [0x180161608]
lea r8d, [rdx + 0x50]
call fcn.1800718c0
mov ecx, 2
movzx ebx, al
call fcn.180048690
xor r15d, r15d
test bl, bl
je 0x180081fd9
mov eax, dword [rdi]
mov qword [rsp + 0xb0], rsi
mov esi, r15d
test eax, eax
jle 0x180081fcc
mov qword [rsp + 0xa8], rbp
mov ebp, r15d
mov qword [rsp + 0x70], r14
mov r14d, r15d
nop dword [rax + rax]
test rbp, rbp
js 0x180081f29
cmp esi, eax
jl 0x180081f43
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 0x180081fac
mov eax, dword [rbx + 0x1c]
cmp eax, 0xffffffff
je 0x180081f63
cmp eax, dword [rdi + 0x88]
jl 0x180081f7d
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.18007efb0
test al, al
cmovne r15, rbx
mov eax, dword [rdi]
inc esi
inc rbp
add r14, 0x28
cmp esi, eax
jl 0x180081f20
mov r14, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xa8]
call fcn.18003cb50
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.1800e2cb0
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x78
pop r15
pop r12
pop rdi
pop rbx
ret
Function at 0x1800935b0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x1801bfcc0]
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 0x1800935ff
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1801c2050]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18009363d
cmp rsi, r14
jb 0x180093635
cmp rsi, r15
jae 0x180093635
cmp qword [rsi + 8], 0
jne 0x180093807
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180093620
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 0x1800936d2
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 0x1800936c9
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 0x1800936c9
cmp dword [rsp + 0x40], 0x10000
je 0x18009374b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x1800936c9
sub rbx, rbp
cmp rbx, r14
jae 0x180093690
test rsi, rsi
jne 0x1800937b0
cmp rdi, r15
ja 0x1800937ef
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 0x1800937ef
mov r8d, Ordinal_50
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800937ef
cmp dword [rsp + 0x40], 0x10000
je 0x180093781
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 0x180093702
jmp 0x1800937ef
test rbx, rbx
je 0x1800936c9
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 0x1800937b0
cmp rbx, r14
jae 0x180093670
jmp 0x1800936d2
test rdi, rdi
je 0x1800937ef
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 0x1800937b0
cmp rdi, r15
jbe 0x1800936e0
jmp 0x1800937ef
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 0x1800937c0
mov rax, qword [0x1801c2050]
mov qword [rsi], rax
mov qword [0x1801c2050], 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.1800e2cb0
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x180094050
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x1801c204c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x180094097
mov rax, qword [0x1801c2040]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x1800940a4
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x180094080
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x180094097
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.180094560
mov edi, eax
test eax, eax
jne 0x18009418d
mov r9d, dword [0x1801c204c]
cmp ebx, r9d
jae 0x18009411c
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x1801c2040]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x180094115
mov edx, esi
mov ecx, ebx
call fcn.1800942c0
mov edi, eax
test eax, eax
jne 0x18009411c
mov r9d, dword [0x1801c204c]
inc ebx
cmp ebx, r9d
jb 0x1800940e0
cmp qword [rsp + 0x20], 0
je 0x18009418b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180094177
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 0x180094168
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 0x180094140
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1801c1768]
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 0x1800942c0
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 [0x1801bfcc0]
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 [0x1801c2040]
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 0x180094333
mov eax, 0xa
jmp 0x1800943c6
test esi, esi
je 0x180094355
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 0x180094378
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180094378
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180094371
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180094378
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.1800e2cb0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1800943f0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1801bfcc0]
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 0x18009453c
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_32
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180094533
mov esi, 1
mov qword [rsp + 0x68], rbx
cmp dword [rsp + 0x20], 0x10
jb 0x1800944ea
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800944ea
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800944ea
mov rdx, qword [rdi]
test rdx, rdx
jne 0x1800944ab
mov dword [rdi + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x1801c1768]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x180094512
lea rbx, [rdi + 0xc]
jmp 0x1800944df
mov eax, dword [rdi + 8]
lea rbx, [rdi + 0xc]
cmp dword [rbx], eax
jb 0x1800944df
add eax, eax
mov r8, rdx
mov r9d, eax
xor edx, edx
mov dword [rdi + 8], eax
mov rcx, qword [0x1801c1768]
shl r9, 2
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180094512
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 0x180094451
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x18009452e
mov r8, qword [rdi]
xor esi, esi
test r8, r8
je 0x18009452e
mov rcx, qword [0x1801c1768]
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.1800e2cb0
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x180094560
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.1800943f0
test eax, eax
jne 0x1800945a7
mov eax, 9
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rdi], 0
je 0x18009461e
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x180094606
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 0x1800945fa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.180094980
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1800945c0
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 0x180094b30
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x180094b9f
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x180094b88
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 0x180094b7c
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 0x180094b50
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x1801c1768]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800a8d10
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 0x1800a8d6e
mov dl, 1
call fcn.180099760
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.180099760
mov eax, ebx
jmp 0x1800a8db2
cmp ebx, 2
ja 0x1800a8db0
mov r9, qword [rdi + 0x668]
lea rdx, [0x18019f330]
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 0x1800a8dd0
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 [0x1801bfcc0]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
jne 0x1800a8e13
cmp qword [rcx + 0x678], 0
je 0x1800a8ef0
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.1800ac3e0
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800a8e41
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x1800a8e88
cmp byte [rdi + 0x1597], 0
jne 0x1800a8e88
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 0x1800a8e70
mov byte [rdi + 0x1597], 1
cmp byte [rdi + 0xf1e], 0
je 0x1800a8ee8
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x1800a8f43
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x1800a8f09
mov dl, 1
mov rcx, rdi
call fcn.180099760
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.180099760
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800e2cb0
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x18019f330]
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 0x1800a8ee8
call fcn.1800e2fb0
int3
Function at 0x1800a8f50
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x1800a90b6
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 [0x1801bfcc0]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
je 0x1800a909e
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1800ac3e0
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x1800a9011
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x1800a8fd0
cmp byte [rax + rcx - 1], 0xa
jne 0x1800a8ff8
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x1800a900c
lea r8, [0x18015e604]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.1800ac2e0
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800a9016
cmp qword [rdi + 0x718], 0
je 0x1800a905e
mov dl, 1
mov rcx, rdi
call fcn.180099760
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.180099760
jmp 0x1800a9096
mov r9, qword [rdi + 0x668]
lea rcx, [0x18019f330]
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.1800e2cb0
add rsp, 0x860
pop rdi
ret

Function at 0x1800a9150
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 0x1800a9192
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