Function at 0x140033920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x168
mov rax, qword [rsp + 0x188]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
add rax, 4
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x48]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x68]
cmp dword [rcx + rax + 0x74], 0
je 0x140033cfa
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax + 0x70]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.140013d50
lea rcx, [rsp + 0x78]
mov rdi, rcx
mov rsi, rax
mov ecx, socket
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x84], 0
je 0x140033cf8
mov eax, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov r8d, 0x104
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.1402c6ef0
nop
lea rcx, [rsp + 0xd8]
call fcn.14000ae90
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140033c7b
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x30], 0
jne 0x140033a98
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
jmp 0x140033ab6
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
add rax, 8
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x30]
call fcn.140013da0
test rax, rax
je 0x140033c79
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400085d0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x70]
call fcn.14000ab80
mov qword [rsp + 0x98], rax
jmp 0x140033b0c
mov rax, qword [rsp + 0x50]
add rax, 0x10
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x50], rax
je 0x140033b84
lea rax, [rsp + 0xb8]
mov rdi, rax
mov rsi, qword [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xb8]
cmp qword [rsp + 0x40], rax
jne 0x140033b7f
mov rcx, qword [rsp + 0x28]
call fcn.140013da0
sub rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
call fcn.140013f40
mov byte [rsp + 0x20], 1
jmp 0x140033b84
jmp 0x140033afe
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140033c74
mov rcx, qword [rsp + 0x30]
call fcn.140013da0
mov qword [rsp + 0x58], rax
movabs rax, 0x8000000000000000
mov rcx, qword [rsp + 0x58]
and rcx, rax
mov rax, rcx
test rax, rax
je 0x140033bf2
mov rax, qword [rsp + 0x58]
and rax, 0xffff
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x28]
call fcn.140013f40
jmp 0x140033c74
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140013cb0
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
lea rax, [rax + rcx + 2]
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.1402c6d80
nop
lea rcx, [rsp + 0x110]
call fcn.14000ae90
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x28]
call fcn.140013f40
nop
lea rcx, [rsp + 0x110]
call fcn.1400067e0
jmp 0x140033a9a
jmp 0x140033c97
lea rcx, [rsp + 0xd8]
call fcn.14000ae90
mov rdx, rax
lea rcx, [0x140367560]
call fcn.14000cc30
mov rax, qword [rsp + 0x60]
add rax, 0x14
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x148]
call fcn.140013d50
lea rcx, [rsp + 0xf8]
mov rdi, rcx
mov rsi, rax
mov ecx, socket
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x78]
lea rcx, [rsp + 0xf8]
mov rdi, rax
mov rsi, rcx
mov ecx, socket
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0xd8]
call fcn.1400067e0
jmp 0x1400339fd
jmp 0x140033d06
lea rcx, [0x140367578]
call fcn.14000cc30
add rsp, 0x168
pop rdi
pop rsi
ret