Function at 0x402c70
Capabilities:
Check http status code

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x34]
xor eax, eax
push esi
mov dword [esp + 0x28], ecx
mov esi, 0x1ae3fcb8
mov ebx, dword [esp + 0x28]
push edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x18]
mov edi, edi
cmp esi, 0x1a3d921e
jg 0x402efc
je 0x402ecb
cmp esi, 0xd51f349
jg 0x402e30
je 0x402d78
cmp esi, 0xb0a1dca
je 0x402d08
cmp esi, 0xce6ff6b
jne 0x403085
mov edx, 0x13
mov ecx, ebx
call fcn.00402c10
cmp eax, 0xc8
mov esi, 0x1069b6d3
mov eax, 0x26b154f0
cmove esi, eax
jmp 0x402cb0
test ebp, ebp
je 0x402d1e
mov ecx, 0x40d1f0
call fcn.00403520
mov esi, eax
mov dword [esp + 0x20], esi
jmp 0x402d22
mov esi, dword [esp + 0x20]
mov eax, dword [0x40e31c]
test eax, eax
jne 0x402d46
mov ecx, 0x2fafddb8
call fcn.00403ea0
mov edx, 0x8ceb97fa
mov ecx, eax
call fcn.00403e00
mov dword [0x40e31c], eax
push 0
push 0x844cc300
push 0
push 0
push 0
push dword [esp + 0x48]
push esi
push edi
call eax
mov ecx, esi
mov ebx, eax
call fcn.004034c0
test ebx, ebx
mov esi, 0x1a3d921e
mov eax, 0x16e20ec8
cmovne esi, eax
jmp 0x402cb0
mov eax, dword [0x40daf4]
mov dword [esp + 0x24], 0x200
test eax, eax
jne 0x402da4
mov ecx, 0xbf336bcc
call fcn.00403ea0
mov edx, 0x44a2d105
mov ecx, eax
call fcn.00403e00
mov dword [0x40daf4], eax
call eax
mov esi, eax
mov eax, dword [0x40e6a8]
test eax, eax
jne 0x402dcc
mov ecx, 0xbf336bcc
call fcn.00403ea0
mov edx, 0xa4fe6fa9
mov ecx, eax
call fcn.00403e00
mov dword [0x40e6a8], eax
push 0x200
push 8
push esi
call eax
mov esi, eax
test esi, esi
je 0x402e26
mov eax, dword [0x40e0cc]
test eax, eax
jne 0x402e00
mov ecx, 0x54c3188d
call fcn.00403ea0
mov edx, 0x9cb6a886
mov ecx, eax
call fcn.00403e00
mov dword [0x40e0cc], eax
lea ecx, [esp + 0x24]
push ecx
push esi
push 0
call eax
test eax, eax
jne 0x402e1f
sub esp, 8
mov edx, esi
call fcn.00405620
add esp, 8
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.00404180
mov esi, 0x29069473
jmp 0x402cb0
cmp esi, 0x1069b6d3
je 0x402e9a
cmp esi, 0x16e20ec8
jne 0x403085
test ebp, ebp
je 0x402e50
mov esi, dword [ebp + 4]
mov edi, dword [ebp]
jmp 0x402e54
xor esi, esi
xor edi, edi
mov eax, dword [0x40dbd8]
test eax, eax
jne 0x402e78
mov ecx, 0x2fafddb8
call fcn.00403ea0
mov edx, 0x55f2b958
mov ecx, eax
call fcn.00403e00
mov dword [0x40dbd8], eax
push esi
push edi
push 0xffffffffffffffff
push dword [esp + 0x44]
push ebx
call eax
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfc7d4898
add esi, 0x1069b6d3
jmp 0x402caa
mov eax, dword [0x40db5c]
test eax, eax
jne 0x402ebe
mov ecx, 0x2fafddb8
call fcn.00403ea0
mov edx, 0x24af9ebf
mov ecx, eax
call fcn.00403e00
mov dword [0x40db5c], eax
push ebx
call eax
mov esi, 0x1a3d921e
jmp 0x402cb0
mov eax, dword [0x40db5c]
test eax, eax
jne 0x402eef
mov ecx, 0x2fafddb8
call fcn.00403ea0
mov edx, 0x24af9ebf
mov ecx, eax
call fcn.00403e00
mov dword [0x40db5c], eax
push edi
call eax
mov esi, 0x2281c7e3
jmp 0x402cb0
cmp esi, 0x26b154f0
jg 0x402f81
je 0x402f5a
cmp esi, 0x1ae3fcb8
je 0x402f50
cmp esi, 0x2281c7e3
jne 0x403085
mov eax, dword [0x40db5c]
test eax, eax
jne 0x402f3e
mov ecx, 0x2fafddb8
call fcn.00403ea0
mov edx, 0x24af9ebf
mov ecx, eax
call fcn.00403e00
mov dword [0x40db5c], eax
push dword [esp + 0x1c]
call eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov esi, 0xd51f349
jmp 0x402cb0
mov edx, dword [esp + 0x40]
mov ecx, ebx
call fcn.00402a10
mov ecx, dword [esp + 0x10]
test eax, eax
mov eax, 1
mov esi, 0x1069b6d3
cmovne ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x402cb0
cmp esi, 0x29069473
je 0x402feb
cmp esi, 0x2d36e2a3
jne 0x403085
mov eax, dword [0x40e664]
test eax, eax
jne 0x402fb9
mov ecx, 0x2fafddb8
call fcn.00403ea0
mov edx, 0x519d08e
mov ecx, eax
call fcn.00403e00
mov dword [0x40e664], eax
push 0
push 0
push 3
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x38]
call eax
mov edi, eax
mov esi, 0x2281c7e3
test edi, edi
mov dword [esp + 0x18], edi
mov eax, 0xb0a1dca
cmovne esi, eax
jmp 0x402cb0
mov eax, dword [0x40e2e0]
test eax, eax
jne 0x40300f
mov ecx, 0x2fafddb8
call fcn.00403ea0
mov edx, 0x8ac2266c
mov ecx, eax
call fcn.00403e00
mov dword [0x40e2e0], eax
push 0
push 0
push 0
push 0
push dword [esp + 0x24]
call eax
test eax, eax
mov dword [esp + 0x1c], eax
mov eax, 0x2d36e2a3
mov esi, 0x3222706b
cmovne esi, eax
mov eax, dword [0x40daf4]
test eax, eax
jne 0x403054
mov ecx, 0xbf336bcc
call fcn.00403ea0
mov edx, 0x44a2d105
mov ecx, eax
call fcn.00403e00
mov dword [0x40daf4], eax
call eax
mov edi, eax
mov eax, dword [0x40e288]
test eax, eax
jne 0x40307c
mov ecx, 0xbf336bcc
call fcn.00403ea0
mov edx, 0x6b1eaa78
mov ecx, eax
call fcn.00403e00
mov dword [0x40e288], eax
push dword [esp + 0x14]
push 0
push edi
call eax
cmp esi, 0x3222706b
je 0x402f44
jmp 0x402caa