Function at 0x4ece1e
Capabilities:
Check http status code

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x4a45f054]
or dword [ebp - 0x244], 0xffffffff
push ebx
push esi
push edi
mov esi, ecx
push 0x4a416bec
push dword [esi + 0x978]
xor edi, edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x22c], edi
call dword [0x4a41127c]
cmp dword [esi + 0xc], edi
pop ecx
pop ecx
je 0x4ed20b
cmp dword [ebp + 8], edi
jne 0x4ed20b
mov ecx, dword [esi + 4]
call fcn.004eb8b7
cmp eax, 0xa
push dword [esi + 0x10]
jb 0x4ed0c5
mov edi, dword [0x4a4111b0]
call edi
push dword [esi + 0x14]
mov ebx, eax
call edi
cmp ebx, eax
jle 0x4ece96
push dword [esi + 0x10]
jmp 0x4ece99
push dword [esi + 0x14]
call edi
lea ebx, [eax + eax*2]
lea edi, [ebx + ebx*2]
push ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x240], 1
call fcn.004c9be7
test eax, eax
pop ecx
mov dword [ebp - 0x238], eax
je 0x4ed498
push edi
mov byte [eax], 0
call fcn.004c9be7
test eax, eax
mov edi, dword [0x4a41128c]
pop ecx
mov dword [ebp - 0x23c], eax
je 0x4ed089
mov byte [eax], 0
mov eax, dword [ebp - 0x228]
add eax, eax
push eax
call fcn.004c9be7
pop ecx
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0x230], eax
je 0x4ed05c
push ecx
push ecx
push ebx
push dword [ebp - 0x238]
mov word [eax], cx
push 0xffffffffffffffff
push dword [esi + 0x10]
push ecx
push 0xfde9
call dword [0x4a4111ac]
xor ebx, ebx
push ebx
push dword [ebp - 0x228]
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x23c]
push dword [ebp - 0x238]
call fcn.004ecb42
push dword [ebp - 0x228]
push dword [ebp - 0x230]
push 0xffffffffffffffff
push dword [ebp - 0x23c]
push ebx
push ebx
call dword [0x4a411140]
mov ebx, 0x400
cmp eax, ebx
jg 0x4ed033
push 0x4a416bd8
push dword [esi + 0x978]
call edi
push dword [ebp - 0x230]
push dword [esi + 0x978]
call edi
push 0x4a416bd4
push dword [esi + 0x978]
call edi
add esp, 0x18
xor eax, eax
push eax
push eax
push dword [ebp - 0x248]
push dword [ebp - 0x238]
push 0xffffffffffffffff
push dword [esi + 0x14]
push eax
push 0xfde9
call dword [0x4a4111ac]
push 0
push dword [ebp - 0x228]
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x23c]
push dword [ebp - 0x238]
call fcn.004ecb42
push dword [ebp - 0x228]
push dword [ebp - 0x230]
push 0xffffffffffffffff
push dword [ebp - 0x23c]
push 0
push 0
call dword [0x4a411140]
cmp eax, ebx
jg 0x4ed033
push 0x4a416bc8
push dword [esi + 0x978]
call edi
push dword [ebp - 0x230]
push dword [esi + 0x978]
call edi
push 0x4a416bd4
push dword [esi + 0x978]
call edi
add esp, 0x18
and dword [ebp - 0x240], 0
push dword [ebp - 0x230]
call dword [0x4a4111b0]
shl eax, 1
mov ecx, dword [ebp - 0x230]
je 0x4ed050
mov byte [ecx], 0
inc ecx
dec eax
jne 0x4ed049
push dword [ebp - 0x230]
call fcn.004c9bfd
pop ecx
mov eax, dword [ebp - 0x23c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ed065
sub eax, edx
mov ecx, dword [ebp - 0x23c]
je 0x4ed07d
mov byte [ecx], 0
inc ecx
dec eax
jne 0x4ed076
push dword [ebp - 0x23c]
call fcn.004c9bfd
pop ecx
mov eax, dword [ebp - 0x238]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ed092
sub eax, edx
mov ecx, dword [ebp - 0x238]
je 0x4ed0aa
mov byte [ecx], 0
inc ecx
dec eax
jne 0x4ed0a3
push dword [ebp - 0x238]
call fcn.004c9bfd
cmp dword [ebp - 0x240], 0
pop ecx
jne 0x4ed498
jmp 0x4ed13f
call dword [0x4a4111b0]
mov ebx, 0x400
cmp eax, ebx
jg 0x4ed498
mov edi, dword [0x4a41128c]
push 0x4a416bd8
push dword [esi + 0x978]
call edi
push dword [esi + 0x10]
push dword [esi + 0x978]
call edi
push 0x4a416bd4
push dword [esi + 0x978]
call edi
add esp, 0x18
push dword [esi + 0x14]
call dword [0x4a4111b0]
cmp eax, ebx
jg 0x4ed498
push 0x4a416bc8
push dword [esi + 0x978]
call edi
push dword [esi + 0x14]
push dword [esi + 0x978]
call edi
push 0x4a416bd4
push dword [esi + 0x978]
call edi
add esp, 0x18
mov ebx, dword [0x4a4110ac]
lea eax, [ebp - 0x250]
push eax
lea eax, [esi + 0xb8c]
push eax
call ebx
lea eax, [ebp - 0x268]
push eax
call dword [0x4a411084]
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x268]
push eax
call ebx
mov eax, dword [ebp - 0x258]
sub eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x254]
sbb ecx, dword [ebp - 0x24c]
push 0
push 0x989680
push ecx
push eax
call fcn.004f5460
push eax
lea eax, [ebp - 0x24]
push 0x4a416bc0
push eax
call dword [0x4a411230]
push 0x4a416ba4
push dword [esi + 0x978]
call edi
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x978]
call edi
push 0x4a416bd4
push dword [esi + 0x978]
call edi
lea ebx, [esi + 0x936]
add esp, 0x24
cmp word [ebx], 0
je 0x4ed202
push ebx
call dword [0x4a4111b0]
cmp eax, 0x20
jg 0x4ed202
push ebx
push dword [esi + 0x978]
call edi
push 0x4a416bd4
push dword [esi + 0x978]
call edi
add esp, 0x10
and dword [ebp - 0x240], 0
jmp 0x4ed22a
mov edi, dword [0x4a41128c]
push 0x4a416b8c
push dword [esi + 0x978]
call edi
pop ecx
pop ecx
mov dword [ebp - 0x240], 1
push dword [esi + 0x81c]
push dword [esi + 0x978]
call edi
mov edi, dword [0x4a41113c]
pop ecx
pop ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x4ed250
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x20]
mov eax, 0x100
push eax
lea ecx, [ebp - 0x224]
push ecx
mov ecx, dword [esi + 4]
push eax
lea ebx, [esi + 0x984]
push ebx
push dword [esi + 0x10]
call fcn.004eba59
test eax, eax
je 0x4ed47f
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push 0x1bb
push ebx
call dword [eax + 0xc]
test eax, eax
mov dword [esi + 8], eax
je 0x4ed462
cmp dword [ebp - 0x22c], 0
je 0x4ed2a8
mov ecx, dword [esi + 4]
push dword [ebp - 0x22c]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov eax, dword [esi + 0x97c]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
and eax, 0xfff7ffff
push esi
or eax, 0x800000
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push dword [esi + 8]
call dword [edx + 0x10]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x22c], ebx
je 0x4ed462
test byte [esi + 0x97e], 8
je 0x4ed30a
push 4
lea eax, [ebp - 0x234]
push eax
push 0x3f
push ebx
mov dword [ebp - 0x234], 1
call 0x4c1b17
test eax, eax
je 0x4ed462
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x134c]
test ecx, ecx
je 0x4ed379
cmp dword [eax + 0x1350], 0
je 0x4ed379
mov edi, eax
mov ebx, dword [edi]
push ecx
call dword [0x4a4111b0]
inc eax
push eax
push dword [edi + 0x134c]
mov ecx, edi
push 0x1002
push dword [ebp - 0x22c]
call dword [ebx + 0x28]
mov edi, dword [esi + 4]
mov eax, dword [edi]
push dword [edi + 0x1350]
mov dword [ebp - 0x234], eax
call dword [0x4a4111b0]
mov ebx, dword [ebp - 0x22c]
inc eax
push eax
push dword [edi + 0x1350]
mov eax, dword [ebp - 0x234]
push 0x1003
push ebx
mov ecx, edi
call dword [eax + 0x28]
mov ecx, dword [esi + 4]
and word [esi + 0x18], 0
mov eax, dword [ecx]
push 0x4a44adfc
push ebx
call dword [eax + 0x38]
mov eax, dword [esi + 4]
mov edi, dword [eax]
push esi
push dword [esi + 0x978]
call dword [0x4a4111b0]
mov ecx, dword [esi + 4]
push eax
push dword [esi + 0x978]
push ebx
call dword [edi + 0x14]
test eax, eax
mov edi, dword [0x4a41113c]
jne 0x4ed3c0
call edi
test eax, eax
jne 0x4ed444
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x18]
test eax, eax
je 0x4ed462
mov ecx, dword [esi + 4]
push 0
lea edx, [ebp - 0x234]
push edx
lea edx, [ebp - 0x228]
push edx
push 0x20000013
mov dword [ebp - 0x234], 4
mov eax, dword [ecx]
push ebx
call dword [eax + 0x1c]
test eax, eax
je 0x4ed462
cmp dword [ebp - 0x228], 0x191
jne 0x4ed419
push dword [ebp - 0x240]
mov ecx, esi
push ebx
call fcn.004ec59c
jmp 0x4ed42d
cmp dword [ebp - 0x228], 0xc8
jne 0x4ed433
push ebx
mov ecx, esi
call fcn.004ec7dd
mov dword [ebp - 0x244], eax
push ebx
mov ecx, esi
call fcn.004ec94d
cmp dword [ebp - 0x244], 0xffffffff
jne 0x4ed466
push dword [esi + 0x10]
mov ecx, dword [esi + 4]
call fcn.004eb9f0
mov ecx, dword [esi + 4]
call fcn.004eb43e
cmp eax, 1
je 0x4ed240
jmp 0x4ed47f
call edi
jmp 0x4ed47f
lea ebx, [esi + 0x18]
cmp word [ebx], 0
je 0x4ed47f
mov ecx, dword [esi + 4]
push ebx
push dword [esi + 0x10]
call fcn.004eb8fa
and word [ebx], 0
cmp dword [ebp - 0x22c], 0
je 0x4ed498
mov esi, dword [esi + 4]
push dword [ebp - 0x22c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x244]
pop edi
pop esi
pop ebx
call fcn.004ba1b9
leave
ret 4