Function at 0x4c2be0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
xor eax, eax
push esi
mov dword [esp + 0x30], ecx
mov esi, 0x312c4ad9
mov ebx, dword [esp + 0x30]
push edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x24]
mov edi, edi
cmp esi, 0x312c4ad9
jg 0x4c2e60
je 0x4c2e56
cmp esi, 0x1714460e
jg 0x4c2d1a
je 0x4c2fcf
cmp esi, 0x161d514
je 0x4c2cba
cmp esi, 0x3804105
jne 0x4c2ca2
mov eax, dword [0x4cdcdc]
test eax, eax
jne 0x4c2c78
mov ecx, 0xb37bd66
call fcn.004c3f00
mov edx, 0xb1cc2959
mov ecx, eax
call fcn.004c3e60
mov dword [0x4cdcdc], eax
push 0
push 0
push 0
push 0
push dword [esp + 0x24]
call eax
mov ecx, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], eax
mov esi, 0x290e05a1
mov eax, 0x34cdf7bf
cmovne esi, eax
call fcn.004c4220
cmp esi, 0x290e05a1
jne 0x4c2c20
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [0x4ce1e8]
mov dword [esp + 0x28], 4
test eax, eax
jne 0x4c2ce6
mov ecx, 0xb37bd66
call fcn.004c3f00
mov edx, 0x30c1111c
mov ecx, eax
call fcn.004c3e60
mov dword [0x4ce1e8], eax
push 0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x34]
push ecx
push 0x20000013
push ebx
call eax
test eax, eax
je 0x4c2f2a
cmp dword [esp + 0x2c], 0xc8
jne 0x4c2f2a
mov esi, 0x3733f1d1
jmp 0x4c2c20
cmp esi, 0x22ee02e8
je 0x4c2d9e
cmp esi, 0x2bddac0a
jne 0x4c2ca2
test ebp, ebp
je 0x4c2d44
mov ecx, 0x4cd210
call fcn.004c34c0
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x4c2d48
mov esi, dword [esp + 0x1c]
mov eax, dword [0x4cdd88]
test eax, eax
jne 0x4c2d6c
mov ecx, 0xb37bd66
call fcn.004c3f00
mov edx, 0xb7e598cf
mov ecx, eax
call fcn.004c3e60
mov dword [0x4cdd88], eax
push 0
push 0x844cc300
push 0
push 0
push 0
push dword [esp + 0x50]
push esi
push edi
call eax
mov ecx, esi
mov ebx, eax
call fcn.004c3460
test ebx, ebx
mov esi, 0x3b13624a
mov eax, 0x399ad3d8
cmovne esi, eax
jmp 0x4c2c20
mov eax, dword [0x4ce494]
mov dword [esp + 0x20], 0x200
test eax, eax
jne 0x4c2dca
mov ecx, 0x9bab0b12
call fcn.004c3f00
mov edx, 0x7facde30
mov ecx, eax
call fcn.004c3e60
mov dword [0x4ce494], eax
call eax
mov esi, eax
mov eax, dword [0x4cdd18]
test eax, eax
jne 0x4c2df2
mov ecx, 0x9bab0b12
call fcn.004c3f00
mov edx, 0x9ff0609c
mov ecx, eax
call fcn.004c3e60
mov dword [0x4cdd18], eax
push 0x200
push 8
push esi
call eax
mov esi, eax
test esi, esi
je 0x4c2e4c
mov eax, dword [0x4ce2fc]
test eax, eax
jne 0x4c2e26
mov ecx, 0x705b7853
call fcn.004c3f00
mov edx, 0xa7b8a7b3
mov ecx, eax
call fcn.004c3e60
mov dword [0x4ce2fc], eax
lea ecx, [esp + 0x20]
push ecx
push esi
push 0
call eax
test eax, eax
jne 0x4c2e45
sub esp, 8
mov edx, esi
call fcn.004c56f0
add esp, 8
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.004c4220
mov esi, 0x3804105
jmp 0x4c2c20
mov esi, 0x22ee02e8
jmp 0x4c2c20
cmp esi, 0x3733f1d1
jg 0x4c2f34
je 0x4c2f0d
cmp esi, 0x31d265c4
je 0x4c2edc
cmp esi, 0x34cdf7bf
jne 0x4c2ca2
mov eax, dword [0x4cdfd0]
test eax, eax
jne 0x4c2eaa
mov ecx, 0xb37bd66
call fcn.004c3f00
mov edx, 0x3e17dfbb
mov ecx, eax
call fcn.004c3e60
mov dword [0x4cdfd0], eax
push 0
push 0
push 3
push 0
push 0
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esp + 0x34]
call eax
mov edi, eax
mov esi, 0x1714460e
test edi, edi
mov dword [esp + 0x24], edi
mov eax, 0x2bddac0a
cmovne esi, eax
jmp 0x4c2c20
mov eax, dword [0x4ce258]
test eax, eax
jne 0x4c2f00
mov ecx, 0xb37bd66
call fcn.004c3f00
mov edx, 0x1fa1918a
mov ecx, eax
call fcn.004c3e60
mov dword [0x4ce258], eax
push ebx
call eax
mov esi, 0x3b13624a
jmp 0x4c2c20
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.004c2980
mov ecx, dword [esp + 0x10]
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [esp + 0x10], ecx
mov esi, 0x31d265c4
jmp 0x4c2c20
cmp esi, 0x399ad3d8
je 0x4c2f79
cmp esi, 0x3b13624a
jne 0x4c2ca2
mov eax, dword [0x4ce258]
test eax, eax
jne 0x4c2f6c
mov ecx, 0xb37bd66
call fcn.004c3f00
mov edx, 0x1fa1918a
mov ecx, eax
call fcn.004c3e60
mov dword [0x4ce258], eax
push edi
call eax
mov esi, 0x1714460e
jmp 0x4c2c20
test ebp, ebp
je 0x4c2f85
mov esi, dword [ebp + 4]
mov edi, dword [ebp]
jmp 0x4c2f89
xor esi, esi
xor edi, edi
mov eax, dword [0x4cdcb8]
test eax, eax
jne 0x4c2fad
mov ecx, 0xb37bd66
call fcn.004c3f00
mov edx, 0x6efcb66d
mov ecx, eax
call fcn.004c3e60
mov dword [0x4cdcb8], eax
push esi
push edi
push 0xffffffffffffffff
push dword [esp + 0x4c]
push ebx
call eax
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xcf8f6f50
add esi, 0x31d265c4
jmp 0x4c2c1a
mov eax, dword [0x4ce258]
test eax, eax
jne 0x4c2ff3
mov ecx, 0xb37bd66
call fcn.004c3f00
mov edx, 0x1fa1918a
mov ecx, eax
call fcn.004c3e60
mov dword [0x4ce258], eax
push dword [esp + 0x18]
call eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret