Function at 0x4a48d7
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d8ec
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x59cfc8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x14c], eax
call 0x4c52b5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4a4931
push 0x80004005
call fcn.004a2c67
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x140], ebx
mov dword [ebp - 4], 0
call 0x4c52b5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4a4964
push 0x80004005
call fcn.004a2c67
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x13c], edi
push esi
lea ecx, [ebp - 0x134]
invalid
invalid
inc esi
inc ebp
cld
add eax, ebp
xchg ecx, eax
invalid
invalid
dec dword [ebx - 0x1337b]
inc dword [ebx - 0x39ff0b88]
inc ebp
cld
add dh, byte [ebp + 0x6c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a49b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a49d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a4e3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4a4e3e
lea ecx, [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x140]
push edx
lea ecx, [ebp - 0x134]
call fcn.004a3c97
add esp, 8
push 5
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x134]
call fcn.004a3867
mov eax, dword [eax]
push 0x54ef60
push eax
call fcn.005c2980
xor ecx, ecx
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x138]
sete cl
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
mov esi, ecx
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a4a71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x144]
mov eax, dword [ecx + 8]
push 0
push 0
push 0x54ef5d
push 0
push eax
call dword [0x54e8f0]
mov edi, eax
mov dword [ebp - 0x144], edi
test edi, edi
jne 0x4a4af2
mov eax, dword [ebp - 0x134]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a4abe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x13c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a4ae4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x140]
add eax, 0xfffffff0
jmp 0x4a49d9
mov edx, dword [ebp - 0x140]
push 0
push 0
push 3
push 0x54ef5d
mov ecx, esi
neg ecx
push 0
sbb ecx, ecx
and ecx, 0x1bb
push ecx
push edx
push edi
call dword [0x54e8f4]
mov ebx, eax
mov dword [ebp - 0x150], ebx
test ebx, ebx
jne 0x4a4b8b
push edi
call dword [0x54e8f8]
mov eax, dword [ebp - 0x134]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a4b53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x13c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a4ae4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x140]
add eax, 0xfffffff0
jmp 0x4a49d9
mov eax, 0x84000000
test esi, esi
je 0x4a4b99
mov eax, 0x84803000
mov ecx, dword [ebp - 0x13c]
push 0
push eax
push 0
push 0
push 0x54ef54
push ecx
push 0x54ef50
push ebx
call dword [0x54e8e0]
mov esi, eax
test esi, esi
jne 0x4a4c28
mov esi, dword [0x54e8f8]
push ebx
call esi
push edi
call esi
mov eax, dword [ebp - 0x134]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a4bf0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x13c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a4ae4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x140]
add eax, 0xfffffff0
jmp 0x4a49d9
mov edi, dword [0x54e904]
push 0
push 0
push 0
push 0
push esi
call edi
test eax, eax
jne 0x4a4c8d
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0x138]
push edx
push 0x1f
push esi
mov dword [ebp - 0x148], 4
call dword [0x54e8fc]
or dword [ebp - 0x138], 0x3380
push 4
lea eax, [ebp - 0x138]
push eax
push 0x1f
push esi
call dword [0x54e8e4]
push 0
push 0
push 0
push 0
push esi
call edi
test eax, eax
je 0x4a4e08
push 0xff
lea ecx, [ebp - 0x12f]
push 0
push ecx
mov byte [ebp - 0x130], 0
call fcn.005c3297
mov edi, dword [0x54e908]
add esp, 0xc
push 0
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x130]
push eax
push 0x13
push esi
mov dword [ebp - 0x138], 0x100
call edi
test eax, eax
je 0x4a4cf8
lea ecx, [ebp - 0x130]
push ecx
call fcn.005c3327
add esp, 4
cmp eax, 0xc8
jl 0x4a4e08
cmp eax, 0xce
jg 0x4a4e08
push 0
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x130]
push ecx
push 0x2a
push esi
mov dword [ebp - 0x138], 0x100
call edi
test eax, eax
je 0x4a4da6
mov ecx, 0x54ef68
lea eax, [ebp - 0x130]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4a4d4a
test dl, dl
je 0x4a4d46
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4a4d4a
add eax, 2
add ecx, 2
test dl, dl
jne 0x4a4d2a
xor eax, eax
jmp 0x4a4d4f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a4da6
push esi
mov esi, dword [0x54e8f8]
call esi
push ebx
call esi
mov edx, dword [ebp - 0x144]
push edx
call esi
mov eax, dword [ebp - 0x14c]
mov dword [eax], 0
mov dword [eax + 4], 0
lea ecx, [ebp - 0x134]
call fcn.004a31e7
lea ecx, [ebp - 0x13c]
call fcn.004a31e7
lea ecx, [ebp - 0x140]
call fcn.004a31e7
mov eax, 1
jmp 0x4a4e40
xor ebx, ebx
push ebx
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 5
push esi
xor edi, edi
mov dword [ebp - 0x148], 0x20
call dword [0x54e908]
test eax, eax
je 0x4a4ddd
lea edx, [ebp - 0x30]
push edx
call fcn.005c3332
add esp, 4
mov edi, eax
mov ebx, edx
push esi
mov esi, dword [0x54e8f8]
call esi
mov eax, dword [ebp - 0x150]
push eax
call esi
mov ecx, dword [ebp - 0x144]
push ecx
call esi
mov eax, dword [ebp - 0x14c]
mov dword [eax], edi
mov dword [eax + 4], ebx
jmp 0x4a4d7b
push esi
mov esi, dword [0x54e8f8]
call esi
push ebx
call esi
mov edx, dword [ebp - 0x144]
push edx
call esi
lea ecx, [ebp - 0x134]
call fcn.004a31e7
lea ecx, [ebp - 0x13c]
call fcn.004a31e7
lea ecx, [ebp - 0x140]
call fcn.004a31e7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c26c4
mov esp, ebp
pop ebp
ret 8