Function at 0x1001ff42
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.1001c4fc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1001ff91
mov eax, 0
jmp 0x10020c96
cmp dword [0x104a6553], 0
jne 0x1001ffa8
call fcn.10020cec
jmp 0x10020c96
push 0xa0000101
push 0
push 0x1027e232
push 1
mov ebx, 0x168
call fcn.102086d0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1001ffe8
mov eax, 0x10259736
push eax
push htons
push 0
push 0x1027e23c
push 3
mov ebx, 0x10
mov eax, 0x10226bf0
call fcn.102084b0
add esp, 0x28
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1002001f
push ebx
call fcn.10207bb1
add esp, 4
push htons
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10020032
mov eax, 0x1024f2fe
push eax
push 1
mov ebx, 0x168
call fcn.102086d0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10020058
push ebx
call fcn.10207bb1
add esp, 4
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10020084
push 0x18d
push 0x43e88c3
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10020097
push ebx
call fcn.10207bb1
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
push 0xa0000101
push 0
push 0x1027e232
push 1
mov ebx, 0x168
call fcn.102086d0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x100200dd
mov eax, 0x10259736
push eax
push htons
push 0
push 0x1027e2d5
push 3
mov ebx, 0x10
mov eax, 0x10226bf0
call fcn.102084b0
add esp, 0x28
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10020114
push ebx
call fcn.10207bb1
add esp, 4
push htons
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10020127
mov eax, 0x1024f2fe
push eax
push 1
mov ebx, 0x168
call fcn.102086d0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1002014d
push ebx
call fcn.10207bb1
add esp, 4
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x1002017c
push 0x25a
push 0x43e88c3
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1002018f
push ebx
call fcn.10207bb1
add esp, 4
push 5
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x2c]
call fcn.1001fe80
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 1
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100201cb
mov eax, 0x1024f2fe
push eax
push 3
mov ebx, 0x1a8
call fcn.1020c220
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, 0x1027e26c
xor ecx, ecx
test eax, eax
je 0x100201ef
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x10020200
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x10020217
dec eax
test ecx, ecx
je 0x10020217
call fcn.1001373e
add esp, 0xc
test eax, eax
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10020237
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x10020250
mov eax, 0
jmp 0x10020c96
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 2
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1002027b
mov eax, 0x1024f2fe
push eax
push 3
mov ebx, 0x1a8
call fcn.1020c220
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, 0x1027e26c
xor ecx, ecx
test eax, eax
je 0x1002029f
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x100202b0
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x100202c7
dec eax
test ecx, ecx
je 0x100202c7
call fcn.1001373e
add esp, 0xc
test eax, eax
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100202e7
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x10020300
mov eax, 0
jmp 0x10020c96
push 0xa0000101
push 0
push 0x1027e232
push 1
mov ebx, 0x168
call fcn.102086d0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10020340
mov eax, 0x10259736
push eax
push htons
push 0
push 0x1027e2e5
push 3
mov ebx, 0x10
mov eax, 0x10226bf0
call fcn.102084b0
add esp, 0x28
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10020377
push ebx
call fcn.10207bb1
add esp, 4
push htons
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1002038a
mov eax, 0x1024f2fe
push eax
push 1
mov ebx, 0x168
call fcn.102086d0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100203b0
push ebx
call fcn.10207bb1
add esp, 4
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x100203df
push 0x47c
push 0x43e88c3
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100203f2
push ebx
call fcn.10207bb1
add esp, 4
push 5
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x2c]
call fcn.1001fe80
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 1
push htons
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1002042e
mov eax, 0x1024f2fe
push eax
push 3
mov ebx, 0x1a8
call fcn.1020c220
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, 0x1027e26c
xor ecx, ecx
test eax, eax
je 0x10020452
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x10020463
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x1002047a
dec eax
test ecx, ecx
je 0x1002047a
call fcn.1001373e
add esp, 0xc
test eax, eax
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1002049a
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x100204b3
mov eax, 0
jmp 0x10020c96
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 2
push htons
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x100204de
mov eax, 0x1024f2fe
push eax
push 3
mov ebx, 0x1a8
call fcn.1020c220
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, 0x1027e26c
xor ecx, ecx
test eax, eax
je 0x10020502
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x10020513
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x1002052a
dec eax
test ecx, ecx
je 0x1002052a
call fcn.1001373e
add esp, 0xc
test eax, eax
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1002054a
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x10020563
mov eax, 0
jmp 0x10020c96
push 0xa0000101
push 0
push 0x1027e232
push 1
mov ebx, 0x168
call fcn.102086d0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x100205a3
mov eax, 0x10259736
push eax
push htons
push 0
push 0x1027e2fd
push 3
mov ebx, 0x10
mov eax, 0x10226bf0
call fcn.102084b0
add esp, 0x28
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100205da
push ebx
call fcn.10207bb1
add esp, 4
push htons
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x100205ed
mov eax, 0x1024f2fe
push eax
push 1
mov ebx, 0x168
call fcn.102086d0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10020613
push ebx
call fcn.10207bb1
add esp, 4
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10020642
push 0x656
push 0x43e88c3
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10020655
push ebx
call fcn.10207bb1
add esp, 4
push 5
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x2c]
call fcn.1001fe80
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 1
push htons
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10020691
mov eax, 0x1024f2fe
push eax
push 3
mov ebx, 0x1a8
call fcn.1020c220
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, 0x1027e26c
xor ecx, ecx
test eax, eax
je 0x100206b5
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x100206c6
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x100206dd
dec eax
test ecx, ecx
je 0x100206dd
call fcn.1001373e
add esp, 0xc
test eax, eax
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100206fd
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x10020716
mov eax, 0
jmp 0x10020c96
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 2
push htons
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10020741
mov eax, 0x1024f2fe
push eax
push 3
mov ebx, 0x1a8
call fcn.1020c220
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, 0x1027e26c
xor ecx, ecx
test eax, eax
je 0x10020765
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x10020776
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x1002078d
dec eax
test ecx, ecx
je 0x1002078d
call fcn.1001373e
add esp, 0xc
test eax, eax
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100207ad
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x100207c6
mov eax, 0
jmp 0x10020c96
push 0xa0000101
push 0
push 0x1027e232
push 1
mov ebx, 0x168
call fcn.102086d0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10020806
mov eax, 0x10259736
push eax
push htons
push 0
push 0x1027e30d
push 3
mov ebx, 0x10
mov eax, 0x10226bf0
call fcn.102084b0
add esp, 0x28
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1002083d
push ebx
call fcn.10207bb1
add esp, 4
push htons
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10020850
mov eax, 0x1024f2fe
push eax
push 1
mov ebx, 0x168
call fcn.102086d0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10020876
push ebx
call fcn.10207bb1
add esp, 4
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x100208a5
push 0x878
push 0x43e88c3
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100208b8
push ebx
call fcn.10207bb1
add esp, 4
push 5
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x2c]
call fcn.1001fe80
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 1
push htons
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x100208f4
mov eax, 0x1024f2fe
push eax
push 3
mov ebx, 0x1a8
call fcn.1020c220
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, 0x1027e26c
xor ecx, ecx
test eax, eax
je 0x10020918
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x10020929
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x10020940
dec eax
test ecx, ecx
je 0x10020940
call fcn.1001373e
add esp, 0xc
test eax, eax
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10020960
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x10020979
mov eax, 0
jmp 0x10020c96
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 2
push htons
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x100209a4
mov eax, 0x1024f2fe
push eax
push 3
mov ebx, 0x1a8
call fcn.1020c220
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, 0x1027e26c
xor ecx, ecx
test eax, eax
je 0x100209c8
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x100209d9
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x100209f0
dec eax
test ecx, ecx
je 0x100209f0
call fcn.1001373e
add esp, 0xc
test eax, eax
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10020a10
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x10020a29
mov eax, 0
jmp 0x10020c96
push 0xa0000101
push 0
push 0x1027e232
push 1
mov ebx, 0x168
call fcn.102086d0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10020a69
mov eax, 0x10259736
push eax
push htons
push 0
push 0x1027e325
push 3
mov ebx, 0x10
mov eax, 0x10226bf0
call fcn.102084b0
add esp, 0x28
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10020aa0
push ebx
call fcn.10207bb1
add esp, 4
push htons
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10020ab3
mov eax, 0x1024f2fe
push eax
push 1
mov ebx, 0x168
call fcn.102086d0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10020ad9
push ebx
call fcn.10207bb1
add esp, 4
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10020b08
push 0xa9a
push 0x43e88c3
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10020b1b
push ebx
call fcn.10207bb1
add esp, 4
push 5
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x2c]
call fcn.1001fe80
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 1
push htons
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10020b57
mov eax, 0x1024f2fe
push eax
push 3
mov ebx, 0x1a8
call fcn.1020c220
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, 0x1027e26c
xor ecx, ecx
test eax, eax
je 0x10020b7b
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x10020b8c
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x10020ba3
dec eax
test ecx, ecx
je 0x10020ba3
call fcn.1001373e
add esp, 0xc
test eax, eax
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10020bc3
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x10020bdc
mov eax, 0
jmp 0x10020c96
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 2
push htons
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10020c07
mov eax, 0x1024f2fe
push eax
push 3
mov ebx, 0x1a8
call fcn.1020c220
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, 0x1027e26c
xor ecx, ecx
test eax, eax
je 0x10020c2b
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x10020c3c
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x10020c53
dec eax
test ecx, ecx
je 0x10020c53
call fcn.1001373e
add esp, 0xc
test eax, eax
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10020c73
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x10020c8c
mov eax, 0
jmp 0x10020c96
mov eax, 1
jmp 0x10020c96
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10020ca7
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10020cb7
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10020cc7
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10020cd7
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10020ce7
push ebx
call fcn.10207bb1
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret