Function at 0x1002107b
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 0x100210ca
mov eax, 0
jmp 0x10021dcf
cmp dword [0x104a6553], 0
jne 0x100210e1
mov eax, 1
jmp 0x10021dcf
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 0x10021121
mov eax, 0x10259736
push eax
push htons
push 0
push 0x1027e33d
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 0x10021158
push ebx
call fcn.10207bb1
add esp, 4
push htons
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1002116b
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 0x10021191
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 0x100211bd
push 0x17d
push 0x43e88c4
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100211d0
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 0x10021216
mov eax, 0x10259736
push eax
push htons
push 0
push 0x1027e355
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 0x1002124d
push ebx
call fcn.10207bb1
add esp, 4
push htons
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10021260
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 0x10021286
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 0x100212b5
push 0x2da
push 0x43e88c4
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100212c8
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 0x10021304
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 0x10021328
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x10021339
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x10021350
dec eax
test ecx, ecx
je 0x10021350
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 0x10021370
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x10021389
mov eax, 0
jmp 0x10021dcf
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 0x100213b4
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 0x100213d8
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x100213e9
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x10021400
dec eax
test ecx, ecx
je 0x10021400
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 0x10021420
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x10021439
mov eax, 0
jmp 0x10021dcf
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 0x10021479
mov eax, 0x10259736
push eax
push htons
push 0
push 0x1027e375
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 0x100214b0
push ebx
call fcn.10207bb1
add esp, 4
push htons
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x100214c3
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 0x100214e9
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 0x10021518
push 0x544
push 0x43e88c4
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1002152b
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 0x10021567
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 0x1002158b
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x1002159c
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x100215b3
dec eax
test ecx, ecx
je 0x100215b3
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 0x100215d3
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x100215ec
mov eax, 0
jmp 0x10021dcf
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 0x10021617
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 0x1002163b
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x1002164c
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x10021663
dec eax
test ecx, ecx
je 0x10021663
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 0x10021683
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x1002169c
mov eax, 0
jmp 0x10021dcf
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 0x100216dc
mov eax, 0x10259736
push eax
push htons
push 0
push 0x1027e395
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 0x10021713
push ebx
call fcn.10207bb1
add esp, 4
push htons
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10021726
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 0x1002174c
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 0x1002177b
push 0x7ae
push 0x43e88c4
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1002178e
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 0x100217ca
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 0x100217ee
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x100217ff
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x10021816
dec eax
test ecx, ecx
je 0x10021816
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 0x10021836
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x1002184f
mov eax, 0
jmp 0x10021dcf
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 0x1002187a
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 0x1002189e
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x100218af
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x100218c6
dec eax
test ecx, ecx
je 0x100218c6
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 0x100218e6
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x100218ff
mov eax, 0
jmp 0x10021dcf
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 0x1002193f
mov eax, 0x10259736
push eax
push htons
push 0
push 0x1027e3b5
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 0x10021976
push ebx
call fcn.10207bb1
add esp, 4
push htons
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10021989
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 0x100219af
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 0x100219de
push 0xa18
push 0x43e88c4
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100219f1
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 0x10021a2d
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 0x10021a51
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x10021a62
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x10021a79
dec eax
test ecx, ecx
je 0x10021a79
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 0x10021a99
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x10021ab2
mov eax, 0
jmp 0x10021dcf
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 0x10021add
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 0x10021b01
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x10021b12
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x10021b29
dec eax
test ecx, ecx
je 0x10021b29
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 0x10021b49
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x10021b62
mov eax, 0
jmp 0x10021dcf
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 0x10021ba2
mov eax, 0x10259736
push eax
push htons
push 0
push 0x1027e3d5
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 0x10021bd9
push ebx
call fcn.10207bb1
add esp, 4
push htons
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10021bec
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 0x10021c12
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 0x10021c41
push 0xc82
push 0x43e88c4
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10021c54
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 0x10021c90
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 0x10021cb4
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x10021cc5
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x10021cdc
dec eax
test ecx, ecx
je 0x10021cdc
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 0x10021cfc
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x10021d15
mov eax, 0
jmp 0x10021dcf
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 0x10021d40
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 0x10021d64
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x10021d75
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x10021d8c
dec eax
test ecx, ecx
je 0x10021d8c
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 0x10021dac
push ebx
call fcn.10207bb1
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x10021dc5
mov eax, 0
jmp 0x10021dcf
mov eax, 1
jmp 0x10021dcf
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10021de0
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10021df0
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10021e00
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10021e10
push ebx
call fcn.10207bb1
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10021e20
push ebx
call fcn.10207bb1
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret