Function at 0x7c7e7c
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x288
push 0
push 0
dec ecx
jne 0x7c7e85
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405e70
mov eax, dword [ebp + 0xc]
call fcn.00405e70
xor eax, eax
push ebp
push 0x7c87d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00405a5c
push 3
push 0
mov ecx, dword [ebp - 0x18]
mov edx, 0x393
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x38]
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.007c76f4
cmp byte [ebx + 0x6d], 2
jne 0x7c8015
lea edx, [ebp - 0x13d4]
mov eax, dword [ebp + 0xc]
call 0x40c7bc
cmp dword [ebp - 0x13d4], 0
jne 0x7c7f18
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
call fcn.00405d08
jmp 0x7c7f23
lea eax, [ebp - 0x14]
mov edx, dword [ebp + 0xc]
call fcn.00405a5c
push 0
mov eax, dword [ebp - 0x14]
call fcn.00405e80
mov edx, eax
lea eax, [ebp - 0x13d8]
call fcn.00405bcc
mov eax, dword [ebp - 0x13d8]
push eax
mov eax, dword [ebp - 4]
call fcn.00405e80
mov edx, eax
lea eax, [ebp - 0x13dc]
call fcn.00405bcc
mov edx, dword [ebp - 0x13dc]
mov eax, ebx
pop ecx
call fcn.007c7a60
test al, al
je 0x7c800c
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp byte [ebp + 8], 0
je 0x7c7fa6
lea edx, [ebp - 0x13e0]
mov eax, dword [ebp - 0x14]
call fcn.0040acec
mov edx, dword [ebp - 0x13e0]
mov eax, 0x7c87f0
call fcn.00405fcc
test eax, eax
jne 0x7c7fa6
mov eax, dword [ebp - 0x14]
call fcn.007c72bc
cmp byte [ebp + 8], 0
je 0x7c8003
lea edx, [ebp - 0x13e4]
mov eax, dword [ebp - 0x14]
call fcn.0040acec
mov edx, dword [ebp - 0x13e4]
mov eax, 0x7c87f0
call fcn.00405fcc
test eax, eax
je 0x7c8003
push 3
push 0
mov ecx, dword [ebp - 0x14]
mov edx, 0x3c5
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x38]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.007c32b4
cmp byte [ebx + 0x199], 0
jne 0x7c8003
mov eax, dword [ebp - 0x14]
call fcn.00405e80
push eax
call fcn.00408794
mov byte [ebp - 0x1d], 1
jmp 0x7c8791
mov byte [ebp - 0x1d], 0
jmp 0x7c8791
mov eax, dword [ebx + 0x68]
push eax
lea eax, [ebp - 0x13e8]
push eax
mov ecx, dword [ebx + 0x64]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.007c7938
mov edx, dword [ebp - 0x13e8]
lea eax, [ebp - 4]
call fcn.00405a5c
cmp byte [ebx + 0x6d], 0
jne 0x7c80eb
cmp dword [ebx + 0x44], 0
je 0x7c80a1
cmp byte [ebx + 0x128], 0
jne 0x7c80a1
lea ecx, [ebp - 0x1c]
mov edx, dword [ebx + 0x44]
mov eax, ebx
call fcn.007c75c0
push 3
push 0
mov ecx, dword [ebp - 0x1c]
mov edx, 0x3ce
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x38]
mov eax, dword [ebp - 0x1c]
call fcn.00405e80
push eax
push esi
call 0x44326c
test eax, eax
jne 0x7c809a
push 3
push 8
mov ecx, dword [ebp - 0x1c]
mov edx, 0x3cf
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x38]
mov byte [ebx + 0x128], 1
push 0
push 0x84000000
lea eax, [ebp - 0x13d0]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405e80
mov edi, eax
push edi
push esi
call 0x44325c
test eax, eax
je 0x7c80ca
push eax
call 0x44328c
mov eax, dword [ebp - 0x13b0]
mov dword [ebp - 0x34], eax
push 0
push 2
push 0x80000000
push edi
push esi
call 0x443264
mov dword [ebp - 0x28], eax
jmp 0x7c834e
mov dword [ebp - 0x3c], 0x84000100
cmp byte [ebx + 0x15c], 0
je 0x7c8102
or dword [ebp - 0x3c], 0x400000
cmp byte [ebx + 0x15d], 0
je 0x7c8112
or dword [ebp - 0x3c], 0x20000000
cmp byte [ebx + 0x1b0], 0
jne 0x7c81b0
cmp dword [ebx + 0x74], 0
je 0x7c812f
cmp dword [ebx + 0x50], 0
jne 0x7c81b0
lea eax, [ebp - 0xc]
mov edx, dword [ebx + 0x74]
call fcn.00405a5c
lea eax, [ebp - 0x10]
mov edx, dword [ebx + 0x50]
call fcn.00405a5c
lea ecx, [ebp - 0x13f0]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.007c782c
mov ecx, dword [ebp - 0x13f0]
lea eax, [ebp - 0x13ec]
mov edx, 0x7c8800
call fcn.00405d08
mov eax, dword [ebp - 0x13ec]
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.007c2908
test al, al
jne 0x7c819a
push 0
push 0
mov ecx, 0x7c8814
mov edx, 0x3bc
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x38]
jmp 0x7c8791
lea eax, [ebx + 0x74]
mov edx, dword [ebp - 0xc]
call fcn.00405a18
lea eax, [ebx + 0x50]
mov edx, dword [ebp - 0x10]
call fcn.00405a18
cmp dword [ebx + 0x74], 0
jne 0x7c81bc
cmp dword [ebx + 0x50], 0
je 0x7c8207
push 0x7c8838
push dword [ebx + 0x74]
push 0x7c8858
push dword [ebx + 0x50]
lea eax, [ebp - 0x13f8]
mov edx, 3
call fcn.00405d84
mov eax, dword [ebp - 0x13f8]
lea edx, [ebp - 0x13f4]
call fcn.007c2a88
push dword [ebp - 0x13f4]
push 0x7c8864
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405d84
jmp 0x7c820f
lea eax, [ebp - 8]
call fcn.004059c4
mov edi, dword [ebp - 8]
test edi, edi
je 0x7c821b
sub edi, 4
mov edi, dword [edi]
push 0
mov eax, dword [ebp - 0x3c]
push eax
push edi
mov eax, dword [ebp - 8]
call fcn.00405e80
push eax
mov eax, dword [ebp - 4]
call fcn.00405e80
push eax
push esi
call 0x4432ac
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 4
xor eax, eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x28], 0
je 0x7c834e
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x20000013
mov eax, dword [ebp - 0x28]
push eax
call 0x44327c
cmp dword [ebp - 0x34], 0x191
jne 0x7c8316
cmp byte [ebx + 0x1b0], 1
jne 0x7c8316
lea eax, [ebp - 0xc]
mov edx, dword [ebx + 0x74]
call fcn.00405a5c
lea eax, [ebp - 0x10]
mov edx, dword [ebx + 0x50]
call fcn.00405a5c
lea ecx, [ebp - 0x1400]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.007c782c
mov ecx, dword [ebp - 0x1400]
lea eax, [ebp - 0x13fc]
mov edx, 0x7c8800
call fcn.00405d08
mov eax, dword [ebp - 0x13fc]
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.007c2908
test al, al
je 0x7c82fc
lea eax, [ebx + 0x74]
mov edx, dword [ebp - 0xc]
call fcn.00405a18
lea eax, [ebx + 0x50]
mov edx, dword [ebp - 0x10]
call fcn.00405a18
mov eax, dword [ebp - 0x28]
push eax
call 0x44328c
jmp 0x7c81b0
push 0
push 0
mov ecx, 0x7c8814
mov edx, 0x3bc
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x38]
jmp 0x7c8791
cmp dword [ebp - 0x34], 0x12c
jb 0x7c834e
push 6
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x34]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1404]
call 0x40bc88
mov ecx, dword [ebp - 0x1404]
mov edx, 0x394
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x38]
jmp 0x7c8791
cmp dword [ebp - 0x28], 0
jne 0x7c8373
mov eax, ebx
call fcn.007c6ca8
push 2
push 1
mov ecx, dword [ebp - 0x18]
mov edx, 0x395
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x38]
jmp 0x7c8791
lea ecx, [ebp - 0x1408]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.007c76f4
mov ecx, dword [ebp - 0x1408]
lea eax, [ebp - 0x14]
mov edx, dword [ebp + 0xc]
call fcn.00405d08
cmp byte [ebx + 0x149], 0
je 0x7c83c9
lea eax, [ebp - 0x1141]
push eax
push 0
push 0x7c886c
lea eax, [ebp - 0x140c]
call fcn.007c5fa0
mov eax, dword [ebp - 0x140c]
call fcn.00405e80
push eax
call 0x40890c
jmp 0x7c83e8
lea eax, [ebp - 0x1141]
push eax
push 0
push 0x7c886c
mov eax, dword [ebx + 0x158]
call fcn.00405e80
push eax
call 0x40890c
lea eax, [ebp - 0x1410]
lea edx, [ebp - 0x1141]
mov ecx, 0x105
call fcn.00405c44
mov edx, dword [ebp - 0x1410]
lea eax, [ebp - 0x1290]
call 0x4039f0
mov edx, 1
lea eax, [ebp - 0x1290]
call 0x403fb4
call 0x403178
mov dword [ebp - 0x24], 0x1000
cmp byte [ebx + 0x6d], 1
jne 0x7c845c
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], 4
xor eax, eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x20000005
mov eax, dword [ebp - 0x28]
push eax
call 0x44327c
xor esi, esi
movzx eax, byte [ebx + 0x189]
mov byte [ebp - 0x35], al
mov byte [ebp - 0x36], 0
jmp 0x7c84fb
mov eax, dword [0x7f1588]
mov eax, dword [eax]
call 0x496a98
lea eax, [ebp - 0x24]
push eax
push 0x1000
lea eax, [ebp - 0x103c]
push eax
mov eax, dword [ebp - 0x28]
push eax
call 0x4432b4
test eax, eax
jne 0x7c84a0
mov byte [ebp - 0x36], 1
jmp 0x7c850b
cmp dword [ebp - 0x24], 0
jbe 0x7c84ca
cmp dword [ebp - 0x24], 0x1000
ja 0x7c84ca
push 0
lea edx, [ebp - 0x103c]
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x1290]
call 0x403b78
call 0x403178
add esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, esi
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x48]
movzx eax, byte [ebx + 0x189]
mov byte [ebp - 0x35], al
lea edx, [ebp - 0x35]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x4c]
cmp dword [ebp - 0x24], 0
jbe 0x7c84fb
mov byte [ebp - 0x1d], 1
cmp dword [ebp - 0x24], 0
jbe 0x7c850b
cmp byte [ebp - 0x35], 0
je 0x7c8471
mov eax, dword [ebp - 0x28]
push eax
call 0x44328c
lea eax, [ebp - 0x1290]
call 0x403b98
call 0x403178
movzx eax, byte [ebp - 0x35]
mov byte [ebx + 0x189], al
movzx eax, byte [ebp - 0x35]
or al, byte [ebp - 0x36]
je 0x7c85aa
lea edx, [ebp - 0x1414]
lea eax, [ebp - 0x1141]
call fcn.0040ceec
mov ebx, dword [ebp - 0x1414]
mov dword [ebp - 0x1418], ebx
mov eax, dword [ebp - 0x1418]
call fcn.00405e80
push eax
call fcn.00408794
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x7c85a1
lea edx, [ebp - 0x1420]
lea eax, [ebp - 0x1141]
call fcn.0040ceec
mov ecx, dword [ebp - 0x1420]
lea eax, [ebp - 0x141c]
mov edx, 0x7c887c
call fcn.00405d08
mov eax, dword [ebp - 0x141c]
call fcn.007c5e3c
mov byte [ebp - 0x1d], 0
jmp 0x7c8791
mov eax, dword [ebp - 0x14]
call 0x40c3a4
test al, al
je 0x7c861d
mov eax, dword [ebp - 0x14]
call fcn.00405e80
mov esi, eax
push esi
call fcn.00408794
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x7c861d
mov eax, dword [ebp - 0x14]
call fcn.007c7a40
push esi
call fcn.00408794
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x7c861d
mov byte [ebp - 0x1d], 0
push 0x13
push 6
mov ecx, dword [ebp - 0x14]
mov edx, 0x3cc
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x38]
lea eax, [ebp - 0x1424]
mov ecx, dword [ebp - 0x14]
mov edx, 0x7c887c
call fcn.00405d08
mov eax, dword [ebp - 0x1424]
call fcn.007c5e3c
lea edx, [ebp - 0x1428]
lea eax, [ebp - 0x1141]
call fcn.0040ceec
mov esi, dword [ebp - 0x1428]
mov eax, dword [ebp - 0x14]
call fcn.00405e80
push eax
mov dword [ebp - 0x1418], esi
mov eax, dword [ebp - 0x1418]
call fcn.00405e80
push eax
call 0x4089f4
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x7c86ef
mov byte [ebp - 0x1d], 0
push 0x13
push 7
lea eax, [ebp - 0x1430]
lea edx, [ebp - 0x1141]
mov ecx, 0x105
call fcn.00405c44
push dword [ebp - 0x1430]
push 0x7c889c
push dword [ebp - 0x14]
lea eax, [ebp - 0x142c]
mov edx, 3
call fcn.00405d84
mov ecx, dword [ebp - 0x142c]
mov edx, 0x3cd
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x38]
push 0x7c88ac
lea edx, [ebp - 0x1438]
lea eax, [ebp - 0x1141]
call fcn.0040ceec
push dword [ebp - 0x1438]
push 0x7c889c
push dword [ebp - 0x14]
lea eax, [ebp - 0x1434]
mov edx, 4
call fcn.00405d84
mov eax, dword [ebp - 0x1434]
call fcn.007c5e3c
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp byte [ebp + 8], 0
je 0x7c8738
lea edx, [ebp - 0x1440]
mov eax, dword [ebp - 0x14]
call 0x40c7f4
mov eax, dword [ebp - 0x1440]
lea edx, [ebp - 0x143c]
call fcn.0040acec
mov eax, dword [ebp - 0x143c]
mov edx, 0x7c87f0
call fcn.00405e18
je 0x7c8738
mov eax, dword [ebp - 0x14]
call fcn.007c72bc
cmp byte [ebp + 8], 0
je 0x7c8791
lea edx, [ebp - 0x1448]
mov eax, dword [ebp - 0x14]
call 0x40c7f4
mov eax, dword [ebp - 0x1448]
lea edx, [ebp - 0x1444]
call fcn.0040acec
mov eax, dword [ebp - 0x1444]
mov edx, 0x7c87f0
call fcn.00405e18
jne 0x7c8791
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.007c32b4
cmp byte [ebx + 0x199], 0
jne 0x7c8791
mov eax, dword [ebp - 0x14]
call fcn.00405e80
push eax
call fcn.00408794
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c87db
lea eax, [ebp - 0x1448]
mov edx, 0xc
call fcn.004059e8
lea eax, [ebp - 0x1414]
mov edx, 0x11
call fcn.004059e8
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.004059e8
lea eax, [ebp + 0xc]
call fcn.004059c4
ret