Function at 0x40bdcd
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0xffffffffffffffff
push 0x12
push 0x1601add2
push 0x52010001
call fcn.00479f63
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x40c3a6
push 0xffffffffffffffff
push 0x12
push 0x1601adc9
push 0x52010001
call fcn.00479f63
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x40c3a6
mov eax, str.20201
push eax
mov ebx, dword [0x5cf084]
test ebx, ebx
je 0x40be35
push ebx
call fcn.00479f39
add esp, 4
pop eax
mov dword [0x5cf084], eax
mov eax, str.dc8e0de762134c25a9a5850e5a77a801
push eax
mov ebx, dword [0x5cf088]
test ebx, ebx
je 0x40be54
push ebx
call fcn.00479f39
add esp, 4
pop eax
mov dword [0x5cf088], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x5cf084]
test eax, eax
jne 0x40be6f
mov eax, 0x535314
push eax
push 1
mov ebx, 0x47b020
call fcn.00479f51
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x5cf088]
test eax, eax
jne 0x40be9a
mov eax, 0x535314
push eax
push 1
mov ebx, 0x47b340
call fcn.00479f51
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push dword [ebp - 4]
mov eax, 0xb
call fcn.00479f4b
cmp dword [ebp - 0xc], esp
je 0x40bed5
push 6
call fcn.00479f45
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40bee5
push ebx
call fcn.00479f39
add esp, 4
push 0xffffffffffffffff
push 8
push 0x1601adcf
push 0x52010001
call fcn.00479f63
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 0x40bf11
mov eax, 0x535314
push eax
push 1
mov ebx, 0x47b320
call fcn.00479f51
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40bf37
push ebx
call fcn.00479f39
add esp, 4
push 0x535314
push dword [ebp - 8]
call fcn.00402991
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 0x40bf65
push ebx
call fcn.00479f39
add esp, 4
cmp dword [ebp - 0xc], 0
jne 0x40bffd
push 0xffffffffffffffff
push 8
push 0x1601adca
push 0x52010001
call fcn.00479f63
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 0x40bf9b
mov eax, 0x535314
push eax
push 1
mov ebx, 0x47b320
call fcn.00479f51
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40bfc1
push ebx
call fcn.00479f39
add esp, 4
push 0x535314
push dword [ebp - 0x14]
call fcn.00402991
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 0x40bfef
push ebx
call fcn.00479f39
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x40bffd
xor eax, eax
jmp 0x40c002
mov eax, 1
test eax, eax
je 0x40c045
push reloc.WS2_32.dll_connect
push 0
push 0x56f111
push 0x80000301
push 0
push 0x30
push reloc.WS2_32.dll_connect
push 0
push 0x56f11e
push 3
mov ebx, 0x47cc40
call fcn.00479f51
add esp, 0x28
jmp 0x40cbed
push 0xffffffffffffffff
push 8
push 0x1601adcf
push 0x52010001
call fcn.00479f63
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 0x40c071
mov eax, 0x535314
push eax
push 1
mov ebx, 0x47b320
call fcn.00479f51
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40c097
push ebx
call fcn.00479f39
add esp, 4
push 0xffffffffffffffff
push 8
push 0x1601adca
push 0x52010001
call fcn.00479f63
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 0x40c0c3
mov eax, 0x535314
push eax
push 1
mov ebx, 0x47b320
call fcn.00479f51
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40c0e9
push ebx
call fcn.00479f39
add esp, 4
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
mov eax, 0xc
call fcn.00479f4b
cmp dword [ebp - 0x14], esp
je 0x40c10e
push 6
call fcn.00479f45
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40c121
push ebx
call fcn.00479f39
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40c131
push ebx
call fcn.00479f39
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [0x5cf08c], eax
cmp dword [0x5cf08c], 0
jg 0x40c196
push 0
push dword [0x5cf090]
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.00479f69
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x3e8
call fcn.00402239
push 0
mov ebx, 0x47cda0
call fcn.00479f51
add esp, 4
jmp 0x40cbed
push 0
push 0x56f13b
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.00479f69
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x3e8
call fcn.00402239
push 0
mov ebx, 0x47cda0
call fcn.00479f51
add esp, 4
push 0xffffffffffffffff
push 8
push 0x1601adcf
push 0x52010001
call fcn.00479f63
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 0x40c207
mov eax, 0x535314
push eax
push 1
mov ebx, 0x47b320
call fcn.00479f51
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40c22d
push ebx
call fcn.00479f39
add esp, 4
push 0xffffffffffffffff
push 8
push 0x1601adca
push 0x52010001
call fcn.00479f63
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 0x40c259
mov eax, 0x535314
push eax
push 1
mov ebx, 0x47b320
call fcn.00479f51
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40c27f
push ebx
call fcn.00479f39
add esp, 4
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
mov eax, 0xd
call fcn.00479f4b
cmp dword [ebp - 0x14], esp
je 0x40c2a4
push 6
call fcn.00479f45
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40c2b7
push ebx
call fcn.00479f39
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40c2c7
push ebx
call fcn.00479f39
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [0x5cf094], eax
cmp dword [0x5cf094], 0
jg 0x40c304
push 0
push dword [0x5cf090]
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.00479f69
add esp, 0x18
jmp 0x40cbed
push 0x80000301
push 0
push dword [0x5cf094]
push 1
mov ebx, 0x47bbd0
call fcn.00479f51
add esp, 0x10
mov dword [ebp - 4], eax
push 0x56f146
push dword [ebp - 4]
push 0x56f149
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40c353
push ebx
call fcn.00479f39
add esp, 4
push 0
push dword [ebp - 8]
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.00479f69
add esp, 0x18
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40c37e
push ebx
call fcn.00479f39
add esp, 4
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x3e8
call fcn.00402239
push 0
mov ebx, 0x47cda0
call fcn.00479f51
add esp, 4
cmp dword [0x5cf068], 0
jne 0x40c55b
push 0
push 0x56f14c
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.00479f69
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x32
call fcn.00402239
push 0
mov ebx, 0x47cda0
call fcn.00479f51
add esp, 4
call fcn.0040b57a
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x40c55b
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x32
call fcn.00402239
push 0
mov ebx, 0x47cda0
call fcn.00479f51
add esp, 4
push 0xffffffffffffffff
push 9
push 0x16010b91
push 0x52010001
call fcn.00479f63
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 0x40c45e
mov eax, 0x535314
push eax
push 1
mov ebx, 0x47bbd0
call fcn.00479f51
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40c484
push ebx
call fcn.00479f39
add esp, 4
push 0xffffffffffffffff
push 9
push 0x16010b98
push 0x52010001
call fcn.00479f63
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 0x40c4b0
mov eax, 0x535314
push eax
push 1
mov ebx, 0x47bbd0
call fcn.00479f51
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40c4d6
push ebx
call fcn.00479f39
add esp, 4
push 0x559698
push dword [ebp - 0x10]
push 0x535344
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 0x40c506
push ebx
call fcn.00479f39
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40c516
push ebx
call fcn.00479f39
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40c529
mov eax, 0x535314
push eax
push 0x10025
push 0x1601700e
push 0x52010001
push 2
mov ebx, 0x47d450
call fcn.00479f51
add esp, 0x1c
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40c55b
push ebx
call fcn.00479f39
add esp, 4
cmp dword [0x5cf068], 0
jne 0x40c5b2
push 0
push 0x56f15a
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.00479f69
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x32
call fcn.00402239
push 0
mov ebx, 0x47cda0
call fcn.00479f51
add esp, 4
jmp 0x40cbed
push 0
push 1
push 0xffffffffffffffff
push 0x1d
push 0x6010000
push 0x52010001
call fcn.00479f69
add esp, 0x18
push 0
push 0x56f164
push 0xffffffffffffffff
push 8
push 0x6010000
push 0x52010001
call fcn.00479f69
add esp, 0x18
push 0
push 0x56f192
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.00479f69
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x7d0
call fcn.00402239
push 0
mov ebx, 0x47cda0
call fcn.00479f51
add esp, 4
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x16010b48
push 0x52010001
call fcn.00479f69
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010b5a
push 0x52010001
call fcn.00479f69
add esp, 0x18
mov dword [0x5ceff4], 1
mov dword [0x5ceff0], 1
cmp dword [0x5ceff4], 1
jne 0x40cbbb
mov eax, str.QQGame.exe
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040cbf1
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40c6b0
push ebx
call fcn.00479f39
add esp, 4
cmp dword [ebp - 8], 1
jne 0x40c6bf
call fcn.0040d06b
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x1f4
call fcn.00402239
push 0
mov ebx, 0x47cda0
call fcn.00479f51
add esp, 4
cmp dword [0x5ceff0], 1
jne 0x40c8a0
push 0x20004
push 0x16010004
push 0x52010001
push 1
mov eax, 1
mov ebx, 0x4ccb10
call fcn.00479f5d
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40c7cb
push 0
push 0
push 0xffffffffffffffff
push 0x1d
push 0x6010000
push 0x52010001
call fcn.00479f69
add esp, 0x18
push 0
push 0x56f19b
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.00479f69
add esp, 0x18
mov dword [0x5ceff0], 0
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x1f4
call fcn.00402239
push 0
mov ebx, 0x47cda0
call fcn.00479f51
add esp, 4
mov eax, str.QQGame.exe
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040cbf1
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40c7b7
push ebx
call fcn.00479f39
add esp, 4
cmp dword [ebp - 8], 1
jne 0x40c7c6
call fcn.0040d06b
jmp 0x40c8a0
push 0xffffffffffffffff
push 0x13
push 0x16010b91
push 0x52010001
call fcn.00479f63
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40c812
mov dword [0x5ceff0], 1
mov dword [0x5cf098], 0
push dword [0x5cf09c]
call fcn.0040e8cc
call fcn.0040eeba
push 0xffffffffffffffff
push 0x13
push 0x16010b91
push 0x52010001
call fcn.00479f63
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x40c859
mov dword [0x5ceff0], 1
mov dword [0x5cf098], 0
push dword [0x5cf09c]
call fcn.0040e8cc
call fcn.00436e97
push 0xffffffffffffffff
push 0x13
push 0x16010b91
push 0x52010001
call fcn.00479f63
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jne 0x40c8a0
mov dword [0x5ceff0], 1
mov dword [0x5cf098], 0
push dword [0x5cf09c]
call fcn.0040e8cc
call fcn.0043e9a7
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x1f4
call fcn.00402239
push 0
mov ebx, 0x47cda0
call fcn.00479f51
add esp, 4
inc dword [0x5cf0a0]
push 0xffffffffffffffff
push 0x13
push 0x16010b91
push 0x52010001
call fcn.00479f63
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jne 0x40cbb6
cmp dword [0x5cf0a0], 0xc8
jle 0x40cbb6
cmp dword [0x5cf068], 1
jne 0x40cbac
push 0xffffffffffffffff
push 9
push 0x16010b91
push 0x52010001
call fcn.00479f63
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 0x40c93a
mov eax, 0x535314
push eax
push 1
mov ebx, 0x47bbd0
call fcn.00479f51
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40c960
push ebx
call fcn.00479f39
add esp, 4
push 0xffffffffffffffff
push 9
push 0x16010b98
push 0x52010001
call fcn.00479f63
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 0x40c98c
mov eax, 0x535314
push eax
push 1
mov ebx, 0x47bbd0
call fcn.00479f51
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40c9b2
push ebx
call fcn.00479f39
add esp, 4
push str.____l
push dword [ebp - 0x10]
push 0x535344
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 0x40c9e2
push ebx
call fcn.00479f39
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40c9f2
push ebx
call fcn.00479f39
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40ca05
mov eax, 0x535314
push eax
push 0x10025
push 0x1601700e
push 0x52010001
push 2
mov ebx, 0x47d450
call fcn.00479f51
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40ca3a
push ebx
call fcn.00479f39
add esp, 4
cmp dword [ebp - 0x18], 1
jne 0x40ca49
jmp 0x40cbac
call fcn.0040b57a
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x40cbac
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x32
call fcn.00402239
push 0
mov ebx, 0x47cda0
call fcn.00479f51
add esp, 4
push 0xffffffffffffffff
push 9
push 0x16010b91
push 0x52010001
call fcn.00479f63
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 0x40caaf
mov eax, 0x535314
push eax
push 1
mov ebx, 0x47bbd0
call fcn.00479f51
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40cad5
push ebx
call fcn.00479f39
add esp, 4
push 0xffffffffffffffff
push 9
push 0x16010b98
push 0x52010001
call fcn.00479f63
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 0x40cb01
mov eax, 0x535314
push eax
push 1
mov ebx, 0x47bbd0
call fcn.00479f51
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40cb27
push ebx
call fcn.00479f39
add esp, 4
push 0x559698
push dword [ebp - 0x10]
push 0x535344
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 0x40cb57
push ebx
call fcn.00479f39
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40cb67
push ebx
call fcn.00479f39
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40cb7a
mov eax, 0x535314
push eax
push 0x10025
push 0x1601700e
push 0x52010001
push 2
mov ebx, 0x47d450
call fcn.00479f51
add esp, 0x1c
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40cbac
push ebx
call fcn.00479f39
add esp, 4
mov dword [0x5cf0a0], 0
jmp 0x40c67f
push 0xffffffffffffffff
push 0x12
push 0x16010b4c
push 0x52010001
call fcn.00479f63
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x40cbe8
call fcn.0040d06b
jmp 0x40cbe8
jmp 0x40cbed
mov esp, ebp
pop ebp
ret