Function at 0x4828b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e0
mov eax, dword [0x4aa018]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2f0], 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 - 0x304], 0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc0], 2
jne 0x48295f
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 0xc]
cmp dword [edx + ecx + 0x158], 0xffffffff
jne 0x48292e
mov dword [ebp - 0x344], 0
jmp 0x482938
mov dword [ebp - 0x344], 1
mov eax, dword [ebp - 0x344]
shl eax, 4
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + eax + 0x1c0], 2
je 0x48295f
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xb4]
mov dword [ebp - 0x35c], eax
jmp 0x48296b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x6c]
mov dword [ebp - 0x35c], edx
mov eax, dword [ebp - 0x35c]
mov dword [ebp - 0x34c], eax
xor ecx, ecx
jne 0x482977
push 1
push 2
push 1
push 5
call fcn.004649b0
add esp, 0x10
movzx edx, al
test edx, edx
je 0x482996
xor eax, eax
jne 0x482992
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x268]
test edx, edx
je 0x4829e2
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 0x4829e2
push 3
push 2
push 3
push 6
call fcn.004649b0
add esp, 0x10
movzx eax, al
test eax, eax
je 0x4829e2
mov dword [ebp - 0x360], 1
jmp 0x4829ec
mov dword [ebp - 0x360], 0
cmp dword [ebp - 0x360], 0
jne 0x482a01
mov dword [ebp - 0x364], 0
jmp 0x482a0b
mov dword [ebp - 0x364], 1
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov al, byte [ebp - 0x364]
mov byte [edx + 0x46], al
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xc0], 2
jne 0x482a7b
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 0xc]
cmp dword [eax + edx + 0x158], 0xffffffff
jne 0x482a4a
mov dword [ebp - 0x2f4], 0
jmp 0x482a54
mov dword [ebp - 0x2f4], 1
mov ecx, dword [ebp - 0x2f4]
shl ecx, 4
mov edx, dword [ebp + 0xc]
cmp dword [edx + ecx + 0x1c0], 2
je 0x482a7b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x224]
mov dword [ebp - 0x2f8], ecx
jmp 0x482a8a
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x1f0]
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0
je 0x482ad6
push 3
push 2
push 1
push 6
call fcn.004649b0
add esp, 0x10
movzx ecx, al
test ecx, ecx
je 0x482ab9
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 8]
mov byte [eax + 0x47], 1
jmp 0x482ad4
push 0x4ae9f8
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044d640
add esp, 8
mov eax, 0x4d
jmp 0x483d07
jmp 0x482ae3
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 0x482b51
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 0xc]
cmp dword [edx + ecx + 0x158], 0xffffffff
jne 0x482b1f
mov dword [ebp - 0x2fc], 0
jmp 0x482b29
mov dword [ebp - 0x2fc], 1
mov eax, dword [ebp - 0x2fc]
shl eax, 4
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + eax + 0x1c0], 2
je 0x482b51
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x49b]
mov dword [ebp - 0x300], eax
jmp 0x482b61
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x433]
mov dword [ebp - 0x300], edx
cmp dword [ebp - 0x300], 0
je 0x482bde
mov eax, dword [ebp + 8]
push eax
call fcn.0045bb80
add esp, 4
mov ecx, dword [ebp + 0x10]
push ecx
push 0
lea edx, [ebp - 0x304]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045b850
add esp, 0x14
movzx edx, al
test edx, edx
jne 0x482bd2
mov eax, dword [ebp - 0x29c]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x304]
mov dword [ecx], edx
xor eax, eax
jne 0x482bab
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 0x482bce
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045bb50
add esp, 4
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 8]
cmp dword [eax], 0
jne 0x483837
push 0x38
push 0
lea ecx, [ebp - 0x3b0]
push ecx
call fcn.0041d790
add esp, 0xc
mov dword [ebp - 0x3b0], 4
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0x214]
test eax, eax
je 0x482ca8
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
movzx eax, byte [edx + 0x47]
test eax, eax
je 0x482c3c
mov dword [ebp - 0x380], 8
jmp 0x482c46
mov dword [ebp - 0x380], 0x20
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x463]
test edx, edx
je 0x482c6b
mov eax, dword [ebp - 0x380]
or eax, 0x1800
mov dword [ebp - 0x380], eax
xor ecx, ecx
jne 0x482c65
jmp 0x482ca6
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x465]
test eax, eax
je 0x482c91
mov ecx, dword [ebp - 0x380]
or ecx, 0x1a00
mov dword [ebp - 0x380], ecx
xor edx, edx
jne 0x482c8b
jmp 0x482ca6
mov eax, dword [ebp - 0x380]
or eax, 0x200
mov dword [ebp - 0x380], eax
xor ecx, ecx
jne 0x482ca2
jmp 0x482cb6
mov dword [ebp - 0x380], 0x1808
xor edx, edx
jne 0x482cb2
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 0x215]
test ecx, ecx
jne 0x482cd7
mov edx, dword [ebp - 0x380]
or edx, 4
mov dword [ebp - 0x380], edx
xor eax, eax
jne 0x482cd3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x1e4]
mov dword [ebp - 0x308], edx
cmp dword [ebp - 0x308], 7
ja case.default.0x482cf5
mov eax, dword [ebp - 0x308]
jmp dword [eax*4 + 0x483d18]
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x3b0]
push eax
call fcn.00484690
add esp, 0xc
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0
je 0x482d2d
mov eax, dword [ebp - 0x2a8]
jmp 0x483d07
jmp 0x482d62
mov dword [ebp - 0x390], 0x20
jmp 0x482d62
mov dword [ebp - 0x390], 8
jmp 0x482d62
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044d640
add esp, 8
mov eax, 0x23
jmp 0x483d07
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0xc0], 2
jne 0x482dc0
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + eax + 0x158], 0xffffffff
jne 0x482d8f
mov dword [ebp - 0x30c], 0
jmp 0x482d99
mov dword [ebp - 0x30c], 1
mov edx, dword [ebp - 0x30c]
shl edx, 4
mov eax, dword [ebp + 0xc]
cmp dword [eax + edx + 0x1c0], 2
je 0x482dc0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x234]
mov dword [ebp - 0x310], edx
jmp 0x482dcf
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x200]
mov dword [ebp - 0x310], ecx
cmp dword [ebp - 0x310], 0
je 0x482e8a
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0xc0], 2
jne 0x482e3a
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + eax + 0x158], 0xffffffff
jne 0x482e09
mov dword [ebp - 0x314], 0
jmp 0x482e13
mov dword [ebp - 0x314], 1
mov edx, dword [ebp - 0x314]
shl edx, 4
mov eax, dword [ebp + 0xc]
cmp dword [eax + edx + 0x1c0], 2
je 0x482e3a
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x234]
mov dword [ebp - 0x318], edx
jmp 0x482e49
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x200]
mov dword [ebp - 0x318], ecx
mov edx, dword [ebp - 0x318]
push edx
lea eax, [ebp - 0x3b0]
push eax
call fcn.00483f50
add esp, 8
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0
je 0x482e8a
push str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044d640
add esp, 8
mov eax, dword [ebp - 0x2a8]
jmp 0x483d07
mov edx, dword [ebp + 8]
cmp dword [edx + 0x410], 0
jne 0x482ea6
mov eax, dword [ebp + 8]
cmp dword [eax + 0x428], 0
je 0x48369e
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2cc], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x428], 0
je 0x482f04
mov dword [ebp - 0x31c], 1
jmp 0x482f0e
mov dword [ebp - 0x31c], 0
cmp dword [ebp - 0x31c], 0
jne 0x482f23
mov dword [ebp - 0x320], 0
jmp 0x482f2d
mov dword [ebp - 0x320], 1
mov dl, byte [ebp - 0x320]
mov byte [ebp - 0x29e], dl
mov dword [ebp - 0x2bc], 0
movzx eax, byte [ebp - 0x29e]
test eax, eax
je 0x482f76
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x428]
mov eax, dword [edx]
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x428]
mov eax, dword [edx + 4]
mov dword [ebp - 0x2cc], eax
jmp 0x483047
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x410]
mov dword [ebp - 0x2bc], edx
cmp dword [ebp - 0x2bc], 0
jne 0x482f98
mov eax, 0x1b
jmp 0x483d07
lea eax, [ebp - 0x340]
push eax
lea ecx, [ebp - 0x2d0]
push ecx
lea edx, [ebp - 0x2e4]
push edx
mov eax, dword [ebp - 0x2bc]
push eax
call fcn.00483d60
add esp, 0x10
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0
je 0x483001
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 0x483001
push 0x4ae96c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x410]
push ecx
call fcn.00461f80
add esp, 8
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0x2a8], 0
je 0x483047
cmp dword [ebp - 0x2ac], 0
jne 0x483047
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.0044d640
add esp, 0xc
mov dword [ebp - 0x2bc], 0
xor edx, edx
jne 0x48302e
mov eax, dword [ebp - 0x2a8]
jmp 0x483d07
cmp dword [ebp - 0x2ac], 0
jne 0x48305b
movzx eax, byte [ebp - 0x29e]
test eax, eax
je 0x4830d8
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x44c], 0
je 0x4830d8
push 0x4ae92c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44c]
push eax
call fcn.004616b0
add esp, 8
test eax, eax
jne 0x4830d8
movzx ecx, byte [ebp - 0x29e]
test ecx, ecx
je 0x483099
mov dword [ebp - 0x324], str._memory_blob_
jmp 0x4830a8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x410]
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 0x324]
push ecx
push str.schannel:_certificate_format_compatibility_error__for__s
mov edx, dword [ebp + 8]
push edx
call fcn.0044d640
add esp, 0xc
mov dword [ebp - 0x2bc], 0
xor eax, eax
jne 0x4830c0
mov eax, 0x3a
jmp 0x483d07
cmp dword [ebp - 0x2ac], 0
jne 0x4830f0
movzx ecx, byte [ebp - 0x29e]
test ecx, ecx
je 0x483517
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2d4], 0
movzx edx, byte [ebp - 0x29e]
test edx, edx
je 0x48311b
mov dword [ebp - 0x328], 0x4ae8d0
jmp 0x48312a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x410]
mov dword [ebp - 0x328], ecx
mov edx, dword [ebp - 0x328]
mov dword [ebp - 0x2e0], edx
mov dword [ebp - 0x2bc], 0
xor eax, eax
jne 0x483136
cmp dword [ebp - 0x2ac], 0
je 0x4832fb
mov dword [ebp - 0x2dc], 0
push 2
push 0
mov ecx, dword [ebp - 0x2ac]
push ecx
call fcn.00423e6f
add esp, 0xc
test eax, eax
jne 0x48317e
mov dword [ebp - 0x32c], 1
jmp 0x483188
mov dword [ebp - 0x32c], 0
cmp dword [ebp - 0x32c], 0
jne 0x48319d
mov dword [ebp - 0x330], 0
jmp 0x4831a7
mov dword [ebp - 0x330], 1
mov dl, byte [ebp - 0x330]
mov byte [ebp - 0x29d], dl
movzx eax, byte [ebp - 0x29d]
test eax, eax
je 0x4831d3
mov ecx, dword [ebp - 0x2ac]
push ecx
call fcn.0042d3e8
add esp, 4
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 0x2dc], 0
jge 0x4831e5
mov byte [ebp - 0x29d], 0
jmp 0x4831f1
mov edx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2cc], edx
movzx eax, byte [ebp - 0x29d]
test eax, eax
je 0x483254
push 0
push 0
mov ecx, dword [ebp - 0x2ac]
push ecx
call fcn.00423e6f
add esp, 0xc
test eax, eax
jne 0x48321f
mov dword [ebp - 0x334], 1
jmp 0x483229
mov dword [ebp - 0x334], 0
cmp dword [ebp - 0x334], 0
jne 0x48323e
mov dword [ebp - 0x338], 0
jmp 0x483248
mov dword [ebp - 0x338], 1
mov dl, byte [ebp - 0x338]
mov byte [ebp - 0x29d], dl
movzx eax, byte [ebp - 0x29d]
test eax, eax
je 0x483278
mov ecx, dword [ebp - 0x2cc]
add ecx, 1
push ecx
call dword [0x4aaa70]
add esp, 4
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0
je 0x4832a5
mov edx, dword [ebp - 0x2ac]
push edx
push 1
mov eax, dword [ebp - 0x2cc]
push eax
mov ecx, dword [ebp - 0x2c0]
push ecx
call fcn.004242f2
add esp, 0x10
cmp eax, 1
je 0x4832ac
mov byte [ebp - 0x29d], 0
mov edx, dword [ebp - 0x2ac]
push edx
call fcn.004245f0
add esp, 4
movzx eax, byte [ebp - 0x29d]
test eax, eax
jne 0x4832fb
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.0044d640
add esp, 0xc
mov ecx, dword [ebp - 0x2c0]
push ecx
call dword [0x4aaa78]
add esp, 4
mov eax, 0x3a
jmp 0x483d07
mov edx, dword [ebp - 0x2c0]
mov dword [ebp - 0x3b4], edx
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x45c], 0
je 0x483337
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x45c]
push eax
call fcn.00426e50
add esp, 4
mov dword [ebp - 0x2c4], eax
mov ecx, dword [ebp - 0x2c4]
lea edx, [ecx + ecx + 2]
push edx
call dword [0x4aaa70]
add esp, 4
mov dword [ebp - 0x2c8], eax
cmp dword [ebp - 0x2c8], 0
je 0x48340b
cmp dword [ebp - 0x2c4], 0
jbe 0x48339e
mov eax, dword [ebp - 0x2c4]
add eax, 1
push eax
mov ecx, dword [ebp - 0x2c8]
push ecx
mov edx, dword [ebp - 0x2c4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x45c]
push ecx
push 8
push 0xfde9
call fcn.00484870
add esp, 0x18
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2d4], 0
jl 0x4833c9
mov edx, dword [ebp - 0x2d4]
cmp edx, dword [ebp - 0x2c4]
jg 0x4833c9
xor eax, eax
mov ecx, dword [ebp - 0x2d4]
mov edx, dword [ebp - 0x2c8]
mov word [edx + ecx*2], ax
jmp 0x4833dd
mov eax, 2
imul ecx, eax, 0
xor edx, edx
mov eax, dword [ebp - 0x2c8]
mov word [eax + ecx], dx
push 0
mov ecx, dword [ebp - 0x2c8]
push ecx
lea edx, [ebp - 0x3b8]
push edx
call fcn.00484de0
add esp, 0xc
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x2c8]
push eax
call dword [0x4aaa78]
add esp, 4
movzx ecx, byte [ebp - 0x29e]
test ecx, ecx
jne 0x483426
mov edx, dword [ebp - 0x2c0]
push edx
call dword [0x4aaa78]
add esp, 4
cmp dword [ebp - 0x2b0], 0
jne 0x483486
call fcn.004849f0
mov dword [ebp - 0x33c], eax
cmp dword [ebp - 0x33c], 0x56
jne 0x48345d
mov eax, dword [ebp - 0x2e0]
push eax
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044d640
add esp, 0xc
jmp 0x48347c
mov edx, dword [ebp - 0x33c]
push edx
mov eax, dword [ebp - 0x2e0]
push eax
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044d640
add esp, 0x10
mov eax, 0x3a
jmp 0x483d07
push 0
push 0
push 0
push 0
push 0x10001
mov edx, dword [ebp - 0x2b0]
push edx
call fcn.004850a0
add esp, 0x18
mov ecx, 4
imul edx, ecx, 0
mov dword [ebp + edx - 0x2b4], eax
mov eax, 4
imul ecx, eax, 0
cmp dword [ebp + ecx - 0x2b4], 0
jne 0x4834fc
call fcn.004849f0
push eax
mov edx, dword [ebp - 0x2e0]
push edx
push str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
mov eax, dword [ebp + 8]
push eax
call fcn.0044d640
add esp, 0x10
push 0
mov ecx, dword [ebp - 0x2b0]
push ecx
call fcn.00484f60
add esp, 8
mov eax, 0x3a
jmp 0x483d07
mov dword [ebp - 0x3ac], 1
lea edx, [ebp - 0x2b4]
mov dword [ebp - 0x3a8], edx
jmp 0x48368d
mov eax, dword [ebp - 0x2d0]
push eax
mov ecx, dword [ebp - 0x2e4]
or ecx, 0x4000
push ecx
push 0
push 0
push 9
call fcn.00485470
add esp, 0x14
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b0], 0
jne 0x483595
call fcn.004849f0
push eax
mov edx, dword [ebp - 0x2d0]
push edx
mov eax, dword [ebp - 0x2e4]
push eax
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044d640
add esp, 0x14
mov edx, dword [ebp - 0x2d0]
push edx
call dword [0x4aaa78]
add esp, 4
mov dword [ebp - 0x2bc], 0
xor eax, eax
jne 0x48357d
mov eax, 0x3a
jmp 0x483d07
mov ecx, dword [ebp - 0x2d0]
push ecx
call dword [0x4aaa78]
add esp, 4
lea edx, [ebp - 0x18]
mov dword [ebp - 0x374], edx
mov dword [ebp - 0x378], 0x14
push 0
push 0
lea eax, [ebp - 0x378]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 4
push 0x28
mov edx, dword [ebp - 0x340]
push edx
call fcn.004855b0
add esp, 0x1c
test eax, eax
jne 0x483607
mov dword [ebp - 0x2bc], 0
xor eax, eax
jne 0x4835de
push 0
mov ecx, dword [ebp - 0x2b0]
push ecx
call fcn.00484f60
add esp, 8
mov eax, 0x3a
jmp 0x483d07
push 0
lea edx, [ebp - 0x378]
push edx
push 0x10000
push 0
push 0x10001
mov eax, dword [ebp - 0x2b0]
push eax
call fcn.004850a0
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 0x48363a
mov ecx, 4
imul edx, ecx, 0
cmp dword [ebp + edx - 0x2b4], 0
je 0x483672
mov dword [ebp - 0x3ac], 1
lea eax, [ebp - 0x2b4]
mov dword [ebp - 0x3a8], eax
jmp 0x48368d
push 0
mov ecx, dword [ebp - 0x2b0]
push ecx
call fcn.00484f60
add esp, 8
mov eax, 0x3a
jmp 0x483d07
push 0
mov edx, dword [ebp - 0x2b0]
push edx
call fcn.00484f60
add esp, 8
push 0x18
push 1
call dword [0x4aaa80]
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 0x483709
push str.schannel:_unable_to_allocate_memory
mov edx, dword [ebp + 8]
push edx
call fcn.0044d640
add esp, 8
mov eax, 4
imul ecx, eax, 0
cmp dword [ebp + ecx - 0x2b4], 0
je 0x4836ff
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + eax - 0x2b4]
push ecx
call fcn.00485290
add esp, 4
mov eax, 0x1b
jmp 0x483d07
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 - 0x3b0]
push edx
push 0
push 2
push str.Microsoft_Unified_Security_Protocol_Provider
push 0
mov eax, dword [0x4b0e50]
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 0x483786
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + edx - 0x2b4]
push eax
call fcn.00485290
add esp, 4
cmp dword [ebp - 0x2b8], 0
je 0x483837
push 0x100
lea ecx, [ebp - 0x298]
push ecx
mov edx, dword [ebp - 0x2b8]
push edx
call fcn.004777c0
add esp, 0xc
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
mov eax, dword [ebp + 8]
push eax
call fcn.0044d640
add esp, 0xc
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov eax, dword [edx]
push eax
call dword [0x4aaa78]
add esp, 4
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov dword [edx], 0
xor eax, eax
jne 0x4837c0
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2d8], ecx
mov edx, dword [ebp - 0x2d8]
add edx, 0x7ff6fd00
mov dword [ebp - 0x2d8], edx
cmp dword [ebp - 0x2d8], 0xe
ja case.0x48381c.1
mov eax, dword [ebp - 0x2d8]
movzx ecx, byte [eax + 0x483d44]
jmp dword [ecx*4 + 0x483d38]
mov eax, 0x1b
jmp 0x483d07
mov eax, 0x23
jmp 0x483d07
lea edx, [ebp - 0x3d4]
push edx
mov eax, dword [ebp - 0x34c]
push eax
push 2
call fcn.00477fd0
add esp, 0xc
test eax, eax
je 0x483857
xor ecx, ecx
jne 0x483853
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 8]
movzx ecx, byte [eax + 0x46]
test ecx, ecx
je 0x4839bc
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x2e8], 0
mov edx, dword [ebp - 0x2a4]
lea eax, [ebp + edx - 0x98]
mov dword [ebp - 0x348], 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 - 0x2e8], edx
mov eax, dword [ebp - 0x2a4]
add eax, 2
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0x358], 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
push 8
push str.http_1.1
mov ecx, dword [ebp - 0x2a4]
lea edx, [ebp + ecx - 0x98]
push edx
call fcn.0041d8f0
add esp, 0xc
mov eax, dword [ebp - 0x2a4]
add eax, 8
mov dword [ebp - 0x2a4], eax
xor ecx, ecx
jne 0x48394d
mov edx, dword [ebp - 0x2a4]
sub edx, dword [ebp - 0x358]
push edx
call fcn.0044d7c0
add esp, 4
mov ecx, dword [ebp - 0x2e8]
mov word [ecx], ax
mov edx, dword [ebp - 0x2e8]
movzx eax, word [edx]
add eax, 6
mov ecx, dword [ebp - 0x348]
mov dword [ecx], eax
mov edx, dword [ebp - 0x2a4]
push edx
lea eax, [ebp - 0x98]
push eax
push 0x12
lea ecx, [ebp - 0x3c4]
push ecx
call fcn.00484850
add esp, 0x10
push 1
lea edx, [ebp - 0x3c4]
push edx
lea eax, [ebp - 0x3d0]
push eax
call fcn.00484830
add esp, 0xc
jmp 0x4839e9
push 0
push 0
push 0
lea ecx, [ebp - 0x3c4]
push ecx
call fcn.00484850
add esp, 0x10
push 1
lea edx, [ebp - 0x3c4]
push edx
lea eax, [ebp - 0x3d0]
push eax
call fcn.00484830
add esp, 0xc
push 0
push 0
push 0
lea ecx, [ebp - 0x370]
push ecx
call fcn.00484850
add esp, 0x10
push 1
lea edx, [ebp - 0x370]
push edx
lea eax, [ebp - 0x3e0]
push eax
call fcn.00484830
add esp, 0xc
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov dword [edx + 0x38], 0x811c
push 0x10
push 1
call dword [0x4aaa80]
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 0x483a69
push 0x4ae60c
mov edx, dword [ebp + 8]
push edx
call fcn.0044d640
add esp, 8
mov eax, 0x1b
jmp 0x483d07
mov eax, dword [ebp - 0x34c]
mov dword [ebp - 0x2ec], eax
cmp dword [ebp - 0x2ec], 0
jne 0x483a88
mov eax, 0x1b
jmp 0x483d07
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
movzx eax, byte [edx + 0x46]
test eax, eax
je 0x483aa7
lea ecx, [ebp - 0x3d0]
mov dword [ebp - 0x350], ecx
jmp 0x483ab1
mov dword [ebp - 0x350], 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 - 0x3e0]
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 - 0x350]
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 - 0x2ec]
push eax
push 0
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [0x4b0e50]
mov edx, dword [ecx + 0x18]
call edx
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2ec], 0
xor eax, eax
jne 0x483b22
cmp dword [ebp - 0x2b8], 0x90312
je 0x483c35
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
push eax
call dword [0x4aaa78]
add esp, 4
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 8]
mov dword [edx + 4], 0
xor eax, eax
jne 0x483b40
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x354], ecx
cmp dword [ebp - 0x354], 0x80090300
je 0x483b90
cmp dword [ebp - 0x354], 0x80090322
je 0x483bc7
jmp 0x483bfe
push 0x100
lea edx, [ebp - 0x198]
push edx
mov eax, dword [ebp - 0x2b8]
push eax
call fcn.004777c0
add esp, 0xc
push eax
push str.schannel:_initial_InitializeSecurityContext_failed:__s
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044d640
add esp, 0xc
mov eax, 0x1b
jmp 0x483d07
push 0x100
lea edx, [ebp - 0x198]
push edx
mov eax, dword [ebp - 0x2b8]
push eax
call fcn.004777c0
add esp, 0xc
push eax
push str.schannel:_SNI_or_certificate_check_failed:__s
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044d640
add esp, 0xc
mov eax, 0x3c
jmp 0x483d07
push 0x100
lea edx, [ebp - 0x198]
push edx
mov eax, dword [ebp - 0x2b8]
push eax
call fcn.004777c0
add esp, 0xc
push eax
push 0x4ae678
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044d640
add esp, 0xc
mov eax, 0x23
jmp 0x483d07
xor edx, edx
jne 0x483c35
lea eax, [ebp - 0x2f0]
push eax
mov ecx, dword [ebp - 0x370]
push ecx
mov edx, dword [ebp - 0x368]
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.0044cc90
add esp, 0x14
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x368]
push ecx
mov edx, dword [0x4b0e50]
mov eax, dword [edx + 0x40]
call eax
cmp dword [ebp - 0x2a8], 0
jne 0x483c97
mov ecx, dword [ebp - 0x370]
cmp ecx, dword [ebp - 0x2f0]
je 0x483cbd
mov edx, dword [ebp - 0x370]
push edx
mov eax, dword [ebp - 0x2f0]
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.0044d640
add esp, 0x10
mov eax, 0x23
jmp 0x483d07
xor edx, edx
jne 0x483cbd
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.0041c13e
mov esp, ebp
pop ebp
ret