Function at 0x402143
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1c], edx
and dword [ebp - 0x18], ebx
xor edx, edx
and dword [ebp - 0x10], edx
mov esi, 0x1ac25857
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp esi, 0x1ac25857
jg 0x4022a2
je 0x402298
cmp esi, 0x28a233b
je 0x40240b
cmp esi, 0x43726cd
je 0x402257
cmp esi, 0x45e20c1
je 0x402235
cmp esi, 0x6caab6f
je 0x4021d9
cmp esi, 0x17fdd4ce
jne 0x4023fe
mov edx, dword [ebp + 0x14]
mov ecx, eax
call fcn.0040201e
xor ecx, ecx
mov esi, 0x45e20c1
inc ecx
test eax, eax
cmovne ebx, ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
jmp 0x40216d
test edi, edi
je 0x4021ef
mov ecx, str.h_t0El_t0E8Fc
call fcn.00402642
mov ecx, dword [ebp - 0xc]
mov edx, eax
mov dword [ebp - 4], edx
xor eax, eax
push eax
push 0x844cc300
push eax
push eax
push eax
push dword [ebp + 8]
push edx
push ecx
push 0x2d1
mov edx, 0xd4ca8bee
mov ecx, 0x21595860
call fcn.00402ec3
pop ecx
call eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
call fcn.00402f24
mov eax, dword [ebp - 8]
mov esi, 0x396d717f
test eax, eax
mov ecx, 0x24af2186
cmovne esi, ecx
jmp 0x4021d1
push eax
push 0xc4
mov edx, 0x7c8e82ab
mov ecx, 0x21595860
call fcn.00402ec3
pop ecx
call eax
mov esi, 0x396d717f
jmp 0x4021ce
xor eax, eax
mov edx, 0x5d38cc9a
push eax
push eax
push 3
push eax
push eax
push dword [ebp - 0x1c]
mov ecx, 0x21595860
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push 0x44
call fcn.00402ec3
pop ecx
call eax
mov ecx, eax
mov esi, 0x28a233b
test ecx, ecx
mov dword [ebp - 0xc], ecx
mov eax, 0x6caab6f
cmovne esi, eax
mov eax, dword [ebp - 8]
jmp 0x4021d4
mov esi, 0x3896168f
jmp 0x40216d
cmp esi, 0x20bd3eb9
je 0x4023db
cmp esi, 0x20bdac81
je 0x40239f
mov eax, 0x24af2186
cmp esi, eax
je 0x402353
cmp esi, 0x3896168f
je 0x4022fd
cmp esi, 0x396d717f
jne 0x4023fe
push ecx
push 0xc4
mov edx, 0x7c8e82ab
mov ecx, 0x21595860
call fcn.00402ec3
pop ecx
call eax
mov esi, 0x28a233b
jmp 0x4021ce
mov eax, 0x200
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.00402f7c
mov esi, eax
test esi, esi
je 0x402349
lea eax, [ebp - 0x18]
mov edx, 0xc497b492
push eax
push esi
push 0
push 0x2ec
mov ecx, 0x5a359d55
call fcn.00402ec3
pop ecx
call eax
test eax, eax
jne 0x402342
push ecx
push ecx
mov edx, esi
call fcn.00403cf7
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
mov ecx, esi
call fcn.00402f24
mov esi, 0x20bdac81
jmp 0x4021ce
test edi, edi
je 0x40235c
mov ecx, dword [edi + 4]
jmp 0x40235e
xor ecx, ecx
test edi, edi
je 0x402366
mov eax, dword [edi]
jmp 0x402368
xor eax, eax
push ecx
push eax
mov eax, dword [ebp - 8]
mov edx, 0xdd3a54c
push 0xffffffffffffffff
push dword [ebp + 0xc]
mov ecx, 0x21595860
push eax
push 0x212
call fcn.00402ec3
pop ecx
call eax
neg eax
sbb esi, esi
and esi, 0x1c5f1df8
add esi, 0x45e20c1
jmp 0x4021ce
xor eax, eax
mov edx, 0xd2e33a78
push eax
push eax
push eax
push eax
push dword [ebp - 0x10]
mov ecx, 0x21595860
push 0x246
call fcn.00402ec3
pop ecx
call eax
mov ecx, dword [ebp - 0x10]
test eax, eax
mov dword [ebp - 0x14], eax
mov esi, 0x265b8762
mov eax, 0x43726cd
cmovne esi, eax
call fcn.00402f24
jmp 0x4023fb
push 0x13
pop edx
mov ecx, eax
call fcn.00402103
cmp eax, 0xc8
jne 0x4023f6
mov esi, 0x17fdd4ce
jmp 0x4021ce
mov esi, 0x45e20c1
mov edx, dword [ebp - 4]
cmp esi, 0x265b8762
je 0x402425
jmp 0x402167
push dword [ebp - 0x14]
mov edx, 0x7c8e82ab
mov ecx, 0x21595860
push 0xc4
call fcn.00402ec3
pop ecx
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret