Function at 0x40e0c0
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
xor edi, edi
dec eax
mov edi, ecx
inc esp
and dword [ebp + 0x2d8], edi
dec eax
lea ecx, [esp + 0x60]
xor edx, edx
xor esi, esi
mov ebx, 0x4600300
inc ebp
lea esi, [edi + 0x68]
inc ebp
mov eax, esi
call fcn.00410fe4
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
xor esi, esi
test eax, eax
je 0x40e53a
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
xor edx, edx
xor ecx, ecx
call dword [edi + 0x150]
dec eax
mov dword [esp + 0x58], eax
dec eax
test eax, eax
je 0x40e53a
inc esp
movzx eax, word [ebp - 0x7c]
dec eax
lea edx, [ebp + 0x160]
dec esp
mov dword [esp + 0x38], esi
inc ebp
xor 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
mov ebp, eax
dec eax
test eax, eax
je 0x40e4df
inc esp
cmp dword [ebp - 0x50], esi
jne 0x40e1e8
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
xor ecx, ecx
dec esp
mov dword [esp + 0x28], esi
xor edx, edx
dec eax
mov ecx, eax
dec esp
mov dword [esp + 0x20], esi
call dword [edi + 0x180]
dec esp
mov esi, eax
dec eax
test eax, eax
je 0x40e4d3
inc ebp
test esp, esp
je 0x40e244
bt ebx, 0xc
jae 0x40e244
inc ecx
mov ecx, 4
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]
xor ebx, ebx
inc ebp
test ecx, ecx
je 0x40e261
dec esp
mov eax, dword [ebp - 0x78]
lea edx, [ebx + 0x1c]
dec ecx
mov ecx, esi
call dword [edi + 0x160]
mov esi, eax
inc esp
mov ecx, dword [ebp - 0x60]
inc ebp
test ecx, ecx
je 0x40e27e
dec esp
mov eax, dword [ebp - 0x68]
mov edx, 0x1d
dec ecx
mov ecx, esi
call dword [edi + 0x160]
mov esi, eax
inc ebp
xor ecx, ecx
mov dword [esp + 0x20], ebx
inc ebp
xor eax, eax
xor edx, edx
dec ecx
mov ecx, esi
call dword [edi + 0x188]
test eax, eax
je 0x40e4ca
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]
test eax, eax
je 0x40e4ca
cmp dword [ebp + 0x2d8], 0xc8
jne 0x40e4ca
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 0x40e405
call dword [edi + 0xe8]
cmp eax, 0x2f76
jne 0x40e4ca
inc ebp
xor ecx, ecx
mov dword [ebp + 0x2c0], ebx
inc ebp
xor eax, eax
dec eax
lea edx, [ebp + 0x2c8]
dec ecx
mov ecx, esi
call dword [edi + 0x178]
test eax, eax
je 0x40e4ca
inc ecx
mov esp, 1
mov ecx, dword [ebp + 0x2c8]
test ecx, ecx
je 0x40e3f3
dec eax
mov edx, dword [edi + 0xd8]
dec ebp
test edi, edi
jne 0x40e381
mov ebx, ecx
call edx
dec eax
mov ecx, eax
inc esp
mov eax, ebx
inc ecx
mov edx, esp
call dword [edi + 0xc8]
jmp 0x40e39d
mov ebx, dword [ebp + 0x2c0]
add ebx, ecx
call edx
dec eax
mov ecx, eax
inc esp
mov ecx, ebx
dec ebp
mov eax, edi
inc ecx
mov edx, esp
call dword [edi + 0xd0]
xor ebx, ebx
dec esp
mov edi, eax
dec eax
test eax, eax
je 0x40e4ca
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
mov ecx, esi
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
mov ecx, esi
call dword [edi + 0x178]
test eax, eax
jne 0x40e352
dec esp
lea ebp, [edi + 0xd8]
dec ebp
test edi, edi
je 0x40e4c5
jmp 0x40e461
mov eax, dword [ebp + 0x2c0]
test eax, eax
je 0x40e4ca
dec esp
lea ebp, [edi + 0xd8]
mov ebx, eax
inc ecx
call dword [ebp]
inc ecx
mov esp, 1
inc esp
mov eax, ebx
dec eax
mov ecx, eax
inc ecx
mov edx, esp
call dword [edi + 0xc8]
xor ebx, ebx
dec esp
mov edi, eax
dec eax
test eax, eax
je 0x40e4c5
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 0x40e4c5
xor 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
test eax, eax
je 0x40e49f
inc esp
mov eax, dword [ebp + 0x2c0]
dec ecx
mov edx, edi
dec eax
mov ecx, eax
call fcn.00410fc4
inc ecx
mov esi, esp
jmp 0x40e4a1
mov esi, ebx
inc esp
mov eax, dword [ebp + 0x2c0]
xor edx, edx
dec ecx
mov ecx, edi
call fcn.00410fe4
inc ecx
call dword [ebp]
dec ebp
mov eax, edi
inc ecx
mov edx, esp
dec eax
mov ecx, eax
call dword [edi + 0xe0]
dec esp
mov ebp, dword [esp + 0x48]
dec ecx
mov ecx, esi
call dword [edi + 0x170]
dec ecx
mov ecx, ebp
call dword [edi + 0x170]
inc ebp
xor esi, esi
dec eax
mov ecx, dword [esp + 0x58]
call dword [edi + 0x170]
test esi, esi
je 0x40e536
cmp dword [edi + 0x234], 3
jne 0x40e536
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.00410bf8
dec eax
mov edx, dword [edi + 0x28]
dec eax
lea ecx, [edi + 0xc2c]
call fcn.00410ab8
dec eax
cmp eax, dword [ebx + 0x518]
inc ecx
cmovne esi, esi
mov eax, esi
jmp 0x40e53c
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