Function at 0x402107
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
xor ebx, ebx
mov dword [ebp - 0x1c], edx
and dword [ebp - 0x10], ebx
and dword [ebp - 0x18], ebx
xor edx, edx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, 0x29298b91
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp esi, 0x1fb0da10
jg 0x4022ad
mov ecx, 0x1fb0da10
cmp esi, ecx
je 0x402252
cmp esi, 0x6ff47de
je 0x4023c9
mov ecx, 0xd3df554
cmp esi, ecx
je 0x402209
mov ecx, 0xf2f5eae
cmp esi, ecx
je 0x4021f0
cmp esi, 0x164e0abf
je 0x4021cc
mov eax, 0x170de486
cmp esi, eax
jne 0x4023bc
xor eax, eax
mov edx, 0x1f398f8b
push eax
push eax
push 3
push eax
push eax
push dword [ebp - 0x1c]
mov ecx, 0x321af3c5
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push 0x1b0
call fcn.00402db0
pop ecx
call eax
mov ecx, eax
mov esi, 0x6ff47de
test ecx, ecx
mov dword [ebp - 0xc], ecx
mov eax, 0x1fb0da10
cmovne esi, eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
jmp 0x402131
push 0x13
pop edx
mov ecx, eax
call fcn.004020c7
cmp eax, 0xc8
mov esi, 0x28b60542
mov eax, 0xf2f5eae
cmove esi, eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
jmp 0x4021c4
mov edx, dword [ebp + 0x14]
mov ecx, eax
call fcn.00401fec
xor ecx, ecx
mov esi, 0x28b60542
inc ecx
test eax, eax
cmovne ebx, ecx
jmp 0x4021e8
test edi, edi
je 0x402212
mov ecx, dword [edi + 4]
jmp 0x402214
xor ecx, ecx
test edi, edi
je 0x40221c
mov eax, dword [edi]
jmp 0x40221e
xor eax, eax
push ecx
push eax
mov eax, dword [ebp - 8]
mov edx, 0x4fd2e65d
push 0xffffffffffffffff
push dword [ebp + 0xc]
mov ecx, 0x321af3c5
push eax
push 0x197
call fcn.00402db0
pop ecx
call eax
neg eax
sbb esi, esi
and esi, 0xed98057d
add esi, 0x28b60542
jmp 0x4021e8
test edi, edi
je 0x402265
mov ecx, 0x409190
call fcn.00402623
mov edx, eax
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, 0x321af3c5
push eax
push 0x844cc300
push eax
push eax
push eax
push dword [ebp + 8]
push edx
push dword [ebp - 0xc]
mov edx, 0x96cbc8ff
push 0x55
call fcn.00402db0
pop ecx
call eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
call fcn.00402e11
mov eax, dword [ebp - 8]
mov esi, 0x2a23bb84
test eax, eax
mov ecx, 0xd3df554
cmovne esi, ecx
jmp 0x4021eb
cmp esi, 0x22681851
je 0x402368
cmp esi, 0x28b60542
je 0x402349
cmp esi, 0x29298b91
je 0x40233f
cmp esi, 0x2a23bb84
je 0x402320
cmp esi, 0x2d0b6e1d
jne 0x4023bc
xor eax, eax
mov edx, 0x90e27969
push eax
push eax
push eax
push eax
push dword [ebp - 0x10]
mov ecx, 0x321af3c5
push 0x251
call fcn.00402db0
pop ecx
call eax
mov ecx, dword [ebp - 0x10]
test eax, eax
mov dword [ebp - 0x14], eax
mov esi, 0x16098d77
mov eax, 0x170de486
cmovne esi, eax
call fcn.00402e11
jmp 0x4023b9
push ecx
push 0x77
mov edx, 0x3e8fc1ba
mov ecx, 0x321af3c5
call fcn.00402db0
pop ecx
call eax
mov esi, 0x6ff47de
jmp 0x4021e8
mov esi, 0x22681851
jmp 0x402131
push eax
push 0x77
mov edx, 0x3e8fc1ba
mov ecx, 0x321af3c5
call fcn.00402db0
pop ecx
call eax
mov esi, 0x2a23bb84
jmp 0x4021e8
mov eax, 0x200
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.00402e6c
mov esi, eax
test esi, esi
je 0x4023b4
lea eax, [ebp - 0x18]
mov edx, 0x8696f783
push eax
push esi
push 0
push 0x193
mov ecx, 0x497636f0
call fcn.00402db0
pop ecx
call eax
test eax, eax
jne 0x4023ad
push ecx
push ecx
mov edx, esi
call fcn.00403bfa
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
mov ecx, esi
call fcn.00402e11
mov esi, 0x2d0b6e1d
mov edx, dword [ebp - 4]
cmp esi, 0x16098d77
je 0x4023e0
jmp 0x40212b
push dword [ebp - 0x14]
mov edx, 0x3e8fc1ba
mov ecx, 0x321af3c5
push 0x77
call fcn.00402db0
pop ecx
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret