Function at 0x402109
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov dword [ebp - 0x1c], edx
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x20], ecx
and dword [ebp - 0x18], edx
mov esi, 0x2eb41b9d
and dword [ebp - 0x10], edx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp esi, 0x12847df0
jg 0x4022d1
mov ecx, 0x12847df0
cmp esi, ecx
je 0x4022b5
mov ecx, 0x37fdb87
cmp esi, ecx
je 0x402257
mov ecx, 0x72318fe
cmp esi, ecx
je 0x402216
cmp esi, 0x8bac9ab
je 0x4021f7
mov ecx, 0xd6ee507
cmp esi, ecx
je 0x4021ae
cmp esi, 0x116b45d5
jne 0x4023e1
push 0x13
pop edx
mov ecx, eax
call fcn.004020cc
cmp eax, 0xc8
mov esi, 0x8bac9ab
mov eax, 0x12847df0
cmove esi, eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
jmp 0x402133
test edi, edi
je 0x4021b7
mov ecx, dword [edi + 4]
jmp 0x4021b9
xor ecx, ecx
test edi, edi
je 0x4021c1
mov eax, dword [edi]
jmp 0x4021c3
xor eax, eax
push ecx
push eax
mov eax, dword [ebp - 8]
mov edx, 0x735c336e
push 0xffffffffffffffff
push dword [ebp + 0xc]
mov ecx, 0x5d0bbe4e
push eax
push 0xe1
call fcn.00402e0d
pop ecx
call eax
neg eax
sbb esi, esi
and esi, 0x8b07c2a
add esi, 0x8bac9ab
jmp 0x4021a3
push eax
push 0x11f
mov edx, 0x2011489
mov ecx, 0x5d0bbe4e
call fcn.00402e0d
pop ecx
call eax
mov esi, 0x271785eb
jmp 0x4021a3
xor eax, eax
mov edx, 0x23b75ab8
push eax
push eax
push 3
push eax
push eax
push dword [ebp - 0x1c]
mov ecx, 0x5d0bbe4e
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push 0x6f
call fcn.00402e0d
pop ecx
call eax
mov ecx, eax
mov esi, 0x368cfb47
test ecx, ecx
mov dword [ebp - 0xc], ecx
mov eax, 0x37fdb87
cmovne esi, eax
mov eax, dword [ebp - 8]
jmp 0x4021a9
test edi, edi
je 0x40226a
mov ecx, 0x4091a0
call fcn.00402620
mov edx, eax
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, 0x5d0bbe4e
push eax
push 0x844cc300
push eax
push eax
push eax
push dword [ebp + 8]
push edx
push dword [ebp - 0xc]
mov edx, 0xaa451dcc
push 0x107
call fcn.00402e0d
pop ecx
call eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
call fcn.00402e6b
mov eax, dword [ebp - 8]
mov esi, 0x271785eb
test eax, eax
mov ecx, 0xd6ee507
cmovne esi, ecx
jmp 0x4021a6
mov edx, dword [ebp + 0x14]
mov ecx, eax
call fcn.00401ff5
xor ecx, ecx
mov esi, 0x8bac9ab
inc ecx
test eax, eax
cmovne ebx, ecx
jmp 0x4021a3
cmp esi, 0x1a859559
je 0x4023a7
cmp esi, 0x271785eb
je 0x402385
cmp esi, 0x2a162ab0
je 0x402332
cmp esi, 0x2eb41b9d
je 0x402328
cmp esi, 0x368cfb47
jne 0x4023e1
push dword [ebp - 0x14]
mov edx, 0x2011489
mov ecx, 0x5d0bbe4e
push 0x11f
call fcn.00402e0d
pop ecx
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0x2a162ab0
jmp 0x402133
mov eax, 0x200
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.00402ec3
mov esi, eax
test esi, esi
je 0x40237b
lea eax, [ebp - 0x18]
mov edx, 0xba1822b0
push eax
push esi
push 0
push 0x3f
mov ecx, 0x26677b7b
call fcn.00402e0d
pop ecx
call eax
test eax, eax
jne 0x402374
push ecx
push ecx
mov edx, esi
call fcn.00403c3b
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
mov ecx, esi
call fcn.00402e6b
mov esi, 0x1a859559
jmp 0x4021a3
push ecx
push 0x11f
mov edx, 0x2011489
mov ecx, 0x5d0bbe4e
call fcn.00402e0d
pop ecx
call eax
mov esi, 0x368cfb47
jmp 0x4021a3
xor eax, eax
mov edx, 0xac6cac5a
push eax
push eax
push eax
push eax
push dword [ebp - 0x10]
mov ecx, 0x5d0bbe4e
push 0x22
call fcn.00402e0d
pop ecx
call eax
mov ecx, dword [ebp - 0x10]
test eax, eax
mov dword [ebp - 0x14], eax
mov esi, 0xd541e8a
mov eax, 0x72318fe
cmovne esi, eax
call fcn.00402e6b
mov edx, dword [ebp - 4]
cmp esi, 0xd541e8a
je 0x40231f
jmp 0x40212d