Function at 0xa15faa
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9ec
mov eax, dword [0xa4e078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x91c], eax
mov eax, dword [ebp + 0xc]
push 0xa47a2e
lea esi, [ebp - 0x944]
mov dword [ebp - 0x8f8], eax
mov ebx, ecx
call fcn.00a22d43
sub esp, 0xc
lea eax, [ebp + 0x28]
mov esi, esp
call fcn.00a22d75
lea eax, [ebp - 0x9ec]
push eax
call fcn.00a155de
push 0xf
pop ecx
push dword [ebp + 0x40]
mov esi, eax
lea edi, [ebp - 0x9b0]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
lea eax, [ebp - 0x8fc]
push ebx
push eax
lea esi, [ebp - 0x8f4]
mov dword [ebp - 0x8f4], edi
mov dword [ebp - 0x8fc], edi
mov dword [ebp - 0x908], edi
mov dword [ebp - 0x904], edi
call fcn.00a246b9
mov esi, dword [ebp + 0x34]
add esp, 0x1c
push esi
call dword [0xc520c4]
push eax
push esi
lea eax, [ebp - 0x904]
push eax
lea esi, [ebp - 0x908]
call fcn.00a246b9
add esp, 0xc
push 0xa47a2f
lea esi, [ebp - 0x918]
call fcn.00a22d43
push 0xa47a37
lea esi, [ebp - 0x8e0]
call fcn.00a22d43
push 0xa47a3a
lea esi, [ebp - 0x938]
call fcn.00a22d43
push 0xa47a3b
lea esi, [ebp - 0x950]
call fcn.00a22d43
push dword [0xc51dcc]
mov dword [ebp - 0x8f0], edi
push dword [ebp - 0x9ac]
call dword [0xc521e0]
xor ecx, ecx
inc ecx
test eax, eax
jne 0xa160c3
mov dword [ebp - 0x8f0], ecx
cmp dword [ebp - 0x8f8], edi
jne 0xa160e6
push edi
push edi
push edi
push ecx
push dword [ebp + 0x1c]
call dword [0xc52104]
mov dword [ebp - 0x8f8], eax
cmp eax, edi
je 0xa1698c
push 0x14
pop ebx
lea edi, [ebp - 0x95c]
call fcn.00a244a6
mov edi, eax
lea esi, [ebp - 0x968]
lea eax, [ebp - 0x918]
call fcn.00a22e23
lea esi, [ebp - 0x918]
call fcn.00a22de9
mov eax, dword [ebp - 0x968]
call fcn.00a13510
mov eax, dword [ebp - 0x95c]
call fcn.00a13510
push 0xa489b4
push 0xa489a8
lea esi, [ebp - 0x974]
lea eax, [ebp - 0x938]
call fcn.00a22e65
lea edi, [ebp - 0x918]
lea esi, [ebp - 0x968]
call fcn.00a22e23
lea esi, [ebp - 0x95c]
call fcn.00a22e65
lea esi, [ebp - 0x938]
call fcn.00a22de9
mov eax, dword [ebp - 0x95c]
call fcn.00a13510
mov eax, dword [ebp - 0x968]
call fcn.00a13510
mov eax, dword [ebp - 0x974]
call fcn.00a13510
push dword [0xc51a84]
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x950]
call fcn.00a22e65
lea esi, [ebp - 0x92c]
call fcn.00a22e23
lea esi, [ebp - 0x950]
call fcn.00a22de9
mov eax, dword [ebp - 0x92c]
call fcn.00a13510
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x998]
push dword [ebp - 0x9a0]
push dword [ebp - 0x8f8]
call dword [0xc52204]
mov dword [ebp - 0x90c], eax
cmp eax, ebx
je 0xa1698c
mov eax, dword [ebp - 0x8f0]
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0xc51c18]
push dword [ebp - 0x984]
push dword [0xc51dec]
push dword [ebp - 0x90c]
call dword [0xc52244]
mov dword [ebp - 0x8f8], eax
cmp eax, ebx
je 0xa16980
cmp dword [ebp - 0x8f0], ebx
je 0xa16264
or dword [ebp - 0x900], 0x10300
push 4
lea ecx, [ebp - 0x900]
push ecx
push 0x1f
push eax
call dword [0xc51ffc]
push 0xa489bc
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
lea edi, [ebp - 0x918]
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e23
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push 0xa489c4
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push dword [0xc51c4c]
lea esi, [ebp - 0x92c]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x92c]
call fcn.00a13510
push dword [0xc51dc0]
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push 0xa489c8
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
lea edi, [ebp + 0x10]
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e23
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push 0xa489d0
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push 0xa489d4
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
lea edi, [ebp - 0x918]
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e23
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push 0xa489dc
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push dword [0xc51c4c]
lea esi, [ebp - 0x92c]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x92c]
call fcn.00a13510
push 0xa489e0
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push 0xa489ec
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push 0xa48b7c
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push 0xa489f4
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push 0xa489f8
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e23
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push 0xa48a00
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push dword [0xc51c4c]
lea esi, [ebp - 0x92c]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x92c]
call fcn.00a13510
push dword [0xc51d48]
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push 0xa48a04
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push dword [ebp - 0x904]
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push 0xa48a0c
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push 0xa48a10
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e23
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push 0xa48a18
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push dword [0xc51c4c]
lea esi, [ebp - 0x92c]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x92c]
call fcn.00a13510
push 0xa48a1c
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push 0xa48a28
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00a22e65
lea esi, [ebp - 0x8e0]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
push dword [ebp - 0x938]
call dword [0xc520c4]
mov edi, dword [ebp - 0x8e0]
push edi
mov dword [ebp - 0x900], eax
call dword [0xc520c4]
mov esi, eax
mov eax, dword [ebp - 0x900]
add eax, dword [ebp - 0x8f4]
add esi, eax
push esi
push ebx
call dword [0xc52210]
push eax
call dword [0xc521a0]
push edi
mov dword [ebp - 0x8f0], eax
call dword [0xc520c4]
push eax
push edi
push dword [ebp - 0x8f0]
call fcn.00a394d0
add esp, 0xc
push dword [ebp - 0x8f4]
push dword [ebp - 0x8fc]
push edi
call dword [0xc520c4]
add eax, dword [ebp - 0x8f0]
push eax
call fcn.00a394d0
add esp, 0xc
push dword [ebp - 0x938]
call dword [0xc520c4]
push eax
push dword [ebp - 0x938]
push edi
call dword [0xc520c4]
add eax, dword [ebp - 0x8f0]
add eax, dword [ebp - 0x8f4]
push eax
call fcn.00a394d0
add esp, 0xc
push esi
push dword [ebp - 0x8f0]
push dword [ebp - 0x950]
call dword [0xc520c4]
push eax
push dword [ebp - 0x950]
push dword [ebp - 0x8f8]
call dword [0xc521cc]
lea eax, [ebp - 0x8f0]
mov dword [ebp - 0x900], eax
mov edi, dword [ebp - 0x900]
mov ecx, 4
xor eax, eax
rep stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x920]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x13
push dword [ebp - 0x8f8]
mov dword [ebp - 0x920], 0x100
call dword [0xc5225c]
test eax, eax
jne 0xa168dd
push 0xa48a30
mov esi, dword [ebp - 0x91c]
call fcn.00a22d43
mov eax, dword [ebp - 0x950]
call fcn.00a13510
mov eax, dword [ebp - 0x938]
call fcn.00a13510
mov eax, dword [ebp - 0x8e0]
call fcn.00a13510
mov eax, dword [ebp - 0x918]
jmp 0xa16a16
lea edx, [ebp - 0x104]
call fcn.00a24359
cmp eax, 0xc8
jne 0xa16a57
mov edi, 0x7cf
jmp 0xa16939
mov eax, dword [ebp - 0x900]
cmp eax, ebx
je 0xa16958
mov byte [ebp + eax - 0x8d4], bl
lea eax, [ebp - 0x8d4]
push eax
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x944]
call fcn.00a22e65
lea esi, [ebp - 0x944]
call fcn.00a22de9
mov eax, dword [ebp - 0x8ec]
call fcn.00a13510
lea eax, [ebp - 0x900]
push eax
push edi
lea eax, [ebp - 0x8d4]
push eax
push dword [ebp - 0x8f8]
call dword [0xc5212c]
test eax, eax
jne 0xa168fa
push 0xa48a38
push dword [ebp - 0x944]
call dword [0xc521e0]
test eax, eax
jne 0xa16974
push ebx
call dword [0xc52130]
push dword [ebp - 0x8f8]
call dword [0xc52100]
push dword [ebp - 0x90c]
call dword [0xc52100]
lea eax, [ebp - 0x8fc]
mov dword [ebp - 0x90c], eax
mov edi, dword [ebp - 0x90c]
mov ecx, 4
xor eax, eax
rep stosb byte es:[edi], al
lea eax, [ebp - 0x904]
mov dword [ebp - 0x90c], eax
mov edi, dword [ebp - 0x90c]
mov ecx, 4
xor eax, eax
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x918]
call fcn.00a13510
mov eax, dword [ebp - 0x8e0]
call fcn.00a13510
mov eax, dword [ebp - 0x938]
call fcn.00a13510
mov eax, dword [ebp - 0x950]
call fcn.00a13510
mov esi, dword [ebp - 0x91c]
lea eax, [ebp - 0x944]
call fcn.00a22d75
xor eax, eax
call fcn.00a13510
xor eax, eax
call fcn.00a13510
xor eax, eax
call fcn.00a13510
xor eax, eax
call fcn.00a13510
mov eax, dword [ebp - 0x944]
call fcn.00a13510
mov eax, dword [ebp + 0x10]
call fcn.00a13510
mov eax, dword [ebp + 0x1c]
call fcn.00a13510
mov eax, dword [ebp + 0x28]
call fcn.00a13510
mov eax, dword [ebp + 0x34]
call fcn.00a13510
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00a2f48c
leave
ret
push 0xa48a40
jmp 0xa168a6