Function at 0x4020e5
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x10], 0
push ebx
xor ebx, ebx
mov dword [ebp - 0x1c], edx
and dword [ebp - 0x18], ebx
xor edx, edx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, 0x35188e48
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp esi, 0x1de3b9b3
jg 0x4022d3
je 0x40227d
cmp esi, 0x87bebed
je 0x40225c
cmp esi, 0x88da9dd
je 0x402220
mov eax, 0xc909adf
cmp esi, eax
je 0x4021c8
cmp esi, 0x12ed5faf
je 0x4021a3
mov eax, 0x18fb2664
cmp esi, eax
jne 0x402399
xor eax, eax
mov edx, 0x5ddf54f8
push eax
push eax
push 3
push eax
push eax
push dword [ebp - 0x1c]
mov ecx, 0x53ec25b2
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push 0x191
call fcn.00402dd5
pop ecx
call eax
mov ecx, eax
mov esi, 0x248c096b
test ecx, ecx
mov dword [ebp - 0xc], ecx
mov eax, 0xc909adf
cmovne esi, eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
jmp 0x402110
push ecx
push 0x1ea
mov edx, 0x7c691ac9
mov ecx, 0x53ec25b2
call fcn.00402dd5
pop ecx
call eax
mov esi, 0x248c096b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
jmp 0x40219b
test edi, edi
je 0x4021db
mov ecx, 0x409190
call fcn.00402602
mov edx, eax
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, 0x53ec25b2
push eax
push 0x844cc300
push eax
push eax
push eax
push dword [ebp + 8]
push edx
push dword [ebp - 0xc]
mov edx, 0xd42d138c
push 0x74
call fcn.00402dd5
pop ecx
call eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
call fcn.00402e33
mov eax, dword [ebp - 8]
mov esi, 0x12ed5faf
test eax, eax
mov ecx, 0x33bc678c
cmovne esi, ecx
jmp 0x4021c3
xor eax, eax
mov edx, 0xd204a21a
push eax
push eax
push eax
push eax
push dword [ebp - 0x10]
mov ecx, 0x53ec25b2
push 0x64
call fcn.00402dd5
pop ecx
call eax
mov ecx, dword [ebp - 0x10]
test eax, eax
mov dword [ebp - 0x14], eax
mov esi, 0x796eba8
mov eax, 0x18fb2664
cmovne esi, eax
call fcn.00402e33
jmp 0x402396
push 0x13
pop edx
mov ecx, eax
call fcn.004020a5
cmp eax, 0xc8
mov esi, 0x22298545
mov eax, 0x26efe493
cmove esi, eax
jmp 0x4021c0
mov eax, 0x200
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.00402e8e
mov esi, eax
test esi, esi
je 0x4022c9
lea eax, [ebp - 0x18]
mov edx, 0xc4702cf0
push eax
push esi
push 0
push 0x12a
mov ecx, 0x2880e087
call fcn.00402dd5
pop ecx
call eax
test eax, eax
jne 0x4022c2
push ecx
push ecx
mov edx, esi
call fcn.00403c08
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
mov ecx, esi
call fcn.00402e33
mov esi, 0x88da9dd
jmp 0x4021c0
cmp esi, 0x22298545
je 0x402379
cmp esi, 0x248c096b
je 0x4023a6
cmp esi, 0x26efe493
je 0x40235d
cmp esi, 0x33bc678c
je 0x402311
cmp esi, 0x35188e48
jne 0x402399
mov esi, 0x1de3b9b3
jmp 0x402110
test edi, edi
je 0x40231a
mov ecx, dword [edi + 4]
jmp 0x40231c
xor ecx, ecx
test edi, edi
je 0x402324
mov eax, dword [edi]
jmp 0x402326
xor eax, eax
push ecx
push eax
mov eax, dword [ebp - 8]
mov edx, 0xd343d2e
push 0xffffffffffffffff
push dword [ebp + 0xc]
mov ecx, 0x53ec25b2
push eax
push 0xc8
call fcn.00402dd5
pop ecx
call eax
neg eax
sbb esi, esi
and esi, 0xe65266a8
add esi, 0x22298545
jmp 0x4021c0
mov edx, dword [ebp + 0x14]
mov ecx, eax
call fcn.00401fc7
xor ecx, ecx
mov esi, 0x22298545
inc ecx
test eax, eax
cmovne ebx, ecx
jmp 0x4021c0
push eax
push 0x1ea
mov edx, 0x7c691ac9
mov ecx, 0x53ec25b2
call fcn.00402dd5
pop ecx
call eax
mov esi, 0x12ed5faf
mov edx, dword [ebp - 4]
cmp esi, 0x796eba8
je 0x4023c0
jmp 0x40210a
push dword [ebp - 0x14]
mov edx, 0x7c691ac9
mov ecx, 0x53ec25b2
push 0x1ea
call fcn.00402dd5
pop ecx
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret