joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14082b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14082b1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14082b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14082b06f
add dl, dl
jne 0x14082b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14082b0f6
xor eax, eax
add dl, dl
jne 0x14082b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14082b1ad
add dl, dl
jne 0x14082b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14082b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14082b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14082b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14082b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14082b07e
mov eax, 1
add dl, dl
jne 0x14082b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14082b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14082b0fb
sub eax, ebx
mov ebx, 1
jne 0x14082b14c
mov ecx, 1
add dl, dl
jne 0x14082b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14082b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14082b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14082b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14082b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14082b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14082b15d
cmp eax, 0x7d00
jae 0x14082b19b
cmp eax, 0x500
jb 0x14082b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14082b07e
cmp eax, 0x7f
ja 0x14082b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14082b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14082b1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14082b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400f6350
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400f635d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400f636d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400f6355
lea eax, [rcx + 1]
jmp 0x1400f637b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400f638e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400f6374
sub eax, 3
jb 0x1400f63ae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400f63fd
sar eax, 1
movsxd rbp, eax
jb 0x1400f63e4
jmp 0x1400f63bc
add ebx, ebx
jne 0x1400f63ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400f63e4
inc ecx
add ebx, ebx
jne 0x1400f63ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400f63e4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400f63dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400f63cc
add ecx, 2
jmp 0x1400f63e9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400f6312
jmp 0x1400f635d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1800
mov dl, 1
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400f6449
cmp rsi, rcx
jae 0x1400f6451
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400f6430
cmp al, 0x8f
ja 0x1400f6430
cmp byte [rsi - 2], 0xf
je 0x1400f6436
sub al, 0xe8
cmp al, 1
ja 0x1400f641a
cmp rsi, rcx
jae 0x1400f6451
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400f6420
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400f6451
lodsb al, byte [rsi]
jmp 0x1400f6430
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xf4000]
mov eax, dword [rdi]
or eax, eax
je 0x1400f64ae
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xf61e4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400f645e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400f64a8
mov qword [rbx], rax
add rbx, 8
jmp 0x1400f647e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400f64e8
cmp al, 0xef
ja 0x1400f64da
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400f64ba
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400f64c9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400f653c
sub rsp, 0xffffffffffffff80
jmp 0x140001ecc
Function at 0x1800039c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x420
mov rax, qword [0x1800a31a8]
xor rax, rsp
mov qword [rsp + 0x410], rax
xor r8d, r8d
lea r11, [rsp + 4]
mov r9d, r8d
mov rbx, rdx
mov rdi, rcx
mov eax, r9d
mov r10d, 8
nop dword [rax]
mov edx, eax
mov ecx, eax
shr edx, 1
mov eax, edx
xor eax, 0xedb88320
and cl, 1
cmove eax, edx
add r10d, 0xffffffff
jne 0x180003a00
mov dword [r11], eax
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x1800039f0
mov dword [rsp], r8d
test rbx, rbx
je 0x180003a6d
nop word [rax + rax]
movzx edx, byte [rdi]
lea rdi, [rdi + 1]
movzx eax, byte [rsp]
mov ecx, r8d
xor rdx, rax
shr ecx, 8
mov r8d, dword [rsp + rdx*4 + 4]
xor r8d, ecx
xor r8d, 0xd202ef8d
mov dword [rsp], r8d
sub rbx, 1
jne 0x180003a40
mov eax, r8d
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.1800698b0
mov rbx, qword [rsp + 0x430]
add rsp, 0x420
pop rdi
ret

Function at 0x180003cd0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x218
mov rax, qword [0x1800a31a8]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov dword [rsp + 0x20], 3
lea rdx, [rsp + 0x60]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x180003d13
mov dword [rsp + 0x24], 0
jmp 0x180003d1b
mov dword [rsp + 0x24], 3
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x180003ddb
call fcn.180005320
xor ecx, ecx
call fcn.180003aa0
mov ecx, 8
call fcn.180069fc0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180003d6d
mov rax, qword [rsp + 0x220]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x28]
call fcn.180004cd0
mov qword [rsp + 0x30], rax
jmp 0x180003d76
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1800050b0
mov ecx, 0x40
call fcn.180069fc0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x180003dbc
mov rax, qword [rsp + 0x220]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x38]
call fcn.180006290
mov qword [rsp + 0x40], rax
jmp 0x180003dc5
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [0x1800a79d0], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1800698b0
add rsp, 0x218
ret
Function at 0x180005320
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x1800a31a8]
xor rax, rsp
mov qword [rbp + 0x47], rax
cmp qword [0x1800a79e8], 0
jne 0x180005432
cmp qword [0x1800a79f0], 0
mov qword [rsp + 0xd0], rbx
jne 0x18000536d
mov ecx, 1
call fcn.180069fc0
mov qword [0x1800a79f0], rax
xor eax, eax
mov dword [rbp + 7], 0x6e72656b
lea rcx, [rbp + 7]
mov qword [rbp + 0x13], rax
mov qword [rbp + 0x1b], rax
mov qword [rbp + 0x23], rax
mov qword [rbp + 0x2b], rax
mov qword [rbp + 0x33], rax
mov qword [rbp + 0x3b], rax
mov dword [rbp + 0x43], eax
mov qword [rbp - 0x2b], rax
mov qword [rbp - 0x23], rax
mov qword [rbp - 0x1b], rax
mov qword [rbp - 0x13], rax
mov qword [rbp - 0xb], rax
mov qword [rbp - 3], rax
mov word [rbp + 5], ax
mov dword [rbp + 0xb], 0x32336c65
mov dword [rbp + 0xf], 0x6c6c642e
mov dword [rbp - 0x39], 0x54746547
mov dword [rbp - 0x35], 0x436b6369
mov dword [rbp - 0x31], 0x746e756f
mov word [rbp - 0x2d], 0x3436
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0x38
mov qword [0x1800a79e0], rax
call fcn.180069fc0
mov rbx, rax
mov qword [rbp - 0x49], rax
lea rcx, [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
rdtsc
shl rdx, 0x20
or rax, rdx
mov dword [rbx + 0xc], 4
mov qword [rbx + 4], rax
mov qword [0x1800a79e8], rbx
mov rbx, qword [rsp + 0xd0]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800698b0
add rsp, 0xc0
pop rbp
ret

Function at 0x180005880
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x180005898
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rbx + 0x20]
mov byte [rbx + 8], 1
mov qword [rsp + 0x28], rax
lea r8, [0x180005940]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x10], rax
add rsp, 0x30
pop rbx
ret
Function at 0x180006860
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
cmp qword [rax + 0x18], 0
je 0x180006990
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
cmp qword [rax + 0x20], 0
je 0x180006990
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax + 0x20]
sub rax, rcx
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x28]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
mov rcx, rdx
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jle 0x18000698e
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
add rax, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov edx, dword [rsp + 0x34]
mov dword [rsp + 0x28], edx
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x20], rax
mov r9, qword [rcx + 0x20]
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax]
lea rdx, str.READ___d_:_block_size___d___processed___d___currently_readed___d_
mov ecx, 1
call fcn.180003ab0
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
cmp qword [rax + 0x28], rcx
jne 0x18000698e
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov dword [rax + 0x34], 1
jmp 0x1800069b3
mov r9d, 2
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1800069e5
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax]
lea rdx, str.READ___d_:_SHUTDOWN_signal_received
mov ecx, 1
call fcn.180003ab0
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov dword [rax + 0x34], 2
jmp 0x180006a2b
cmp dword [rsp + 0x34], 0
jge 0x180006a2b
call fcn.18001d9b0
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov dword [rsp + 0x40], eax
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x40]
lea rdx, str.READ___d_:_FAILURE__assuming_connection_problem___d_
mov ecx, 1
call fcn.180003ab0
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov dword [rax + 0x34], 3
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
cmp dword [rax + 0x34], 0
je 0x180006a44
mov dword [rsp + 0x38], 1
jmp 0x180006a4c
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
add rsp, 0x58
ret
Function at 0x180006d40
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
cmp qword [rax + 0x18], 0
je 0x180006eb1
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
cmp qword [rax + 0x20], 0
je 0x180006eb1
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax + 0x20]
sub rax, rcx
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x28]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jle 0x180006e70
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
add rax, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov edx, dword [rsp + 0x30]
mov dword [rsp + 0x28], edx
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x20], rax
mov r9, qword [rcx + 0x20]
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax]
lea rdx, str.WRITE___d_:_block_size___d___processed___d___currently_written___d_
mov ecx, reloc.WS2_32.dll_select
call fcn.180003ab0
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
cmp qword [rax + 0x28], rcx
jne 0x180006e6e
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov dword [rax + 0x34], 1
jmp 0x180006eaf
call fcn.18001d9b0
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov dword [rsp + 0x3c], eax
mov r9d, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x3c]
lea rdx, str.WRITE___d_:_FAILURE__assuming_connection_problem___d_
mov ecx, reloc.WS2_32.dll_select
call fcn.180003ab0
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov dword [rax + 0x34], 3
jmp 0x180006eed
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax]
lea rdx, str.WRITE___d_:_SHUTDOWN_signal_encountered
mov ecx, reloc.WS2_32.dll_select
call fcn.180003ab0
mov edx, 1
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_shutdown]
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
mov dword [rax + 0x34], 1
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
cmp dword [rax + 0x34], 0
je 0x180006f06
mov dword [rsp + 0x34], 1
jmp 0x180006f0e
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
add rsp, 0x58
ret
Function at 0x18000b520
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
sub rsp, 0x58
xor eax, eax
lea rcx, [r11 - 0x38]
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x180011bf0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov rbp, rcx
add rcx, 0x168
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rsi, [rbp + 0x1d8]
mov rcx, rsi
call fcn.18000e680
mov rbx, qword [rax]
mov rdi, qword [rbx + 8]
cmp byte [rdi + 0x19], 0
jne 0x180011c67
nop dword [rax + rax]
lea rdx, [rdi + 0x1c]
lea r8, [rsp + 0x68]
mov rcx, rsi
call fcn.18000e730
test al, al
je 0x180011c5b
mov rdi, qword [rdi + 0x10]
jmp 0x180011c61
mov rbx, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x180011c40
mov rax, qword [rsi]
cmp rbx, rax
je 0x180011c87
lea r8, [rbx + 0x1c]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.18000e730
test al, al
je 0x180011c8a
mov rax, qword [rsi]
mov rbx, rax
cmp rbx, qword [rsi]
je 0x180011ce7
mov rax, rbx
mov rcx, qword [rbx + 0x10]
cmp byte [rcx + 0x19], 0
je 0x180011cbb
mov rcx, qword [rbx + 8]
cmp byte [rcx + 0x19], 0
jne 0x180011ccd
cmp rax, qword [rcx + 0x10]
jne 0x180011ccd
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], 0
je 0x180011ca6
jmp 0x180011ccd
mov rax, qword [rcx]
cmp byte [rax + 0x19], 0
jne 0x180011ccd
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180011cc4
mov rdx, rbx
mov rcx, rsi
call fcn.180013050
nop
mov edx, 0x20
mov rcx, rax
call fcn.18000a040
nop
lea rcx, [rbp + 0x168]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 0x30
call fcn.180069fc0
mov rsi, rax
mov qword [rsp + 0x60], rax
mov edi, dword [rsp + 0x68]
mov rcx, qword [rbp + 8]
mov ebx, dword [rcx + 8]
lea rax, vtable.Base::Thread.0
mov qword [rsi], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x18], rax
lea rcx, [rsi + 0x20]
xor edx, edx
mov dword [rcx], edx
mov qword [rsi + 0x10], rdx
lea rax, vtable.NS::SessionGeneric::WireCleanupThread.0
mov qword [rsi], rax
mov dword [rsi + 0x28], ebx
mov dword [rsi + 0x2c], edi
mov byte [rsi + 8], 1
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edx
mov r9, rsi
lea r8, [0x180005940]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0x10], rax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x180015010
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov byte [rsp + 0x20], 5
mov byte [rsp + 0x21], 1
mov byte [rsp + 0x22], 0
xor r9d, r9d
mov r8d, 3
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_send]
cdqe
cmp rax, 3
jne 0x180015058
mov dword [rsp + 0x24], 1
jmp 0x180015060
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
add rsp, 0x38
ret
Function at 0x180015070
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov byte [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_recv]
cdqe
cmp rax, 2
jne 0x1800150d5
movzx eax, byte [rsp + 0x24]
cmp eax, 5
jne 0x1800150c4
movzx eax, byte [rsp + 0x25]
cmp eax, 0xff
je 0x1800150c4
mov dword [rsp + 0x28], 1
jmp 0x1800150cc
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1800150e0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov byte [rsp + 0x20], 0
mov byte [rsp + 0x22], 1
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
cmp byte [rax + rcx], 0
jne 0x180015113
mov rax, qword [rsp + 0x40]
dec eax
mov dword [rsp + 0x24], eax
jmp 0x18001513f
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x180015181
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
movsx eax, byte [rcx + rax]
cmp eax, 0x2e
je 0x18001517f
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
movsx eax, byte [rcx + rax]
mov ecx, eax
call fcn.1800731c0
test eax, eax
je 0x18001517f
mov byte [rsp + 0x22], 0
jmp 0x180015181
jmp 0x180015135
mov byte [rsp + 0x28], 5
mov byte [rsp + 0x29], 1
mov byte [rsp + 0x2a], 0
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x1800151a3
mov dword [rsp + 0x30], 1
jmp 0x1800151ab
mov dword [rsp + 0x30], 3
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x2b], al
xor r9d, r9d
mov r8d, 4
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_send]
cdqe
cmp rax, 4
jne 0x1800152c1
movzx eax, byte [rsp + 0x2b]
mov byte [rsp + 0x34], al
cmp byte [rsp + 0x34], 1
je 0x1800151f5
cmp byte [rsp + 0x34], 3
je 0x18001523d
jmp 0x1800152c1
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x80]
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.180015570
xor r9d, r9d
mov r8d, 4
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_send]
cdqe
cmp rax, 4
jne 0x180015238
mov byte [rsp + 0x20], 1
jmp 0x1800152c1
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
cmp byte [rax + rcx], 0
jne 0x180015253
mov rax, qword [rsp + 0x48]
mov byte [rsp + 0x21], al
xor r9d, r9d
mov r8d, 1
lea rdx, [rsp + 0x21]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_send]
cdqe
cmp rax, 1
jne 0x1800152c1
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x80]
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_send]
movzx ecx, byte [rsp + 0x21]
cmp eax, ecx
jne 0x1800152c1
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x180015320
mov rax, qword [rsp + 0x80]
movzx ecx, word [rax + 0x100]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x2c], ax
xor r9d, r9d
mov r8d, 2
lea rdx, [rsp + 0x2c]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_send]
cdqe
cmp rax, 2
jne 0x18001530f
mov dword [rsp + 0x3c], 1
jmp 0x180015317
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
add rsp, 0x68
ret
Function at 0x180015330
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x160
mov rax, qword [0x1800a31a8]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x38], 1
xor r9d, r9d
mov r8d, 4
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.WS2_32.dll_recv]
cdqe
cmp rax, 4
jne 0x1800154d3
movzx eax, byte [rsp + 0x28]
cmp eax, 5
jne 0x1800154d3
mov byte [rsp + 0x21], 0
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x2b]
mov byte [rsp + 0x24], al
cmp byte [rsp + 0x24], 1
je 0x1800153bc
cmp byte [rsp + 0x24], 3
je 0x1800153c3
cmp byte [rsp + 0x24], 4
je 0x180015404
jmp 0x18001540b
mov byte [rsp + 0x21], 4
jmp 0x180015410
xor r9d, r9d
mov r8d, 1
lea rdx, [rsp + 0x21]
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.WS2_32.dll_recv]
cdqe
cmp rax, 1
jne 0x1800153f1
mov dword [rsp + 0x2c], 1
jmp 0x1800153f9
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x20], al
jmp 0x180015410
mov byte [rsp + 0x21], reloc.WS2_32.dll_recv
jmp 0x180015410
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1800154d3
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x101
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x180015468
movzx eax, byte [rsp + 0x21]
xor r9d, r9d
mov r8d, eax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.WS2_32.dll_recv]
movzx ecx, byte [rsp + 0x21]
cmp eax, ecx
jne 0x180015468
mov dword [rsp + 0x30], 1
jmp 0x180015470
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1800154b0
xor r9d, r9d
mov r8d, 2
lea rdx, [rsp + 0x3c]
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.WS2_32.dll_recv]
cdqe
cmp rax, 2
jne 0x1800154b0
mov dword [rsp + 0x34], 1
jmp 0x1800154b8
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1800154d3
movzx eax, byte [rsp + 0x29]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800698b0
add rsp, 0x160
pop rdi
ret