Function at 0x4017ba
Capabilities:
Check http status code

Disassembly:
push 0xbc
mov eax, 0x48f5a6
call fcn.004543f8
mov ebx, ecx
mov eax, dword [ebp + 0x88]
mov edi, dword [ebp + 0x84]
mov dword [ebp - 0xc4], eax
xor eax, eax
mov dword [ebp - 4], 4
mov dword [ebp - 0xc8], eax
cmp dword [ebx + 0x140], eax
jne 0x401822
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc4], esp
push str.The_CURL_library_has_not_been_initialized___No_web_page_data_will_be_returned.
call fcn.00402d51
mov byte [ebp - 4], 5
call fcn.0040d33a
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040d682
jmp 0x401d04
lea eax, [ebp + 8]
mov byte [ebx + 0x3c], 1
push eax
mov edx, str.Attempting_to_get_data_from_
lea ecx, [ebp - 0x40]
call fcn.00402f8e
sub esp, 0x14
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0xc0], esp
mov edx, eax
push str....
call fcn.00403020
pop ecx
mov byte [ebp - 4], 7
call fcn.0040d33a
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0040d4dc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00402dd0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
test al, al
jne 0x40189c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc4], esp
push str.Unable_to_set_the_correct_path_to_the_CA_certificate_store__Cannot_attempt_connection_
call fcn.00402d51
mov byte [ebp - 4], 8
jmp 0x401d5b
cmp byte [ebx + 0x150], 0
je 0x4018ac
mov ecx, ebx
call fcn.004023c1
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0x2712
push dword [ebx + 0x140]
call fcn.00414970
add esp, 0xc
test eax, eax
je 0x4018ed
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc4], esp
push str.Unable_to_pass_the_URL_to_the_HTTP_engine_
call fcn.00402d51
mov byte [ebp - 4], 9
jmp 0x401d5b
mov ecx, ebx
call fcn.00402448
mov ecx, ebx
test al, al
je 0x401d6d
call fcn.0040263d
test al, al
je 0x401d6b
cmp byte [ebp + 0x68], 0
je 0x401920
mov ecx, ebx
call fcn.00402311
test al, al
je 0x401d6b
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp + 0x38]
push eax
call fcn.00402efd
call fcn.004040fd
add esp, 0x18
test al, al
je 0x401964
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp + 0x50]
push eax
call fcn.00402efd
call fcn.004040fd
add esp, 0x18
test al, al
jne 0x4019ad
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0xc0], esp
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp + 0x50]
push eax
call fcn.00402efd
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp + 0x38]
push eax
call fcn.00402efd
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.0040220b
test al, al
je 0x401d6b
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp + 0x6c]
push eax
call fcn.00402efd
call fcn.004040fd
add esp, 0x18
test al, al
jne 0x4019f4
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp + 0x6c]
push eax
call fcn.00402efd
mov ecx, ebx
call fcn.00402175
test al, al
je 0x401d6b
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp + 0x20]
push eax
call fcn.00402efd
call fcn.004040fd
add esp, 0x18
test al, al
jne 0x401a3b
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp + 0x20]
push eax
call fcn.00402efd
mov ecx, ebx
call fcn.004020b1
test al, al
je 0x401d6b
push 1
push 0x4b
push dword [ebx + 0x140]
call fcn.00414970
add esp, 0xc
mov ecx, ebx
call fcn.0040208d
push dword [ebx + 0x140]
call fcn.00414960
lea esi, [ebx + 0x34]
mov dword [ebp - 0xc0], eax
push esi
push 0x200002
push dword [ebx + 0x140]
call fcn.00414840
mov eax, dword [ebp - 0xc0]
add esp, 0x10
test eax, eax
je 0x401bde
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.0040400d
mov edi, eax
mov byte [ebp - 4], 0xb
push dword [ebp - 0xc0]
call fcn.00415300
pop ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00402d51
mov esi, eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xc
push eax
mov edx, str.Failed_to_get_page_at_
lea ecx, [ebp - 0xb8]
call fcn.00402f8e
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa0]
mov edx, eax
mov dword [esp], str..__CURL_error_is_:
call fcn.00403020
push esi
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x88]
call fcn.0040304f
push 0x4adfe4
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x70]
call fcn.00403020
push edi
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x40]
call fcn.0040304f
push ecx
push ecx
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0xbc], esp
mov edx, eax
push 0x4ade10
call fcn.00403020
pop ecx
mov byte [ebp - 4], 0x12
call fcn.0040d33a
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.0040d682
lea ecx, [ebp - 0x40]
call fcn.00402dd0
lea ecx, [ebp - 0x70]
call fcn.00402dd0
lea ecx, [ebp - 0x88]
call fcn.00402dd0
lea ecx, [ebp - 0xa0]
call fcn.00402dd0
lea ecx, [ebp - 0xb8]
call fcn.00402dd0
lea ecx, [ebp - 0x58]
call fcn.00402dd0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00402dd0
lea eax, [ebx + 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402d51
mov byte [ebp - 4], 0x13
sub esp, 0x18
mov edx, str.CURL_error_buffer_:
mov ecx, esp
mov dword [ebp - 0xbc], esp
push eax
call fcn.00402ff3
pop ecx
mov byte [ebp - 4], 0x14
call fcn.0040d33a
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.0040d682
lea ecx, [ebp - 0x28]
call fcn.00402dd0
push dword [ebp - 0xc0]
mov ecx, ebx
call fcn.00402726
jmp 0x401d6b
xor ecx, ecx
cmp dword [ebx + 0x14c], ecx
jne 0x401ccc
mov edx, dword [ebx + 0x148]
lea ecx, [ebp - 0x58]
call fcn.004040ab
push eax
mov edx, str.Got_:
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
call fcn.00402ff3
sub esp, 0x14
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0xbc], esp
mov edx, eax
push str._byte_s__of_data._n
call fcn.00403020
pop ecx
mov byte [ebp - 4], 0x17
call fcn.0040d33a
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.0040d4dc
lea ecx, [ebp - 0x28]
call fcn.00402dd0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.00402dd0
cmp dword [esi], 0xc8
je 0x401cca
mov eax, dword [ebx + 0x148]
test eax, eax
jne 0x401c80
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xbc], esp
push str.No_data_was_returned_from_the_server_
call fcn.00402d51
mov byte [ebp - 4], 0x18
jmp 0x401d5b
push eax
push dword [ebx + 0x144]
lea ecx, [ebp - 0x28]
call fcn.00402d7e
sub esp, 0x18
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0xbc], esp
mov edx, str.Data_returned_:
push eax
call fcn.00402ff3
pop ecx
mov byte [ebp - 4], 0x1a
call fcn.0040d33a
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.0040d4dc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00402dd0
xor ecx, ecx
test edi, edi
je 0x401d3a
mov edx, dword [ebp - 0xc4]
test edx, edx
je 0x401d3a
mov eax, dword [ebx + 0x144]
mov dword [edi], eax
mov eax, dword [ebx + 0x148]
mov dword [edx], eax
mov dword [ebx + 0x144], ecx
mov dword [ebx + 0x148], ecx
mov ecx, ebx
call fcn.004027d7
mov byte [ebp - 0xc8], 1
lea ecx, [ebp + 8]
call fcn.00402dd0
lea ecx, [ebp + 0x20]
call fcn.00402dd0
lea ecx, [ebp + 0x38]
call fcn.00402dd0
lea ecx, [ebp + 0x50]
call fcn.00402dd0
lea ecx, [ebp + 0x6c]
call fcn.00402dd0
mov al, byte [ebp - 0xc8]
call fcn.004543a2
ret 0x84
cmp dword [ebx + 0x14c], ecx
jne 0x401cea
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xbc], esp
push str.Error_with_download.__The_return_data_buffers_were_NULL_
call fcn.00402d51
mov byte [ebp - 4], 0x1b
call fcn.0040d33a
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040d682
mov ecx, ebx
mov byte [ebx + 0x3c], 0
call fcn.004027d7
jmp 0x401d04