Function at 0x18024b420
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.180244370
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 0x18024b467
jmp 0x18024b54a
cmp qword [rsp + 0x358], 0
jne 0x18024b503
lea rcx, [0x18059e208]
call fcn.180055fe0
mov qword [rsp + 0x130], rax
mov ecx, 0x60
call fcn.180055ab0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x18024b4bd
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x58]
call fcn.18023fdf0
mov qword [rsp + 0x60], rax
jmp 0x18024b4c6
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.1802315b0
nop
jmp 0x18024b54a
lea rcx, [0x18059e208]
call fcn.180055fe0
mov qword [rsp + 0x140], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023def0
mov qword [rsp + 0x148], rax
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x350]
call fcn.1802315b0
nop
xor edx, edx
xor ecx, ecx
call fcn.180244f70
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 0x18024b577
jmp 0x18024b65a
cmp qword [rsp + 0x358], 0
jne 0x18024b613
lea rcx, [0x18059e868]
call fcn.180055fe0
mov qword [rsp + 0x158], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.180055ab0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x18024b5cd
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x68]
call fcn.1802401f0
mov qword [rsp + 0x70], rax
jmp 0x18024b5d6
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.1802315b0
nop
jmp 0x18024b65a
lea rcx, [0x18059e868]
call fcn.180055fe0
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023ec70
mov qword [rsp + 0x170], rax
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x350]
call fcn.1802315b0
nop
xor edx, edx
xor ecx, ecx
call fcn.180245170
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 0x18024b687
jmp 0x18024b773
cmp qword [rsp + 0x358], 0
jne 0x18024b72c
lea rcx, [0x18059e870]
call fcn.180055fe0
mov qword [rsp + 0x180], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.180055ab0
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x18024b6e0
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x78]
call fcn.180240290
mov qword [rsp + 0x80], rax
jmp 0x18024b6ec
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.1802315b0
nop
jmp 0x18024b773
lea rcx, [0x18059e870]
call fcn.180055fe0
mov qword [rsp + 0x190], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023eeb0
mov qword [rsp + 0x198], rax
mov r8, qword [rsp + 0x190]
mov rdx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x350]
call fcn.1802315b0
nop
xor edx, edx
xor ecx, ecx
call fcn.180245370
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 0x18024b7a0
jmp 0x18024b898
cmp qword [rsp + 0x358], 0
jne 0x18024b851
lea rcx, [0x18059e878]
call fcn.180055fe0
mov qword [rsp + 0x1a8], rax
mov ecx, gethostbyname
call fcn.180055ab0
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x18024b805
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x88]
call fcn.180240340
mov qword [rsp + 0x90], rax
jmp 0x18024b811
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.1802315b0
nop
jmp 0x18024b898
lea rcx, [0x18059e878]
call fcn.180055fe0
mov qword [rsp + 0x1b8], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023f0f0
mov qword [rsp + 0x1c0], rax
mov r8, qword [rsp + 0x1b8]
mov rdx, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x350]
call fcn.1802315b0
nop
xor edx, edx
xor ecx, ecx
call fcn.180244100
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 0x18024b8c5
jmp 0x18024b9ba
cmp qword [rsp + 0x358], 0
jne 0x18024b973
lea rcx, [0x18059e880]
call fcn.180055fe0
mov qword [rsp + 0x1d0], rax
mov ecx, 0x20
call fcn.180055ab0
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x18024b927
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x98]
call fcn.18023fd50
mov qword [rsp + 0xa0], rax
jmp 0x18024b933
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.1802315b0
nop
jmp 0x18024b9ba
lea rcx, [0x18059e880]
call fcn.180055fe0
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023dcb0
mov qword [rsp + 0x1e8], rax
mov r8, qword [rsp + 0x1e0]
mov rdx, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0x350]
call fcn.1802315b0
nop
xor edx, edx
xor ecx, ecx
call fcn.180244570
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 0x18024b9e7
jmp 0x18024badc
cmp qword [rsp + 0x358], 0
jne 0x18024ba95
lea rcx, [0x18059e888]
call fcn.180055fe0
mov qword [rsp + 0x1f8], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.180055ab0
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x18024ba49
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0xa8]
call fcn.18023fe90
mov qword [rsp + 0xb0], rax
jmp 0x18024ba55
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.1802315b0
nop
jmp 0x18024badc
lea rcx, [0x18059e888]
call fcn.180055fe0
mov qword [rsp + 0x208], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023e130
mov qword [rsp + 0x210], rax
mov r8, qword [rsp + 0x208]
mov rdx, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x350]
call fcn.1802315b0
nop
xor edx, edx
xor ecx, ecx
call fcn.180244770
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 0x18024bb09
jmp 0x18024bbfe
cmp qword [rsp + 0x358], 0
jne 0x18024bbb7
lea rcx, [0x18059e890]
call fcn.180055fe0
mov qword [rsp + 0x220], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.180055ab0
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x18024bb6b
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0xb8]
call fcn.18023ff30
mov qword [rsp + 0xc0], rax
jmp 0x18024bb77
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.1802315b0
nop
jmp 0x18024bbfe
lea rcx, [0x18059e890]
call fcn.180055fe0
mov qword [rsp + 0x230], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023e370
mov qword [rsp + 0x238], rax
mov r8, qword [rsp + 0x230]
mov rdx, qword [rsp + 0x238]
mov rcx, qword [rsp + 0x350]
call fcn.1802315b0
nop
xor edx, edx
xor ecx, ecx
call fcn.180244970
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 0x18024bc2b
jmp 0x18024bd20
cmp qword [rsp + 0x358], 0
jne 0x18024bcd9
lea rcx, [0x18059e898]
call fcn.180055fe0
mov qword [rsp + 0x248], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.180055ab0
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
je 0x18024bc8d
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0xc8]
call fcn.18023ffd0
mov qword [rsp + 0xd0], rax
jmp 0x18024bc99
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.1802315b0
nop
jmp 0x18024bd20
lea rcx, [0x18059e898]
call fcn.180055fe0
mov qword [rsp + 0x258], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023e5b0
mov qword [rsp + 0x260], rax
mov r8, qword [rsp + 0x258]
mov rdx, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x350]
call fcn.1802315b0
nop
xor edx, edx
xor ecx, ecx
call fcn.180244d70
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 0x18024bd4d
jmp 0x18024be45
cmp qword [rsp + 0x358], 0
jne 0x18024bdfe
lea rcx, [0x18059e8a0]
call fcn.180055fe0
mov qword [rsp + 0x270], rax
mov ecx, 0x78
call fcn.180055ab0
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0xd8], 0
je 0x18024bdb2
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0xd8]
call fcn.180240140
mov qword [rsp + 0xe0], rax
jmp 0x18024bdbe
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.1802315b0
nop
jmp 0x18024be45
lea rcx, [0x18059e8a0]
call fcn.180055fe0
mov qword [rsp + 0x280], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023ea30
mov qword [rsp + 0x288], rax
mov r8, qword [rsp + 0x280]
mov rdx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x350]
call fcn.1802315b0
nop
xor edx, edx
xor ecx, ecx
call fcn.180244c70
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 0x18024be72
jmp 0x18024bf6a
cmp qword [rsp + 0x358], 0
jne 0x18024bf23
lea rcx, [0x18059e8a8]
call fcn.180055fe0
mov qword [rsp + 0x298], rax
mov ecx, 0x78
call fcn.180055ab0
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0
je 0x18024bed7
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0xe8]
call fcn.1802400e0
mov qword [rsp + 0xf0], rax
jmp 0x18024bee3
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.1802315b0
nop
jmp 0x18024bf6a
lea rcx, [0x18059e8a8]
call fcn.180055fe0
mov qword [rsp + 0x2a8], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023e910
mov qword [rsp + 0x2b0], rax
mov r8, qword [rsp + 0x2a8]
mov rdx, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x350]
call fcn.1802315b0
nop
xor edx, edx
xor ecx, ecx
call fcn.180245570
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 0x18024bf97
jmp 0x18024c08c
cmp qword [rsp + 0x358], 0
jne 0x18024c045
lea rcx, [0x18059e8b0]
call fcn.180055fe0
mov qword [rsp + 0x2c0], rax
mov ecx, 0x58
call fcn.180055ab0
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
je 0x18024bff9
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0xf8]
call fcn.1802403f0
mov qword [rsp + 0x100], rax
jmp 0x18024c005
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.1802315b0
nop
jmp 0x18024c08c
lea rcx, [0x18059e8b0]
call fcn.180055fe0
mov qword [rsp + 0x2d0], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023f330
mov qword [rsp + 0x2d8], rax
mov r8, qword [rsp + 0x2d0]
mov rdx, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x350]
call fcn.1802315b0
nop
xor edx, edx
xor ecx, ecx
call fcn.180245770
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 0x18024c0b9
jmp 0x18024c1ae
cmp qword [rsp + 0x358], 0
jne 0x18024c167
lea rcx, [0x18059e860]
call fcn.180055fe0
mov qword [rsp + 0x2e8], rax
mov ecx, 0x18
call fcn.180055ab0
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x108], 0
je 0x18024c11b
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x108]
call fcn.1802404b0
mov qword [rsp + 0x110], rax
jmp 0x18024c127
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.1802315b0
nop
jmp 0x18024c1ae
lea rcx, [0x18059e860]
call fcn.180055fe0
mov qword [rsp + 0x2f8], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023f570
mov qword [rsp + 0x300], rax
mov r8, qword [rsp + 0x2f8]
mov rdx, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x350]
call fcn.1802315b0
nop
xor edx, edx
xor ecx, ecx
call fcn.180243e90
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 0x18024c1db
jmp 0x18024c2d0
cmp qword [rsp + 0x358], 0
jne 0x18024c289
lea rcx, [0x18059e238]
call fcn.180055fe0
mov qword [rsp + 0x310], rax
mov ecx, 0x40
call fcn.180055ab0
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x118], 0
je 0x18024c23d
xor r8d, r8d
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x118]
call fcn.18023fcb0
mov qword [rsp + 0x120], rax
jmp 0x18024c249
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.1802315b0
nop
jmp 0x18024c2d0
lea rcx, [0x18059e238]
call fcn.180055fe0
mov qword [rsp + 0x320], rax
mov rcx, qword [rsp + 0x358]
call fcn.18023da70
mov qword [rsp + 0x328], rax
mov r8, qword [rsp + 0x320]
mov rdx, qword [rsp + 0x328]
mov rcx, qword [rsp + 0x350]
call fcn.1802315b0
nop
add rsp, 0x338
ret