Function at 0x40fe29
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 0x18
call fcn.0050c9bb
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], 0x5f9cb6
push ebx
mov eax, esp
push eax
call fcn.004113c2
pop ebx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0x67
jne 0x4101d7
call fcn.00409bd8
mov eax, 0x5f8f2a
test eax, eax
je 0x40fe98
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0050c9bb
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x69814c]
test ebx, ebx
je 0x40feac
push ebx
call fcn.0050c9c1
add esp, 4
pop eax
mov dword [0x69814c], eax
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40fec7
mov eax, 0x5f8f2a
push eax
push 1
mov ebx, 0x50cee0
call fcn.0050c9cd
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fsub qword [0x5f8fb1]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.004027ee
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 0x40ff20
mov eax, 0x5f8f2a
push eax
push 3
mov ebx, 0x50e830
call fcn.0050c9cd
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0x69814c]
test ebx, ebx
je 0x40ff4d
push ebx
call fcn.0050c9c1
add esp, 4
pop eax
mov dword [0x69814c], eax
mov eax, 0x5f8f2a
xor ecx, ecx
test eax, eax
je 0x40ff61
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [0x69814c]
xor ebx, ebx
test eax, eax
je 0x40ff74
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40ff8b
dec eax
test ecx, ecx
je 0x40ff8b
call fcn.00402742
add esp, 0xc
test eax, eax
jne 0x40ffd9
mov eax, 0x5f9bcc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403047
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40ffb7
push ebx
call fcn.0050c9c1
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.0050c9e5
add esp, 0x18
jmp 0x4101d2
mov eax, 0x5f9bda
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403047
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40fffa
push ebx
call fcn.0050c9c1
add esp, 4
push 0
push 0x7530
push 0xffffffffffffffff
push 8
push 0x16013a3d
push 0x52010001
call fcn.0050c9e5
add esp, 0x18
push 0x10025
push 0x160147a1
push 0x52010001
push 1
mov ebx, 0x511d60
call fcn.0050c9cd
add esp, 0x10
push 0xffffffffffffffff
push 0x13
push 0x16017f9e
push 0x52010001
call fcn.0050c9eb
add esp, 0x10
push 0x80000301
push 0
push eax
push 0x1000e
push 0x16017f9e
push 0x52010001
push 2
mov ebx, 0x510a00
call fcn.0050c9cd
add esp, 0x1c
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x698150]
test eax, eax
jne 0x410094
mov eax, 0x5f8f32
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 3
mov ebx, 0x511d30
call fcn.0050c9cd
add esp, 0x28
test eax, eax
je 0x410194
push dword [0x69814c]
push 0x5f9be8
mov ecx, 2
call fcn.00402815
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 0x4100ec
mov eax, 0x5f8f2a
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 2
mov ebx, 0x511d80
call fcn.0050c9cd
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410121
push ebx
call fcn.0050c9c1
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x410151
mov eax, 0x5f9bf4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403047
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41014c
push ebx
call fcn.0050c9c1
add esp, 4
jmp 0x41018f
mov eax, 0x5f9bfe
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403047
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410172
push ebx
call fcn.0050c9c1
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.0050c9e5
add esp, 0x18
jmp 0x4101d2
mov eax, 0x5f9bcc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403047
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4101b5
push ebx
call fcn.0050c9c1
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.0050c9e5
add esp, 0x18
jmp 0x410f56
cmp dword [ebp + 8], 0xc8
jne 0x410341
mov eax, 0x5f8f2a
test eax, eax
je 0x410200
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0050c9bb
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x69814c]
test ebx, ebx
je 0x410214
push ebx
call fcn.0050c9c1
add esp, 4
pop eax
mov dword [0x69814c], eax
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x41022f
mov eax, 0x5f8f2a
push eax
push 1
mov ebx, 0x50cee0
call fcn.0050c9cd
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fsub qword [0x5f8fb1]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.004027ee
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 0x410288
mov eax, 0x5f8f2a
push eax
push 3
mov ebx, 0x50e830
call fcn.0050c9cd
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0x69814c]
test ebx, ebx
je 0x4102b5
push ebx
call fcn.0050c9c1
add esp, 4
pop eax
mov dword [0x69814c], eax
mov eax, 0x5f8f2a
xor ecx, ecx
test eax, eax
je 0x4102c9
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [0x69814c]
xor ebx, ebx
test eax, eax
je 0x4102dc
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4102f3
dec eax
test ecx, ecx
je 0x4102f3
call fcn.00402742
add esp, 0xc
test eax, eax
jne 0x410341
mov eax, 0x5f9c08
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403047
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41031f
push ebx
call fcn.0050c9c1
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.0050c9e5
add esp, 0x18
jmp 0x410f56
cmp dword [ebp + 8], 0xc9
jne 0x410668
push dword [0x698154]
call fcn.00410f7c
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 0x410398
push ebx
call fcn.0050c9c1
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 0x4103da
push ebx
call fcn.0050c9c1
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [0x698158]
test ebx, ebx
je 0x4103f1
push ebx
call fcn.0050c9c1
add esp, 4
pop eax
mov dword [0x698158], eax
push 0xffffffffffffffff
push 0x13
push 0x16017f9e
push 0x52010001
call fcn.0050c9eb
add esp, 0x10
push 0x80000301
push 0
push eax
push 0x1000e
push 0x16017f9e
push 0x52010001
push 2
mov ebx, 0x510a00
call fcn.0050c9cd
add esp, 0x1c
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x698150]
test eax, eax
jne 0x410453
mov eax, 0x5f8f32
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 3
mov ebx, 0x511d30
call fcn.0050c9cd
add esp, 0x28
test eax, eax
je 0x4105f0
push 0x5f9c1a
push dword [0x69814c]
push 0x5f9c4d
mov ecx, 3
call fcn.00402815
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4104b1
push ebx
call fcn.0050c9c1
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 0x4104c8
mov eax, 0x5f8f2a
push eax
push 1
mov ebx, 0x50cee0
call fcn.0050c9cd
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x5f8f68]
fstp qword [ebp - 0x20]
push 0x80000601
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 1
mov ebx, 0x50da70
call fcn.0050c9cd
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x50e440
call fcn.0050c9cd
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.004110f9
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x410552
push ebx
call fcn.0050c9c1
add esp, 4
push dword [ebp - 8]
push dword [ebp - 0x30]
mov ecx, 2
call fcn.00402815
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x410578
push ebx
call fcn.0050c9c1
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x41058b
mov eax, 0x5f8f2a
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 2
mov ebx, 0x511d80
call fcn.0050c9cd
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4105c0
push ebx
call fcn.0050c9c1
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x4105ca
mov eax, 0x5f9c57
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403047
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4105eb
push ebx
call fcn.0050c9c1
add esp, 4
jmp 0x41064b
mov eax, 0x5f9c65
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403047
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410611
push ebx
call fcn.0050c9c1
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.0050c9e5
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010053
push 0x52010001
call fcn.0050c9e5
add esp, 0x18
push 0
push 0x7530
push 0xffffffffffffffff
push 8
push 0x16014031
push 0x52010001
call fcn.0050c9e5
add esp, 0x18
cmp dword [ebp + 8], 0xca
jne 0x410f56
push dword [0x698154]
call fcn.00410f7c
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 0x4106bf
push ebx
call fcn.0050c9c1
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 [0x69814c]
test ebx, ebx
je 0x4106f6
push ebx
call fcn.0050c9c1
add esp, 4
pop eax
mov dword [0x69814c], 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 0x41073e
push ebx
call fcn.0050c9c1
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [0x698158]
test ebx, ebx
je 0x410755
push ebx
call fcn.0050c9c1
add esp, 4
pop eax
mov dword [0x698158], 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 0x410787
push ebx
call fcn.0050c9c1
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 0x4107b3
push ebx
call fcn.0050c9c1
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 0x4107f5
push ebx
call fcn.0050c9c1
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 0x410814
mov eax, 0x5f8f32
push eax
push 2
mov ebx, 0x50d420
call fcn.0050c9cd
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41083a
push ebx
call fcn.0050c9c1
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x41084d
mov eax, 0x5f8f32
push eax
push 1
mov ebx, 0x50db70
call fcn.0050c9cd
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x410873
push ebx
call fcn.0050c9c1
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
push 0xffffffffffffffff
push 0x12
push 0x160145ee
push 0x52010001
call fcn.0050c9eb
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x410cb7
push 0x80000301
push 0
push dword [ebp - 0xc]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x698150]
test eax, eax
jne 0x4108bb
mov eax, 0x5f8f32
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 3
mov ebx, 0x511d30
call fcn.0050c9cd
add esp, 0x28
test eax, eax
je 0x410c74
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [0x69814c]
test eax, eax
jne 0x4108fa
mov eax, 0x5f8f2a
push eax
push 1
mov ebx, 0x50cee0
call fcn.0050c9cd
add esp, 0x10
push eax
call fcn.00411211
mov dword [ebp - 0x14], eax
push 0x5f9c73
push dword [0x69814c]
push dword [ebp - 0x14]
push 0x5f9ca6
mov ecx, 4
call fcn.00402815
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410949
push ebx
call fcn.0050c9c1
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41095d
push ebx
call fcn.0050c9c1
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 0x410974
mov eax, 0x5f8f2a
push eax
push 1
mov ebx, 0x50cee0
call fcn.0050c9cd
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x5f8f68]
fstp qword [ebp - 0x20]
push 0x80000601
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 1
mov ebx, 0x50da70
call fcn.0050c9cd
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x50e440
call fcn.0050c9cd
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.004110f9
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4109fe
push ebx
call fcn.0050c9c1
add esp, 4
push dword [ebp - 8]
push dword [ebp - 0x30]
mov ecx, 2
call fcn.00402815
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x410a24
push ebx
call fcn.0050c9c1
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x410a37
mov eax, 0x5f8f2a
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 2
mov ebx, 0x511d80
call fcn.0050c9cd
add esp, 0x1c
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x410a69
push ebx
call fcn.0050c9c1
add esp, 4
mov eax, 0x5f8f2a
test eax, eax
je 0x410a85
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0050c9bb
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x69814c]
test ebx, ebx
je 0x410a99
push ebx
call fcn.0050c9c1
add esp, 4
pop eax
mov dword [0x69814c], eax
mov eax, dword [ebp - 0xc]
mov dword [0x698120], eax
cmp dword [ebp - 0xc], 0x1e83
jne 0x410ab4
cmp dword [ebp - 0xc], 0x1e82
jne 0x410ac1
cmp dword [ebp - 0xc], 0x1e80
jne 0x410ace
cmp dword [ebp - 0xc], 0x1e7c
jne 0x410adb
push 0xffffffffffffffff
push 8
push 0x16013caa
push 0x52010001
call fcn.0050c9eb
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x410b40
mov eax, 0x5f9ac9
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x5f9cb1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x698134
call fcn.00411261
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410b30
push ebx
call fcn.0050c9c1
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410b40
push ebx
call fcn.0050c9c1
add esp, 4
push 0xffffffffffffffff
push 8
push 0x16015ffb
push 0x52010001
call fcn.0050c9eb
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x410ba5
mov eax, 0x5f9b94
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x5f9cb1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x698134
call fcn.00411261
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410b95
push ebx
call fcn.0050c9c1
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410ba5
push ebx
call fcn.0050c9c1
add esp, 4
push 0xffffffffffffffff
push 8
push 0x16014185
push 0x52010001
call fcn.0050c9eb
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x410c0a
mov eax, 0x5f9ba2
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x5f9cb1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x698134
call fcn.00411261
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410bfa
push ebx
call fcn.0050c9c1
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410c0a
push ebx
call fcn.0050c9c1
add esp, 4
push 0xffffffffffffffff
push 8
push 0x16015b71
push 0x52010001
call fcn.0050c9eb
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x410c6f
mov eax, 0x5f9bb0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x5f9cb1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x698134
call fcn.00411261
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410c5f
push ebx
call fcn.0050c9c1
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410c6f
push ebx
call fcn.0050c9c1
add esp, 4
jmp 0x410cb2
mov eax, 0x5f9c65
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403047
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410c95
push ebx
call fcn.0050c9c1
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.0050c9e5
add esp, 0x18
jmp 0x410f56
push 0x80000301
push 0
push dword [ebp - 0xc]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x698150]
test eax, eax
jne 0x410cd6
mov eax, 0x5f8f32
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 3
mov ebx, 0x511d30
call fcn.0050c9cd
add esp, 0x28
test eax, eax
je 0x410efb
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [0x69814c]
test eax, eax
jne 0x410d15
mov eax, 0x5f8f2a
push eax
push 1
mov ebx, 0x50cee0
call fcn.0050c9cd
add esp, 0x10
push eax
call fcn.00411211
mov dword [ebp - 0x14], eax
push 0x5f9c1a
push dword [0x69814c]
push dword [ebp - 0x14]
push 0x5f9ca6
mov ecx, 4
call fcn.00402815
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410d64
push ebx
call fcn.0050c9c1
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x410d78
push ebx
call fcn.0050c9c1
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 0x410d8f
mov eax, 0x5f8f2a
push eax
push 1
mov ebx, 0x50cee0
call fcn.0050c9cd
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x5f8f68]
fstp qword [ebp - 0x20]
push 0x80000601
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 1
mov ebx, 0x50da70
call fcn.0050c9cd
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x50e440
call fcn.0050c9cd
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.004110f9
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x410e19
push ebx
call fcn.0050c9c1
add esp, 4
push dword [ebp - 8]
push dword [ebp - 0x30]
mov ecx, 2
call fcn.00402815
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x410e3f
push ebx
call fcn.0050c9c1
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x410e52
mov eax, 0x5f8f2a
push eax
push 0x10025
push 0x160147a1
push 0x52010001
push 2
mov ebx, 0x511d80
call fcn.0050c9cd
add esp, 0x1c
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x410e84
push ebx
call fcn.0050c9c1
add esp, 4
mov eax, 0x5f8f2a
test eax, eax
je 0x410ea0
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0050c9bb
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x69814c]
test ebx, ebx
je 0x410eb4
push ebx
call fcn.0050c9c1
add esp, 4
pop eax
mov dword [0x69814c], eax
mov eax, dword [ebp - 0xc]
mov dword [0x698120], eax
cmp dword [ebp - 0xc], 0x1e83
jne 0x410ecf
cmp dword [ebp - 0xc], 0x1e82
jne 0x410edc
cmp dword [ebp - 0xc], 0x1e80
jne 0x410ee9
cmp dword [ebp - 0xc], 0x1e7c
jne 0x410ef6
jmp 0x410f39
mov eax, 0x5f9c65
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403047
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410f1c
push ebx
call fcn.0050c9c1
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.0050c9e5
add esp, 0x18
push 0
push 0x7530
push 0xffffffffffffffff
push 8
push 0x16014031
push 0x52010001
call fcn.0050c9e5
add esp, 0x18
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0050c9c1
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x410f76
push ebx
call fcn.0050c9c1
add esp, 4
mov esp, ebp
pop ebp
ret 8