Function at 0x402cc0
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, 0x36873cac
mov ebx, dword [esp + 0x30]
push edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x10]
mov edi, edi
cmp esi, 0x13ae7954
jg 0x402f15
je 0x402eee
cmp esi, 0x9ab9dd7
jg 0x402dbf
je 0x402d8e
cmp esi, 0x1b9d671
je 0x40313b
cmp esi, 0x5e2c44d
jne 0x402edd
test ebp, ebp
je 0x402d44
mov esi, dword [ebp + 4]
mov edi, dword [ebp]
jmp 0x402d48
xor esi, esi
xor edi, edi
mov eax, dword [0x40e228]
test eax, eax
jne 0x402d6c
mov ecx, 0x27ea9c1d
call fcn.00403f00
mov edx, 0x36d8f100
mov ecx, eax
call fcn.00403e60
mov dword [0x40e228], 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, 0xdcf2daea
add esi, 0x3b75ca8d
jmp 0x402cfa
mov eax, dword [0x40e05c]
test eax, eax
jne 0x402db2
mov ecx, 0x27ea9c1d
call fcn.00403f00
mov edx, 0x4785d6e7
mov ecx, eax
call fcn.00403e60
mov dword [0x40e05c], eax
push edi
call eax
mov esi, 0x1b9d671
jmp 0x402d00
cmp esi, 0xd6c6a0e
je 0x402e43
cmp esi, 0xe8ed673
jne 0x402edd
test ebp, ebp
je 0x402de9
mov ecx, 0x40d1f0
call fcn.00403590
mov esi, eax
mov dword [esp + 0x20], esi
jmp 0x402ded
mov esi, dword [esp + 0x20]
mov eax, dword [0x40df24]
test eax, eax
jne 0x402e11
mov ecx, 0x27ea9c1d
call fcn.00403f00
mov edx, 0xefc1dfa2
mov ecx, eax
call fcn.00403e60
mov dword [0x40df24], 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.00403530
test ebx, ebx
mov esi, 0x9ab9dd7
mov eax, 0x5e2c44d
cmovne esi, eax
jmp 0x402d00
mov eax, dword [0x40de94]
test eax, eax
jne 0x402e67
mov ecx, 0x27ea9c1d
call fcn.00403f00
mov edx, 0xe9e86e34
mov ecx, eax
call fcn.00403e60
mov dword [0x40de94], eax
push 0
push 0
push 0
push 0
push dword [esp + 0x28]
call eax
test eax, eax
mov dword [esp + 0x1c], eax
mov eax, 0x14feec91
mov esi, 0x19f866b9
cmovne esi, eax
mov eax, dword [0x40e3d8]
test eax, eax
jne 0x402eac
mov ecx, 0xb7762a69
call fcn.00403f00
mov edx, 0x2788995d
mov ecx, eax
call fcn.00403e60
mov dword [0x40e3d8], eax
call eax
mov edi, eax
mov eax, dword [0x40dbc8]
test eax, eax
jne 0x402ed4
mov ecx, 0xb7762a69
call fcn.00403f00
mov edx, 0x834e220
mov ecx, eax
call fcn.00403e60
mov dword [0x40dbc8], eax
push dword [esp + 0x18]
push 0
push edi
call eax
cmp esi, 0x19f866b9
je 0x403165
jmp 0x402cfa
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.00402a60
mov ecx, dword [esp + 0x14]
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [esp + 0x14], ecx
mov esi, 0x3b75ca8d
jmp 0x402d00
cmp esi, 0x2527f41d
jg 0x4030ec
je 0x402fe5
cmp esi, 0x14feec91
je 0x402f8f
cmp esi, 0x1868a577
jne 0x402edd
mov eax, dword [0x40e104]
mov dword [esp + 0x28], 4
test eax, eax
jne 0x402f63
mov ecx, 0x27ea9c1d
call fcn.00403f00
mov edx, 0x68e55671
mov ecx, eax
call fcn.00403e60
mov dword [0x40e104], 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 0x402f0b
cmp dword [esp + 0x2c], 0xc8
jne 0x402f0b
mov esi, 0x13ae7954
jmp 0x402d00
mov eax, dword [0x40dd24]
test eax, eax
jne 0x402fb3
mov ecx, 0x27ea9c1d
call fcn.00403f00
mov edx, 0x663398d6
mov ecx, eax
call fcn.00403e60
mov dword [0x40dd24], eax
push 0
push 0
push 3
push 0
push 0
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esp + 0x38]
call eax
mov edi, eax
mov esi, 0x1b9d671
test edi, edi
mov dword [esp + 0x10], edi
mov eax, 0xe8ed673
cmovne esi, eax
jmp 0x402d00
mov eax, dword [0x40e3d8]
mov dword [esp + 0x24], 0x200
test eax, eax
jne 0x403011
mov ecx, 0xb7762a69
call fcn.00403f00
mov edx, 0x2788995d
mov ecx, eax
call fcn.00403e60
mov dword [0x40e3d8], eax
call eax
mov esi, eax
mov eax, dword [0x40e664]
test eax, eax
jne 0x403039
mov ecx, 0xb7762a69
call fcn.00403f00
mov edx, 0xc7d427f1
mov ecx, eax
call fcn.00403e60
mov dword [0x40e664], eax
push 0x200
push 8
push esi
call eax
mov esi, eax
test esi, esi
je 0x4030e2
mov eax, dword [0x40dc04]
test eax, eax
jne 0x403071
mov ecx, 0x5c865928
call fcn.00403f00
mov edx, 0xff9ce0de
mov ecx, eax
call fcn.00403e60
mov dword [0x40dc04], eax
lea ecx, [esp + 0x24]
push ecx
push esi
push 0
call eax
test eax, eax
jne 0x403090
sub esp, 8
mov edx, esi
call fcn.00405650
add esp, 8
mov dword [esp + 0x18], eax
mov eax, dword [0x40e3d8]
test eax, eax
jne 0x4030b4
mov ecx, 0xb7762a69
call fcn.00403f00
mov edx, 0x2788995d
mov ecx, eax
call fcn.00403e60
mov dword [0x40e3d8], eax
call eax
mov edi, eax
mov eax, dword [0x40dbc8]
test eax, eax
jne 0x4030dc
mov ecx, 0xb7762a69
call fcn.00403f00
mov edx, 0x834e220
mov ecx, eax
call fcn.00403e60
mov dword [0x40dbc8], eax
push esi
push 0
push edi
call eax
mov esi, 0xd6c6a0e
jmp 0x402cfa
cmp esi, 0x36873cac
je 0x403131
cmp esi, 0x3b75ca8d
jne 0x402edd
mov eax, dword [0x40e05c]
test eax, eax
jne 0x403124
mov ecx, 0x27ea9c1d
call fcn.00403f00
mov edx, 0x4785d6e7
mov ecx, eax
call fcn.00403e60
mov dword [0x40e05c], eax
push ebx
call eax
mov esi, 0x9ab9dd7
jmp 0x402d00
mov esi, 0x2527f41d
jmp 0x402d00
mov eax, dword [0x40e05c]
test eax, eax
jne 0x40315f
mov ecx, 0x27ea9c1d
call fcn.00403f00
mov edx, 0x4785d6e7
mov ecx, eax
call fcn.00403e60
mov dword [0x40e05c], eax
push dword [esp + 0x1c]
call eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret