Function at 0x416b79
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2bc
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x84600200
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call fcn.0041a105
mov dword [ebp - 0x8c], 0x3c
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x78], 0x100
mov dword [ebp - 0x5c], 0x100
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x90]
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x6e8]
lea eax, [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x10000000
mov dword [esp + 4], 0
mov dword [esp], ecx
call edx
sub esp, 0x10
test eax, eax
jne 0x416c2b
mov eax, 0
jmp 0x41704d
mov eax, dword [ebp - 0x80]
cmp eax, 4
sete al
movzx eax, al
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x416c47
or dword [ebp - 0x20], 0x803000
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x94]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
sub esp, 0x14
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x416c8f
mov eax, 0
jmp 0x41704d
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x98]
movzx eax, word [ebp - 0x74]
movzx eax, ax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 3
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x18c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call edx
sub esp, 0x20
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x416f80
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xa8]
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x7e8]
mov dword [esp + 0x1c], 0
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
lea eax, [ebp - 0x28c]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call edx
sub esp, 0x20
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x416f6c
cmp dword [ebp - 0x24], 0
je 0x416d97
mov eax, dword [ebp - 0x20]
and eax, 0x1000
test eax, eax
je 0x416d97
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x44], 0x3380
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x9c]
mov dword [esp + 0xc], 4
lea eax, [ebp - 0x44]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x1f
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call edx
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xac]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call edx
sub esp, 0x14
test eax, eax
je 0x416f58
mov dword [ebp - 0x4c], 4
mov dword [ebp - 0x50], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xb0]
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x4c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x50]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x20000013
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call edx
sub esp, 0x14
test eax, eax
je 0x416f58
mov eax, dword [ebp - 0x50]
cmp eax, 0xc8
jne 0x416f58
mov dword [ebp - 0x4c], 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x918], 0
mov dword [eax + 0x91c], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xb0]
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x918]
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x4c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x20000005
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call edx
sub esp, 0x14
test eax, eax
je 0x416f58
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x91c]
mov eax, dword [eax + 0x918]
mov edi, eax
xor edi, 0
mov dword [ebp - 0x2a0], edi
mov eax, edx
xor ah, 0
mov dword [ebp - 0x29c], eax
mov edx, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0x29c]
mov eax, ecx
or eax, edx
test eax, eax
je 0x416f58
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x91c]
mov eax, dword [eax + 0x918]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x3000
mov dword [esp + 4], eax
mov dword [esp], 0
call ecx
sub esp, 0x10
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x920], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x920]
test eax, eax
je 0x416f58
mov dword [ebp - 0x48], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa0]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x91c]
mov eax, dword [eax + 0x918]
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x920]
lea edx, [ebp - 0x48]
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call ecx
sub esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xa4]
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call edx
sub esp, 4
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xa4]
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call edx
sub esp, 4
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xa4]
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call edx
sub esp, 4
cmp dword [ebp - 0x1c], 0
je 0x41704a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x234]
cmp eax, 3
jne 0x41704a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x920]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x91c]
mov eax, dword [eax + 0x918]
mov edi, eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x908]
mov eax, dword [ebp + 8]
lea edx, [eax + 0x8f8]
mov dword [esp + 0xc], edi
mov eax, dword [ebp - 0x38]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.0041a643
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp + 8]
add ecx, 0x7f0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
call fcn.0041a35b
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x51c]
mov eax, dword [eax + 0x518]
mov edi, eax
xor edi, dword [ebp - 0x40]
mov ebx, edi
mov eax, edx
xor eax, dword [ebp - 0x3c]
mov esi, eax
mov eax, esi
or eax, ebx
test eax, eax
je 0x41704a
mov eax, 0
jmp 0x41704d
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret