Function at 0x410657
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 0x18
call fcn.00510c3b
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [ebx], 0x5fdafe
push ebx
mov eax, esp
push eax
call fcn.00411bf0
pop ebx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0x67
jne 0x410a05
call fcn.0040a07a
mov eax, 0x5fcf33
test eax, eax
je 0x4106c6
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00510c3b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x69e160]
test ebx, ebx
je 0x4106da
push ebx
call fcn.00510c41
add esp, 4
pop eax
mov dword [0x69e160], eax
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4106f5
mov eax, 0x5fcf33
push eax
push 1
mov ebx, 0x511160
call fcn.00510c4d
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fsub qword [0x5fcf45]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.004019ea
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 5
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x41074e
mov eax, 0x5fcf33
push eax
push 3
mov ebx, 0x512ab0
call fcn.00510c4d
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0x69e160]
test ebx, ebx
je 0x41077b
push ebx
call fcn.00510c41
add esp, 4
pop eax
mov dword [0x69e160], eax
mov eax, 0x5fcf33
xor ecx, ecx
test eax, eax
je 0x41078f
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [0x69e160]
xor ebx, ebx
test eax, eax
je 0x4107a2
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4107b9
dec eax
test ecx, ecx
je 0x4107b9
call fcn.00403821
add esp, 0xc
test eax, eax
jne 0x410807
mov eax, 0x5fda14
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401a11
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4107e5
push ebx
call fcn.00510c41
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.00510c6b
add esp, 0x18
jmp 0x410a00
mov eax, 0x5fda22
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401a11
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410828
push ebx
call fcn.00510c41
add esp, 4
push 0
push 0x7530
push 0xffffffffffffffff
push 8
push 0x16013a3d
push 0x52010001
call fcn.00510c6b
add esp, 0x18
push 0x10025
push 0x160147a1
push 0x52010001
push 1
mov ebx, 0x515fe0
call fcn.00510c4d
add esp, 0x10
push 0xffffffffffffffff
push 0x13
push 0x16017f9e
push 0x52010001
call fcn.00510c65
add esp, 0x10
push 0x80000301
push 0
push eax
push 0x1000e
push 0x16017f9e
push 0x52010001
push 2
mov ebx, 0x514c80
call fcn.00510c4d
add esp, 0x1c
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x69e098]
test eax, eax
jne 0x4108c2
mov eax, 0x5fcf01
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 3
mov ebx, 0x515fb0
call fcn.00510c4d
add esp, 0x28
test eax, eax
je 0x4109c2
push dword [0x69e160]
push 0x5fda30
mov ecx, 2
call fcn.004038cd
add esp, 8
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x41091a
mov eax, 0x5fcf33
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 2
mov ebx, 0x516000
call fcn.00510c4d
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41094f
push ebx
call fcn.00510c41
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x41097f
mov eax, 0x5fda3c
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401a11
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41097a
push ebx
call fcn.00510c41
add esp, 4
jmp 0x4109bd
mov eax, 0x5fda46
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401a11
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4109a0
push ebx
call fcn.00510c41
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.00510c6b
add esp, 0x18
jmp 0x410a00
mov eax, 0x5fda14
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401a11
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4109e3
push ebx
call fcn.00510c41
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.00510c6b
add esp, 0x18
jmp 0x411784
cmp dword [ebp + 8], 0xc8
jne 0x410b6f
mov eax, 0x5fcf33
test eax, eax
je 0x410a2e
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00510c3b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x69e160]
test ebx, ebx
je 0x410a42
push ebx
call fcn.00510c41
add esp, 4
pop eax
mov dword [0x69e160], eax
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x410a5d
mov eax, 0x5fcf33
push eax
push 1
mov ebx, 0x511160
call fcn.00510c4d
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fsub qword [0x5fcf45]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.004019ea
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 5
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x410ab6
mov eax, 0x5fcf33
push eax
push 3
mov ebx, 0x512ab0
call fcn.00510c4d
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0x69e160]
test ebx, ebx
je 0x410ae3
push ebx
call fcn.00510c41
add esp, 4
pop eax
mov dword [0x69e160], eax
mov eax, 0x5fcf33
xor ecx, ecx
test eax, eax
je 0x410af7
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [0x69e160]
xor ebx, ebx
test eax, eax
je 0x410b0a
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x410b21
dec eax
test ecx, ecx
je 0x410b21
call fcn.00403821
add esp, 0xc
test eax, eax
jne 0x410b6f
mov eax, 0x5fda50
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401a11
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410b4d
push ebx
call fcn.00510c41
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.00510c6b
add esp, 0x18
jmp 0x411784
cmp dword [ebp + 8], 0xc9
jne 0x410e96
push dword [0x69e0bc]
call fcn.004117aa
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 8
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov ebx, eax
test ebx, ebx
je 0x410bc6
push ebx
call fcn.00510c41
add esp, 4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410c08
push ebx
call fcn.00510c41
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [0x69e164]
test ebx, ebx
je 0x410c1f
push ebx
call fcn.00510c41
add esp, 4
pop eax
mov dword [0x69e164], eax
push 0xffffffffffffffff
push 0x13
push 0x16017f9e
push 0x52010001
call fcn.00510c65
add esp, 0x10
push 0x80000301
push 0
push eax
push 0x1000e
push 0x16017f9e
push 0x52010001
push 2
mov ebx, 0x514c80
call fcn.00510c4d
add esp, 0x1c
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x69e098]
test eax, eax
jne 0x410c81
mov eax, 0x5fcf01
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 3
mov ebx, 0x515fb0
call fcn.00510c4d
add esp, 0x28
test eax, eax
je 0x410e1e
push 0x5fda62
push dword [0x69e160]
push 0x5fda95
mov ecx, 3
call fcn.004038cd
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x410cdf
push ebx
call fcn.00510c41
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x410cf6
mov eax, 0x5fcf33
push eax
push 1
mov ebx, 0x511160
call fcn.00510c4d
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x5fcfc4]
fstp qword [ebp - 0x20]
push 0x80000601
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 1
mov ebx, 0x511cf0
call fcn.00510c4d
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x5126c0
call fcn.00510c4d
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
call fcn.00411927
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x410d80
push ebx
call fcn.00510c41
add esp, 4
push dword [ebp - 8]
push dword [ebp - 0x30]
mov ecx, 2
call fcn.004038cd
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x410da6
push ebx
call fcn.00510c41
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x410db9
mov eax, 0x5fcf33
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 2
mov ebx, 0x516000
call fcn.00510c4d
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x410dee
push ebx
call fcn.00510c41
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x410df8
mov eax, 0x5fda9f
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401a11
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410e19
push ebx
call fcn.00510c41
add esp, 4
jmp 0x410e79
mov eax, 0x5fdaad
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401a11
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410e3f
push ebx
call fcn.00510c41
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.00510c6b
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010053
push 0x52010001
call fcn.00510c6b
add esp, 0x18
push 0
push 0x7530
push 0xffffffffffffffff
push 8
push 0x16014031
push 0x52010001
call fcn.00510c6b
add esp, 0x18
cmp dword [ebp + 8], 0xca
jne 0x411784
push dword [0x69e0bc]
call fcn.004117aa
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov ebx, eax
test ebx, ebx
je 0x410eed
push ebx
call fcn.00510c41
add esp, 4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x69e160]
test ebx, ebx
je 0x410f24
push ebx
call fcn.00510c41
add esp, 4
pop eax
mov dword [0x69e160], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410f6c
push ebx
call fcn.00510c41
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [0x69e164]
test ebx, ebx
je 0x410f83
push ebx
call fcn.00510c41
add esp, 4
pop eax
mov dword [0x69e164], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov ebx, eax
test ebx, ebx
je 0x410fb5
push ebx
call fcn.00510c41
add esp, 4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov ebx, eax
test ebx, ebx
je 0x410fe1
push ebx
call fcn.00510c41
add esp, 4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x411023
push ebx
call fcn.00510c41
add esp, 4
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x411042
mov eax, 0x5fcf01
push eax
push 2
mov ebx, 0x5116a0
call fcn.00510c4d
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x411068
push ebx
call fcn.00510c41
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x41107b
mov eax, 0x5fcf01
push eax
push 1
mov ebx, 0x511df0
call fcn.00510c4d
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4110a1
push ebx
call fcn.00510c41
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
push 0xffffffffffffffff
push 0x12
push 0x160145ee
push 0x52010001
call fcn.00510c65
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x4114e5
push 0x80000301
push 0
push dword [ebp - 0xc]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x69e098]
test eax, eax
jne 0x4110e9
mov eax, 0x5fcf01
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 3
mov ebx, 0x515fb0
call fcn.00510c4d
add esp, 0x28
test eax, eax
je 0x4114a2
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [0x69e160]
test eax, eax
jne 0x411128
mov eax, 0x5fcf33
push eax
push 1
mov ebx, 0x511160
call fcn.00510c4d
add esp, 0x10
push eax
call fcn.00411a3f
mov dword [ebp - 0x14], eax
push 0x5fdabb
push dword [0x69e160]
push dword [ebp - 0x14]
push 0x5fdaee
mov ecx, 4
call fcn.004038cd
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x411177
push ebx
call fcn.00510c41
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41118b
push ebx
call fcn.00510c41
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4111a2
mov eax, 0x5fcf33
push eax
push 1
mov ebx, 0x511160
call fcn.00510c4d
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x5fcfc4]
fstp qword [ebp - 0x20]
push 0x80000601
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 1
mov ebx, 0x511cf0
call fcn.00510c4d
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x5126c0
call fcn.00510c4d
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
call fcn.00411927
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41122c
push ebx
call fcn.00510c41
add esp, 4
push dword [ebp - 8]
push dword [ebp - 0x30]
mov ecx, 2
call fcn.004038cd
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x411252
push ebx
call fcn.00510c41
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x411265
mov eax, 0x5fcf33
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 2
mov ebx, 0x516000
call fcn.00510c4d
add esp, 0x1c
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x411297
push ebx
call fcn.00510c41
add esp, 4
mov eax, 0x5fcf33
test eax, eax
je 0x4112b3
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00510c3b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x69e160]
test ebx, ebx
je 0x4112c7
push ebx
call fcn.00510c41
add esp, 4
pop eax
mov dword [0x69e160], eax
mov eax, dword [ebp - 0xc]
mov dword [0x69e13c], eax
cmp dword [ebp - 0xc], 0x1e83
jne 0x4112e2
cmp dword [ebp - 0xc], 0x1e82
jne 0x4112ef
cmp dword [ebp - 0xc], 0x1e80
jne 0x4112fc
cmp dword [ebp - 0xc], 0x1e7c
jne 0x411309
push 0xffffffffffffffff
push 8
push 0x16013caa
push 0x52010001
call fcn.00510c65
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41136e
mov eax, 0x5fd911
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x5fdaf9
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x69e0a4
call fcn.00411a8f
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41135e
push ebx
call fcn.00510c41
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41136e
push ebx
call fcn.00510c41
add esp, 4
push 0xffffffffffffffff
push 8
push 0x16015ffb
push 0x52010001
call fcn.00510c65
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4113d3
mov eax, 0x5fd9dc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x5fdaf9
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x69e0a4
call fcn.00411a8f
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4113c3
push ebx
call fcn.00510c41
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4113d3
push ebx
call fcn.00510c41
add esp, 4
push 0xffffffffffffffff
push 8
push 0x16014185
push 0x52010001
call fcn.00510c65
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x411438
mov eax, 0x5fd9ea
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x5fdaf9
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x69e0a4
call fcn.00411a8f
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x411428
push ebx
call fcn.00510c41
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x411438
push ebx
call fcn.00510c41
add esp, 4
push 0xffffffffffffffff
push 8
push 0x16015b71
push 0x52010001
call fcn.00510c65
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41149d
mov eax, 0x5fd9f8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x5fdaf9
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x69e0a4
call fcn.00411a8f
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41148d
push ebx
call fcn.00510c41
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41149d
push ebx
call fcn.00510c41
add esp, 4
jmp 0x4114e0
mov eax, 0x5fdaad
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401a11
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4114c3
push ebx
call fcn.00510c41
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.00510c6b
add esp, 0x18
jmp 0x411784
push 0x80000301
push 0
push dword [ebp - 0xc]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x69e098]
test eax, eax
jne 0x411504
mov eax, 0x5fcf01
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 3
mov ebx, 0x515fb0
call fcn.00510c4d
add esp, 0x28
test eax, eax
je 0x411729
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [0x69e160]
test eax, eax
jne 0x411543
mov eax, 0x5fcf33
push eax
push 1
mov ebx, 0x511160
call fcn.00510c4d
add esp, 0x10
push eax
call fcn.00411a3f
mov dword [ebp - 0x14], eax
push 0x5fda62
push dword [0x69e160]
push dword [ebp - 0x14]
push 0x5fdaee
mov ecx, 4
call fcn.004038cd
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x411592
push ebx
call fcn.00510c41
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4115a6
push ebx
call fcn.00510c41
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4115bd
mov eax, 0x5fcf33
push eax
push 1
mov ebx, 0x511160
call fcn.00510c4d
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x5fcfc4]
fstp qword [ebp - 0x20]
push 0x80000601
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 1
mov ebx, 0x511cf0
call fcn.00510c4d
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x5126c0
call fcn.00510c4d
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
call fcn.00411927
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x411647
push ebx
call fcn.00510c41
add esp, 4
push dword [ebp - 8]
push dword [ebp - 0x30]
mov ecx, 2
call fcn.004038cd
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41166d
push ebx
call fcn.00510c41
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x411680
mov eax, 0x5fcf33
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 2
mov ebx, 0x516000
call fcn.00510c4d
add esp, 0x1c
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4116b2
push ebx
call fcn.00510c41
add esp, 4
mov eax, 0x5fcf33
test eax, eax
je 0x4116ce
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00510c3b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x69e160]
test ebx, ebx
je 0x4116e2
push ebx
call fcn.00510c41
add esp, 4
pop eax
mov dword [0x69e160], eax
mov eax, dword [ebp - 0xc]
mov dword [0x69e13c], eax
cmp dword [ebp - 0xc], 0x1e83
jne 0x4116fd
cmp dword [ebp - 0xc], 0x1e82
jne 0x41170a
cmp dword [ebp - 0xc], 0x1e80
jne 0x411717
cmp dword [ebp - 0xc], 0x1e7c
jne 0x411724
jmp 0x411767
mov eax, 0x5fdaad
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401a11
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41174a
push ebx
call fcn.00510c41
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.00510c6b
add esp, 0x18
push 0
push 0x7530
push 0xffffffffffffffff
push 8
push 0x16014031
push 0x52010001
call fcn.00510c6b
add esp, 0x18
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00510c41
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4117a4
push ebx
call fcn.00510c41
add esp, 4
mov esp, ebp
pop ebp
ret 8