Function at 0x40631e
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0xffffffffffffffff
push 0x12
push 0x1601add2
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x4068f7
push 0xffffffffffffffff
push 0x12
push 0x1601adc9
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x4068f7
mov eax, str.20201
push eax
mov ebx, dword [0x5d1044]
test ebx, ebx
je 0x406386
push ebx
call fcn.0047c4e7
add esp, 4
pop eax
mov dword [0x5d1044], eax
mov eax, str.dc8e0de762134c25a9a5850e5a77a801
push eax
mov ebx, dword [0x5d1048]
test ebx, ebx
je 0x4063a5
push ebx
call fcn.0047c4e7
add esp, 4
pop eax
mov dword [0x5d1048], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x5d1044]
test eax, eax
jne 0x4063c0
mov eax, 0x537338
push eax
push 1
mov ebx, 0x47d5d0
call fcn.0047c4ff
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x5d1048]
test eax, eax
jne 0x4063eb
mov eax, 0x537338
push eax
push 1
mov ebx, 0x47d8f0
call fcn.0047c4ff
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push dword [ebp - 4]
mov eax, 0xa
call fcn.0047c4f9
cmp dword [ebp - 0xc], esp
je 0x406426
push 6
call fcn.0047c4f3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406436
push ebx
call fcn.0047c4e7
add esp, 4
push 0xffffffffffffffff
push 8
push 0x1601adcf
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x406462
mov eax, 0x537338
push eax
push 1
mov ebx, 0x47d8d0
call fcn.0047c4ff
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406488
push ebx
call fcn.0047c4e7
add esp, 4
push 0x537338
push dword [ebp - 8]
call fcn.00406281
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4064b6
push ebx
call fcn.0047c4e7
add esp, 4
cmp dword [ebp - 0xc], 0
jne 0x40654e
push 0xffffffffffffffff
push 8
push 0x1601adca
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4064ec
mov eax, 0x537338
push eax
push 1
mov ebx, 0x47d8d0
call fcn.0047c4ff
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406512
push ebx
call fcn.0047c4e7
add esp, 4
push 0x537338
push dword [ebp - 0x14]
call fcn.00406281
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x406540
push ebx
call fcn.0047c4e7
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x40654e
xor eax, eax
jmp 0x406553
mov eax, 1
test eax, eax
je 0x406596
push reloc.WS2_32.dll_connect
push 0
push 0x5375ba
push 0x80000301
push 0
push 0x30
push reloc.WS2_32.dll_connect
push 0
push 0x5375c7
push 3
mov ebx, 0x47f1f0
call fcn.0047c4ff
add esp, 0x28
jmp 0x4072bd
push 0xffffffffffffffff
push 8
push 0x1601adcf
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4065c2
mov eax, 0x537338
push eax
push 1
mov ebx, 0x47d8d0
call fcn.0047c4ff
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4065e8
push ebx
call fcn.0047c4e7
add esp, 4
push 0xffffffffffffffff
push 8
push 0x1601adca
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x406614
mov eax, 0x537338
push eax
push 1
mov ebx, 0x47d8d0
call fcn.0047c4ff
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40663a
push ebx
call fcn.0047c4e7
add esp, 4
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
mov eax, 0xb
call fcn.0047c4f9
cmp dword [ebp - 0x14], esp
je 0x40665f
push 6
call fcn.0047c4f3
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406672
push ebx
call fcn.0047c4e7
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406682
push ebx
call fcn.0047c4e7
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [0x5d104c], eax
cmp dword [0x5d104c], 0
jg 0x4066e7
push 0
push dword [0x5d1050]
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.0047c517
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x3e8
call fcn.0040221c
push 0
mov ebx, 0x47f350
call fcn.0047c4ff
add esp, 4
jmp 0x4072bd
push 0
push 0x5375e4
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.0047c517
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x3e8
call fcn.0040221c
push 0
mov ebx, 0x47f350
call fcn.0047c4ff
add esp, 4
push 0xffffffffffffffff
push 8
push 0x1601adcf
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x406758
mov eax, 0x537338
push eax
push 1
mov ebx, 0x47d8d0
call fcn.0047c4ff
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40677e
push ebx
call fcn.0047c4e7
add esp, 4
push 0xffffffffffffffff
push 8
push 0x1601adca
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4067aa
mov eax, 0x537338
push eax
push 1
mov ebx, 0x47d8d0
call fcn.0047c4ff
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4067d0
push ebx
call fcn.0047c4e7
add esp, 4
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
mov eax, 0xc
call fcn.0047c4f9
cmp dword [ebp - 0x14], esp
je 0x4067f5
push 6
call fcn.0047c4f3
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406808
push ebx
call fcn.0047c4e7
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406818
push ebx
call fcn.0047c4e7
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [0x5d1054], eax
cmp dword [0x5d1054], 0
jg 0x406855
push 0
push dword [0x5d1050]
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.0047c517
add esp, 0x18
jmp 0x4072bd
push 0x80000301
push 0
push dword [0x5d1054]
push 1
mov ebx, 0x47e180
call fcn.0047c4ff
add esp, 0x10
mov dword [ebp - 4], eax
push 0x5375ef
push dword [ebp - 4]
push 0x5375f2
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4068a4
push ebx
call fcn.0047c4e7
add esp, 4
push 0
push dword [ebp - 8]
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.0047c517
add esp, 0x18
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4068cf
push ebx
call fcn.0047c4e7
add esp, 4
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x3e8
call fcn.0040221c
push 0
mov ebx, 0x47f350
call fcn.0047c4ff
add esp, 4
cmp dword [0x5d0ff8], 0
jne 0x406aac
push 0
push 0x5375f5
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.0047c517
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x32
call fcn.0040221c
push 0
mov ebx, 0x47f350
call fcn.0047c4ff
add esp, 4
call fcn.004072c1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x406aac
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x32
call fcn.0040221c
push 0
mov ebx, 0x47f350
call fcn.0047c4ff
add esp, 4
push 0xffffffffffffffff
push 9
push 0x16010b91
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4069af
mov eax, 0x537338
push eax
push 1
mov ebx, 0x47e180
call fcn.0047c4ff
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4069d5
push ebx
call fcn.0047c4e7
add esp, 4
push 0xffffffffffffffff
push 9
push 0x16010b98
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x406a01
mov eax, 0x537338
push eax
push 1
mov ebx, 0x47e180
call fcn.0047c4ff
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x406a27
push ebx
call fcn.0047c4e7
add esp, 4
push 0x537603
push dword [ebp - 0x10]
push 0x537367
push dword [ebp - 8]
mov ecx, 4
call fcn.0040106f
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406a57
push ebx
call fcn.0047c4e7
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406a67
push ebx
call fcn.0047c4e7
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x406a7a
mov eax, 0x537338
push eax
push 0x10025
push 0x1601700e
push 0x52010001
push 2
mov ebx, 0x47fa00
call fcn.0047c4ff
add esp, 0x1c
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x406aac
push ebx
call fcn.0047c4e7
add esp, 4
cmp dword [0x5d0ff8], 0
jne 0x406b03
push 0
push 0x537610
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.0047c517
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x32
call fcn.0040221c
push 0
mov ebx, 0x47f350
call fcn.0047c4ff
add esp, 4
jmp 0x4072bd
push 0
push 1
push 0xffffffffffffffff
push 0x1d
push 0x6010000
push 0x52010001
call fcn.0047c517
add esp, 0x18
push 0
push 0x53761a
push 0xffffffffffffffff
push 8
push 0x6010000
push 0x52010001
call fcn.0047c517
add esp, 0x18
push 0
push 0x537648
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.0047c517
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x7d0
call fcn.0040221c
push 0
mov ebx, 0x47f350
call fcn.0047c4ff
add esp, 4
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x16010b48
push 0x52010001
call fcn.0047c517
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010b5a
push 0x52010001
call fcn.0047c517
add esp, 0x18
mov dword [0x5d1014], 1
mov dword [0x5d0ffc], 1
mov dword [0x5d1038], 1
cmp dword [0x5d1014], 1
jne 0x40728b
mov eax, str.QQGame.exe
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.004073c2
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406c0b
push ebx
call fcn.0047c4e7
add esp, 4
cmp dword [ebp - 8], 1
jne 0x406c1a
call fcn.0040783c
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x1f4
call fcn.0040221c
push 0
mov ebx, 0x47f350
call fcn.0047c4ff
add esp, 4
cmp dword [0x5d0ffc], 1
jne 0x406f70
push 0x20004
push 0x16010004
push 0x52010001
push 1
mov eax, 1
mov ebx, 0x4cf0c0
call fcn.0047c505
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x406e73
push 0
push 0
push 0xffffffffffffffff
push 0x1d
push 0x6010000
push 0x52010001
call fcn.0047c517
add esp, 0x18
push 0
push 0x53765c
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.0047c517
add esp, 0x18
mov dword [0x5d0ffc], 0
cmp dword [0x5d1038], 1
jne 0x406e13
cmp dword [0x5d0ff8], 1
jne 0x406e09
push 0xffffffffffffffff
push 9
push 0x16010b91
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x406d0c
mov eax, 0x537338
push eax
push 1
mov ebx, 0x47e180
call fcn.0047c4ff
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406d32
push ebx
call fcn.0047c4e7
add esp, 4
push 0xffffffffffffffff
push 9
push 0x16010b98
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x406d5e
mov eax, 0x537338
push eax
push 1
mov ebx, 0x47e180
call fcn.0047c4ff
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x406d84
push ebx
call fcn.0047c4e7
add esp, 4
push 0x537669
push dword [ebp - 0x10]
push 0x537367
push dword [ebp - 8]
mov ecx, 4
call fcn.0040106f
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406db4
push ebx
call fcn.0047c4e7
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406dc4
push ebx
call fcn.0047c4e7
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x406dd7
mov eax, 0x537338
push eax
push 0x10025
push 0x1601700e
push 0x52010001
push 2
mov ebx, 0x47fa00
call fcn.0047c4ff
add esp, 0x1c
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x406e09
push ebx
call fcn.0047c4e7
add esp, 4
mov dword [0x5d1038], 0
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x7d0
call fcn.0040221c
push 0
mov ebx, 0x47f350
call fcn.0047c4ff
add esp, 4
mov eax, str.QQGame.exe
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.004073c2
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406e5f
push ebx
call fcn.0047c4e7
add esp, 4
cmp dword [ebp - 8], 1
jne 0x406e6e
call fcn.0040783c
jmp 0x406f70
mov dword [0x5d1038], 0
push 0xffffffffffffffff
push 0x13
push 0x16010b91
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x406ece
mov dword [0x5d0ffc], 1
mov dword [0x5d1058], 0
push dword [0x5d105c]
call fcn.004091b1
call fcn.0040979f
mov dword [0x5d1038], 1
push 0xffffffffffffffff
push 0x13
push 0x16010b91
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x406f1f
mov dword [0x5d0ffc], 1
mov dword [0x5d1058], 0
push dword [0x5d105c]
call fcn.004091b1
call fcn.00438b35
mov dword [0x5d1038], 1
push 0xffffffffffffffff
push 0x13
push 0x16010b91
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jne 0x406f70
mov dword [0x5d0ffc], 1
mov dword [0x5d1058], 0
push dword [0x5d105c]
call fcn.004091b1
call fcn.0043bb02
mov dword [0x5d1038], 1
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x1f4
call fcn.0040221c
push 0
mov ebx, 0x47f350
call fcn.0047c4ff
add esp, 4
inc dword [0x5d1060]
push 0xffffffffffffffff
push 0x13
push 0x16010b91
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jne 0x407286
cmp dword [0x5d1060], 0xc8
jle 0x407286
cmp dword [0x5d0ff8], 1
jne 0x40727c
push 0xffffffffffffffff
push 9
push 0x16010b91
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40700a
mov eax, 0x537338
push eax
push 1
mov ebx, 0x47e180
call fcn.0047c4ff
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x407030
push ebx
call fcn.0047c4e7
add esp, 4
push 0xffffffffffffffff
push 9
push 0x16010b98
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40705c
mov eax, 0x537338
push eax
push 1
mov ebx, 0x47e180
call fcn.0047c4ff
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x407082
push ebx
call fcn.0047c4e7
add esp, 4
push str.____l
push dword [ebp - 0x10]
push 0x537367
push dword [ebp - 8]
mov ecx, 4
call fcn.0040106f
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4070b2
push ebx
call fcn.0047c4e7
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4070c2
push ebx
call fcn.0047c4e7
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4070d5
mov eax, 0x537338
push eax
push 0x10025
push 0x1601700e
push 0x52010001
push 2
mov ebx, 0x47fa00
call fcn.0047c4ff
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40710a
push ebx
call fcn.0047c4e7
add esp, 4
cmp dword [ebp - 0x18], 1
jne 0x407119
jmp 0x40727c
call fcn.004072c1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x40727c
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x32
call fcn.0040221c
push 0
mov ebx, 0x47f350
call fcn.0047c4ff
add esp, 4
push 0xffffffffffffffff
push 9
push 0x16010b91
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40717f
mov eax, 0x537338
push eax
push 1
mov ebx, 0x47e180
call fcn.0047c4ff
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4071a5
push ebx
call fcn.0047c4e7
add esp, 4
push 0xffffffffffffffff
push 9
push 0x16010b98
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4071d1
mov eax, 0x537338
push eax
push 1
mov ebx, 0x47e180
call fcn.0047c4ff
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4071f7
push ebx
call fcn.0047c4e7
add esp, 4
push 0x537603
push dword [ebp - 0x10]
push 0x537367
push dword [ebp - 8]
mov ecx, 4
call fcn.0040106f
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407227
push ebx
call fcn.0047c4e7
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x407237
push ebx
call fcn.0047c4e7
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40724a
mov eax, 0x537338
push eax
push 0x10025
push 0x1601700e
push 0x52010001
push 2
mov ebx, 0x47fa00
call fcn.0047c4ff
add esp, 0x1c
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40727c
push ebx
call fcn.0047c4e7
add esp, 4
mov dword [0x5d1060], 0
jmp 0x406bda
push 0xffffffffffffffff
push 0x12
push 0x16010b4c
push 0x52010001
call fcn.0047c511
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x4072b8
call fcn.0040783c
jmp 0x4072b8
jmp 0x4072bd
mov esp, ebp
pop ebp
ret