Function at 0x4c8f94
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4025e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x4e0
call fcn.004bb3f4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401da8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x284]
call dword [fcn.00401198]
push 3
push 0x4068a0
lea eax, [ebp - 0x48]
push eax
call dword [0x4010ec]
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [fcn.00401094]
mov dword [ebp - 4], 3
push 0
push 0xf
call fcn.004bdb64
mov dword [ebp - 0x294], eax
call dword [fcn.00401068]
mov ecx, dword [ebp - 0x294]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0x280], 0x128
mov dword [ebp - 4], 5
lea edx, [ebp - 0x280]
push edx
lea eax, [ebp - 0x3c0]
push eax
push 0x404b50
call dword [fcn.00401118]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004bdbd8
mov dword [ebp - 0x294], eax
call dword [fcn.00401068]
lea edx, [ebp - 0x3c0]
push edx
lea eax, [ebp - 0x280]
push eax
push 0x404b50
call dword [fcn.00401050]
mov ecx, dword [ebp - 0x294]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 6
mov dword [ebp - 0x50], 0x1f4
mov dword [ebp - 4], 7
push 0x104
call dword [fcn.004010c4]
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [fcn.004011e8]
mov dword [ebp - 4], 8
cmp dword [ebp - 0x2c], 0
je 0x4c92f1
mov dword [ebp - 4], 9
mov edx, dword [ebp - 0x278]
push edx
push 0
push 0x410
call fcn.004bdca8
mov dword [ebp - 0x294], eax
call dword [fcn.00401068]
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x288], eax
mov dword [ebp - 4], 0xa
mov ecx, 1
sub ecx, 1
mov dword [ebp - 0x298], ecx
cmp dword [ebp - 0x298], 0xc8
jae 0x4c9131
mov dword [ebp - 0x500], 0
jmp 0x4c913d
call dword [0x4010d4]
mov dword [ebp - 0x500], eax
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28c]
push ecx
call dword [fcn.004011cc]
push eax
mov edx, dword [ebp - 0x298]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x288]
push edx
call fcn.004bdd08
mov dword [ebp - 0x294], eax
call dword [fcn.00401068]
mov eax, dword [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [fcn.0040113c]
mov edx, dword [ebp - 0x294]
mov dword [ebp - 0x30], edx
lea ecx, [ebp - 0x28c]
call dword [fcn.00401210]
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [0x4011dc]
mov edx, eax
lea ecx, [ebp - 0x28c]
call dword [fcn.004011e8]
lea edx, [ebp - 0x28c]
push edx
call fcn.004c9974
mov edx, eax
lea ecx, [ebp - 0x54]
call dword [fcn.004011e8]
lea ecx, [ebp - 0x28c]
call dword [fcn.00401210]
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x54]
push eax
call dword [fcn.0040101c]
test eax, eax
jle 0x4c9294
mov dword [ebp - 4], 0xd
push 1
mov ecx, dword [ebp - 0x284]
push ecx
push 0x40614c
mov edx, dword [ebp - 0x54]
push edx
call dword [0x40105c]
mov edx, eax
lea ecx, [ebp - 0x28c]
call dword [fcn.004011e8]
push eax
push 0x40614c
call dword [0x40105c]
mov edx, eax
lea ecx, [ebp - 0x290]
call dword [fcn.004011e8]
push eax
push 1
call dword [0x401188]
xor ecx, ecx
test eax, eax
setg cl
neg ecx
mov word [ebp - 0x298], cx
lea edx, [ebp - 0x290]
push edx
lea eax, [ebp - 0x28c]
push eax
push 2
call dword [fcn.004011a0]
add esp, 0xc
movsx ecx, word [ebp - 0x298]
test ecx, ecx
je 0x4c9294
mov dword [ebp - 4], 0xe
lea edx, [ebp - 0x278]
push edx
call fcn.004c8e94
mov dword [ebp - 4], 0x11
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x4e8]
push ecx
push 0x404b50
call dword [fcn.00401118]
push eax
mov edx, dword [ebp - 0x28]
push edx
call fcn.004bdc20
mov dword [ebp - 0x294], eax
call dword [fcn.00401068]
lea eax, [ebp - 0x4e8]
push eax
lea ecx, [ebp - 0x280]
push ecx
push 0x404b50
call dword [fcn.00401050]
mov edx, dword [ebp - 0x294]
mov dword [ebp - 0x2c], edx
jmp 0x4c90c1
mov dword [ebp - 4], 0x13
mov eax, dword [ebp - 0x28]
push eax
call fcn.004bdc64
call dword [fcn.00401068]
push 0x41054b
jmp 0x4c9328
lea ecx, [ebp - 0x24]
call dword [fcn.00401210]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x294], eax
lea ecx, [ebp - 0x294]
push ecx
push 0
call dword [0x401080]
lea ecx, [ebp - 0x54]
call dword [fcn.00401210]
lea ecx, [ebp - 0x284]
call dword [fcn.00401210]
ret