Function at 0x402cf0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
xor ecx, ecx
push esi
xor eax, eax
mov dword [esp + 0x24], edx
push edi
mov dword [esp + 0x14], 0
mov esi, 0x21eaa7ee
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x1c]
lea esp, [esp]
cmp esi, 0x21eaa7ee
jg 0x402f15
je 0x402f0b
cmp esi, 0x10152712
jg 0x402dec
je 0x402d96
cmp esi, 0x9a6470e
je 0x402d72
cmp esi, 0xfd0edbd
je 0x403126
cmp esi, 0x363c01c9
je 0x403150
jmp 0x402d28
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.00402a80
mov ecx, dword [esp + 0x10]
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [esp + 0x10], ecx
mov esi, 0x25510145
jmp 0x402d30
mov eax, dword [0x40ddf0]
test eax, eax
jne 0x402dba
mov ecx, 0x3252bf4b
call fcn.00403f70
mov edx, 0xe55757f
mov ecx, eax
call fcn.00403ed0
mov dword [0x40ddf0], eax
push 0
push 0
push 3
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x3c]
call eax
mov edi, eax
mov esi, 0xfd0edbd
test edi, edi
mov dword [esp + 0x1c], edi
mov eax, 0x22c5502c
cmovne esi, eax
jmp 0x402d30
cmp esi, 0x13148762
je 0x402e6c
cmp esi, 0x1d5a0c57
jne 0x402d64
mov ecx, 0x200
mov dword [esp + 0x24], 0x200
call fcn.004042e0
mov esi, eax
test esi, esi
je 0x402e62
mov eax, dword [0x40e3e4]
test eax, eax
jne 0x402e3c
mov ecx, 0x493e7a7e
call fcn.00403f70
mov edx, 0x97fa0d77
mov ecx, eax
call fcn.00403ed0
mov dword [0x40e3e4], eax
lea ecx, [esp + 0x24]
push ecx
push esi
push 0
call eax
test eax, eax
jne 0x402e5b
sub esp, 8
mov edx, esi
call fcn.004056d0
add esp, 8
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.00404240
mov esi, 0x13148762
jmp 0x402d30
mov eax, dword [0x40de3c]
test eax, eax
jne 0x402e90
mov ecx, 0x3252bf4b
call fcn.00403f70
mov edx, 0x818e839d
mov ecx, eax
call fcn.00403ed0
mov dword [0x40de3c], eax
push 0
push 0
push 0
push 0
push dword [esp + 0x24]
call eax
test eax, eax
mov dword [esp + 0x20], eax
mov eax, 0x10152712
mov esi, 0x363c01c9
cmovne esi, eax
mov eax, dword [0x40e510]
test eax, eax
jne 0x402ed5
mov ecx, 0xa2ce093f
call fcn.00403f70
mov edx, 0x4fee74f4
mov ecx, eax
call fcn.00403ed0
mov dword [0x40e510], eax
call eax
mov edi, eax
mov eax, dword [0x40e728]
test eax, eax
jne 0x402efd
mov ecx, 0xa2ce093f
call fcn.00403f70
mov edx, 0x60520f89
mov ecx, eax
call fcn.00403ed0
mov dword [0x40e728], eax
push dword [esp + 0x14]
push 0
push edi
call eax
jmp 0x402d64
mov esi, 0x1d5a0c57
jmp 0x402d30
cmp esi, 0x273f3b55
jg 0x403081
je 0x40302b
cmp esi, 0x22c5502c
je 0x402f6c
cmp esi, 0x25510145
jne 0x402d64
mov eax, dword [0x40e708]
test eax, eax
jne 0x402f5f
mov ecx, 0x3252bf4b
call fcn.00403f70
mov edx, 0x2fe33b4e
mov ecx, eax
call fcn.00403ed0
mov dword [0x40e708], eax
push ebx
call eax
mov esi, 0x3a246db7
jmp 0x402d30
test ebp, ebp
je 0x402f82
mov ecx, 0x40d200
call fcn.004035e0
mov ebx, eax
mov dword [esp + 0x18], ebx
jmp 0x402f86
mov ebx, dword [esp + 0x18]
mov eax, dword [0x40e3e0]
test eax, eax
jne 0x402faa
mov ecx, 0x3252bf4b
call fcn.00403f70
mov edx, 0x87a7320b
mov ecx, eax
call fcn.00403ed0
mov dword [0x40e3e0], eax
push 0
push 0x844cc300
push 0
push 0
push 0
push dword [esp + 0x50]
push ebx
push edi
call eax
mov ebx, eax
mov eax, dword [0x40e510]
test eax, eax
jne 0x402fe5
mov ecx, 0xa2ce093f
call fcn.00403f70
mov edx, 0x4fee74f4
mov ecx, eax
call fcn.00403ed0
mov dword [0x40e510], eax
call eax
mov esi, eax
mov eax, dword [0x40e728]
test eax, eax
jne 0x40300d
mov ecx, 0xa2ce093f
call fcn.00403f70
mov edx, 0x60520f89
mov ecx, eax
call fcn.00403ed0
mov dword [0x40e728], eax
mov ecx, dword [esp + 0x18]
push ecx
push 0
push esi
call eax
test ebx, ebx
mov esi, 0x3a246db7
mov eax, 0x273f3b55
cmovne esi, eax
jmp 0x402d30
test ebp, ebp
je 0x403037
mov esi, dword [ebp + 4]
mov edi, dword [ebp]
jmp 0x40303b
xor esi, esi
xor edi, edi
mov eax, dword [0x40df20]
test eax, eax
jne 0x40305f
mov ecx, 0x3252bf4b
call fcn.00403f70
mov edx, 0x5ebe1ca9
mov ecx, eax
call fcn.00403ed0
mov dword [0x40df20], 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, 0x14458dc1
add esi, 0x25510145
jmp 0x402d28
cmp esi, 0x39968f06
je 0x4030c6
cmp esi, 0x3a246db7
jne 0x402d64
mov eax, dword [0x40e708]
test eax, eax
jne 0x4030b9
mov ecx, 0x3252bf4b
call fcn.00403f70
mov edx, 0x2fe33b4e
mov ecx, eax
call fcn.00403ed0
mov dword [0x40e708], eax
push edi
call eax
mov esi, 0xfd0edbd
jmp 0x402d30
mov eax, dword [0x40e670]
mov dword [esp + 0x30], 4
test eax, eax
jne 0x4030f2
mov ecx, 0x3252bf4b
call fcn.00403f70
mov edx, 0x83bbd8
mov ecx, eax
call fcn.00403ed0
mov dword [0x40e670], eax
push 0
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push 0x20000013
push ebx
call eax
test eax, eax
je 0x402d8f
cmp dword [esp + 0x34], 0xc8
jne 0x402d8f
mov esi, 0x9a6470e
jmp 0x402d30
mov eax, dword [0x40e708]
test eax, eax
jne 0x40314a
mov ecx, 0x3252bf4b
call fcn.00403f70
mov edx, 0x2fe33b4e
mov ecx, eax
call fcn.00403ed0
mov dword [0x40e708], eax
push dword [esp + 0x20]
call eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret