Function at 0x4d4150
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x5edd70
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
push ebp
push ebp
push ebp
push ebp
push ebp
call dword [0x610a08]
mov edi, eax
mov dword [esp + 0x1c], edi
mov ebx, 4
push ebx
lea eax, [esp + 0x24]
push eax
push 2
mov dword [esp + 0x88], ebp
push edi
mov dword [esp + 0x30], 0xbb8
call dword [0x6109f8]
cmp dword [esi + 0x18], 8
jb 0x4d41ba
mov eax, dword [esi + 4]
jmp 0x4d41bd
lea eax, [esi + 4]
push ebp
push 0x400000
push 0xffffffffffffffff
push ebp
push eax
push edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
call dword [0x610a10]
mov esi, eax
mov dword [esp + 0x30], esi
mov byte [esp + 0x7c], 1
cmp esi, ebp
mov ebp, dword [0x610a14]
mov dword [esp + 0x24], ebx
je 0x4d4203
push 0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
push 0x20000013
push esi
call ebp
cmp dword [esp + 0x28], 0xc8
je 0x4d4228
test esi, esi
mov ebp, dword [0x6109f4]
je 0x4d421a
push esi
call ebp
test edi, edi
je 0x4d4221
push edi
call ebp
xor al, al
jmp 0x4d4441
mov esi, dword [esp + 0x84]
mov al, byte [esi + 0x1e0]
test al, al
mov eax, dword [esp + 0x30]
je 0x4d425c
test eax, eax
mov esi, dword [0x6109f4]
je 0x4d424a
push eax
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d4255
push eax
call esi
xor al, al
jmp 0x4d4441
test eax, eax
mov byte [esp + 0x17], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], ebx
je 0x4d428e
push 0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x20000005
push eax
call ebp
test eax, eax
setne al
test al, al
jne 0x4d42ac
call dword [0x6103b0]
cmp eax, 0x2f76
jne 0x4d43f0
mov byte [esp + 0x17], 1
mov dword [esp + 0x18], 0xa00000
mov al, byte [esi + 0x1e0]
test al, al
jne 0x4d43f0
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4d42cc
cmp byte [esp + 0x17], cl
je 0x4d43f0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4d42e6
push 0
push ecx
push eax
mov eax, dword [esi + 0x164]
call fcn.0052ffd0
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x88]
lea edi, [ecx + 1]
mov esi, ebp
call fcn.00449660
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x4c]
call fcn.0040d800
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 8]
add ecx, 1
push ecx
push 0
push edx
call fcn.005e6f30
mov eax, dword [esp + 0x64]
add esp, 0xc
xor ebx, ebx
cmp eax, dword [esp + 0x18]
jae 0x4d43cc
lea ebx, [ebx]
mov edi, dword [esp + 0x84]
mov cl, byte [edi + 0x1e0]
test cl, cl
jne 0x4d43d3
cmp byte [esp + 0x17], cl
mov ecx, dword [esp + 0x58]
mov edx, 0x1000
jne 0x4d4360
mov eax, dword [esp + 0x18]
sub eax, ecx
cmp eax, edx
jae 0x4d4360
mov edx, eax
mov eax, dword [ebp + 8]
add ecx, eax
push ecx
lea esi, [esp + 0x50]
lea eax, [esp + 0x34]
call fcn.0052ff20
test eax, eax
jne 0x4d438c
cmp byte [esp + 0x17], al
jne 0x4d43d3
push 0xa
call fcn.005e691c
add ebx, 1
cmp ebx, 3
ja 0x4d43d3
mov eax, dword [edi + 0x18]
test eax, eax
mov esi, dword [esp + 0x58]
je 0x4d43c0
mov ecx, dword [eax]
test ecx, ecx
mov edx, dword [edi + 0x164]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 0
je 0x4d43c0
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x3c]
push edx
push 5
call eax
cmp esi, dword [esp + 0x18]
jb 0x4d4330
jmp 0x4d43d3
mov edi, dword [esp + 0x84]
mov cl, byte [edi + 0x1e0]
test cl, cl
jne 0x4d43f0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
cmp ecx, eax
je 0x4d440c
cmp byte [esp + 0x17], 0
jne 0x4d4413
lea esi, [esp + 0x30]
call fcn.0052fef0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d4408
push eax
call dword [0x6109f4]
xor al, al
jmp 0x4d4441
cmp byte [esp + 0x17], 0
je 0x4d441e
mov edx, dword [esp + 0x8c]
mov dword [edx], ecx
jmp 0x4d4427
mov ecx, dword [esp + 0x8c]
mov dword [ecx], eax
lea esi, [esp + 0x30]
call fcn.0052fef0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d443f
push eax
call dword [0x6109f4]
mov al, 1
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0xc