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

Disassembly:
push rsi
push rdi
sub rsp, 0x308
mov rax, qword [0x140c3a780]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
lea rcx, [0x140c3b480]
call fcn.140041880
lea rcx, [0x140c3b498]
call fcn.140041880
lea rcx, [0x140c3b4b0]
call fcn.140041880
mov rax, qword [0x140c3b468]
mov rcx, qword [0x140c3b2a8]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0x240]
call fcn.1400328a0
nop
lea rcx, [rsp + 0x240]
call fcn.1400431f0
movzx eax, al
test eax, eax
jne 0x140041b6e
jmp 0x1400426ba
mov edx, Ordinal_27
lea rcx, [rsp + 0x280]
call fcn.140035370
lea rcx, [rsp + 0x4d]
call fcn.14002e970
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x240]
call fcn.140035ed0
cdqe
mov qword [rsp + 0x88], rax
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x280]
call fcn.14003a840
nop
mov dword [rsp + 0x40], 0
jmp 0x140041bdb
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x240]
call fcn.140035ed0
cmp dword [rsp + 0x40], eax
jge 0x140041c7a
lea rcx, [rsp + 0x240]
call fcn.140031910
mov rcx, rax
call fcn.14010c5d0
movzx eax, al
test eax, eax
je 0x140041c75
movsxd rax, dword [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x280]
call fcn.14003b160
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x40]
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x240]
call fcn.140031910
mov rcx, qword [rsp + 0x90]
lea rax, [rax + rcx*8]
mov qword [rsp + 0xa0], rax
mov r8d, 8
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call fcn.1401014d0
nop
jmp 0x140041bd1
call fcn.140103b80
nop
mov edx, Ordinal_27
lea rcx, [rsp + 0x2d8]
call fcn.140035370
lea rcx, [rsp + 0x48]
call fcn.14002e970
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x280]
call fcn.1400436a0
mov qword [rsp + 0xb0], rax
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x2d8]
call fcn.14003a7f0
nop
mov dword [rsp + 0x2c], 0
jmp 0x140041ceb
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
movsxd rax, dword [rsp + 0x2c]
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x280]
call fcn.1400436a0
mov rcx, qword [rsp + 0xb8]
cmp rcx, rax
jae 0x140041da1
movsxd rax, dword [rsp + 0x2c]
mov rdx, rax
lea rcx, [rsp + 0x280]
call fcn.14003b160
mov rcx, qword [rax]
call fcn.14010c5d0
movzx eax, al
test eax, eax
jne 0x140041d3c
jmp 0x140041ce1
movsxd rax, dword [rsp + 0x2c]
mov rdx, rax
lea rcx, [rsp + 0x2d8]
call fcn.14003b130
mov qword [rsp + 0xc0], rax
movsxd rax, dword [rsp + 0x2c]
mov rdx, rax
lea rcx, [rsp + 0x280]
call fcn.14003b160
mov rax, qword [rax]
add rax, qword [0x140c3b470]
mov qword [rsp + 0xc8], rax
mov r8d, reloc.WS2_32.dll_recv
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call fcn.1401014d0
nop
jmp 0x140041ce1
call fcn.140103b80
mov edx, Ordinal_27
lea rcx, [rsp + 0x228]
call fcn.140035370
lea rcx, [rsp + 0x228]
call fcn.140033010
nop
lea rax, [rsp + 0x2d8]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.140031fd0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x70]
call fcn.140040e80
mov qword [rsp + 0xd0], rax
jmp 0x140041e04
mov rax, qword [rsp + 0x50]
add rax, 0x10
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xd0]
cmp qword [rsp + 0x50], rax
je 0x140041ea4
lea rax, [rsp + 0x2c8]
mov rdi, rax
mov rsi, qword [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x2c8]
call fcn.1400431f0
movzx eax, al
test eax, eax
je 0x140041e9f
mov dword [rsp + 0x44], 0
jmp 0x140041e56
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x2c8]
call fcn.140035ed0
cmp dword [rsp + 0x44], eax
jge 0x140041e9f
lea rcx, [rsp + 0x2c8]
call fcn.140031910
movsxd rcx, dword [rsp + 0x44]
lea rax, [rax + rcx*8]
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x228]
call fcn.1400435e0
nop
jmp 0x140041e4c
jmp 0x140041df6
lea rax, [rsp + 0x228]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140031fd0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x78]
call fcn.140040e80
mov qword [rsp + 0xe0], rax
jmp 0x140041ee2
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rsp + 0x58], rax
je 0x140041f2a
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14010c5d0
movzx eax, al
test eax, eax
je 0x140041f28
mov r8d, 8
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.1401014d0
nop
jmp 0x140041ed4
call fcn.140103b80
nop
mov edx, Ordinal_27
lea rcx, [rsp + 0x2b0]
call fcn.140035370
lea rcx, [rsp + 0x49]
call fcn.14002e970
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0x228]
call fcn.1400436a0
mov qword [rsp + 0xf0], rax
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x2b0]
call fcn.14003a840
nop
mov edx, Ordinal_27
lea rcx, [rsp + 0x268]
call fcn.140035370
lea rcx, [rsp + 0x4a]
call fcn.14002e970
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x228]
call fcn.1400436a0
mov qword [rsp + 0x100], rax
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x268]
call fcn.14003a750
nop
mov dword [rsp + 0x30], 0
jmp 0x140041ff2
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
mov qword [rsp + 0x108], rax
lea rcx, [rsp + 0x228]
call fcn.1400436a0
mov rcx, qword [rsp + 0x108]
cmp rcx, rax
jae 0x1400420a3
movsxd rax, dword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x228]
call fcn.14003b160
mov rcx, qword [rax]
call fcn.14010c5d0
movzx eax, al
test eax, eax
je 0x14004209e
movsxd rax, dword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x2b0]
call fcn.14003b160
mov qword [rsp + 0x110], rax
movsxd rax, dword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x228]
call fcn.14003b160
mov rax, qword [rax]
add rax, 0x18
mov qword [rsp + 0x118], rax
mov r8d, 4
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x118]
call fcn.1401014d0
nop
jmp 0x140041fe8
call fcn.140103b80
nop
mov dword [rsp + 0x20], 0
jmp 0x1400420bd
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x120], rax
lea rcx, [rsp + 0x228]
call fcn.1400436a0
mov rcx, qword [rsp + 0x120]
cmp rcx, rax
jae 0x1400421ec
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x228]
call fcn.14003b160
mov rcx, qword [rax]
call fcn.14010c5d0
movzx eax, al
test eax, eax
jne 0x14004210e
jmp 0x1400420b3
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x2b0]
call fcn.14003b160
cmp qword [rax], 0
jne 0x14004212b
jmp 0x1400420b3
lea rax, [rsp + 0x1e8]
mov qword [rsp + 0x128], rax
call fcn.1400426e0
mov rdx, rax
mov rcx, qword [rsp + 0x128]
call fcn.14003a680
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x2b0]
call fcn.14003b160
mov eax, dword [rax]
mov dword [rsp + 0x60], eax
mov r8, qword [rsp + 0x138]
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x1b8]
call fcn.14010b890
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.14003b0a0
mov rdx, qword [rsp + 0x148]
mov rcx, rax
call fcn.14003b010
lea rcx, [rsp + 0x1b8]
call fcn.14003aee0
nop
jmp 0x1400420b3
mov edx, Ordinal_27
lea rcx, [rsp + 0x250]
call fcn.140035370
lea rcx, [rsp + 0x4b]
call fcn.14002e970
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x228]
call fcn.1400436a0
mov qword [rsp + 0x158], rax
mov r8, qword [rsp + 0x150]
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0x250]
call fcn.14003a840
nop
mov edx, Ordinal_27
lea rcx, [rsp + 0x298]
call fcn.140035370
lea rcx, [rsp + 0x4c]
call fcn.14002e970
mov qword [rsp + 0x160], rax
lea rcx, [rsp + 0x228]
call fcn.1400436a0
mov qword [rsp + 0x168], rax
mov r8, qword [rsp + 0x160]
mov rdx, qword [rsp + 0x168]
lea rcx, [rsp + 0x298]
call fcn.14003a7a0
nop
mov dword [rsp + 0x24], 0
jmp 0x1400422ae
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov qword [rsp + 0x170], rax
lea rcx, [rsp + 0x228]
call fcn.1400436a0
mov rcx, qword [rsp + 0x170]
cmp rcx, rax
jae 0x14004237d
movsxd rax, dword [rsp + 0x24]
mov rdx, rax
lea rcx, [rsp + 0x228]
call fcn.14003b160
mov rcx, qword [rax]
call fcn.14010c5d0
movzx eax, al
test eax, eax
je 0x140042378
movsxd rax, dword [rsp + 0x24]
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.14003b0a0
cmp dword [rax + 0x28], 0
je 0x140042378
movsxd rax, dword [rsp + 0x24]
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.14003b160
mov qword [rsp + 0x178], rax
movsxd rax, dword [rsp + 0x24]
mov rdx, rax
lea rcx, [rsp + 0x228]
call fcn.14003b160
mov rax, qword [rax]
add rax, qword [0x140c3b458]
mov qword [rsp + 0x180], rax
mov r8d, 8
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x180]
call fcn.1401014d0
nop
jmp 0x1400422a4
call fcn.140103b80
nop
mov dword [rsp + 0x28], 0
jmp 0x140042397
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x28]
mov qword [rsp + 0x188], rax
lea rcx, [rsp + 0x228]
call fcn.1400436a0
mov rcx, qword [rsp + 0x188]
cmp rcx, rax
jae 0x140042466
movsxd rax, dword [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.14003b160
mov rcx, qword [rax]
call fcn.14010c5d0
movzx eax, al
test eax, eax
je 0x140042461
movsxd rax, dword [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.14003b0a0
cmp dword [rax + 0x28], 0
je 0x140042461
movsxd rax, dword [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x298]
call fcn.14003b0d0
mov qword [rsp + 0x190], rax
movsxd rax, dword [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.14003b160
mov rax, qword [rax]
add rax, qword [0x140c3b460]
mov qword [rsp + 0x198], rax
mov r8d, Ordinal_27
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x198]
call fcn.1401014d0
nop
jmp 0x14004238d
call fcn.140103b80
nop
mov dword [rsp + 0x34], 0
jmp 0x140042480
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x34]
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0x228]
call fcn.1400436a0
mov rcx, qword [rsp + 0x1a0]
cmp rcx, rax
jae 0x140042510
movsxd rax, dword [rsp + 0x34]
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.14003b160
mov rcx, qword [rax]
call fcn.14010c5d0
movzx eax, al
test eax, eax
je 0x14004250b
movsxd rax, dword [rsp + 0x34]
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.14003b0a0
cmp dword [rax + 0x28], 1
jne 0x14004250b
movsxd rax, dword [rsp + 0x34]
mov rdx, rax
lea rcx, [rsp + 0x298]
call fcn.14003b0d0
mov rdx, rax
lea rcx, [0x140c3b480]
call fcn.1400435b0
nop
jmp 0x140042476
mov dword [rsp + 0x38], 0
jmp 0x140042524
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
mov qword [rsp + 0x1a8], rax
lea rcx, [rsp + 0x228]
call fcn.1400436a0
mov rcx, qword [rsp + 0x1a8]
cmp rcx, rax
jae 0x1400425b4
movsxd rax, dword [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.14003b160
mov rcx, qword [rax]
call fcn.14010c5d0
movzx eax, al
test eax, eax
je 0x1400425af
movsxd rax, dword [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.14003b0a0
cmp dword [rax + 0x28], 2
jne 0x1400425af
movsxd rax, dword [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x298]
call fcn.14003b0d0
mov rdx, rax
lea rcx, [0x140c3b498]
call fcn.1400435b0
nop
jmp 0x14004251a
mov dword [rsp + 0x3c], 0
jmp 0x1400425c8
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
movsxd rax, dword [rsp + 0x3c]
mov qword [rsp + 0x1b0], rax
lea rcx, [rsp + 0x228]
call fcn.1400436a0
mov rcx, qword [rsp + 0x1b0]
cmp rcx, rax
jae 0x140042658
movsxd rax, dword [rsp + 0x3c]
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.14003b160
mov rcx, qword [rax]
call fcn.14010c5d0
movzx eax, al
test eax, eax
je 0x140042653
movsxd rax, dword [rsp + 0x3c]
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.14003b0a0
cmp dword [rax + 0x28], 3
jne 0x140042653
movsxd rax, dword [rsp + 0x3c]
mov rdx, rax
lea rcx, [rsp + 0x298]
call fcn.14003b0d0
mov rdx, rax
lea rcx, [0x140c3b4b0]
call fcn.1400435b0
nop
jmp 0x1400425be
lea rcx, [rsp + 0x298]
call fcn.14003ae80
nop
lea rcx, [rsp + 0x250]
call fcn.14003aec0
nop
lea rcx, [rsp + 0x268]
call fcn.14003ae60
nop
lea rcx, [rsp + 0x2b0]
call fcn.14003aec0
nop
lea rcx, [rsp + 0x228]
call fcn.14003aec0
nop
lea rcx, [rsp + 0x2d8]
call fcn.14003aea0
nop
lea rcx, [rsp + 0x280]
call fcn.14003aec0
nop
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1402a5b30
add rsp, 0x308
pop rdi
pop rsi
ret