Function at 0x407840
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x978
push ebx
push esi
push edi
sub esp, 0xc
mov esi, esp
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
inc eax
call fcn.00403530
mov dword [esi], eax
test eax, eax
je 0x407875
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x407875
push ecx
push eax
call dword [case.0x41d0c4.0]
lea ebx, [ebp - 0xa8]
call fcn.004057c0
mov esi, eax
xor eax, eax
add esp, 0xc
mov ecx, 0xf
lea edi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
cmp byte [0x42cff4], al
je 0x4078aa
lea esp, [esp]
inc eax
cmp byte [eax + 0x42cff4], 0
jne 0x4078a0
mov dword [ebp - 0x10], eax
inc eax
call fcn.00403530
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x4078c8
push 0x42cff4
push ebx
call dword [case.0x41d0c4.0]
push 0
push 0
push 0
push 1
push 0x42cff4
call dword [0x638ff0]
mov ecx, dword [0x638c80]
mov edx, dword [ebp - 0x68]
push ecx
mov esi, eax
push edx
mov dword [ebp - 0x1c], esi
xor edi, edi
call dword [0x6390cc]
test eax, eax
jne 0x4078fa
lea edi, [eax + 1]
test esi, esi
je 0x407aa8
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
push 0
push 0
push 3
push 0
push 0
push eax
push ecx
push esi
call dword [0x6390f0]
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x407aa1
mov edx, dword [0x638ab4]
mov eax, edi
neg eax
sbb eax, eax
push 0
and eax, 0x800000
add eax, 0x400100
push eax
mov eax, dword [ebp - 0x40]
push 0
push 0
push edx
push eax
push str.4LCCUB9
push ecx
call dword [0x639120]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x407a94
test edi, edi
je 0x40797d
or dword [ebp - 8], 0x10300
push 4
lea ecx, [ebp - 8]
push ecx
push 0x1f
push esi
call dword [0x638ef0]
push 0
push 0
push 0
push 0
push esi
call dword [0x6390b8]
push 0
lea edx, [ebp - 0x24]
push edx
mov edi, eax
lea eax, [ebp - 0x1a8]
push eax
push 0x13
push esi
mov dword [ebp - 0x24], 0x100
call dword [0x639138]
test eax, eax
jne 0x4079d4
mov edi, dword [ebp + 8]
mov esi, 0x434ac4
call fcn.00427ff0
mov eax, ebx
call fcn.00403620
mov eax, dword [ebp + 0xc]
call fcn.00403620
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x1a8]
call fcn.00424b60
cmp eax, 0xc8
jne 0x4079af
test edi, edi
je 0x407a8d
lea ecx, [ebp - 0xc]
push ecx
push 0x7cf
lea edx, [ebp - 0x978]
push edx
push esi
call dword [0x639018]
test eax, eax
je 0x407a8d
lea ecx, [ecx]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x407a8d
lea edi, [ebp - 0x978]
lea esi, [ebp - 0x30]
lea ebx, [ebp - 0x18]
mov byte [ebp + eax - 0x978], 0
call fcn.00428120
mov esi, eax
mov eax, dword [ebp - 0x18]
mov edi, dword [esi + 8]
mov dword [ebp - 0x10], edi
test eax, eax
je 0x407a44
call fcn.00403620
lea eax, [edi + 1]
call fcn.00403530
mov dword [ebp - 0x18], eax
test eax, eax
je 0x407a61
mov esi, dword [esi]
test esi, esi
je 0x407a61
push esi
push eax
call dword [case.0x41d0c4.0]
mov eax, dword [ebp - 0x30]
call fcn.00403620
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
push 0x7cf
lea ecx, [ebp - 0x978]
push ecx
push edx
call dword [0x639018]
mov esi, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
test eax, eax
jne 0x407a10
push esi
call dword [0x638fec]
mov eax, dword [ebp - 0x20]
push eax
call dword [0x638fec]
mov esi, dword [ebp - 0x1c]
push esi
call dword [0x638fec]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
inc eax
call fcn.00403530
mov dword [esi], eax
test eax, eax
je 0x407ac9
test ebx, ebx
je 0x407ac9
push ebx
push eax
call dword [case.0x41d0c4.0]
mov eax, ebx
call fcn.00403620
mov eax, dword [ebp + 0xc]
call fcn.00403620
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret