Function at 0x4f4ba8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
mov eax, dword [0x556c8c]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 0x2fc], 0xffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp + 0xc]
shl eax, 4
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax + 0x468]
mov dword [ebp - 0x2a0], eax
and dword [ebp - 0x2b8], 0
and dword [ebp - 0x2bc], 0
and dword [ebp - 0x310], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x358], 2
jne 0x4f4c51
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax + 0x420], 0xffffffff
jne 0x4f4c20
and dword [ebp - 0x358], 0
jmp 0x4f4c2a
mov dword [ebp - 0x358], 1
mov eax, dword [ebp - 0x358]
shl eax, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax + 0x488], 2
je 0x4f4c51
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34c]
mov dword [ebp - 0x364], eax
jmp 0x4f4c60
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x304]
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x354], eax
xor eax, eax
jne 0x4f4c6c
push 1
push 2
push 1
push 5
call fcn.004bd262
add esp, 0x10
movzx eax, al
test eax, eax
je 0x4f4c99
push str.schannel:_Windows_version_is_old_and_may_not_be_able_to_connect_to_some_servers_due_to_lack_of_SNI__algorithms__etc._n
push dword [ebp - 0x29c]
call fcn.004a78c4
pop ecx
pop ecx
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x534]
test eax, eax
je 0x4f4ce5
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 0x4f4ce5
push 3
push 2
push 3
push 6
call fcn.004bd262
add esp, 0x10
movzx eax, al
test eax, eax
je 0x4f4ce5
mov dword [ebp - 0x368], 1
jmp 0x4f4cec
and dword [ebp - 0x368], 0
cmp dword [ebp - 0x368], 0
jne 0x4f4cfe
and dword [ebp - 0x36c], 0
jmp 0x4f4d08
mov dword [ebp - 0x36c], 1
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
mov cl, byte [ebp - 0x36c]
mov byte [eax + 0x46], cl
mov eax, dword [ebp + 8]
cmp dword [eax + 0x358], 2
jne 0x4f4d73
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax + 0x420], 0xffffffff
jne 0x4f4d42
and dword [ebp - 0x300], 0
jmp 0x4f4d4c
mov dword [ebp - 0x300], 1
mov eax, dword [ebp - 0x300]
shl eax, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax + 0x488], 2
je 0x4f4d73
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4ec]
mov dword [ebp - 0x304], eax
jmp 0x4f4d82
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4b8]
mov dword [ebp - 0x304], eax
cmp dword [ebp - 0x304], 0
je 0x4f4dcd
push 3
push 2
push 1
push 6
call fcn.004bd262
add esp, 0x10
movzx eax, al
test eax, eax
je 0x4f4db1
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
mov byte [eax + 0x47], 1
jmp 0x4f4dcb
push 0x560a08
push dword [ebp - 0x29c]
call fcn.004a7b98
pop ecx
pop ecx
push 0x4d
pop eax
jmp 0x4f5f8e
jmp 0x4f4dda
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
mov byte [eax + 0x47], 0
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
and dword [eax], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x358], 2
jne 0x4f4e43
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax + 0x420], 0xffffffff
jne 0x4f4e0e
and dword [ebp - 0x308], 0
jmp 0x4f4e18
mov dword [ebp - 0x308], 1
mov eax, dword [ebp - 0x308]
shl eax, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax + 0x488], 2
je 0x4f4e43
mov eax, dword [ebp - 0x29c]
movzx eax, byte [eax + 0x8db]
mov dword [ebp - 0x30c], eax
jmp 0x4f4e56
mov eax, dword [ebp - 0x29c]
movzx eax, byte [eax + 0x873]
mov dword [ebp - 0x30c], eax
cmp dword [ebp - 0x30c], 0
je 0x4f4ec5
push dword [ebp + 8]
call fcn.004b5e07
pop ecx
push dword [ebp + 0xc]
push 0
lea eax, [ebp - 0x310]
push eax
push dword [ebp + 8]
call fcn.004b5af0
add esp, 0x10
movzx eax, al
test eax, eax
jne 0x4f4ebc
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x310]
mov dword [eax], ecx
xor eax, eax
jne 0x4f4e97
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
inc eax
mov ecx, dword [ebp - 0x2a0]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx]
mov dword [ecx + 0x10], eax
xor eax, eax
jne 0x4f4eb8
push dword [ebp + 8]
call fcn.004b5dd4
pop ecx
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
cmp dword [eax], 0
jne 0x4f5ad4
push 0x38
push 0
lea eax, [ebp - 0x3c4]
push eax
call fcn.00443110
add esp, 0xc
mov dword [ebp - 0x3c4], 4
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x4dc]
test eax, eax
je 0x4f4f94
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
movzx eax, byte [eax + 0x47]
test eax, eax
je 0x4f4f23
mov dword [ebp - 0x394], 8
jmp 0x4f4f2d
mov dword [ebp - 0x394], 0x20
mov eax, dword [ebp - 0x29c]
movzx eax, byte [eax + 0x8a3]
test eax, eax
je 0x4f4f55
mov eax, dword [ebp - 0x394]
or eax, 0x1800
mov dword [ebp - 0x394], eax
xor eax, eax
jne 0x4f4f4f
jmp 0x4f4f92
mov eax, dword [ebp - 0x29c]
movzx eax, byte [eax + 0x8a5]
test eax, eax
je 0x4f4f7d
mov eax, dword [ebp - 0x394]
or eax, 0x1a00
mov dword [ebp - 0x394], eax
xor eax, eax
jne 0x4f4f77
jmp 0x4f4f92
mov eax, dword [ebp - 0x394]
or eax, 0x200
mov dword [ebp - 0x394], eax
xor eax, eax
jne 0x4f4f8e
jmp 0x4f4fa2
mov dword [ebp - 0x394], 0x1808
xor eax, eax
jne 0x4f4f9e
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x4dd]
test eax, eax
jne 0x4f4fc3
mov eax, dword [ebp - 0x394]
or eax, 4
mov dword [ebp - 0x394], eax
xor eax, eax
jne 0x4f4fbf
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4ac]
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], 0
jl 0x4f504f
cmp dword [ebp - 0x2cc], 1
jle 0x4f500a
cmp dword [ebp - 0x2cc], 2
je 0x4f5043
cmp dword [ebp - 0x2cc], 3
je 0x4f5037
cmp dword [ebp - 0x2cc], 3
jle 0x4f504f
cmp dword [ebp - 0x2cc], 7
jle 0x4f500a
jmp 0x4f504f
push dword [ebp + 8]
lea eax, [ebp - 0x3c4]
push eax
call fcn.004f7d61
pop ecx
pop ecx
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0x2ac], 0
je 0x4f5035
mov eax, dword [ebp - 0x2ac]
jmp 0x4f5f8e
jmp 0x4f5069
mov dword [ebp - 0x3a4], 0x20
jmp 0x4f5069
mov dword [ebp - 0x3a4], 8
jmp 0x4f5069
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push dword [ebp - 0x29c]
call fcn.004a7b98
pop ecx
pop ecx
push 0x23
pop eax
jmp 0x4f5f8e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x358], 2
jne 0x4f50c2
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax + 0x420], 0xffffffff
jne 0x4f5091
and dword [ebp - 0x314], 0
jmp 0x4f509b
mov dword [ebp - 0x314], 1
mov eax, dword [ebp - 0x314]
shl eax, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax + 0x488], 2
je 0x4f50c2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4fc]
mov dword [ebp - 0x318], eax
jmp 0x4f50d1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4c8]
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x318], 0
je 0x4f5186
mov eax, dword [ebp + 8]
cmp dword [eax + 0x358], 2
jne 0x4f5137
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax + 0x420], 0xffffffff
jne 0x4f5106
and dword [ebp - 0x31c], 0
jmp 0x4f5110
mov dword [ebp - 0x31c], 1
mov eax, dword [ebp - 0x31c]
shl eax, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax + 0x488], 2
je 0x4f5137
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4fc]
mov dword [ebp - 0x320], eax
jmp 0x4f5146
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4c8]
mov dword [ebp - 0x320], eax
push dword [ebp - 0x320]
lea eax, [ebp - 0x3c4]
push eax
call fcn.004f6178
pop ecx
pop ecx
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0x2ac], 0
je 0x4f5186
push str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
push dword [ebp - 0x29c]
call fcn.004a7b98
pop ecx
pop ecx
mov eax, dword [ebp - 0x2ac]
jmp 0x4f5f8e
mov eax, dword [ebp - 0x29c]
cmp dword [eax + 0x850], 0
jne 0x4f51a8
mov eax, dword [ebp - 0x29c]
cmp dword [eax + 0x868], 0
je 0x4f597c
and dword [ebp - 0x2f0], 0
and dword [ebp - 0x2e0], 0
and dword [ebp - 0x348], 0
and dword [ebp - 0x2b4], 0
and dword [ebp - 0x2b0], 0
and dword [ebp - 0x2c8], 0
and dword [ebp - 0x2d8], 0
mov eax, dword [ebp - 0x29c]
cmp dword [eax + 0x868], 0
je 0x4f51f4
mov dword [ebp - 0x324], 1
jmp 0x4f51fb
and dword [ebp - 0x324], 0
cmp dword [ebp - 0x324], 0
jne 0x4f520d
and dword [ebp - 0x328], 0
jmp 0x4f5217
mov dword [ebp - 0x328], 1
mov al, byte [ebp - 0x328]
mov byte [ebp - 0x2a2], al
and dword [ebp - 0x2c0], 0
movzx eax, byte [ebp - 0x2a2]
test eax, eax
je 0x4f5263
mov eax, dword [ebp - 0x29c]
mov eax, dword [eax + 0x868]
mov eax, dword [eax]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x29c]
mov eax, dword [eax + 0x868]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2d8], eax
jmp 0x4f5337
mov eax, dword [ebp - 0x29c]
mov eax, dword [eax + 0x850]
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0
jne 0x4f5286
push 0x1b
pop eax
jmp 0x4f5f8e
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp - 0x2c0]
call fcn.004f5f9c
add esp, 0x10
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0x2ac], 0
je 0x4f52f0
xor eax, eax
inc eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x29c]
mov ecx, dword [ecx + 0x850]
movsx eax, byte [ecx + eax]
test eax, eax
je 0x4f52f0
push 0x560aa8
mov eax, dword [ebp - 0x29c]
push dword [eax + 0x850]
call fcn.004baa32
pop ecx
pop ecx
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2ac], 0
je 0x4f5337
cmp dword [ebp - 0x2b0], 0
jne 0x4f5337
mov eax, dword [ebp - 0x29c]
push dword [eax + 0x850]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push dword [ebp - 0x29c]
call fcn.004a7b98
add esp, 0xc
and dword [ebp - 0x2c0], 0
xor eax, eax
jne 0x4f5321
mov eax, dword [ebp - 0x2ac]
jmp 0x4f5f8e
cmp dword [ebp - 0x2b0], 0
jne 0x4f534f
movzx eax, byte [ebp - 0x2a2]
test eax, eax
je 0x4f53cf
mov eax, dword [ebp - 0x29c]
cmp dword [eax + 0x88c], 0
je 0x4f53cf
push 0x560ae8
mov eax, dword [ebp - 0x29c]
push dword [eax + 0x88c]
call fcn.004ba29b
pop ecx
pop ecx
test eax, eax
jne 0x4f53cf
movzx eax, byte [ebp - 0x2a2]
test eax, eax
je 0x4f5391
mov dword [ebp - 0x32c], 0x560aec
jmp 0x4f53a3
mov eax, dword [ebp - 0x29c]
mov eax, dword [eax + 0x850]
mov dword [ebp - 0x32c], eax
push dword [ebp - 0x32c]
push str.schannel:_certificate_format_compatibility_error__for__s
push dword [ebp - 0x29c]
call fcn.004a7b98
add esp, 0xc
and dword [ebp - 0x2c0], 0
xor eax, eax
jne 0x4f53bc
push 0x3a
pop eax
jmp 0x4f5f8e
cmp dword [ebp - 0x2b0], 0
jne 0x4f53e7
movzx eax, byte [ebp - 0x2a2]
test eax, eax
je 0x4f5818
and dword [ebp - 0x2d0], 0
and dword [ebp - 0x2e4], 0
movzx eax, byte [ebp - 0x2a2]
test eax, eax
je 0x4f540c
mov dword [ebp - 0x330], str._memory_blob_
jmp 0x4f541e
mov eax, dword [ebp - 0x29c]
mov eax, dword [eax + 0x850]
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x2ec], eax
and dword [ebp - 0x2c0], 0
xor eax, eax
jne 0x4f542a
cmp dword [ebp - 0x2b0], 0
je 0x4f55cd
and dword [ebp - 0x2e8], 0
push 2
push 0
push dword [ebp - 0x2b0]
call fcn.0045fb82
add esp, 0xc
test eax, eax
jne 0x4f546b
mov dword [ebp - 0x334], 1
jmp 0x4f5472
and dword [ebp - 0x334], 0
cmp dword [ebp - 0x334], 0
jne 0x4f5484
and dword [ebp - 0x338], 0
jmp 0x4f548e
mov dword [ebp - 0x338], 1
mov al, byte [ebp - 0x338]
mov byte [ebp - 0x2a1], al
movzx eax, byte [ebp - 0x2a1]
test eax, eax
je 0x4f54b7
push dword [ebp - 0x2b0]
call fcn.004766cf
pop ecx
mov dword [ebp - 0x2e8], eax
cmp dword [ebp - 0x2e8], 0
jge 0x4f54c9
mov byte [ebp - 0x2a1], 0
jmp 0x4f54d5
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2d8], eax
movzx eax, byte [ebp - 0x2a1]
test eax, eax
je 0x4f5531
push 0
push 0
push dword [ebp - 0x2b0]
call fcn.0045fb82
add esp, 0xc
test eax, eax
jne 0x4f5502
mov dword [ebp - 0x33c], 1
jmp 0x4f5509
and dword [ebp - 0x33c], 0
cmp dword [ebp - 0x33c], 0
jne 0x4f551b
and dword [ebp - 0x340], 0
jmp 0x4f5525
mov dword [ebp - 0x340], 1
mov al, byte [ebp - 0x340]
mov byte [ebp - 0x2a1], al
movzx eax, byte [ebp - 0x2a1]
test eax, eax
je 0x4f5551
mov eax, dword [ebp - 0x2d8]
inc eax
push eax
call dword [0x5576f4]
pop ecx
mov dword [ebp - 0x2c8], eax
cmp dword [ebp - 0x2c8], 0
je 0x4f557b
push dword [ebp - 0x2b0]
push 1
push dword [ebp - 0x2d8]
push dword [ebp - 0x2c8]
call fcn.0046a940
add esp, 0x10
cmp eax, 1
je 0x4f5582
mov byte [ebp - 0x2a1], 0
push dword [ebp - 0x2b0]
call fcn.00460134
pop ecx
movzx eax, byte [ebp - 0x2a1]
test eax, eax
jne 0x4f55cd
mov eax, dword [ebp - 0x29c]
push dword [eax + 0x850]
push str.schannel:_Failed_to_read_cert_file__s
push dword [ebp - 0x29c]
call fcn.004a7b98
add esp, 0xc
push dword [ebp - 0x2c8]
call dword [0x5576fc]
pop ecx
push 0x3a
pop eax
jmp 0x4f5f8e
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x3c8], eax
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x3cc], eax
mov eax, dword [ebp - 0x29c]
cmp dword [eax + 0x89c], 0
je 0x4f564e
mov eax, dword [ebp - 0x29c]
mov eax, dword [eax + 0x89c]
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x2dc]
inc eax
mov dword [ebp - 0x384], eax
mov eax, dword [ebp - 0x2dc]
mov al, byte [eax]
mov byte [ebp - 0x2c1], al
inc dword [ebp - 0x2dc]
cmp byte [ebp - 0x2c1], 0
jne 0x4f5613
mov eax, dword [ebp - 0x2dc]
sub eax, dword [ebp - 0x384]
mov dword [ebp - 0x388], eax
mov eax, dword [ebp - 0x388]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x2d0]
lea eax, [eax + eax + 2]
push eax
call dword [0x5576f4]
pop ecx
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2d4], 0
je 0x4f5718
cmp dword [ebp - 0x2d0], 0
jbe 0x4f56b1
mov eax, dword [ebp - 0x2d0]
inc eax
push eax
push dword [ebp - 0x2d4]
push dword [ebp - 0x2d0]
mov eax, dword [ebp - 0x29c]
push dword [eax + 0x89c]
push 8
push 0xfde9
call fcn.004f7f19
add esp, 0x18
mov dword [ebp - 0x2e4], eax
cmp dword [ebp - 0x2e4], 0
jl 0x4f56dc
mov eax, dword [ebp - 0x2e4]
cmp eax, dword [ebp - 0x2d0]
jg 0x4f56dc
xor eax, eax
mov ecx, dword [ebp - 0x2e4]
mov edx, dword [ebp - 0x2d4]
mov word [edx + ecx*2], ax
jmp 0x4f56ee
push 2
pop eax
imul eax, eax, 0
xor ecx, ecx
mov edx, dword [ebp - 0x2d4]
mov word [edx + eax], cx
push 0
push dword [ebp - 0x2d4]
lea eax, [ebp - 0x3cc]
push eax
call fcn.004f83b6
add esp, 0xc
mov dword [ebp - 0x2b4], eax
push dword [ebp - 0x2d4]
call dword [0x5576fc]
pop ecx
movzx eax, byte [ebp - 0x2a2]
test eax, eax
jne 0x4f5730
push dword [ebp - 0x2c8]
call dword [0x5576fc]
pop ecx
cmp dword [ebp - 0x2b4], 0
jne 0x4f578f
call fcn.004f805d
mov dword [ebp - 0x344], eax
cmp dword [ebp - 0x344], 0x56
jne 0x4f5768
push dword [ebp - 0x2ec]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [ebp - 0x29c]
call fcn.004a7b98
add esp, 0xc
jmp 0x4f5787
push dword [ebp - 0x344]
push dword [ebp - 0x2ec]
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
push dword [ebp - 0x29c]
call fcn.004a7b98
add esp, 0x10
push 0x3a
pop eax
jmp 0x4f5f8e
push 0
push 0
push 0
push 0
push 0x10001
push dword [ebp - 0x2b4]
call fcn.004f8617
add esp, 0x18
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x2b8], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2b8], 0
jne 0x4f57fd
call fcn.004f805d
push eax
push dword [ebp - 0x2ec]
push str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
push dword [ebp - 0x29c]
call fcn.004a7b98
add esp, 0x10
push 0
push dword [ebp - 0x2b4]
call fcn.004f84fe
pop ecx
pop ecx
push 0x3a
pop eax
jmp 0x4f5f8e
mov dword [ebp - 0x3c0], 1
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x3bc], eax
jmp 0x4f596d
push dword [ebp - 0x2e0]
mov eax, dword [ebp - 0x2f0]
or eax, 0x4000
push eax
push 0
push 0
push 9
call fcn.004f895a
add esp, 0x14
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jne 0x4f588c
call fcn.004f805d
push eax
push dword [ebp - 0x2e0]
push dword [ebp - 0x2f0]
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
push dword [ebp - 0x29c]
call fcn.004a7b98
add esp, 0x14
push dword [ebp - 0x2e0]
call dword [0x5576fc]
pop ecx
and dword [ebp - 0x2c0], 0
xor eax, eax
jne 0x4f5879
push 0x3a
pop eax
jmp 0x4f5f8e
push dword [ebp - 0x2e0]
call dword [0x5576fc]
pop ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x37c], eax
mov dword [ebp - 0x380], 0x14
push 0
push 0
lea eax, [ebp - 0x380]
push eax
lea eax, [ebp - 0x18]
push eax
push 4
push 0x28
push dword [ebp - 0x348]
call fcn.004f8a71
add esp, 0x1c
test eax, eax
jne 0x4f58f3
and dword [ebp - 0x2c0], 0
xor eax, eax
jne 0x4f58d1
push 0
push dword [ebp - 0x2b4]
call fcn.004f84fe
pop ecx
pop ecx
push 0x3a
pop eax
jmp 0x4f5f8e
push 0
lea eax, [ebp - 0x380]
push eax
push 0x10000
push 0
push 0x10001
push dword [ebp - 0x2b4]
call fcn.004f8617
add esp, 0x18
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x2b8], eax
and dword [ebp - 0x2c0], 0
xor eax, eax
jne 0x4f5923
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2b8], 0
je 0x4f5956
mov dword [ebp - 0x3c0], 1
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x3bc], eax
jmp 0x4f596d
push 0
push dword [ebp - 0x2b4]
call fcn.004f84fe
pop ecx
pop ecx
push 0x3a
pop eax
jmp 0x4f5f8e
push 0
push dword [ebp - 0x2b4]
call fcn.004f84fe
pop ecx
pop ecx
push 0x18
push 1
call dword [0x557704]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2a0]
mov ecx, dword [ecx + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
cmp dword [eax], 0
jne 0x4f59de
push 0x560c70
push dword [ebp - 0x29c]
call fcn.004a7b98
pop ecx
pop ecx
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2b8], 0
je 0x4f59d6
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x2b8]
call fcn.004f87c0
pop ecx
push 0x1b
pop eax
jmp 0x4f5f8e
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
mov eax, dword [eax]
add eax, 8
push eax
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
push dword [eax]
push 0
push 0
lea eax, [ebp - 0x3c4]
push eax
push 0
push 2
push str.Microsoft_Unified_Security_Protocol_Provider
push 0
mov eax, dword [0x567648]
call dword [eax + 0xc]
mov dword [ebp - 0x2bc], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2b8], 0
je 0x4f5a51
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x2b8]
call fcn.004f87c0
pop ecx
cmp dword [ebp - 0x2bc], 0
je 0x4f5ad4
push 0x100
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x2bc]
call fcn.004ce4a7
add esp, 0xc
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [ebp - 0x29c]
call fcn.004a7b98
add esp, 0xc
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
push dword [eax]
call dword [0x5576fc]
pop ecx
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
and dword [eax], 0
xor eax, eax
jne 0x4f5a88
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x38c], eax
cmp dword [ebp - 0x38c], 0x80090300
je 0x4f5ac4
jmp 0x4f5acc
push 0x1b
pop eax
jmp 0x4f5f8e
push 0x23
pop eax
jmp 0x4f5f8e
lea eax, [ebp - 0x3e8]
push eax
push dword [ebp - 0x354]
push 2
call fcn.004cfd8c
add esp, 0xc
test eax, eax
je 0x4f5b01
push str.schannel:_using_IP_address__SNI_is_not_supported_by_OS._n
push dword [ebp - 0x29c]
call fcn.004a78c4
pop ecx
pop ecx
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
movzx eax, byte [eax + 0x46]
test eax, eax
je 0x4f5c6b
and dword [ebp - 0x2a8], 0
and dword [ebp - 0x34c], 0
and dword [ebp - 0x350], 0
and dword [ebp - 0x2f4], 0
mov eax, dword [ebp - 0x2a8]
lea eax, [ebp + eax - 0x98]
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x2a8]
add eax, 4
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp + eax - 0x98], 2
mov eax, dword [ebp - 0x2a8]
add eax, 4
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
lea eax, [ebp + eax - 0x98]
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x2a8]
inc eax
inc eax
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x34c], eax
mov eax, dword [ebp - 0x2a8]
mov byte [ebp + eax - 0x98], 8
mov eax, dword [ebp - 0x2a8]
inc eax
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [0x560d30]
mov dword [ebp + eax - 0x98], ecx
mov ecx, dword [0x560d34]
mov dword [ebp + eax - 0x94], ecx
mov eax, dword [ebp - 0x2a8]
add eax, 8
mov dword [ebp - 0x2a8], eax
push 0x560d3c
push str.schannel:_ALPN__offering__s_n
push dword [ebp - 0x29c]
call fcn.004a78c4
add esp, 0xc
mov eax, dword [ebp - 0x2a8]
sub eax, dword [ebp - 0x34c]
push eax
call fcn.004a7e38
pop ecx
mov ecx, dword [ebp - 0x2f4]
mov word [ecx], ax
mov eax, dword [ebp - 0x2f4]
movzx eax, word [eax]
add eax, 6
mov ecx, dword [ebp - 0x350]
mov dword [ecx], eax
push dword [ebp - 0x2a8]
lea eax, [ebp - 0x98]
push eax
push 0x12
lea eax, [ebp - 0x3d8]
push eax
call fcn.004f7efa
add esp, 0x10
push 1
lea eax, [ebp - 0x3d8]
push eax
lea eax, [ebp - 0x3e4]
push eax
call fcn.004f7edd
add esp, 0xc
jmp 0x4f5c98
push 0
push 0
push 0
lea eax, [ebp - 0x3d8]
push eax
call fcn.004f7efa
add esp, 0x10
push 1
lea eax, [ebp - 0x3d8]
push eax
lea eax, [ebp - 0x3e4]
push eax
call fcn.004f7edd
add esp, 0xc
push 0
push 0
push 0
lea eax, [ebp - 0x378]
push eax
call fcn.004f7efa
add esp, 0x10
push 1
lea eax, [ebp - 0x378]
push eax
lea eax, [ebp - 0x3f4]
push eax
call fcn.004f7edd
add esp, 0xc
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
mov dword [eax + 0x38], 0x811c
push 0x10
push 1
call dword [0x557704]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2a0]
mov ecx, dword [ecx + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
cmp dword [eax + 4], 0
jne 0x4f5d16
push 0x560d68
push dword [ebp - 0x29c]
call fcn.004a7b98
pop ecx
pop ecx
push 0x1b
pop eax
jmp 0x4f5f8e
mov eax, dword [ebp - 0x354]
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0
jne 0x4f5d33
push 0x1b
pop eax
jmp 0x4f5f8e
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
movzx eax, byte [eax + 0x46]
test eax, eax
je 0x4f5d52
lea eax, [ebp - 0x3e4]
mov dword [ebp - 0x360], eax
jmp 0x4f5d59
and dword [ebp - 0x360], 0
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
add eax, 8
push eax
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
add eax, 0x3c
push eax
lea eax, [ebp - 0x3f4]
push eax
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
push dword [eax + 4]
push 0
push dword [ebp - 0x360]
push 0
push 0
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
push dword [eax + 0x38]
push dword [ebp - 0x2f8]
push 0
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
push dword [eax]
mov eax, dword [0x567648]
call dword [eax + 0x18]
mov dword [ebp - 0x2bc], eax
and dword [ebp - 0x2f8], 0
xor eax, eax
jne 0x4f5dc2
cmp dword [ebp - 0x2bc], 0x90312
je 0x4f5ec9
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
push dword [eax + 4]
call dword [0x5576fc]
pop ecx
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
and dword [eax + 4], 0
xor eax, eax
jne 0x4f5ddd
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 0x80090300
je 0x4f5e27
cmp dword [ebp - 0x35c], 0x80090322
je 0x4f5e5d
jmp 0x4f5e93
push 0x100
lea eax, [ebp - 0x198]
push eax
push dword [ebp - 0x2bc]
call fcn.004ce4a7
add esp, 0xc
push eax
push 0x560d8c
push dword [ebp - 0x29c]
call fcn.004a7b98
add esp, 0xc
push 0x1b
pop eax
jmp 0x4f5f8e
push 0x100
lea eax, [ebp - 0x198]
push eax
push dword [ebp - 0x2bc]
call fcn.004ce4a7
add esp, 0xc
push eax
push 0x560dc4
push dword [ebp - 0x29c]
call fcn.004a7b98
add esp, 0xc
push 0x3c
pop eax
jmp 0x4f5f8e
push 0x100
lea eax, [ebp - 0x198]
push eax
push dword [ebp - 0x2bc]
call fcn.004ce4a7
add esp, 0xc
push eax
push str.schannel:_initial_InitializeSecurityContext_failed:__s
push dword [ebp - 0x29c]
call fcn.004a7b98
add esp, 0xc
push 0x23
pop eax
jmp 0x4f5f8e
xor eax, eax
jne 0x4f5ec9
lea eax, [ebp - 0x2fc]
push eax
push dword [ebp - 0x378]
push dword [ebp - 0x370]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push dword [ecx + eax*4 + 0x420]
push dword [ebp + 8]
call fcn.004a71c8
add esp, 0x14
mov dword [ebp - 0x2ac], eax
push dword [ebp - 0x370]
mov eax, dword [0x567648]
call dword [eax + 0x40]
cmp dword [ebp - 0x2ac], 0
jne 0x4f5f23
mov eax, dword [ebp - 0x378]
cmp eax, dword [ebp - 0x2fc]
je 0x4f5f47
push dword [ebp - 0x378]
push dword [ebp - 0x2fc]
push str.schannel:_failed_to_send_initial_handshake_data:_sent__zd_of__lu_bytes
push dword [ebp - 0x29c]
call fcn.004a7b98
add esp, 0x10
push 0x23
pop eax
jmp 0x4f5f8e
xor eax, eax
jne 0x4f5f47
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
and dword [eax + 0x40], 0
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
mov byte [eax + 0x44], 0
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
mov byte [eax + 0x45], 0
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 8]
mov byte [eax + 0x34], 0
mov eax, dword [ebp - 0x2a0]
mov dword [eax + 4], 1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00426fa0
mov esp, ebp
pop ebp
ret