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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x338
xor edx, edx
xor ecx, ecx
call fcn.180240c00
mov ecx, 1
mov dword [rsp + 0x20], ecx
movzx ecx, al
mov eax, dword [rsp + 0x20]
shl eax, cl
sar eax, 1
and eax, dword [rsp + 0x348]
test eax, eax
jne 0x180247c77
jmp 0x180247d58
cmp qword [rsp + 0x358], 0
jne 0x180247d12
lea rcx, [0x18059feb8]
call fcn.18005d5a0
mov qword [rsp + 0x130], rax
mov ecx, 0x60
call fcn.18005d070
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x180247ccd
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x58]
call fcn.18023c6c0
mov qword [rsp + 0x60], rax
jmp 0x180247cd6
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x138], rax
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
jmp 0x180247d58
lea rcx, [0x18059feb8]
call fcn.18005d5a0
mov qword [rsp + 0x140], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023a7c0
mov qword [rsp + 0x148], rax
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
xor edx, edx
xor ecx, ecx
call fcn.180241800
mov ecx, 1
mov dword [rsp + 0x24], ecx
movzx ecx, al
mov eax, dword [rsp + 0x24]
shl eax, cl
sar eax, 1
and eax, dword [rsp + 0x348]
test eax, eax
jne 0x180247d85
jmp 0x180247e66
cmp qword [rsp + 0x358], 0
jne 0x180247e20
lea rcx, [0x1805a0518]
call fcn.18005d5a0
mov qword [rsp + 0x158], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.18005d070
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x180247ddb
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x68]
call fcn.18023cac0
mov qword [rsp + 0x70], rax
jmp 0x180247de4
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x160], rax
mov r8, qword [rsp + 0x158]
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
jmp 0x180247e66
lea rcx, [0x1805a0518]
call fcn.18005d5a0
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023b540
mov qword [rsp + 0x170], rax
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
xor edx, edx
xor ecx, ecx
call fcn.180241a00
mov ecx, 1
mov dword [rsp + 0x28], ecx
movzx ecx, al
mov eax, dword [rsp + 0x28]
shl eax, cl
sar eax, 1
and eax, dword [rsp + 0x348]
test eax, eax
jne 0x180247e93
jmp 0x180247f7d
cmp qword [rsp + 0x358], 0
jne 0x180247f37
lea rcx, [0x1805a0520]
call fcn.18005d5a0
mov qword [rsp + 0x180], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.18005d070
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x180247eec
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x78]
call fcn.18023cb60
mov qword [rsp + 0x80], rax
jmp 0x180247ef8
mov qword [rsp + 0x80], 0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x188], rax
mov r8, qword [rsp + 0x180]
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
jmp 0x180247f7d
lea rcx, [0x1805a0520]
call fcn.18005d5a0
mov qword [rsp + 0x190], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023b780
mov qword [rsp + 0x198], rax
mov r8, qword [rsp + 0x190]
mov rdx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
xor edx, edx
xor ecx, ecx
call fcn.180241c00
mov ecx, 1
mov dword [rsp + 0x2c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x2c]
shl eax, cl
sar eax, 1
and eax, dword [rsp + 0x348]
test eax, eax
jne 0x180247faa
jmp 0x1802480a0
cmp qword [rsp + 0x358], 0
jne 0x18024805a
lea rcx, [0x1805a0528]
call fcn.18005d5a0
mov qword [rsp + 0x1a8], rax
mov ecx, gethostbyname
call fcn.18005d070
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x18024800f
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x88]
call fcn.18023cc10
mov qword [rsp + 0x90], rax
jmp 0x18024801b
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1b0], rax
mov r8, qword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
jmp 0x1802480a0
lea rcx, [0x1805a0528]
call fcn.18005d5a0
mov qword [rsp + 0x1b8], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023b9c0
mov qword [rsp + 0x1c0], rax
mov r8, qword [rsp + 0x1b8]
mov rdx, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
xor edx, edx
xor ecx, ecx
call fcn.180240990
mov ecx, 1
mov dword [rsp + 0x30], ecx
movzx ecx, al
mov eax, dword [rsp + 0x30]
shl eax, cl
sar eax, 1
and eax, dword [rsp + 0x348]
test eax, eax
jne 0x1802480cd
jmp 0x1802481c0
cmp qword [rsp + 0x358], 0
jne 0x18024817a
lea rcx, [0x1805a0530]
call fcn.18005d5a0
mov qword [rsp + 0x1d0], rax
mov ecx, 0x20
call fcn.18005d070
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x18024812f
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x98]
call fcn.18023c620
mov qword [rsp + 0xa0], rax
jmp 0x18024813b
mov qword [rsp + 0xa0], 0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x1d8], rax
mov r8, qword [rsp + 0x1d0]
mov rdx, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
jmp 0x1802481c0
lea rcx, [0x1805a0530]
call fcn.18005d5a0
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023a580
mov qword [rsp + 0x1e8], rax
mov r8, qword [rsp + 0x1e0]
mov rdx, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
xor edx, edx
xor ecx, ecx
call fcn.180240e00
mov ecx, 1
mov dword [rsp + 0x34], ecx
movzx ecx, al
mov eax, dword [rsp + 0x34]
shl eax, cl
sar eax, 1
and eax, dword [rsp + 0x348]
test eax, eax
jne 0x1802481ed
jmp 0x1802482e0
cmp qword [rsp + 0x358], 0
jne 0x18024829a
lea rcx, [0x1805a0538]
call fcn.18005d5a0
mov qword [rsp + 0x1f8], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.18005d070
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x18024824f
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0xa8]
call fcn.18023c760
mov qword [rsp + 0xb0], rax
jmp 0x18024825b
mov qword [rsp + 0xb0], 0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x200], rax
mov r8, qword [rsp + 0x1f8]
mov rdx, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
jmp 0x1802482e0
lea rcx, [0x1805a0538]
call fcn.18005d5a0
mov qword [rsp + 0x208], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023aa00
mov qword [rsp + 0x210], rax
mov r8, qword [rsp + 0x208]
mov rdx, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
xor edx, edx
xor ecx, ecx
call fcn.180241000
mov ecx, 1
mov dword [rsp + 0x38], ecx
movzx ecx, al
mov eax, dword [rsp + 0x38]
shl eax, cl
sar eax, 1
and eax, dword [rsp + 0x348]
test eax, eax
jne 0x18024830d
jmp 0x180248400
cmp qword [rsp + 0x358], 0
jne 0x1802483ba
lea rcx, [0x1805a0540]
call fcn.18005d5a0
mov qword [rsp + 0x220], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.18005d070
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x18024836f
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0xb8]
call fcn.18023c800
mov qword [rsp + 0xc0], rax
jmp 0x18024837b
mov qword [rsp + 0xc0], 0
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x228], rax
mov r8, qword [rsp + 0x220]
mov rdx, qword [rsp + 0x228]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
jmp 0x180248400
lea rcx, [0x1805a0540]
call fcn.18005d5a0
mov qword [rsp + 0x230], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023ac40
mov qword [rsp + 0x238], rax
mov r8, qword [rsp + 0x230]
mov rdx, qword [rsp + 0x238]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
xor edx, edx
xor ecx, ecx
call fcn.180241200
mov ecx, 1
mov dword [rsp + 0x3c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x3c]
shl eax, cl
sar eax, 1
and eax, dword [rsp + 0x348]
test eax, eax
jne 0x18024842d
jmp 0x180248520
cmp qword [rsp + 0x358], 0
jne 0x1802484da
lea rcx, [0x1805a0548]
call fcn.18005d5a0
mov qword [rsp + 0x248], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.18005d070
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
je 0x18024848f
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0xc8]
call fcn.18023c8a0
mov qword [rsp + 0xd0], rax
jmp 0x18024849b
mov qword [rsp + 0xd0], 0
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x250], rax
mov r8, qword [rsp + 0x248]
mov rdx, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
jmp 0x180248520
lea rcx, [0x1805a0548]
call fcn.18005d5a0
mov qword [rsp + 0x258], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023ae80
mov qword [rsp + 0x260], rax
mov r8, qword [rsp + 0x258]
mov rdx, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
xor edx, edx
xor ecx, ecx
call fcn.180241600
mov ecx, 1
mov dword [rsp + 0x40], ecx
movzx ecx, al
mov eax, dword [rsp + 0x40]
shl eax, cl
sar eax, 1
and eax, dword [rsp + 0x348]
test eax, eax
jne 0x18024854d
jmp 0x180248643
cmp qword [rsp + 0x358], 0
jne 0x1802485fd
lea rcx, [0x1805a0550]
call fcn.18005d5a0
mov qword [rsp + 0x270], rax
mov ecx, 0x78
call fcn.18005d070
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0xd8], 0
je 0x1802485b2
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0xd8]
call fcn.18023ca10
mov qword [rsp + 0xe0], rax
jmp 0x1802485be
mov qword [rsp + 0xe0], 0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x268], rax
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x278], rax
mov r8, qword [rsp + 0x270]
mov rdx, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
jmp 0x180248643
lea rcx, [0x1805a0550]
call fcn.18005d5a0
mov qword [rsp + 0x280], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023b300
mov qword [rsp + 0x288], rax
mov r8, qword [rsp + 0x280]
mov rdx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
xor edx, edx
xor ecx, ecx
call fcn.180241500
mov ecx, 1
mov dword [rsp + 0x44], ecx
movzx ecx, al
mov eax, dword [rsp + 0x44]
shl eax, cl
sar eax, 1
and eax, dword [rsp + 0x348]
test eax, eax
jne 0x180248670
jmp 0x180248766
cmp qword [rsp + 0x358], 0
jne 0x180248720
lea rcx, [0x1805a0558]
call fcn.18005d5a0
mov qword [rsp + 0x298], rax
mov ecx, 0x78
call fcn.18005d070
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0
je 0x1802486d5
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0xe8]
call fcn.18023c9b0
mov qword [rsp + 0xf0], rax
jmp 0x1802486e1
mov qword [rsp + 0xf0], 0
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x2a0], rax
mov r8, qword [rsp + 0x298]
mov rdx, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
jmp 0x180248766
lea rcx, [0x1805a0558]
call fcn.18005d5a0
mov qword [rsp + 0x2a8], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023b1e0
mov qword [rsp + 0x2b0], rax
mov r8, qword [rsp + 0x2a8]
mov rdx, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
xor edx, edx
xor ecx, ecx
call fcn.180241e00
mov ecx, 1
mov dword [rsp + 0x48], ecx
movzx ecx, al
mov eax, dword [rsp + 0x48]
shl eax, cl
sar eax, 1
and eax, dword [rsp + 0x348]
test eax, eax
jne 0x180248793
jmp 0x180248886
cmp qword [rsp + 0x358], 0
jne 0x180248840
lea rcx, [0x1805a0560]
call fcn.18005d5a0
mov qword [rsp + 0x2c0], rax
mov ecx, 0x58
call fcn.18005d070
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
je 0x1802487f5
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0xf8]
call fcn.18023ccc0
mov qword [rsp + 0x100], rax
jmp 0x180248801
mov qword [rsp + 0x100], 0
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x2b8], rax
mov rax, qword [rsp + 0x2b8]
mov qword [rsp + 0x2c8], rax
mov r8, qword [rsp + 0x2c0]
mov rdx, qword [rsp + 0x2c8]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
jmp 0x180248886
lea rcx, [0x1805a0560]
call fcn.18005d5a0
mov qword [rsp + 0x2d0], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023bc00
mov qword [rsp + 0x2d8], rax
mov r8, qword [rsp + 0x2d0]
mov rdx, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
xor edx, edx
xor ecx, ecx
call fcn.180242000
mov ecx, 1
mov dword [rsp + 0x4c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x4c]
shl eax, cl
sar eax, 1
and eax, dword [rsp + 0x348]
test eax, eax
jne 0x1802488b3
jmp 0x1802489a6
cmp qword [rsp + 0x358], 0
jne 0x180248960
lea rcx, [0x1805a0510]
call fcn.18005d5a0
mov qword [rsp + 0x2e8], rax
mov ecx, 0x18
call fcn.18005d070
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x108], 0
je 0x180248915
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x108]
call fcn.18023cd80
mov qword [rsp + 0x110], rax
jmp 0x180248921
mov qword [rsp + 0x110], 0
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x2e0], rax
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x2f0], rax
mov r8, qword [rsp + 0x2e8]
mov rdx, qword [rsp + 0x2f0]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
jmp 0x1802489a6
lea rcx, [0x1805a0510]
call fcn.18005d5a0
mov qword [rsp + 0x2f8], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023be40
mov qword [rsp + 0x300], rax
mov r8, qword [rsp + 0x2f8]
mov rdx, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
xor edx, edx
xor ecx, ecx
call fcn.180240720
mov ecx, 1
mov dword [rsp + 0x50], ecx
movzx ecx, al
mov eax, dword [rsp + 0x50]
shl eax, cl
sar eax, 1
and eax, dword [rsp + 0x348]
test eax, eax
jne 0x1802489d3
jmp 0x180248ac6
cmp qword [rsp + 0x358], 0
jne 0x180248a80
lea rcx, [0x18059fee8]
call fcn.18005d5a0
mov qword [rsp + 0x310], rax
mov ecx, 0x40
call fcn.18005d070
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x118], 0
je 0x180248a35
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x118]
call fcn.18023c580
mov qword [rsp + 0x120], rax
jmp 0x180248a41
mov qword [rsp + 0x120], 0
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x308], rax
mov rax, qword [rsp + 0x308]
mov qword [rsp + 0x318], rax
mov r8, qword [rsp + 0x310]
mov rdx, qword [rsp + 0x318]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
jmp 0x180248ac6
lea rcx, [0x18059fee8]
call fcn.18005d5a0
mov qword [rsp + 0x320], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023a340
mov qword [rsp + 0x328], rax
mov r8, qword [rsp + 0x320]
mov rdx, qword [rsp + 0x328]
mov rcx, qword [rsp + 0x350]
call fcn.18022e100
add rsp, 0x338
ret