Function at 0x4088e5
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0xffffffffffffffff
push 0x12
push 0x1601add2
push 0x52010001
call fcn.00475c49
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x408ea1
push 0xffffffffffffffff
push 0x12
push 0x1601adc9
push 0x52010001
call fcn.00475c49
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x408ea1
mov eax, str.20201
push eax
mov ebx, dword [0x5d4e14]
test ebx, ebx
je 0x40894d
push ebx
call fcn.00475c19
add esp, 4
pop eax
mov dword [0x5d4e14], eax
mov eax, str.dc8e0de762134c25a9a5850e5a77a801
push eax
mov ebx, dword [0x5d4e18]
test ebx, ebx
je 0x40896c
push ebx
call fcn.00475c19
add esp, 4
pop eax
mov dword [0x5d4e18], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x5d4e14]
test eax, eax
jne 0x408987
mov eax, 0x5302b0
push eax
push 1
mov ebx, 0x476cd0
call fcn.00475c31
add esp, 0x10
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x5d4e18]
test eax, eax
jne 0x4089b2
mov eax, 0x5302b0
push eax
push 1
mov ebx, 0x476ff0
call fcn.00475c31
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 0x5d4e1c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4089ee
push ebx
call fcn.00475c19
add esp, 4
push 0xffffffffffffffff
push 8
push 0x1601adcf
push 0x52010001
call fcn.00475c49
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 0x408a1a
mov eax, 0x5302b0
push eax
push 1
mov ebx, 0x476fd0
call fcn.00475c31
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408a40
push ebx
call fcn.00475c19
add esp, 4
push 0x5302b0
push dword [ebp - 8]
call fcn.00401ae4
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 0x408a6e
push ebx
call fcn.00475c19
add esp, 4
cmp dword [ebp - 0xc], 0
jne 0x408b06
push 0xffffffffffffffff
push 8
push 0x1601adca
push 0x52010001
call fcn.00475c49
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 0x408aa4
mov eax, 0x5302b0
push eax
push 1
mov ebx, 0x476fd0
call fcn.00475c31
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x408aca
push ebx
call fcn.00475c19
add esp, 4
push 0x5302b0
push dword [ebp - 0x14]
call fcn.00401ae4
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 0x408af8
push ebx
call fcn.00475c19
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x408b06
xor eax, eax
jmp 0x408b0b
mov eax, 1
test eax, eax
je 0x408b4e
push reloc.WS2_32.dll_connect
push 0
push 0x545d55
push 0x80000301
push 0
push 0x30
push reloc.WS2_32.dll_connect
push 0
push 0x545d62
push 3
mov ebx, 0x4788d0
call fcn.00475c31
add esp, 0x28
jmp 0x4096e8
push 0xffffffffffffffff
push 8
push 0x1601adcf
push 0x52010001
call fcn.00475c49
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 0x408b7a
mov eax, 0x5302b0
push eax
push 1
mov ebx, 0x476fd0
call fcn.00475c31
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408ba0
push ebx
call fcn.00475c19
add esp, 4
push 0xffffffffffffffff
push 8
push 0x1601adca
push 0x52010001
call fcn.00475c49
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 0x408bcc
mov eax, 0x5302b0
push eax
push 1
mov ebx, 0x476fd0
call fcn.00475c31
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x408bf2
push ebx
call fcn.00475c19
add esp, 4
push 1
push 0x5d4e24
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x5d4e1c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x408c23
push ebx
call fcn.00475c19
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x408c33
push ebx
call fcn.00475c19
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [0x5d4e20], eax
cmp dword [0x5d4e20], 0
jg 0x408c98
push 0
push dword [0x5d4e24]
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.00475c4f
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x3e8
call fcn.00404874
push 0
mov ebx, 0x478a30
call fcn.00475c31
add esp, 4
jmp 0x4096e8
push 0
push 0x545d7f
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.00475c4f
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x3e8
call fcn.00404874
push 0
mov ebx, 0x478a30
call fcn.00475c31
add esp, 4
push 0xffffffffffffffff
push 8
push 0x1601adcf
push 0x52010001
call fcn.00475c49
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 0x408d09
mov eax, 0x5302b0
push eax
push 1
mov ebx, 0x476fd0
call fcn.00475c31
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408d2f
push ebx
call fcn.00475c19
add esp, 4
push 0xffffffffffffffff
push 8
push 0x1601adca
push 0x52010001
call fcn.00475c49
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 0x408d5b
mov eax, 0x5302b0
push eax
push 1
mov ebx, 0x476fd0
call fcn.00475c31
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x408d81
push ebx
call fcn.00475c19
add esp, 4
push 1
push 0x5d4e24
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x5d4e1c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x408db2
push ebx
call fcn.00475c19
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x408dc2
push ebx
call fcn.00475c19
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [0x5d4e28], eax
cmp dword [0x5d4e28], 0
jg 0x408dff
push 0
push dword [0x5d4e24]
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.00475c4f
add esp, 0x18
jmp 0x4096e8
push 0x80000301
push 0
push dword [0x5d4e28]
push 1
mov ebx, 0x477880
call fcn.00475c31
add esp, 0x10
mov dword [ebp - 4], eax
push 0x545d8a
push dword [ebp - 4]
push 0x545d8d
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408e4e
push ebx
call fcn.00475c19
add esp, 4
push 0
push dword [ebp - 8]
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.00475c4f
add esp, 0x18
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x408e79
push ebx
call fcn.00475c19
add esp, 4
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x3e8
call fcn.00404874
push 0
mov ebx, 0x478a30
call fcn.00475c31
add esp, 4
cmp dword [0x5d4df0], 0
jne 0x409056
push 0
push 0x546017
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.00475c4f
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x32
call fcn.00404874
push 0
mov ebx, 0x478a30
call fcn.00475c31
add esp, 4
call fcn.004096ec
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x409056
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x32
call fcn.00404874
push 0
mov ebx, 0x478a30
call fcn.00475c31
add esp, 4
push 0xffffffffffffffff
push 9
push 0x16010b91
push 0x52010001
call fcn.00475c49
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 0x408f59
mov eax, 0x5302b0
push eax
push 1
mov ebx, 0x477880
call fcn.00475c31
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408f7f
push ebx
call fcn.00475c19
add esp, 4
push 0xffffffffffffffff
push 9
push 0x16010b98
push 0x52010001
call fcn.00475c49
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 0x408fab
mov eax, 0x5302b0
push eax
push 1
mov ebx, 0x477880
call fcn.00475c31
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x408fd1
push ebx
call fcn.00475c19
add esp, 4
push 0x546025
push dword [ebp - 0x10]
push 0x5302db
push dword [ebp - 8]
mov ecx, 4
call fcn.0040108c
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x409001
push ebx
call fcn.00475c19
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x409011
push ebx
call fcn.00475c19
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x409024
mov eax, 0x5302b0
push eax
push 0x10025
push 0x1601700e
push 0x52010001
push 2
mov ebx, 0x4790d0
call fcn.00475c31
add esp, 0x1c
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x409056
push ebx
call fcn.00475c19
add esp, 4
cmp dword [0x5d4df0], 0
jne 0x4090ad
push 0
push 0x546032
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.00475c4f
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x32
call fcn.00404874
push 0
mov ebx, 0x478a30
call fcn.00475c31
add esp, 4
jmp 0x4096e8
push 0
push 1
push 0xffffffffffffffff
push 0x1d
push 0x6010000
push 0x52010001
call fcn.00475c4f
add esp, 0x18
push 0
push 0x54603c
push 0xffffffffffffffff
push 8
push 0x6010000
push 0x52010001
call fcn.00475c4f
add esp, 0x18
push 0
push 0x54606a
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.00475c4f
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x7d0
call fcn.00404874
push 0
mov ebx, 0x478a30
call fcn.00475c31
add esp, 4
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x16010b48
push 0x52010001
call fcn.00475c4f
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010b5a
push 0x52010001
call fcn.00475c4f
add esp, 0x18
mov dword [0x5d4e0c], 1
mov dword [0x5d4df4], 1
cmp dword [0x5d4e0c], 1
jne 0x4096b6
mov eax, str.QQGame.exe
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.004097ed
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4091ab
push ebx
call fcn.00475c19
add esp, 4
cmp dword [ebp - 8], 1
jne 0x4091ba
call fcn.00409c67
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x1f4
call fcn.00404874
push 0
mov ebx, 0x478a30
call fcn.00475c31
add esp, 4
cmp dword [0x5d4df4], 1
jne 0x40939b
push 0x20004
push 0x16010004
push 0x52010001
push 1
mov eax, 1
mov ebx, 0x4c87b0
call fcn.00475c3d
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4092c6
push 0
push 0
push 0xffffffffffffffff
push 0x1d
push 0x6010000
push 0x52010001
call fcn.00475c4f
add esp, 0x18
push 0
push 0x54607e
push 0xffffffffffffffff
push 8
push 0x160164d7
push 0x52010001
call fcn.00475c4f
add esp, 0x18
mov dword [0x5d4df4], 0
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x1f4
call fcn.00404874
push 0
mov ebx, 0x478a30
call fcn.00475c31
add esp, 4
mov eax, str.QQGame.exe
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.004097ed
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4092b2
push ebx
call fcn.00475c19
add esp, 4
cmp dword [ebp - 8], 1
jne 0x4092c1
call fcn.00409c67
jmp 0x40939b
push 0xffffffffffffffff
push 0x13
push 0x16010b91
push 0x52010001
call fcn.00475c49
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40930d
mov dword [0x5d4df4], 1
mov dword [0x5d4e50], 0
push dword [0x5d4e54]
call fcn.0040a10d
call fcn.0040a6fb
push 0xffffffffffffffff
push 0x13
push 0x16010b91
push 0x52010001
call fcn.00475c49
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x409354
mov dword [0x5d4df4], 1
mov dword [0x5d4e50], 0
push dword [0x5d4e54]
call fcn.0040a10d
call fcn.00430c39
push 0xffffffffffffffff
push 0x13
push 0x16010b91
push 0x52010001
call fcn.00475c49
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jne 0x40939b
mov dword [0x5d4df4], 1
mov dword [0x5d4e50], 0
push dword [0x5d4e54]
call fcn.0040a10d
call fcn.00438741
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x1f4
call fcn.00404874
push 0
mov ebx, 0x478a30
call fcn.00475c31
add esp, 4
inc dword [0x5d4e58]
push 0xffffffffffffffff
push 0x13
push 0x16010b91
push 0x52010001
call fcn.00475c49
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jne 0x4096b1
cmp dword [0x5d4e58], 0xc8
jle 0x4096b1
cmp dword [0x5d4df0], 1
jne 0x4096a7
push 0xffffffffffffffff
push 9
push 0x16010b91
push 0x52010001
call fcn.00475c49
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 0x409435
mov eax, 0x5302b0
push eax
push 1
mov ebx, 0x477880
call fcn.00475c31
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40945b
push ebx
call fcn.00475c19
add esp, 4
push 0xffffffffffffffff
push 9
push 0x16010b98
push 0x52010001
call fcn.00475c49
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 0x409487
mov eax, 0x5302b0
push eax
push 1
mov ebx, 0x477880
call fcn.00475c31
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4094ad
push ebx
call fcn.00475c19
add esp, 4
push str.____l
push dword [ebp - 0x10]
push 0x5302db
push dword [ebp - 8]
mov ecx, 4
call fcn.0040108c
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4094dd
push ebx
call fcn.00475c19
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4094ed
push ebx
call fcn.00475c19
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x409500
mov eax, 0x5302b0
push eax
push 0x10025
push 0x1601700e
push 0x52010001
push 2
mov ebx, 0x4790d0
call fcn.00475c31
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x409535
push ebx
call fcn.00475c19
add esp, 4
cmp dword [ebp - 0x18], 1
jne 0x409544
jmp 0x4096a7
call fcn.004096ec
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x4096a7
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x32
call fcn.00404874
push 0
mov ebx, 0x478a30
call fcn.00475c31
add esp, 4
push 0xffffffffffffffff
push 9
push 0x16010b91
push 0x52010001
call fcn.00475c49
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 0x4095aa
mov eax, 0x5302b0
push eax
push 1
mov ebx, 0x477880
call fcn.00475c31
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4095d0
push ebx
call fcn.00475c19
add esp, 4
push 0xffffffffffffffff
push 9
push 0x16010b98
push 0x52010001
call fcn.00475c49
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 0x4095fc
mov eax, 0x5302b0
push eax
push 1
mov ebx, 0x477880
call fcn.00475c31
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x409622
push ebx
call fcn.00475c19
add esp, 4
push 0x546025
push dword [ebp - 0x10]
push 0x5302db
push dword [ebp - 8]
mov ecx, 4
call fcn.0040108c
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x409652
push ebx
call fcn.00475c19
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x409662
push ebx
call fcn.00475c19
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x409675
mov eax, 0x5302b0
push eax
push 0x10025
push 0x1601700e
push 0x52010001
push 2
mov ebx, 0x4790d0
call fcn.00475c31
add esp, 0x1c
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4096a7
push ebx
call fcn.00475c19
add esp, 4
mov dword [0x5d4e58], 0
jmp 0x40917a
push 0xffffffffffffffff
push 0x12
push 0x16010b4c
push 0x52010001
call fcn.00475c49
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x4096e3
call fcn.00409c67
jmp 0x4096e3
jmp 0x4096e8
mov esp, ebp
pop ebp
ret