Function at 0x40df52
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0xc
call fcn.0042bf5c
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x4ec45e
push ebx
add ebx, 8
push ebx
push 8
call fcn.0042bf5c
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0040c1b6
pop ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
push 0xffffffffffffffff
push 8
push 0x16012cc2
push 0x52010001
call fcn.0042bf86
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e032
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push 8
push 0x16012cc0
push 0x52010001
call fcn.0042bf86
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40e063
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.0040d8b4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e087
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 4], eax
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40e09e
mov eax, 0x4ec11e
push eax
push 1
mov ebx, 0x42c4e0
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xb
je 0x40e0e4
mov eax, 0x4ec8d6
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40e0df
push ebx
call fcn.0042bf6e
add esp, 4
jmp 0x411231
push 0xffffffffffffffff
push 8
push 0x16012cc0
push 0x52010001
call fcn.0042bf86
add esp, 0x10
mov dword [ebp - 0x34], eax
push getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40e110
mov eax, 0x4ec11e
push eax
push 1
mov ebx, 0x42c4e0
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40e136
push ebx
call fcn.0042bf6e
add esp, 4
cmp dword [ebp - 0x38], 0xa
jge 0x40e145
jmp 0x411231
push 0x61167c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, 0x12
call fcn.004013ca
push 0x30004
push 0x16012cb7
push 0x52010001
push 7
mov eax, 2
mov ebx, 0x494310
call fcn.0042bf80
add esp, 0x58
mov dword [ebp - 0xc], eax
push 0x61167c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x4ec21e]
fstp qword [ebp - 0x40]
push 0x80000601
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push 1
mov ebx, 0x42d5c0
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x44], eax
push getpeername
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x40e1db
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40e228
push ebx
call fcn.0042bf6e
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40e23b
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0xffffffffffffffff
push 0x13
push 0x1601f6f8
push 0x52010001
call fcn.0042bf86
add esp, 0x10
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x40f8a2
push getpeername
push 0
push 0x4ec314
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 2
mov eax, 2
mov ebx, 0x494460
call fcn.0042bf80
add esp, 0x1c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00406228
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e337
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 1
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.0040b68f
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e362
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push 0x4ec239
push dword [ebp - 4]
push 0x4ec23b
mov ecx, 4
call fcn.0040106f
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0
push dword [ebp - 0x34]
push 0xffffffffffffffff
push 8
push 0x16012cbd
push 0x52010001
call fcn.0042bf7a
add esp, 0x18
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40e3b1
push ebx
call fcn.0042bf6e
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 0x4ec11e
push dword [ebp - 0x10]
call fcn.0040132d
add esp, 8
cmp eax, 0
je 0x40e45f
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
push 1
mov eax, str.state
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40e423
push ebx
call fcn.0042bf6e
add esp, 4
push 0x4ec327
push dword [ebp - 0x40]
call fcn.0040132d
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40e451
push ebx
call fcn.0042bf6e
add esp, 4
cmp dword [ebp - 0x44], 0
jne 0x40e45f
xor eax, eax
jmp 0x40e464
mov eax, 1
test eax, eax
je 0x40e4b9
push getpeername
push 0
push 0x4ec329
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
jmp 0x40f82b
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, 0x4ec332
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40e4f4
push ebx
call fcn.0042bf6e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e508
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x4ec337
push dword [ebp - 0x18]
call fcn.0040132d
add esp, 8
cmp eax, 0
jne 0x40f5d9
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, str.province
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40e560
push ebx
call fcn.0042bf6e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40e574
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, 0x4ec342
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40e5b3
push ebx
call fcn.0042bf6e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40e5c7
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x4ec11e
push dword [ebp - 0x1c]
call fcn.0040132d
add esp, 8
cmp eax, 0
je 0x40e604
push 0x4ec11e
push dword [ebp - 0x20]
call fcn.0040132d
add esp, 8
cmp eax, 0
jne 0x40e604
mov eax, 1
jmp 0x40e609
mov eax, 0
test eax, eax
je 0x40e642
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e62d
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0042bf5c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40e63e
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, 0x4ec347
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40e67d
push ebx
call fcn.0042bf6e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40e691
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, str.state
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40e6d0
push ebx
call fcn.0042bf6e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e6e4
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, str.balance
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40e723
push ebx
call fcn.0042bf6e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40e737
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push 0
push dword [ebp - 0x2c]
push 0xffffffffffffffff
push 8
push 0x16012cc6
push 0x52010001
call fcn.0042bf7a
add esp, 0x18
push 0x4ec352
push dword [ebp - 0x28]
call fcn.0040132d
add esp, 8
cmp eax, 0
jne 0x40ead6
push getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40e782
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40e7d2
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40e822
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
push 0x4ec352
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x4ec357
push dword [ebp - 4]
push 0x4ec360
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40e8dd
push ebx
call fcn.0042bf6e
add esp, 4
push 0x80000301
push 0
push dword [0x611670]
push 1
mov eax, 3
mov ebx, 0x4991a0
call fcn.0042bf80
add esp, 0x10
push 0
mov ebx, 0x42c520
call fcn.0042bf74
add esp, 4
mov dword [ebp - 0x34], eax
push 0x4ec365
push dword [ebp - 0x34]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40e93e
push ebx
call fcn.0042bf6e
add esp, 4
push 0
mov ebx, 0x42c520
call fcn.0042bf74
add esp, 4
mov dword [ebp - 0x3c], eax
push 0x4ec365
push dword [ebp - 0x3c]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40e97b
push ebx
call fcn.0042bf6e
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x40e98e
mov eax, 0x4ec11e
push eax
push 1
mov ebx, 0x42d890
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40e9b4
push ebx
call fcn.0042bf6e
add esp, 4
push 0x4ec373
push dword [ebp - 0x24]
push 0x4ec360
push dword [ebp - 0x20]
push 0x4ec360
push dword [ebp - 0x1c]
push 0x4ec360
push dword [ebp - 4]
mov ecx, 8
call fcn.0040106f
add esp, 0x20
mov dword [ebp - 0x48], eax
push getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x40e9f7
mov eax, 0x4ec11e
push eax
push 1
mov ebx, 0x42d1a0
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40ea1d
push ebx
call fcn.0042bf6e
add esp, 4
push dword [ebp - 0x4c]
push dword [ebp - 0x44]
mov ecx, 2
call fcn.004032d1
add esp, 8
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40ea43
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40ea53
push ebx
call fcn.0042bf6e
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x40ea66
mov eax, 0x4ec231
push eax
push getpeername
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x40ea7a
mov eax, 0x4ec11e
push eax
push 2
mov ebx, 0x42d900
call fcn.0042bf74
add esp, 0x1c
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40ea9d
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40eaad
push ebx
call fcn.0042bf6e
add esp, 4
push 0x80000301
push 0
push dword [0x611670]
push 1
mov eax, 3
mov ebx, 0x4991c0
call fcn.0042bf80
add esp, 0x10
jmp 0x40f5d4
push 0x4ec37e
push dword [ebp - 0x28]
call fcn.0040132d
add esp, 8
cmp eax, 0
jne 0x40ee56
push getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40eb02
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40eb52
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40eba2
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
push 0x4ec37e
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x4ec383
push dword [ebp - 4]
push 0x4ec360
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40ec5d
push ebx
call fcn.0042bf6e
add esp, 4
push 0x80000301
push 0
push dword [0x611670]
push 1
mov eax, 3
mov ebx, 0x4991a0
call fcn.0042bf80
add esp, 0x10
push 0
mov ebx, 0x42c520
call fcn.0042bf74
add esp, 4
mov dword [ebp - 0x34], eax
push 0x4ec365
push dword [ebp - 0x34]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40ecbe
push ebx
call fcn.0042bf6e
add esp, 4
push 0
mov ebx, 0x42c520
call fcn.0042bf74
add esp, 4
mov dword [ebp - 0x3c], eax
push 0x4ec365
push dword [ebp - 0x3c]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40ecfb
push ebx
call fcn.0042bf6e
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x40ed0e
mov eax, 0x4ec11e
push eax
push 1
mov ebx, 0x42d890
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40ed34
push ebx
call fcn.0042bf6e
add esp, 4
push 0x4ec38c
push dword [ebp - 0x24]
push 0x4ec360
push dword [ebp - 0x20]
push 0x4ec360
push dword [ebp - 0x1c]
push 0x4ec360
push dword [ebp - 4]
mov ecx, 8
call fcn.0040106f
add esp, 0x20
mov dword [ebp - 0x48], eax
push getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x40ed77
mov eax, 0x4ec11e
push eax
push 1
mov ebx, 0x42d1a0
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40ed9d
push ebx
call fcn.0042bf6e
add esp, 4
push dword [ebp - 0x4c]
push dword [ebp - 0x44]
mov ecx, 2
call fcn.004032d1
add esp, 8
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40edc3
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40edd3
push ebx
call fcn.0042bf6e
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x40ede6
mov eax, 0x4ec231
push eax
push getpeername
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x40edfa
mov eax, 0x4ec11e
push eax
push 2
mov ebx, 0x42d900
call fcn.0042bf74
add esp, 0x1c
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40ee1d
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40ee2d
push ebx
call fcn.0042bf6e
add esp, 4
push 0x80000301
push 0
push dword [0x611670]
push 1
mov eax, 3
mov ebx, 0x4991c0
call fcn.0042bf80
add esp, 0x10
jmp 0x40f5d4
push 0x4ec397
push dword [ebp - 0x28]
call fcn.0040132d
add esp, 8
cmp eax, 0
jne 0x40f1d6
push getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40ee82
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40eed2
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40ef22
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
push 0x4ec397
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x4ec39e
push dword [ebp - 4]
push 0x4ec360
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40efdd
push ebx
call fcn.0042bf6e
add esp, 4
push 0x80000301
push 0
push dword [0x611670]
push 1
mov eax, 3
mov ebx, 0x4991a0
call fcn.0042bf80
add esp, 0x10
push 0
mov ebx, 0x42c520
call fcn.0042bf74
add esp, 4
mov dword [ebp - 0x34], eax
push 0x4ec365
push dword [ebp - 0x34]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40f03e
push ebx
call fcn.0042bf6e
add esp, 4
push 0
mov ebx, 0x42c520
call fcn.0042bf74
add esp, 4
mov dword [ebp - 0x3c], eax
push 0x4ec365
push dword [ebp - 0x3c]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40f07b
push ebx
call fcn.0042bf6e
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x40f08e
mov eax, 0x4ec11e
push eax
push 1
mov ebx, 0x42d890
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40f0b4
push ebx
call fcn.0042bf6e
add esp, 4
push 0x4ec3a9
push dword [ebp - 0x24]
push 0x4ec360
push dword [ebp - 0x20]
push 0x4ec360
push dword [ebp - 0x1c]
push 0x4ec360
push dword [ebp - 4]
mov ecx, 8
call fcn.0040106f
add esp, 0x20
mov dword [ebp - 0x48], eax
push getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x40f0f7
mov eax, 0x4ec11e
push eax
push 1
mov ebx, 0x42d1a0
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40f11d
push ebx
call fcn.0042bf6e
add esp, 4
push dword [ebp - 0x4c]
push dword [ebp - 0x44]
mov ecx, 2
call fcn.004032d1
add esp, 8
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40f143
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40f153
push ebx
call fcn.0042bf6e
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x40f166
mov eax, 0x4ec231
push eax
push getpeername
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x40f17a
mov eax, 0x4ec11e
push eax
push 2
mov ebx, 0x42d900
call fcn.0042bf74
add esp, 0x1c
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40f19d
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40f1ad
push ebx
call fcn.0042bf6e
add esp, 4
push 0x80000301
push 0
push dword [0x611670]
push 1
mov eax, 3
mov ebx, 0x4991c0
call fcn.0042bf80
add esp, 0x10
jmp 0x40f5d4
push 0x4ec3b6
push dword [ebp - 0x28]
call fcn.0040132d
add esp, 8
cmp eax, 0
jne 0x40f556
push getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40f202
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40f252
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40f2a2
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
push 0x4ec3b6
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x4ec3bd
push dword [ebp - 4]
push 0x4ec360
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40f35d
push ebx
call fcn.0042bf6e
add esp, 4
push 0x80000301
push 0
push dword [0x611670]
push 1
mov eax, 3
mov ebx, 0x4991a0
call fcn.0042bf80
add esp, 0x10
push 0
mov ebx, 0x42c520
call fcn.0042bf74
add esp, 4
mov dword [ebp - 0x34], eax
push 0x4ec365
push dword [ebp - 0x34]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40f3be
push ebx
call fcn.0042bf6e
add esp, 4
push 0
mov ebx, 0x42c520
call fcn.0042bf74
add esp, 4
mov dword [ebp - 0x3c], eax
push 0x4ec365
push dword [ebp - 0x3c]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40f3fb
push ebx
call fcn.0042bf6e
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x40f40e
mov eax, 0x4ec11e
push eax
push 1
mov ebx, 0x42d890
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40f434
push ebx
call fcn.0042bf6e
add esp, 4
push 0x4ec3c8
push dword [ebp - 0x24]
push 0x4ec360
push dword [ebp - 0x20]
push 0x4ec360
push dword [ebp - 0x1c]
push 0x4ec360
push dword [ebp - 4]
mov ecx, 8
call fcn.0040106f
add esp, 0x20
mov dword [ebp - 0x48], eax
push getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x40f477
mov eax, 0x4ec11e
push eax
push 1
mov ebx, 0x42d1a0
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40f49d
push ebx
call fcn.0042bf6e
add esp, 4
push dword [ebp - 0x4c]
push dword [ebp - 0x44]
mov ecx, 2
call fcn.004032d1
add esp, 8
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40f4c3
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40f4d3
push ebx
call fcn.0042bf6e
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x40f4e6
mov eax, 0x4ec231
push eax
push getpeername
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x40f4fa
mov eax, 0x4ec11e
push eax
push 2
mov ebx, 0x42d900
call fcn.0042bf74
add esp, 0x1c
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40f51d
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40f52d
push ebx
call fcn.0042bf6e
add esp, 4
push 0x80000301
push 0
push dword [0x611670]
push 1
mov eax, 3
mov ebx, 0x4991c0
call fcn.0042bf80
add esp, 0x10
jmp 0x40f5d4
push getpeername
push 0
push 0x4ec329
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x4ec8e5
push dword [ebp - 4]
push 0x4ec23b
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40f5d4
push ebx
call fcn.0042bf6e
add esp, 4
jmp 0x40f82b
push 0x4ec3d5
push dword [ebp - 0x18]
call fcn.0040132d
add esp, 8
cmp eax, 0
jne 0x40f675
push getpeername
push 0
push 0x4ec3d8
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x4ec3e3
push dword [ebp - 4]
push 0x4ec23b
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40f670
push ebx
call fcn.0042bf6e
add esp, 4
jmp 0x40f82b
push 0x4ec406
push dword [ebp - 0x18]
call fcn.0040132d
add esp, 8
cmp eax, 0
jne 0x40f711
push getpeername
push 0
push 0x4ec409
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x4ec414
push dword [ebp - 4]
push 0x4ec23b
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40f70c
push ebx
call fcn.0042bf6e
add esp, 4
jmp 0x40f82b
push 0x4ec42f
push dword [ebp - 0x18]
call fcn.0040132d
add esp, 8
cmp eax, 0
jne 0x40f7ad
push getpeername
push 0
push 0x4ec432
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x4ec43d
push dword [ebp - 4]
push 0x4ec23b
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40f7a8
push ebx
call fcn.0042bf6e
add esp, 4
jmp 0x40f82b
push getpeername
push 0
push 0x4ec329
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x4ec8e5
push dword [ebp - 4]
push 0x4ec23b
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40f82b
push ebx
call fcn.0042bf6e
add esp, 4
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 3
mov eax, 2
mov ebx, 0x4940f0
call fcn.0042bf80
add esp, 0x28
mov dword [ebp - 0x34], eax
push 0x4ec329
push dword [ebp - 0x34]
call fcn.0040132d
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40f898
push ebx
call fcn.0042bf6e
add esp, 4
cmp dword [ebp - 0x38], 0
jne 0x40e29b
push 0xffffffffffffffff
push 0x13
push 0x1601f6f8
push 0x52010001
call fcn.0042bf86
add esp, 0x10
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jne 0x411049
xor ecx, ecx
lea eax, [ebp - 0x30]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0xa
jg 0x411046
push getpeername
push 0
push 0x4ec44b
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 2
mov eax, 2
mov ebx, 0x494460
call fcn.0042bf80
add esp, 0x1c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040be98
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40f976
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 1
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.0040b68f
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40f9a1
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, 0x4ec332
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40f9fe
push ebx
call fcn.0042bf6e
add esp, 4
push 0x4ec337
push dword [ebp - 0x3c]
call fcn.0040132d
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40fa2c
push ebx
call fcn.0042bf6e
add esp, 4
cmp dword [ebp - 0x40], 0
je 0x410c68
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, str.province
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40fa71
push ebx
call fcn.0042bf6e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40fa85
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, 0x4ec342
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40fac4
push ebx
call fcn.0042bf6e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40fad8
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x4ec11e
push dword [ebp - 0x1c]
call fcn.0040132d
add esp, 8
cmp eax, 0
je 0x40fb15
push 0x4ec11e
push dword [ebp - 0x20]
call fcn.0040132d
add esp, 8
cmp eax, 0
jne 0x40fb15
mov eax, 1
jmp 0x40fb1a
mov eax, 0
test eax, eax
je 0x40fb53
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40fb3e
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0042bf5c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40fb4f
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, 0x4ec347
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40fb8e
push ebx
call fcn.0042bf6e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40fba2
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, str.state
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40fbe1
push ebx
call fcn.0042bf6e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40fbf5
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, str.balance
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40fc34
push ebx
call fcn.0042bf6e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40fc48
push ebx
call fcn.0042bf6e
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push 0
push dword [ebp - 0x2c]
push 0xffffffffffffffff
push 8
push 0x16012cc6
push 0x52010001
call fcn.0042bf7a
add esp, 0x18
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4ec352
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x40fc98
mov eax, 0x4ec11e
push eax
push 4
mov ebx, 0x42c830
call fcn.0042bf74
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jne 0x410024
push getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40fccb
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40fd1b
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40fd6b
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
push 0x4ec352
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x4ec357
push dword [ebp - 4]
push 0x4ec360
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40fe26
push ebx
call fcn.0042bf6e
add esp, 4
push 0x80000301
push 0
push dword [0x611670]
push 1
mov eax, 3
mov ebx, 0x4991a0
call fcn.0042bf80
add esp, 0x10
push 0
mov ebx, 0x42c520
call fcn.0042bf74
add esp, 4
mov dword [ebp - 0x34], eax
push 0x4ec365
push dword [ebp - 0x34]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40fe87
push ebx
call fcn.0042bf6e
add esp, 4
push 0
mov ebx, 0x42c520
call fcn.0042bf74
add esp, 4
mov dword [ebp - 0x3c], eax
push 0x4ec365
push dword [ebp - 0x3c]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40fec4
push ebx
call fcn.0042bf6e
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x40fed7
mov eax, 0x4ec11e
push eax
push 1
mov ebx, 0x42d890
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40fefd
push ebx
call fcn.0042bf6e
add esp, 4
push 0x4ec373
push dword [ebp - 0x24]
push 0x4ec360
push dword [ebp - 0x20]
push 0x4ec360
push dword [ebp - 0x1c]
push 0x4ec360
push dword [ebp - 4]
mov ecx, 8
call fcn.0040106f
add esp, 0x20
mov dword [ebp - 0x48], eax
push getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x40ff40
mov eax, 0x4ec11e
push eax
push 1
mov ebx, 0x42d1a0
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40ff66
push ebx
call fcn.0042bf6e
add esp, 4
push dword [ebp - 0x4c]
push dword [ebp - 0x44]
mov ecx, 2
call fcn.004032d1
add esp, 8
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40ff8c
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40ff9c
push ebx
call fcn.0042bf6e
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x40ffaf
mov eax, 0x4ec231
push eax
push getpeername
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x40ffc3
mov eax, 0x4ec11e
push eax
push 2
mov ebx, 0x42d900
call fcn.0042bf74
add esp, 0x1c
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40ffe6
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40fff6
push ebx
call fcn.0042bf6e
add esp, 4
push 0x80000301
push 0
push dword [0x611670]
push 1
mov eax, 3
mov ebx, 0x4991c0
call fcn.0042bf80
add esp, 0x10
jmp 0x411046
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4ec37e
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x410055
mov eax, 0x4ec11e
push eax
push 4
mov ebx, 0x42c830
call fcn.0042bf74
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jne 0x4103f4
push getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x410088
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4100d8
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x410128
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x410178
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push dword [ebp - 0x28]
push 0x4ec360
push dword [ebp - 4]
push 0x4ec360
mov ecx, 4
call fcn.0040106f
add esp, 0x10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4101ee
push ebx
call fcn.0042bf6e
add esp, 4
push 0x80000301
push 0
push dword [0x611670]
push 1
mov eax, 3
mov ebx, 0x4991a0
call fcn.0042bf80
add esp, 0x10
push 0
mov ebx, 0x42c520
call fcn.0042bf74
add esp, 4
mov dword [ebp - 0x34], eax
push 0x4ec365
push dword [ebp - 0x34]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41024f
push ebx
call fcn.0042bf6e
add esp, 4
push 0
mov ebx, 0x42c520
call fcn.0042bf74
add esp, 4
mov dword [ebp - 0x3c], eax
push 0x4ec365
push dword [ebp - 0x3c]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41028c
push ebx
call fcn.0042bf6e
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x41029f
mov eax, 0x4ec11e
push eax
push 1
mov ebx, 0x42d890
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4102c5
push ebx
call fcn.0042bf6e
add esp, 4
push 0x4ec1ff
push dword [ebp - 0x28]
push 0x4ec360
push dword [ebp - 0x24]
push 0x4ec360
push dword [ebp - 0x20]
push 0x4ec360
push dword [ebp - 0x1c]
push 0x4ec360
push dword [ebp - 4]
mov ecx, 0xa
call fcn.0040106f
add esp, 0x28
mov dword [ebp - 0x48], eax
push getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x410310
mov eax, 0x4ec11e
push eax
push 1
mov ebx, 0x42d1a0
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x410336
push ebx
call fcn.0042bf6e
add esp, 4
push dword [ebp - 0x4c]
push dword [ebp - 0x44]
mov ecx, 2
call fcn.004032d1
add esp, 8
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41035c
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x41036c
push ebx
call fcn.0042bf6e
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x41037f
mov eax, 0x4ec231
push eax
push getpeername
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x410393
mov eax, 0x4ec11e
push eax
push 2
mov ebx, 0x42d900
call fcn.0042bf74
add esp, 0x1c
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4103b6
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4103c6
push ebx
call fcn.0042bf6e
add esp, 4
push 0x80000301
push 0
push dword [0x611670]
push 1
mov eax, 3
mov ebx, 0x4991c0
call fcn.0042bf80
add esp, 0x10
jmp 0x411046
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4ec454
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x410425
mov eax, 0x4ec11e
push eax
push 4
mov ebx, 0x42c830
call fcn.0042bf74
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jne 0x4107b1
push getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x410458
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4104a8
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4104f8
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
push 0x4ec397
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x4ec39e
push dword [ebp - 4]
push 0x4ec360
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4105b3
push ebx
call fcn.0042bf6e
add esp, 4
push 0x80000301
push 0
push dword [0x611670]
push 1
mov eax, 3
mov ebx, 0x4991a0
call fcn.0042bf80
add esp, 0x10
push 0
mov ebx, 0x42c520
call fcn.0042bf74
add esp, 4
mov dword [ebp - 0x34], eax
push 0x4ec365
push dword [ebp - 0x34]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x410614
push ebx
call fcn.0042bf6e
add esp, 4
push 0
mov ebx, 0x42c520
call fcn.0042bf74
add esp, 4
mov dword [ebp - 0x3c], eax
push 0x4ec365
push dword [ebp - 0x3c]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x410651
push ebx
call fcn.0042bf6e
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x410664
mov eax, 0x4ec11e
push eax
push 1
mov ebx, 0x42d890
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x41068a
push ebx
call fcn.0042bf6e
add esp, 4
push 0x4ec3a9
push dword [ebp - 0x24]
push 0x4ec360
push dword [ebp - 0x20]
push 0x4ec360
push dword [ebp - 0x1c]
push 0x4ec360
push dword [ebp - 4]
mov ecx, 8
call fcn.0040106f
add esp, 0x20
mov dword [ebp - 0x48], eax
push getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x4106cd
mov eax, 0x4ec11e
push eax
push 1
mov ebx, 0x42d1a0
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4106f3
push ebx
call fcn.0042bf6e
add esp, 4
push dword [ebp - 0x4c]
push dword [ebp - 0x44]
mov ecx, 2
call fcn.004032d1
add esp, 8
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x410719
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x410729
push ebx
call fcn.0042bf6e
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x41073c
mov eax, 0x4ec231
push eax
push getpeername
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x410750
mov eax, 0x4ec11e
push eax
push 2
mov ebx, 0x42d900
call fcn.0042bf74
add esp, 0x1c
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x410773
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x410783
push ebx
call fcn.0042bf6e
add esp, 4
push 0x80000301
push 0
push dword [0x611670]
push 1
mov eax, 3
mov ebx, 0x4991c0
call fcn.0042bf80
add esp, 0x10
jmp 0x411046
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4ec459
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4107e2
mov eax, 0x4ec11e
push eax
push 4
mov ebx, 0x42c830
call fcn.0042bf74
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jne 0x410b6e
push getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x410815
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x410865
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4108b5
mov eax, 0x4ec11e
push eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push getpeername
push 0
push 0x4ec3b6
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x4ec3bd
push dword [ebp - 4]
push 0x4ec360
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x410970
push ebx
call fcn.0042bf6e
add esp, 4
push 0x80000301
push 0
push dword [0x611670]
push 1
mov eax, 3
mov ebx, 0x4991a0
call fcn.0042bf80
add esp, 0x10
push 0
mov ebx, 0x42c520
call fcn.0042bf74
add esp, 4
mov dword [ebp - 0x34], eax
push 0x4ec365
push dword [ebp - 0x34]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4109d1
push ebx
call fcn.0042bf6e
add esp, 4
push 0
mov ebx, 0x42c520
call fcn.0042bf74
add esp, 4
mov dword [ebp - 0x3c], eax
push 0x4ec365
push dword [ebp - 0x3c]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x410a0e
push ebx
call fcn.0042bf6e
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x410a21
mov eax, 0x4ec11e
push eax
push 1
mov ebx, 0x42d890
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x410a47
push ebx
call fcn.0042bf6e
add esp, 4
push 0x4ec3c8
push dword [ebp - 0x24]
push 0x4ec360
push dword [ebp - 0x20]
push 0x4ec360
push dword [ebp - 0x1c]
push 0x4ec360
push dword [ebp - 4]
mov ecx, 8
call fcn.0040106f
add esp, 0x20
mov dword [ebp - 0x48], eax
push getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x410a8a
mov eax, 0x4ec11e
push eax
push 1
mov ebx, 0x42d1a0
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x410ab0
push ebx
call fcn.0042bf6e
add esp, 4
push dword [ebp - 0x4c]
push dword [ebp - 0x44]
mov ecx, 2
call fcn.004032d1
add esp, 8
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x410ad6
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x410ae6
push ebx
call fcn.0042bf6e
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x410af9
mov eax, 0x4ec231
push eax
push getpeername
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x410b0d
mov eax, 0x4ec11e
push eax
push 2
mov ebx, 0x42d900
call fcn.0042bf74
add esp, 0x1c
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x410b30
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x410b40
push ebx
call fcn.0042bf6e
add esp, 4
push 0x80000301
push 0
push dword [0x611670]
push 1
mov eax, 3
mov ebx, 0x4991c0
call fcn.0042bf80
add esp, 0x10
jmp 0x411046
push getpeername
push 0
push 0x4ec329
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x80000301
push 0
push dword [ebp - 0x30]
push 1
mov ebx, 0x42d5c0
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x4ec8ef
push dword [ebp - 0x34]
push 0x4ec8f6
push dword [ebp - 4]
push 0x4ec23b
mov ecx, 5
call fcn.0040106f
add esp, 0x14
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x410c0a
push ebx
call fcn.0042bf6e
add esp, 4
lea eax, [ebp - 0x38]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x410c23
push ebx
call fcn.0042bf6e
add esp, 4
cmp dword [ebp - 0x30], 0xa
jne 0x410c63
push 0x4ec905
push dword [ebp - 4]
push 0x4ec23b
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x410c63
push ebx
call fcn.0042bf6e
add esp, 4
jmp 0x41103f
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, 0x4ec332
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x410ca3
push ebx
call fcn.0042bf6e
add esp, 4
push 0x4ec3d5
push dword [ebp - 0x3c]
call fcn.0040132d
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x410cd1
push ebx
call fcn.0042bf6e
add esp, 4
cmp dword [ebp - 0x40], 0
je 0x410d5e
push getpeername
push 0
push 0x4ec3d8
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x4ec3e3
push dword [ebp - 4]
push 0x4ec23b
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x410d59
push ebx
call fcn.0042bf6e
add esp, 4
jmp 0x41103f
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, 0x4ec332
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x410d99
push ebx
call fcn.0042bf6e
add esp, 4
push 0x4ec406
push dword [ebp - 0x3c]
call fcn.0040132d
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x410dc7
push ebx
call fcn.0042bf6e
add esp, 4
cmp dword [ebp - 0x40], 0
je 0x410e54
push getpeername
push 0
push 0x4ec409
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x4ec414
push dword [ebp - 4]
push 0x4ec23b
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x410e4f
push ebx
call fcn.0042bf6e
add esp, 4
jmp 0x41103f
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, 0x4ec332
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x410e8f
push ebx
call fcn.0042bf6e
add esp, 4
push 0x4ec42f
push dword [ebp - 0x3c]
call fcn.0040132d
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x410ebd
push ebx
call fcn.0042bf6e
add esp, 4
cmp dword [ebp - 0x40], 0
je 0x410f4a
push getpeername
push 0
push 0x4ec432
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x4ec43d
push dword [ebp - 4]
push 0x4ec23b
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x410f45
push ebx
call fcn.0042bf6e
add esp, 4
jmp 0x41103f
push getpeername
push 0
push 0x4ec329
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16012cb7
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4942c0
call fcn.0042bf80
add esp, 0x34
push 0x80000301
push 0
push dword [ebp - 0x30]
push 1
mov ebx, 0x42d5c0
call fcn.0042bf74
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x4ec8ef
push dword [ebp - 0x34]
push 0x4ec8f6
push dword [ebp - 4]
push 0x4ec23b
mov ecx, 5
call fcn.0040106f
add esp, 0x14
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x410fe6
push ebx
call fcn.0042bf6e
add esp, 4
lea eax, [ebp - 0x38]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x410fff
push ebx
call fcn.0042bf6e
add esp, 4
cmp dword [ebp - 0x30], 0xa
jne 0x41103f
push 0x4ec905
push dword [ebp - 4]
push 0x4ec23b
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004021e0
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41103f
push ebx
call fcn.0042bf6e
add esp, 4
pop ebx
pop ecx
jmp 0x40f8cc
add esp, 8
push 0x4ec13c
push dword [0x61165c]
call fcn.0040132d
add esp, 8
cmp eax, 0
jne 0x4110cb
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4ec352
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x411096
mov eax, 0x4ec11e
push eax
push 4
mov ebx, 0x42c830
call fcn.0042bf74
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jne 0x4110cb
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004112d5
push 0x4ec13f
push dword [0x61165c]
call fcn.0040132d
add esp, 8
cmp eax, 0
jne 0x41114d
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4ec37e
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x411118
mov eax, 0x4ec11e
push eax
push 4
mov ebx, 0x42c830
call fcn.0042bf74
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jne 0x41114d
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004112d5
push 0x4ec142
push dword [0x61165c]
call fcn.0040132d
add esp, 8
cmp eax, 0
jne 0x411231
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4ec352
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x41119a
mov eax, 0x4ec11e
push eax
push 4
mov ebx, 0x42c830
call fcn.0042bf74
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
je 0x41120f
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4ec37e
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4111eb
mov eax, 0x4ec11e
push eax
push 4
mov ebx, 0x42c830
call fcn.0042bf74
add esp, 0x34
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
je 0x41120f
xor eax, eax
jmp 0x411214
mov eax, 1
test eax, eax
je 0x411231
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004112d5
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x411241
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x411251
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x411261
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x411281
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x411291
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4112a1
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4112b1
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4112c1
push ebx
call fcn.0042bf6e
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4112d1
push ebx
call fcn.0042bf6e
add esp, 4
mov esp, ebp
pop ebp
ret