Function at 0x4800b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f0
mov eax, dword [0x4a9018]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2f4], 0xffffffff
mov eax, dword [ebp + 0x10]
shl eax, 4
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax + 0x1a0]
mov dword [ebp - 0x29c], edx
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x308], 0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc0], 2
jne 0x48015f
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 0xc]
cmp dword [edx + ecx + 0x158], 0xffffffff
jne 0x48012e
mov dword [ebp - 0x354], 0
jmp 0x480138
mov dword [ebp - 0x354], 1
mov eax, dword [ebp - 0x354]
shl eax, 4
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + eax + 0x1c0], 2
je 0x48015f
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xb4]
mov dword [ebp - 0x360], eax
jmp 0x48016b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x6c]
mov dword [ebp - 0x360], edx
mov eax, dword [ebp - 0x360]
mov dword [ebp - 0x350], eax
xor ecx, ecx
jne 0x480177
push 1
push 2
push 1
push 5
call fcn.00462a00
add esp, 0x10
movzx edx, al
test edx, edx
je 0x480196
xor eax, eax
jne 0x480192
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x268]
test edx, edx
je 0x4801e2
push str.wine_get_version
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4801e2
push 3
push 2
push 3
push 6
call fcn.00462a00
add esp, 0x10
movzx eax, al
test eax, eax
je 0x4801e2
mov dword [ebp - 0x364], 1
jmp 0x4801ec
mov dword [ebp - 0x364], 0
cmp dword [ebp - 0x364], 0
jne 0x480201
mov dword [ebp - 0x368], 0
jmp 0x48020b
mov dword [ebp - 0x368], 1
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov al, byte [ebp - 0x368]
mov byte [edx + 0x46], al
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xc0], 2
jne 0x48027b
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 0xc]
cmp dword [eax + edx + 0x158], 0xffffffff
jne 0x48024a
mov dword [ebp - 0x2f8], 0
jmp 0x480254
mov dword [ebp - 0x2f8], 1
mov ecx, dword [ebp - 0x2f8]
shl ecx, 4
mov edx, dword [ebp + 0xc]
cmp dword [edx + ecx + 0x1c0], 2
je 0x48027b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x224]
mov dword [ebp - 0x2fc], ecx
jmp 0x48028a
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x1f0]
mov dword [ebp - 0x2fc], eax
cmp dword [ebp - 0x2fc], 0
je 0x4802d6
push 3
push 2
push 1
push 6
call fcn.00462a00
add esp, 0x10
movzx ecx, al
test ecx, ecx
je 0x4802b9
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 8]
mov byte [eax + 0x47], 1
jmp 0x4802d4
push 0x4ad658
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044c100
add esp, 8
mov eax, 0x4d
jmp 0x481529
jmp 0x4802e3
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 8]
mov byte [eax + 0x47], 0
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov dword [edx], 0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc0], 2
jne 0x480351
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 0xc]
cmp dword [edx + ecx + 0x158], 0xffffffff
jne 0x48031f
mov dword [ebp - 0x300], 0
jmp 0x480329
mov dword [ebp - 0x300], 1
mov eax, dword [ebp - 0x300]
shl eax, 4
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + eax + 0x1c0], 2
je 0x480351
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x49b]
mov dword [ebp - 0x304], eax
jmp 0x480361
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x433]
mov dword [ebp - 0x304], edx
cmp dword [ebp - 0x304], 0
je 0x4803de
mov eax, dword [ebp + 8]
push eax
call fcn.0045a870
add esp, 4
mov ecx, dword [ebp + 0x10]
push ecx
push 0
lea edx, [ebp - 0x308]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045a540
add esp, 0x14
movzx edx, al
test edx, edx
jne 0x4803d2
mov eax, dword [ebp - 0x29c]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x308]
mov dword [ecx], edx
xor eax, eax
jne 0x4803ab
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
add ecx, 1
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 8]
mov edx, dword [eax]
mov dword [edx + 0x10], ecx
xor eax, eax
jne 0x4803ce
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045a840
add esp, 4
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 8]
cmp dword [eax], 0
jne 0x481057
push 0x38
push 0
lea ecx, [ebp - 0x3c0]
push ecx
call fcn.0041e190
add esp, 0xc
mov dword [ebp - 0x3c0], 4
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0x214]
test eax, eax
je 0x4804a8
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
movzx eax, byte [edx + 0x47]
test eax, eax
je 0x48043c
mov dword [ebp - 0x390], 8
jmp 0x480446
mov dword [ebp - 0x390], 0x20
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x463]
test edx, edx
je 0x48046b
mov eax, dword [ebp - 0x390]
or eax, 0x1800
mov dword [ebp - 0x390], eax
xor ecx, ecx
jne 0x480465
jmp 0x4804a6
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x465]
test eax, eax
je 0x480491
mov ecx, dword [ebp - 0x390]
or ecx, 0x1a00
mov dword [ebp - 0x390], ecx
xor edx, edx
jne 0x48048b
jmp 0x4804a6
mov eax, dword [ebp - 0x390]
or eax, 0x200
mov dword [ebp - 0x390], eax
xor ecx, ecx
jne 0x4804a2
jmp 0x4804b6
mov dword [ebp - 0x390], 0x1808
xor edx, edx
jne 0x4804b2
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 0x215]
test ecx, ecx
jne 0x4804d7
mov edx, dword [ebp - 0x390]
or edx, 4
mov dword [ebp - 0x390], edx
xor eax, eax
jne 0x4804d3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x1e4]
mov dword [ebp - 0x30c], edx
cmp dword [ebp - 0x30c], 7
ja case.default.0x4804f5
mov eax, dword [ebp - 0x30c]
jmp dword [eax*4 + 0x481538]
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x3c0]
push eax
call fcn.00483420
add esp, 0xc
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0
je 0x48052d
mov eax, dword [ebp - 0x2a8]
jmp 0x481529
jmp 0x480562
mov dword [ebp - 0x3a0], 0x20
jmp 0x480562
mov dword [ebp - 0x3a0], 8
jmp 0x480562
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044c100
add esp, 8
mov eax, 0x23
jmp 0x481529
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0xc0], 2
jne 0x4805c0
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + eax + 0x158], 0xffffffff
jne 0x48058f
mov dword [ebp - 0x310], 0
jmp 0x480599
mov dword [ebp - 0x310], 1
mov edx, dword [ebp - 0x310]
shl edx, 4
mov eax, dword [ebp + 0xc]
cmp dword [eax + edx + 0x1c0], 2
je 0x4805c0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x234]
mov dword [ebp - 0x314], edx
jmp 0x4805cf
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x200]
mov dword [ebp - 0x314], ecx
cmp dword [ebp - 0x314], 0
je 0x48068a
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0xc0], 2
jne 0x48063a
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + eax + 0x158], 0xffffffff
jne 0x480609
mov dword [ebp - 0x318], 0
jmp 0x480613
mov dword [ebp - 0x318], 1
mov edx, dword [ebp - 0x318]
shl edx, 4
mov eax, dword [ebp + 0xc]
cmp dword [eax + edx + 0x1c0], 2
je 0x48063a
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x234]
mov dword [ebp - 0x31c], edx
jmp 0x480649
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x200]
mov dword [ebp - 0x31c], ecx
mov edx, dword [ebp - 0x31c]
push edx
lea eax, [ebp - 0x3c0]
push eax
call fcn.00481770
add esp, 8
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0
je 0x48068a
push str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044c100
add esp, 8
mov eax, dword [ebp - 0x2a8]
jmp 0x481529
mov edx, dword [ebp + 8]
cmp dword [edx + 0x410], 0
jne 0x4806a6
mov eax, dword [ebp + 8]
cmp dword [eax + 0x428], 0
je 0x480edf
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x344], 0
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2d0], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x428], 0
je 0x480704
mov dword [ebp - 0x320], 1
jmp 0x48070e
mov dword [ebp - 0x320], 0
cmp dword [ebp - 0x320], 0
jne 0x480723
mov dword [ebp - 0x324], 0
jmp 0x48072d
mov dword [ebp - 0x324], 1
mov dl, byte [ebp - 0x324]
mov byte [ebp - 0x29e], dl
mov dword [ebp - 0x2bc], 0
movzx eax, byte [ebp - 0x29e]
test eax, eax
je 0x480776
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x428]
mov eax, dword [edx]
mov dword [ebp - 0x2c4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x428]
mov eax, dword [edx + 4]
mov dword [ebp - 0x2d0], eax
jmp 0x480847
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x410]
mov dword [ebp - 0x2bc], edx
cmp dword [ebp - 0x2bc], 0
jne 0x480798
mov eax, 0x1b
jmp 0x481529
lea eax, [ebp - 0x344]
push eax
lea ecx, [ebp - 0x2d8]
push ecx
lea edx, [ebp - 0x2e8]
push edx
mov eax, dword [ebp - 0x2bc]
push eax
call fcn.00481560
add esp, 0x10
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0
je 0x480801
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x410]
movsx edx, byte [ecx + edx]
test edx, edx
je 0x480801
push 0x4ad5e8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x410]
push ecx
call fcn.00460231
add esp, 8
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0x2a8], 0
je 0x480847
cmp dword [ebp - 0x2ac], 0
jne 0x480847
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x410]
push eax
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044c100
add esp, 0xc
mov dword [ebp - 0x2bc], 0
xor edx, edx
jne 0x48082e
mov eax, dword [ebp - 0x2a8]
jmp 0x481529
cmp dword [ebp - 0x2ac], 0
jne 0x48085b
movzx eax, byte [ebp - 0x29e]
test eax, eax
je 0x4808d8
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x44c], 0
je 0x4808d8
push 0x4ad5a8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44c]
push eax
call fcn.0045fa50
add esp, 8
test eax, eax
jne 0x4808d8
movzx ecx, byte [ebp - 0x29e]
test ecx, ecx
je 0x480899
mov dword [ebp - 0x328], str._memory_blob_
jmp 0x4808a8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x410]
mov dword [ebp - 0x328], eax
mov ecx, dword [ebp - 0x328]
push ecx
push str.schannel:_certificate_format_compatibility_error__for__s
mov edx, dword [ebp + 8]
push edx
call fcn.0044c100
add esp, 0xc
mov dword [ebp - 0x2bc], 0
xor eax, eax
jne 0x4808c0
mov eax, 0x3a
jmp 0x481529
cmp dword [ebp - 0x2ac], 0
jne 0x4808f0
movzx ecx, byte [ebp - 0x29e]
test ecx, ecx
je 0x480d59
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2dc], 0
movzx edx, byte [ebp - 0x29e]
test edx, edx
je 0x48091b
mov dword [ebp - 0x32c], 0x4ad54c
jmp 0x48092a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x410]
mov dword [ebp - 0x32c], ecx
mov edx, dword [ebp - 0x32c]
mov dword [ebp - 0x2e4], edx
mov dword [ebp - 0x2bc], 0
xor eax, eax
jne 0x480936
cmp dword [ebp - 0x2ac], 0
je 0x480afb
mov dword [ebp - 0x2e0], 0
push 2
push 0
mov ecx, dword [ebp - 0x2ac]
push ecx
call fcn.0042449a
add esp, 0xc
test eax, eax
jne 0x48097e
mov dword [ebp - 0x330], 1
jmp 0x480988
mov dword [ebp - 0x330], 0
cmp dword [ebp - 0x330], 0
jne 0x48099d
mov dword [ebp - 0x334], 0
jmp 0x4809a7
mov dword [ebp - 0x334], 1
mov dl, byte [ebp - 0x334]
mov byte [ebp - 0x29d], dl
movzx eax, byte [ebp - 0x29d]
test eax, eax
je 0x4809d3
mov ecx, dword [ebp - 0x2ac]
push ecx
call fcn.0042d6c8
add esp, 4
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2e0], 0
jge 0x4809e5
mov byte [ebp - 0x29d], 0
jmp 0x4809f1
mov edx, dword [ebp - 0x2e0]
mov dword [ebp - 0x2d0], edx
movzx eax, byte [ebp - 0x29d]
test eax, eax
je 0x480a54
push 0
push 0
mov ecx, dword [ebp - 0x2ac]
push ecx
call fcn.0042449a
add esp, 0xc
test eax, eax
jne 0x480a1f
mov dword [ebp - 0x338], 1
jmp 0x480a29
mov dword [ebp - 0x338], 0
cmp dword [ebp - 0x338], 0
jne 0x480a3e
mov dword [ebp - 0x33c], 0
jmp 0x480a48
mov dword [ebp - 0x33c], 1
mov dl, byte [ebp - 0x33c]
mov byte [ebp - 0x29d], dl
movzx eax, byte [ebp - 0x29d]
test eax, eax
je 0x480a78
mov ecx, dword [ebp - 0x2d0]
add ecx, 1
push ecx
call dword [0x4a9970]
add esp, 4
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0
je 0x480aa5
mov edx, dword [ebp - 0x2ac]
push edx
push 1
mov eax, dword [ebp - 0x2d0]
push eax
mov ecx, dword [ebp - 0x2c4]
push ecx
call fcn.0042491d
add esp, 0x10
cmp eax, 1
je 0x480aac
mov byte [ebp - 0x29d], 0
mov edx, dword [ebp - 0x2ac]
push edx
call fcn.00424c1b
add esp, 4
movzx eax, byte [ebp - 0x29d]
test eax, eax
jne 0x480afb
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x410]
push edx
push str.schannel:_Failed_to_read_cert_file__s
mov eax, dword [ebp + 8]
push eax
call fcn.0044c100
add esp, 0xc
mov ecx, dword [ebp - 0x2c4]
push ecx
call dword [0x4a9978]
add esp, 4
mov eax, 0x3a
jmp 0x481529
mov edx, dword [ebp - 0x2c4]
mov dword [ebp - 0x3c4], edx
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x3c8], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x45c], 0
je 0x480b79
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x45c]
mov dword [ebp - 0x2d4], eax
mov ecx, dword [ebp - 0x2d4]
add ecx, 1
mov dword [ebp - 0x380], ecx
mov edx, dword [ebp - 0x2d4]
mov al, byte [edx]
mov byte [ebp - 0x2bd], al
add dword [ebp - 0x2d4], 1
cmp byte [ebp - 0x2bd], 0
jne 0x480b3d
mov ecx, dword [ebp - 0x2d4]
sub ecx, dword [ebp - 0x380]
mov dword [ebp - 0x384], ecx
mov edx, dword [ebp - 0x384]
mov dword [ebp - 0x2c8], edx
mov eax, dword [ebp - 0x2c8]
lea ecx, [eax + eax + 2]
push ecx
call dword [0x4a9970]
add esp, 4
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], 0
je 0x480c4d
cmp dword [ebp - 0x2c8], 0
jbe 0x480be0
mov edx, dword [ebp - 0x2c8]
add edx, 1
push edx
mov eax, dword [ebp - 0x2cc]
push eax
mov ecx, dword [ebp - 0x2c8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x45c]
push eax
push 8
push 0xfde9
call fcn.00483600
add esp, 0x18
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 0x2dc], 0
jl 0x480c0b
mov ecx, dword [ebp - 0x2dc]
cmp ecx, dword [ebp - 0x2c8]
jg 0x480c0b
xor edx, edx
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [ebp - 0x2cc]
mov word [ecx + eax*2], dx
jmp 0x480c1f
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp - 0x2cc]
mov word [edx + eax], cx
push 0
mov eax, dword [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x3c8]
push ecx
call fcn.00483b70
add esp, 0xc
mov dword [ebp - 0x2b0], eax
mov edx, dword [ebp - 0x2cc]
push edx
call dword [0x4a9978]
add esp, 4
movzx eax, byte [ebp - 0x29e]
test eax, eax
jne 0x480c68
mov ecx, dword [ebp - 0x2c4]
push ecx
call dword [0x4a9978]
add esp, 4
cmp dword [ebp - 0x2b0], 0
jne 0x480cc8
call fcn.00483780
mov dword [ebp - 0x340], eax
cmp dword [ebp - 0x340], 0x56
jne 0x480c9f
mov edx, dword [ebp - 0x2e4]
push edx
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
mov eax, dword [ebp + 8]
push eax
call fcn.0044c100
add esp, 0xc
jmp 0x480cbe
mov ecx, dword [ebp - 0x340]
push ecx
mov edx, dword [ebp - 0x2e4]
push edx
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
mov eax, dword [ebp + 8]
push eax
call fcn.0044c100
add esp, 0x10
mov eax, 0x3a
jmp 0x481529
push 0
push 0
push 0
push 0
push 0x10001
mov ecx, dword [ebp - 0x2b0]
push ecx
call fcn.00483e30
add esp, 0x18
mov edx, 4
imul ecx, edx, 0
mov dword [ebp + ecx - 0x2b4], eax
mov edx, 4
imul eax, edx, 0
cmp dword [ebp + eax - 0x2b4], 0
jne 0x480d3e
call fcn.00483780
push eax
mov ecx, dword [ebp - 0x2e4]
push ecx
push str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
mov edx, dword [ebp + 8]
push edx
call fcn.0044c100
add esp, 0x10
push 0
mov eax, dword [ebp - 0x2b0]
push eax
call fcn.00483cf0
add esp, 8
mov eax, 0x3a
jmp 0x481529
mov dword [ebp - 0x3bc], 1
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 0x3b8], ecx
jmp 0x480ece
mov edx, dword [ebp - 0x2d8]
push edx
mov eax, dword [ebp - 0x2e8]
or eax, 0x4000
push eax
push 0
push 0
push 9
call fcn.00484200
add esp, 0x14
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b0], 0
jne 0x480dd6
call fcn.00483780
push eax
mov ecx, dword [ebp - 0x2d8]
push ecx
mov edx, dword [ebp - 0x2e8]
push edx
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
mov eax, dword [ebp + 8]
push eax
call fcn.0044c100
add esp, 0x14
mov ecx, dword [ebp - 0x2d8]
push ecx
call dword [0x4a9978]
add esp, 4
mov dword [ebp - 0x2bc], 0
xor edx, edx
jne 0x480dbe
mov eax, 0x3a
jmp 0x481529
mov eax, dword [ebp - 0x2d8]
push eax
call dword [0x4a9978]
add esp, 4
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x378], ecx
mov dword [ebp - 0x37c], 0x14
push 0
push 0
lea edx, [ebp - 0x37c]
push edx
lea eax, [ebp - 0x18]
push eax
push 4
push 0x28
mov ecx, dword [ebp - 0x344]
push ecx
call fcn.00484340
add esp, 0x1c
test eax, eax
jne 0x480e48
mov dword [ebp - 0x2bc], 0
xor edx, edx
jne 0x480e1f
push 0
mov eax, dword [ebp - 0x2b0]
push eax
call fcn.00483cf0
add esp, 8
mov eax, 0x3a
jmp 0x481529
push 0
lea ecx, [ebp - 0x37c]
push ecx
push 0x10000
push 0
push 0x10001
mov edx, dword [ebp - 0x2b0]
push edx
call fcn.00483e30
add esp, 0x18
mov ecx, 4
imul edx, ecx, 0
mov dword [ebp + edx - 0x2b4], eax
mov dword [ebp - 0x2bc], 0
xor eax, eax
jne 0x480e7b
mov ecx, 4
imul edx, ecx, 0
cmp dword [ebp + edx - 0x2b4], 0
je 0x480eb3
mov dword [ebp - 0x3bc], 1
lea eax, [ebp - 0x2b4]
mov dword [ebp - 0x3b8], eax
jmp 0x480ece
push 0
mov ecx, dword [ebp - 0x2b0]
push ecx
call fcn.00483cf0
add esp, 8
mov eax, 0x3a
jmp 0x481529
push 0
mov edx, dword [ebp - 0x2b0]
push edx
call fcn.00483cf0
add esp, 8
push 0x18
push 1
call dword [0x4a9980]
add esp, 8
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ebp - 0x29c]
mov ecx, dword [eax + 8]
cmp dword [ecx], 0
jne 0x480f4a
push str.schannel:_unable_to_allocate_memory
mov edx, dword [ebp + 8]
push edx
call fcn.0044c100
add esp, 8
mov eax, 4
imul ecx, eax, 0
cmp dword [ebp + ecx - 0x2b4], 0
je 0x480f40
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + eax - 0x2b4]
push ecx
call fcn.00484020
add esp, 4
mov eax, 0x1b
jmp 0x481529
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
mov dword [ecx + 0x10], 1
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
push ecx
push 0
push 0
lea edx, [ebp - 0x3c0]
push edx
push 0
push 2
push str.Microsoft_Unified_Security_Protocol_Provider
push 0
mov eax, dword [0x4afb28]
mov ecx, dword [eax + 0xc]
call ecx
mov dword [ebp - 0x2b8], eax
mov edx, 4
imul eax, edx, 0
cmp dword [ebp + eax - 0x2b4], 0
je 0x480fc7
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + edx - 0x2b4]
push eax
call fcn.00484020
add esp, 4
cmp dword [ebp - 0x2b8], 0
je 0x481057
push 0x100
lea ecx, [ebp - 0x298]
push ecx
mov edx, dword [ebp - 0x2b8]
push edx
call fcn.00474f00
add esp, 0xc
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
mov eax, dword [ebp + 8]
push eax
call fcn.0044c100
add esp, 0xc
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov eax, dword [edx]
push eax
call dword [0x4a9978]
add esp, 4
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov dword [edx], 0
xor eax, eax
jne 0x481001
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x388], ecx
cmp dword [ebp - 0x388], 0x80090300
je 0x481043
jmp 0x48104d
mov eax, 0x1b
jmp 0x481529
mov eax, 0x23
jmp 0x481529
lea edx, [ebp - 0x3e4]
push edx
mov eax, dword [ebp - 0x350]
push eax
push 2
call fcn.004756e9
add esp, 0xc
test eax, eax
je 0x481077
xor ecx, ecx
jne 0x481073
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 8]
movzx ecx, byte [eax + 0x46]
test ecx, ecx
je 0x4811de
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x2ec], 0
mov edx, dword [ebp - 0x2a4]
lea eax, [ebp + edx - 0x98]
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x2a4]
add ecx, 4
mov dword [ebp - 0x2a4], ecx
mov edx, dword [ebp - 0x2a4]
mov dword [ebp + edx - 0x98], 2
mov eax, dword [ebp - 0x2a4]
add eax, 4
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x2a4]
lea edx, [ebp + ecx - 0x98]
mov dword [ebp - 0x2ec], edx
mov eax, dword [ebp - 0x2a4]
add eax, 2
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0x348], ecx
mov edx, dword [ebp - 0x2a4]
mov byte [ebp + edx - 0x98], 8
mov eax, dword [ebp - 0x2a4]
add eax, 1
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [str.http_1.1]
mov dword [ebp + ecx - 0x98], edx
mov eax, dword [0x4ad398]
mov dword [ebp + ecx - 0x94], eax
mov ecx, dword [ebp - 0x2a4]
add ecx, 8
mov dword [ebp - 0x2a4], ecx
xor edx, edx
jne 0x48116f
mov eax, dword [ebp - 0x2a4]
sub eax, dword [ebp - 0x348]
push eax
call fcn.0044c340
add esp, 4
mov ecx, dword [ebp - 0x2ec]
mov word [ecx], ax
mov edx, dword [ebp - 0x2ec]
movzx eax, word [edx]
add eax, 6
mov ecx, dword [ebp - 0x34c]
mov dword [ecx], eax
mov edx, dword [ebp - 0x2a4]
push edx
lea eax, [ebp - 0x98]
push eax
push 0x12
lea ecx, [ebp - 0x3d4]
push ecx
call fcn.004835e0
add esp, 0x10
push 1
lea edx, [ebp - 0x3d4]
push edx
lea eax, [ebp - 0x3e0]
push eax
call fcn.004835c0
add esp, 0xc
jmp 0x48120b
push 0
push 0
push 0
lea ecx, [ebp - 0x3d4]
push ecx
call fcn.004835e0
add esp, 0x10
push 1
lea edx, [ebp - 0x3d4]
push edx
lea eax, [ebp - 0x3e0]
push eax
call fcn.004835c0
add esp, 0xc
push 0
push 0
push 0
lea ecx, [ebp - 0x374]
push ecx
call fcn.004835e0
add esp, 0x10
push 1
lea edx, [ebp - 0x374]
push edx
lea eax, [ebp - 0x3f0]
push eax
call fcn.004835c0
add esp, 0xc
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov dword [edx + 0x38], 0x811c
push 0x10
push 1
call dword [0x4a9980]
add esp, 8
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x29c]
mov ecx, dword [eax + 8]
cmp dword [ecx + 4], 0
jne 0x48128b
push 0x4ad370
mov edx, dword [ebp + 8]
push edx
call fcn.0044c100
add esp, 8
mov eax, 0x1b
jmp 0x481529
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x2f0], eax
cmp dword [ebp - 0x2f0], 0
jne 0x4812aa
mov eax, 0x1b
jmp 0x481529
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
movzx eax, byte [edx + 0x46]
test eax, eax
je 0x4812c9
lea ecx, [ebp - 0x3e0]
mov dword [ebp - 0x35c], ecx
jmp 0x4812d3
mov dword [ebp - 0x35c], 0
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 8]
add eax, 0x3c
push eax
lea ecx, [ebp - 0x3f0]
push ecx
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
push ecx
push 0
mov edx, dword [ebp - 0x35c]
push edx
push 0
push 0
mov eax, dword [ebp - 0x29c]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x38]
push edx
mov eax, dword [ebp - 0x2f0]
push eax
push 0
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [0x4afb28]
mov edx, dword [ecx + 0x18]
call edx
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2f0], 0
xor eax, eax
jne 0x481344
cmp dword [ebp - 0x2b8], 0x90312
je 0x481457
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
push eax
call dword [0x4a9978]
add esp, 4
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov dword [edx + 4], 0
xor eax, eax
jne 0x481362
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x358], ecx
cmp dword [ebp - 0x358], 0x80090300
je 0x4813b2
cmp dword [ebp - 0x358], 0x80090322
je 0x4813e9
jmp 0x481420
push 0x100
lea edx, [ebp - 0x198]
push edx
mov eax, dword [ebp - 0x2b8]
push eax
call fcn.00474f00
add esp, 0xc
push eax
push str.schannel:_initial_InitializeSecurityContext_failed:__s
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044c100
add esp, 0xc
mov eax, 0x1b
jmp 0x481529
push 0x100
lea edx, [ebp - 0x198]
push edx
mov eax, dword [ebp - 0x2b8]
push eax
call fcn.00474f00
add esp, 0xc
push eax
push str.schannel:_SNI_or_certificate_check_failed:__s
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044c100
add esp, 0xc
mov eax, 0x3c
jmp 0x481529
push 0x100
lea edx, [ebp - 0x198]
push edx
mov eax, dword [ebp - 0x2b8]
push eax
call fcn.00474f00
add esp, 0xc
push eax
push 0x4ad2d0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044c100
add esp, 0xc
mov eax, 0x23
jmp 0x481529
xor edx, edx
jne 0x481457
lea eax, [ebp - 0x2f4]
push eax
mov ecx, dword [ebp - 0x374]
push ecx
mov edx, dword [ebp - 0x36c]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4 + 0x158]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044b750
add esp, 0x14
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x36c]
push ecx
mov edx, dword [0x4afb28]
mov eax, dword [edx + 0x40]
call eax
cmp dword [ebp - 0x2a8], 0
jne 0x4814b9
mov ecx, dword [ebp - 0x374]
cmp ecx, dword [ebp - 0x2f4]
je 0x4814df
mov edx, dword [ebp - 0x374]
push edx
mov eax, dword [ebp - 0x2f4]
push eax
push str.schannel:_failed_to_send_initial_handshake_data:_sent__zd_of__lu_bytes
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044c100
add esp, 0x10
mov eax, 0x23
jmp 0x481529
xor edx, edx
jne 0x4814df
mov eax, dword [ebp - 0x29c]
mov ecx, dword [eax + 8]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 8]
mov byte [eax + 0x44], 0
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov byte [edx + 0x45], 0
mov eax, dword [ebp - 0x29c]
mov ecx, dword [eax + 8]
mov byte [ecx + 0x34], 0
mov edx, dword [ebp - 0x29c]
mov dword [edx + 4], 1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c0d2
mov esp, ebp
pop ebp
ret