Function at 0x4081a9
Capabilities:
Check http status code

Disassembly:
inc eax
push ebp
push ebx
push esi
push edi
inc ecx
push esp
inc ecx
push ebp
inc ecx
push esi
inc ecx
push edi
dec eax
lea ebp, [esp - 0x278]
dec eax
sub esp, 0x378
inc ebp
sub edi, edi
dec eax
mov edi, ecx
inc esp
and dword [ebp + 0x2d8], edi
dec eax
lea ecx, [esp + 0x60]
sub edx, edx
xor esi, esi
mov ebx, 0x4600300
inc ebp
lea esi, [edi + 0x68]
inc ebp
push esi
pop eax
call fcn.0040b0cd
mov ecx, 0x104
inc esp
mov dword [esp + 0x60], esi
mov dword [ebp - 0x80], ecx
dec eax
lea eax, [ebp + 0x160]
dec eax
mov dword [esp + 0x78], eax
dec esp
lea ecx, [esp + 0x60]
mov dword [ebp - 0x50], ecx
dec eax
lea eax, [ebp + 0x50]
dec eax
mov dword [ebp - 0x58], eax
lea ecx, [esi + 0x40]
dec eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x70], ecx
dec eax
mov dword [ebp - 0x78], eax
xor edx, edx
dec eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x60], ecx
dec eax
lea ecx, [edi + 0x924]
dec eax
mov dword [ebp - 0x68], eax
inc ecx
mov eax, 0x10000000
call dword [edi + 0x148]
inc ebp
sub esi, esi
or eax, eax
je 0x408623
cmp dword [esp + 0x74], 4
mov eax, 0x4e03300
inc ebp
mov esp, esi
inc esp
mov dword [esp + 0x20], esi
inc ecx
sete ah
cmove ebx, eax
inc ebp
xor ecx, ecx
inc ebp
xor eax, eax
sub edx, edx
sub ecx, ecx
call dword [edi + 0x150]
dec eax
mov dword [esp + 0x58], eax
dec eax
test eax, eax
je 0x408623
inc esp
movzx eax, word [ebp - 0x7c]
dec eax
lea edx, [ebp + 0x160]
dec esp
mov dword [esp + 0x38], esi
inc ebp
sub ecx, ecx
inc esp
mov dword [esp + 0x30], esi
dec eax
mov ecx, eax
mov dword [esp + 0x28], 3
dec esp
mov dword [esp + 0x20], esi
call dword [edi + 0x158]
dec eax
mov dword [esp + 0x48], eax
dec esp
push eax
pop ebp
dec eax
test eax, eax
je 0x4085c8
inc esp
cmp dword [ebp - 0x50], esi
jne 0x4082d1
mov word [ebp + 0x50], 0x2f
dec esp
mov dword [esp + 0x38], esi
dec esp
lea eax, [ebp + 0x50]
mov dword [esp + 0x30], ebx
inc ebp
sub ecx, ecx
dec esp
mov dword [esp + 0x28], esi
xor edx, edx
dec eax
push eax
pop ecx
dec esp
mov dword [esp + 0x20], esi
call dword [edi + 0x180]
dec esp
push eax
pop esi
dec eax
test eax, eax
je 0x4085bc
inc ebp
test esp, esp
je 0x40832d
bt ebx, 0xc
jae 0x40832d
inc ecx
push 4
pop ecx
pushal
popal
mov dword [esp + 0x50], 0x3380
dec esp
lea eax, [esp + 0x50]
dec eax
mov ecx, eax
inc ecx
lea edx, [ecx + 0x1b]
call dword [edi + 0x160]
inc esp
mov ecx, dword [ebp - 0x70]
sub ebx, ebx
inc ebp
test ecx, ecx
je 0x40834a
dec esp
mov eax, dword [ebp - 0x78]
lea edx, [ebx + 0x1c]
dec ecx
push esi
pop ecx
call dword [edi + 0x160]
mov esi, eax
inc esp
mov ecx, dword [ebp - 0x60]
inc ebp
test ecx, ecx
je 0x408367
dec esp
mov eax, dword [ebp - 0x68]
nop
push 0x1d
nop
pop edx
dec ecx
mov ecx, esi
call dword [edi + 0x160]
push eax
pop esi
inc ebp
sub ecx, ecx
mov dword [esp + 0x20], ebx
inc ebp
xor eax, eax
sub edx, edx
dec ecx
push esi
pop ecx
call dword [edi + 0x188]
test eax, eax
je 0x4085b3
dec esp
lea ecx, [ebp + 0x2d0]
mov dword [ebp + 0x2d0], 4
dec esp
lea eax, [ebp + 0x2d8]
dec eax
mov dword [esp + 0x20], ebx
mov edx, 0x20000013
dec ecx
mov ecx, esi
call dword [edi + 0x190]
or eax, eax
je 0x4085b3
cmp dword [ebp + 0x2d8], 0xc8
jne 0x4085b3
dec esp
lea ecx, [ebp + 0x2d0]
mov dword [ebp + 0x2d0], 8
dec esp
lea eax, [ebp + 0x2c0]
mov dword [ebp + 0x2c0], ebx
mov edx, 0x20000005
dec eax
mov dword [esp + 0x20], ebx
dec ecx
mov ecx, esi
call dword [edi + 0x190]
test eax, eax
jne 0x4084ee
call dword [edi + 0xe8]
cmp eax, 0x2f76
jne 0x4085b3
inc ebp
xor ecx, ecx
mov dword [ebp + 0x2c0], ebx
inc ebp
sub eax, eax
dec eax
lea edx, [ebp + 0x2c8]
dec ecx
push esi
pop ecx
call dword [edi + 0x178]
or eax, eax
je 0x4085b3
inc ecx
pushfd
xor esp, esp
inc esp
popfd
mov ecx, dword [ebp + 0x2c8]
or ecx, ecx
je 0x4084dc
dec eax
mov edx, dword [edi + 0xd8]
dec ebp
test edi, edi
jne 0x40846a
mov ebx, ecx
call edx
dec eax
push eax
pop ecx
inc esp
push ebx
pop eax
inc ecx
push esp
pop edx
call dword [edi + 0xc8]
jmp 0x408486
mov ebx, dword [ebp + 0x2c0]
add ebx, ecx
call edx
dec eax
push eax
pop ecx
inc esp
mov ecx, ebx
dec ebp
mov eax, edi
inc ecx
push esp
pop edx
call dword [edi + 0xd0]
xor ebx, ebx
dec esp
mov edi, eax
dec eax
or eax, eax
je 0x4085b3
mov edx, dword [ebp + 0x2c0]
dec esp
lea ecx, [esp + 0x40]
inc esp
mov eax, dword [ebp + 0x2c8]
dec eax
add edx, eax
dec ecx
push esi
pop ecx
call dword [edi + 0x168]
mov eax, dword [ebp + 0x2c8]
dec eax
lea edx, [ebp + 0x2c8]
add dword [ebp + 0x2c0], eax
inc ebp
xor ecx, ecx
inc ebp
xor eax, eax
dec ecx
push esi
pop ecx
call dword [edi + 0x178]
test eax, eax
jne 0x40843b
dec esp
lea ebp, [edi + 0xd8]
dec ebp
test edi, edi
je 0x4085ae
jmp 0x40854a
mov eax, dword [ebp + 0x2c0]
test eax, eax
je 0x4085b3
dec esp
lea ebp, [edi + 0xd8]
mov ebx, eax
inc ecx
call dword [ebp]
inc ecx
pushfd
xor esp, esp
inc esp
popfd
inc esp
mov eax, ebx
dec eax
push eax
pop ecx
inc ecx
push esp
pop edx
call dword [edi + 0xc8]
sub ebx, ebx
dec esp
mov edi, eax
dec eax
or eax, eax
je 0x4085ae
inc esp
mov eax, dword [ebp + 0x2c0]
dec esp
lea ecx, [esp + 0x40]
dec eax
mov edx, eax
mov dword [esp + 0x40], ebx
dec ecx
mov ecx, esi
call dword [edi + 0x168]
mov esi, eax
mov eax, dword [ebp + 0x2c0]
test eax, eax
je 0x4085ae
sub ecx, ecx
mov edx, eax
inc ecx
mov eax, 0x3000
inc esp
lea ecx, [ecx + 4]
call dword [edi + 0x48]
dec eax
mov dword [edi + 0xd60], eax
dec eax
or eax, eax
je 0x408588
inc esp
mov eax, dword [ebp + 0x2c0]
dec ecx
mov edx, edi
dec eax
push eax
pop ecx
call fcn.0040b0ad
inc ecx
mov esi, esp
jmp 0x40858a
mov esi, ebx
inc esp
mov eax, dword [ebp + 0x2c0]
sub edx, edx
dec ecx
push edi
pop ecx
call fcn.0040b0cd
inc ecx
call dword [ebp]
dec ebp
mov eax, edi
inc ecx
push esp
pop edx
dec eax
mov ecx, eax
call dword [edi + 0xe0]
dec esp
mov ebp, dword [esp + 0x48]
dec ecx
push esi
pop ecx
call dword [edi + 0x170]
dec ecx
mov ecx, ebp
call dword [edi + 0x170]
inc ebp
sub esi, esi
dec eax
mov ecx, dword [esp + 0x58]
call dword [edi + 0x170]
or esi, esi
je 0x40861f
cmp dword [edi + 0x234], 3
jne 0x40861f
dec eax
mov ebx, dword [edi + 0xd60]
dec eax
lea edx, [edi + 0xd48]
inc esp
mov ecx, dword [edi + 0xd58]
dec eax
lea ecx, [edi + 0xd38]
dec esp
mov eax, ebx
call fcn.0040ace1
dec eax
mov edx, dword [edi + 0x28]
dec eax
lea ecx, [edi + 0xc2c]
call fcn.0040aba1
dec eax
cmp eax, dword [ebx + 0x518]
inc ecx
cmovne esi, esi
push esi
pop eax
jmp 0x408625
xor eax, eax
dec eax
add esp, 0x378
inc ecx
pop edi
inc ecx
pop esi
inc ecx
pop ebp
inc ecx
pop esp
pop edi
pop esi
pop ebx
pop ebp
ret