Function at 0x4045fc
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 8
call fcn.0042530d
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x44d2b1
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0
mov ebx, 0x6c8
call fcn.00426170
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404673
push ebx
call fcn.00425307
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x10
push 1
mov ebx, 0x1bc
call fcn.004261d0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4046ac
push ebx
call fcn.00425307
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4046dc
push 0x7c
push 0x40764d1
push 6
call fcn.00425319
add esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push 0x10
push dword [ebp - 0x24]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4046f4
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x40471b
push 0x7c
push 0x40764d1
push 6
call fcn.00425319
add esp, 0xc
push 0x80000301
push 0
push 4
push 1
mov ebx, 0x1bc
call fcn.004261d0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x404750
push ebx
call fcn.00425307
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x404773
mov eax, 0x44d2b1
push eax
push 2
mov ebx, 0x1a4
call fcn.00426200
add esp, 0x1c
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4047ae
mov eax, 0x44d2b1
push eax
push 3
mov ebx, 0x19c
call fcn.00426330
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4047da
push ebx
call fcn.00425307
add esp, 4
mov dword [ebp - 0x30], esp
push 4
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000101
jne 0x4047fa
and eax, 0xff
jmp 0x40484f
cmp ecx, 0x80000201
jne 0x404805
cwde
jmp 0x40484f
cmp ecx, 0x80000301
je 0x40484f
cmp ecx, 0x80000401
je 0x40484f
mov dword [ebp - 0x38], eax
cmp ecx, 0x80000501
je 0x40483f
cmp ecx, 0x80000601
je 0x404844
push 0x101
push 0x40764d1
push 2
call fcn.00425319
add esp, 0xc
fld dword [ebp - 0x38]
jmp 0x40484a
mov dword [ebp - 0x34], edx
fld qword [ebp - 0x38]
call fcn.004017e6
push eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x40485a
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x404881
push 0x101
push 0x40764d1
push 6
call fcn.00425319
add esp, 0xc
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4048a6
mov eax, 0x44d2b1
push eax
push 3
mov ebx, 0x19c
call fcn.00426330
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x80000101
jne 0x4048da
and eax, 0xff
jmp 0x404900
cmp ecx, 0x80000201
jne 0x4048e5
cwde
jmp 0x404900
mov dword [ebp - 0x30], eax
cmp ecx, 0x80000301
je 0x404903
cmp ecx, 0x80000401
jne 0x404908
mov dword [ebp - 0x2c], edx
fild qword [ebp - 0x30]
jmp 0x404934
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
jmp 0x404934
cmp ecx, 0x80000501
jne 0x404915
fld dword [ebp - 0x30]
jmp 0x404934
cmp ecx, 0x80000601
je 0x40493d
push 0x159
push 0x40764d1
push 2
call fcn.00425319
add esp, 0xc
fstp qword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
fld qword [ebp - 0x30]
ftst
fnstsw ax
test ah, 1
je 0x404951
fchs
fcomp qword [0x44d308]
fnstsw ax
test ah, 0x41
mov eax, 0
sete al
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, reloc.WS2_32.dll_connect
je 0x40497e
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x40498e
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40498e
push ebx
call fcn.00425307
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x40504f
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 0xb
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4049c3
mov eax, 0x44d2b1
push eax
push 3
mov ebx, 0x1a8
call fcn.004264d0
add esp, 0x28
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4049fe
mov eax, 0x44d2b1
push eax
push 3
mov ebx, 0x19c
call fcn.00426330
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x404a2a
push ebx
call fcn.00425307
add esp, 4
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000101
jne 0x404a42
and eax, 0xff
jmp 0x404a97
cmp ecx, 0x80000201
jne 0x404a4d
cwde
jmp 0x404a97
cmp ecx, 0x80000301
je 0x404a97
cmp ecx, 0x80000401
je 0x404a97
mov dword [ebp - 0x34], eax
cmp ecx, 0x80000501
je 0x404a87
cmp ecx, 0x80000601
je 0x404a8c
push 0x1c1
push 0x40764d1
push 2
call fcn.00425319
add esp, 0xc
fld dword [ebp - 0x34]
jmp 0x404a92
mov dword [ebp - 0x30], edx
fld qword [ebp - 0x34]
call fcn.004017e6
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.004261d0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x404ac8
push ebx
call fcn.00425307
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x404af1
mov eax, 0x44d2b1
push eax
push 3
mov ebx, 0x19c
call fcn.00426330
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 0xb
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x404b38
mov eax, 0x44d2b1
push eax
push 3
mov ebx, 0x1a8
call fcn.004264d0
add esp, 0x28
mov dword [ebp - 0x2c], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x404b73
mov eax, 0x44d2b1
push eax
push 3
mov ebx, 0x19c
call fcn.00426330
add esp, 0x28
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404b9f
push ebx
call fcn.00425307
add esp, 4
mov dword [ebp - 0x3c], esp
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
cmp ecx, 0x80000101
jne 0x404bba
and eax, 0xff
jmp 0x404c0f
cmp ecx, 0x80000201
jne 0x404bc5
cwde
jmp 0x404c0f
cmp ecx, 0x80000301
je 0x404c0f
cmp ecx, 0x80000401
je 0x404c0f
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x404bff
cmp ecx, 0x80000601
je 0x404c04
push 0x241
push 0x40764d1
push 2
call fcn.00425319
add esp, 0xc
fld dword [ebp - 0x44]
jmp 0x404c0a
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.004017e6
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x80000101
jne 0x404c28
and eax, 0xff
jmp 0x404c7d
cmp ecx, 0x80000201
jne 0x404c33
cwde
jmp 0x404c7d
cmp ecx, 0x80000301
je 0x404c7d
cmp ecx, 0x80000401
je 0x404c7d
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x404c6d
cmp ecx, 0x80000601
je 0x404c72
push 0x241
push 0x40764d1
push 2
call fcn.00425319
add esp, 0xc
fld dword [ebp - 0x44]
jmp 0x404c78
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.004017e6
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x404c88
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x404caf
push 0x241
push 0x40764d1
push 6
call fcn.00425319
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 4
mov eax, 2
call fcn.00425800
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
call fcn.0040103f
mov dword [ebp - 0x28], ecx
mov edi, dword [ebp - 0x24]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x404cf2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x24]
call fcn.0042531f
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x28]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x20]
push edi
test eax, eax
je 0x404d33
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0042530d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x404d55
mov eax, 0x44d2b1
push eax
push 2
mov ebx, 0x1a4
call fcn.00426200
add esp, 0x1c
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x404d90
mov eax, 0x44d2b1
push eax
push 3
mov ebx, 0x19c
call fcn.00426330
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x404dbc
push ebx
call fcn.00425307
add esp, 4
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000101
jne 0x404dd4
and eax, 0xff
jmp 0x404dfa
cmp ecx, 0x80000201
jne 0x404ddf
cwde
jmp 0x404dfa
mov dword [ebp - 0x34], eax
cmp ecx, 0x80000301
je 0x404dfd
cmp ecx, 0x80000401
jne 0x404e02
mov dword [ebp - 0x30], edx
fild qword [ebp - 0x34]
jmp 0x404e2e
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
jmp 0x404e2e
cmp ecx, 0x80000501
jne 0x404e0f
fld dword [ebp - 0x34]
jmp 0x404e2e
cmp ecx, 0x80000601
je 0x404e37
push 0x2d3
push 0x40764d1
push 2
call fcn.00425319
add esp, 0xc
fstp qword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
fld qword [ebp - 0x34]
fadd qword [0x44d3f5]
fstp qword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
cmp ecx, reloc.WS2_32.dll_connect
je 0x404e60
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x404e70
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404e70
push ebx
call fcn.00425307
add esp, 4
fld qword [ebp - 0x3c]
call fcn.004017e6
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x404e9a
mov eax, 0x44d2b1
push eax
push 2
mov ebx, 0x1a0
call fcn.00426520
add esp, 0x1c
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push dword [ebp - 0x18]
push 1
mov ebx, 0x198
call fcn.00425ef0
add esp, 0x10
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.00401a66
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x404ef5
push ebx
call fcn.00425307
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x404f05
push ebx
call fcn.00425307
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404f19
push ebx
call fcn.00425307
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x404f3c
mov eax, 0x44d2b1
push eax
push 2
mov ebx, 0x1a4
call fcn.00426200
add esp, 0x1c
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x404f77
mov eax, 0x44d2b1
push eax
push 3
mov ebx, 0x19c
call fcn.00426330
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x404fa3
push ebx
call fcn.00425307
add esp, 4
mov dword [ebp - 0x30], esp
push 4
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000101
jne 0x404fc3
and eax, 0xff
jmp 0x405018
cmp ecx, 0x80000201
jne 0x404fce
cwde
jmp 0x405018
cmp ecx, 0x80000301
je 0x405018
cmp ecx, 0x80000401
je 0x405018
mov dword [ebp - 0x38], eax
cmp ecx, 0x80000501
je 0x405008
cmp ecx, 0x80000601
je 0x40500d
push 0x39d
push 0x40764d1
push 2
call fcn.00425319
add esp, 0xc
fld dword [ebp - 0x38]
jmp 0x405013
mov dword [ebp - 0x34], edx
fld qword [ebp - 0x38]
call fcn.004017e6
push eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x405023
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x40504a
push 0x39d
push 0x40764d1
push 6
call fcn.00425319
add esp, 0xc
jmp 0x404881
mov ebx, dword [ebp - 0x14]
call fcn.00401b84
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x20]
cmp eax, 0
jge 0x405080
push 0x401
push 0x40764d1
push 0xa
call fcn.00425319
add esp, 0xc
mov dword [ebp - 0x24], eax
lea ebx, [ebp - 0x28]
call fcn.0040103f
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.0042530d
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x24]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.0040103f
pop edx
test ecx, ecx
je 0x4050de
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4050d4
push ebx
call fcn.00425307
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x4050c3
pop edx
pop edi
test edx, edx
je 0x4050ec
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00425307
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
call fcn.00401b84
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40572b
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.0040103f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x405147
push 0x450
push 0x40764d1
push 4
call fcn.00425319
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x405164
push 0x450
push 0x40764d1
push 1
call fcn.00425319
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x14]
call fcn.0040103f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x405193
push 0x4a6
push 0x40764d1
push 4
call fcn.00425319
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4051b0
push 0x4a6
push 0x40764d1
push 1
call fcn.00425319
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4051d9
mov eax, 0x44d2b1
push eax
push 2
mov ebx, 0x1a0
call fcn.00426520
add esp, 0x1c
mov dword [ebp - 0x28], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x405214
mov eax, 0x44d2b1
push eax
push 3
mov ebx, 0x19c
call fcn.00426330
add esp, 0x28
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x405240
push ebx
call fcn.00425307
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
cmp ecx, reloc.WS2_32.dll_connect
jne 0x40525c
test eax, eax
jne 0x40526d
mov eax, 0x44d2b0
jmp 0x40526d
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x40526d
test eax, eax
jne 0x40526d
mov eax, 0x44d2b1
push ecx
push edx
push eax
push 1
mov ebx, 0x168
call fcn.00425a80
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, reloc.WS2_32.dll_connect
je 0x40529c
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x4052ac
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4052ac
push ebx
call fcn.00425307
add esp, 4
mov ebx, dword [ebp - 0x14]
call fcn.0040103f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4052d3
push 0x503
push 0x40764d1
push 4
call fcn.00425319
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4052f0
push 0x503
push 0x40764d1
push 1
call fcn.00425319
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x3c], ebx
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
test eax, eax
jne 0x405325
mov eax, 0x44d2b1
push eax
push 3
mov ebx, 0x1a8
call fcn.004264d0
add esp, 0x28
mov dword [ebp - 0x40], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x405360
mov eax, 0x44d2b1
push eax
push 3
mov ebx, 0x19c
call fcn.00426330
add esp, 0x28
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], ecx
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40538c
push ebx
call fcn.00425307
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp ecx, reloc.WS2_32.dll_connect
jne 0x4053a8
test eax, eax
jne 0x4053b9
mov eax, 0x44d2b0
jmp 0x4053b9
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x4053b9
test eax, eax
jne 0x4053b9
mov eax, 0x44d2b1
push ecx
push edx
push eax
push 1
mov ebx, 0x168
call fcn.00425a80
add esp, 0x10
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x44]
cmp ecx, reloc.WS2_32.dll_connect
je 0x4053e8
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x4053f8
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4053f8
push ebx
call fcn.00425307
add esp, 4
mov ebx, dword [ebp - 0x14]
call fcn.0040103f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40541f
push 0x569
push 0x40764d1
push 4
call fcn.00425319
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40543c
push 0x569
push 0x40764d1
push 1
call fcn.00425319
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x405471
mov eax, 0x44d2b1
push eax
push 3
mov ebx, 0x1a8
call fcn.004264d0
add esp, 0x28
mov dword [ebp - 0x58], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x4054ac
mov eax, 0x44d2b1
push eax
push 3
mov ebx, 0x19c
call fcn.00426330
add esp, 0x28
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], ecx
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4054d8
push ebx
call fcn.00425307
add esp, 4
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
cmp ecx, reloc.WS2_32.dll_connect
jne 0x4054f4
test eax, eax
jne 0x405505
mov eax, 0x44d2b0
jmp 0x405505
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x405505
test eax, eax
jne 0x405505
mov eax, 0x44d2b1
push ecx
push edx
push eax
push 1
mov ebx, 0x168
call fcn.00425a80
add esp, 0x10
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x5c]
cmp ecx, reloc.WS2_32.dll_connect
je 0x405534
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x405544
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x405544
push ebx
call fcn.00425307
add esp, 4
mov ebx, dword [ebp - 0x14]
call fcn.0040103f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40556b
push 0x5cf
push 0x40764d1
push 4
call fcn.00425319
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x405588
push 0x5cf
push 0x40764d1
push 1
call fcn.00425319
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x6c], ebx
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x6c]
mov eax, dword [ebx]
test eax, eax
jne 0x4055b1
mov eax, 0x44d2b1
push eax
push 2
mov ebx, 0x1a4
call fcn.00426200
add esp, 0x1c
mov dword [ebp - 0x70], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x4055ec
mov eax, 0x44d2b1
push eax
push 3
mov ebx, 0x19c
call fcn.00426330
add esp, 0x28
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], ecx
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40561b
push ebx
call fcn.00425307
add esp, 4
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
cmp ecx, reloc.WS2_32.dll_connect
jne 0x40563a
test eax, eax
jne 0x40564b
mov eax, 0x44d2b0
jmp 0x40564b
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x40564b
test eax, eax
jne 0x40564b
mov eax, 0x44d2b1
push ecx
push edx
push eax
push 1
mov ebx, 0x168
call fcn.00425a80
add esp, 0x10
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x74]
cmp ecx, reloc.WS2_32.dll_connect
je 0x40567d
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x405690
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x405690
push ebx
call fcn.00425307
add esp, 4
push dword [ebp - 0x80]
push 0x44d3fd
push dword [ebp - 0x68]
push 0x44d3fd
push dword [ebp - 0x50]
push 0x44d3fd
push dword [ebp - 0x38]
mov ecx, 7
call fcn.00401b28
add esp, 0x1c
mov dword [ebp - 0x84], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4056d1
push ebx
call fcn.00425307
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4056e1
push ebx
call fcn.00425307
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4056f1
push ebx
call fcn.00425307
add esp, 4
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x405704
push ebx
call fcn.00425307
add esp, 4
mov eax, dword [ebp - 0x84]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40571d
push ebx
call fcn.00425307
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x405110
add esp, 0xc
mov eax, 1
jmp 0x405738
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x405749
push ebx
call fcn.00425307
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x405759
push ebx
call fcn.00425307
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x405769
push ebx
call fcn.00425307
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x405779
push ebx
call fcn.00425307
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x405797
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405793
imul eax, dword [ebx]
jmp 0x405788
mov ecx, eax
test ecx, ecx
je 0x4057b6
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4057af
push ebx
push eax
call fcn.00425307
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40579d
call fcn.00425307
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4