Function at 0x402110
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x18], 0
push ebx
push esi
mov dword [ebp - 0x20], ecx
mov esi, 0x2b441b58
xor ecx, ecx
mov dword [ebp - 0x1c], edx
and dword [ebp - 0x10], ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp esi, 0x2521091b
jg 0x4022a5
je 0x402283
mov edx, 0x3adf2fd
cmp esi, edx
je 0x402266
cmp esi, 0x71d8261
je 0x402224
cmp esi, 0x1a1e2287
je 0x402205
cmp esi, 0x2221866d
je 0x4021a9
cmp esi, 0x222d6aae
jne 0x4023ee
push dword [ebp - 0x14]
mov edx, 0x63d79b07
mov ecx, 0x1e12f1d2
push 0x24e
call fcn.00402e3a
pop ecx
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x200
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.00402ef3
mov esi, eax
test esi, esi
je 0x4021f2
lea eax, [ebp - 0x18]
mov edx, 0xdbcead3e
push eax
push esi
push 0
push 0x18
mov ecx, 0x657e34e7
call fcn.00402e3a
pop ecx
call eax
test eax, eax
jne 0x4021eb
push ecx
push ecx
mov edx, esi
call fcn.00403ca4
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
mov ecx, esi
call fcn.00402e98
mov esi, 0x71d8261
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
jmp 0x40213b
push eax
push 0x24e
mov edx, 0x63d79b07
mov ecx, 0x1e12f1d2
call fcn.00402e3a
pop ecx
call eax
mov esi, 0x222d6aae
jmp 0x4021f7
xor eax, eax
mov edx, 0xcdba23d4
push eax
push eax
push eax
push eax
push dword [ebp - 0x10]
mov ecx, 0x1e12f1d2
push 0x107
call fcn.00402e3a
pop ecx
call eax
mov ecx, dword [ebp - 0x10]
test eax, eax
mov dword [ebp - 0x14], eax
mov esi, 0x164b5c8c
mov eax, 0x3050cb71
cmovne esi, eax
call fcn.00402e98
mov ecx, dword [ebp - 8]
jmp 0x4023ee
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
call fcn.00401fe8
xor ecx, ecx
mov esi, 0x38291a88
inc ecx
test eax, eax
cmovne ebx, ecx
jmp 0x4021f7
mov ecx, dword [ebp - 4]
push 0x13
pop edx
call fcn.004020d0
cmp eax, 0xc8
mov esi, 0x38291a88
mov eax, 0x3adf2fd
cmove esi, eax
jmp 0x4021f7
cmp esi, 0x2b441b58
je 0x4023e9
cmp esi, 0x3050cb71
je 0x4023a7
cmp esi, 0x34e40516
je 0x40235e
cmp esi, 0x368541df
je 0x4022ff
cmp esi, 0x38291a88
jne 0x4023ee
push edx
push 0x24e
mov edx, 0x63d79b07
mov ecx, 0x1e12f1d2
call fcn.00402e3a
pop ecx
call eax
mov esi, 0x1a1e2287
jmp 0x4021f7
test edi, edi
je 0x402315
mov ecx, 0x4091a0
call fcn.00402647
mov ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
xor edx, edx
push edx
push 0x844cc300
push edx
push edx
push edx
push dword [ebp + 8]
mov edx, 0xcb939242
push ecx
push eax
push 0x14e
mov ecx, 0x1e12f1d2
call fcn.00402e3a
pop ecx
call eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], eax
call fcn.00402e98
mov edx, dword [ebp - 4]
mov esi, 0x1a1e2287
test edx, edx
mov eax, 0x34e40516
cmovne esi, eax
jmp 0x4021fa
test edi, edi
je 0x402367
mov ecx, dword [edi + 4]
jmp 0x402369
xor ecx, ecx
test edi, edi
je 0x402371
mov eax, dword [edi]
jmp 0x402373
xor eax, eax
push ecx
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
mov ecx, 0x1e12f1d2
push edx
push 0x10a
mov edx, 0x128abce0
call fcn.00402e3a
pop ecx
call eax
neg eax
sbb esi, esi
and esi, 0xecf7ee93
add esi, 0x38291a88
jmp 0x4021f7
xor eax, eax
mov edx, 0x4261d536
push eax
push eax
push 3
push eax
push eax
push dword [ebp - 0x1c]
mov ecx, 0x1e12f1d2
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push 0x19c
call fcn.00402e3a
pop ecx
call eax
mov edx, dword [ebp - 4]
test eax, eax
mov esi, 0x222d6aae
mov dword [ebp - 0xc], eax
mov ecx, 0x368541df
cmovne esi, ecx
jmp 0x4021fd
mov esi, 0x2221866d
cmp esi, 0x164b5c8c
je 0x4021a0
jmp 0x402135