Function at 0x451bba
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
push esi
push edi
lea edi, [ebp - 0x44c]
mov ecx, 0x113
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4b965c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00421510
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004214c0
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x3c], eax
xor ecx, ecx
jne 0x451abe
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x39]
test eax, eax
je 0x451b33
mov ecx, dword [ebp - 0x3c]
movzx edx, byte [ecx + 0x48]
test edx, edx
je 0x451ae1
mov dword [ebp - 0x2c], 8
jmp 0x451ae8
mov dword [ebp - 0x2c], 0x20
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x63]
test ecx, ecx
je 0x451b05
mov edx, dword [ebp - 0x2c]
or edx, 0x1800
mov dword [ebp - 0x2c], edx
xor eax, eax
jne 0x451aff
jmp 0x451b31
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x65]
test edx, edx
je 0x451b21
mov eax, dword [ebp - 0x2c]
or eax, 0x1a00
mov dword [ebp - 0x2c], eax
xor ecx, ecx
jne 0x451b1b
jmp 0x451b31
mov edx, dword [ebp - 0x2c]
or edx, 0x200
mov dword [ebp - 0x2c], edx
xor eax, eax
jne 0x451b2d
jmp 0x451b3e
mov dword [ebp - 0x2c], 0x1808
xor ecx, ecx
jne 0x451b3a
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x3a]
test eax, eax
jne 0x451b56
mov ecx, dword [ebp - 0x2c]
or ecx, 4
mov dword [ebp - 0x2c], ecx
xor edx, edx
jne 0x451b52
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x67]
test ecx, ecx
jne 0x451b86
mov edx, dword [ebp - 0x2c]
and edx, 0xffffffbf
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
or eax, 0x10
mov dword [ebp - 0x2c], eax
push str.schannel:_disabled_automatic_use_of_client_certificate
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042e8d0
add esp, 8
jmp 0x451b97
push str.schannel:_enabled_automatic_use_of_client_certificate
mov edx, dword [ebp + 0xc]
push edx
call fcn.0042e8d0
add esp, 8
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x38]
mov dword [ebp - 0x420], ecx
cmp dword [ebp - 0x420], 7
ja case.default.0x451bb3
mov edx, dword [ebp - 0x420]
jmp dword [edx*4 + 0x4531ec]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.00451450
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x451bdf
mov eax, dword [ebp - 0x28]
jmp 0x452ffa
jmp 0x451c17
push str.SSL_versions_not_supported
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042e770
add esp, 8
mov eax, 4
jmp 0x452ffa
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042e770
add esp, 8
mov eax, 0x23
jmp 0x452ffa
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x3d0], 0
jne 0x451c33
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x3e4], 0
je 0x4525a7
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x3e4], 0
je 0x451c88
mov dword [ebp - 0x424], 1
jmp 0x451c92
mov dword [ebp - 0x424], 0
cmp dword [ebp - 0x424], 0
jne 0x451ca7
mov dword [ebp - 0x428], 0
jmp 0x451cb1
mov dword [ebp - 0x428], 1
mov dl, byte [ebp - 0x428]
mov byte [ebp - 0x9d], dl
mov dword [ebp - 0xa4], 0
movzx eax, byte [ebp - 0x9d]
test eax, eax
je 0x451cfa
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x3e4]
mov eax, dword [edx]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x3e4]
mov eax, dword [edx + 4]
mov dword [ebp - 0x9c], eax
jmp 0x451deb
mov esi, esp
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x3d0]
push edx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
add esp, 4
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jne 0x451d2f
mov eax, 0x1b
jmp 0x452ffa
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0xa4]
push eax
call fcn.004517d0
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x451d89
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x3d0]
movsx edx, byte [ecx + edx]
test edx, edx
je 0x451d89
push 0x4b1310
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x3d0]
push ecx
call fcn.0044dfe0
add esp, 8
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x28], 0
je 0x451deb
cmp dword [ebp - 0x94], 0
jne 0x451deb
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3d0]
push eax
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042e770
add esp, 0xc
cmp dword [ebp - 0xa4], 0
je 0x451ddf
mov esi, esp
mov edx, dword [ebp - 0xa4]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0xa4], 0
xor eax, eax
jne 0x451db3
mov eax, dword [ebp - 0x28]
jmp 0x452ffa
cmp dword [ebp - 0x94], 0
jne 0x451e03
movzx ecx, byte [ebp - 0x9d]
test ecx, ecx
je 0x451ea6
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x410], 0
je 0x451ea6
push 0x4b1350
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x410]
push ecx
call fcn.00438a30
add esp, 8
test eax, eax
jne 0x451ea6
movzx edx, byte [ebp - 0x9d]
test edx, edx
je 0x451e45
mov dword [ebp - 0x42c], 0x4b1354
jmp 0x451e54
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x3d0]
mov dword [ebp - 0x42c], ecx
mov edx, dword [ebp - 0x42c]
push edx
push str.schannel:_certificate_format_compatibility_error__for__s
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042e770
add esp, 0xc
cmp dword [ebp - 0xa4], 0
je 0x451e98
mov esi, esp
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0xa4], 0
xor edx, edx
jne 0x451e6c
mov eax, 0x3a
jmp 0x452ffa
cmp dword [ebp - 0x94], 0
jne 0x451ebe
movzx eax, byte [ebp - 0x9d]
test eax, eax
je 0x4523bd
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc0], 0
movzx ecx, byte [ebp - 0x9d]
test ecx, ecx
je 0x451ee9
mov dword [ebp - 0x430], 0x4b13a0
jmp 0x451ef8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3d0]
mov dword [ebp - 0x430], eax
mov ecx, dword [ebp - 0x430]
mov dword [ebp - 0xc4], ecx
cmp dword [ebp - 0xa4], 0
je 0x451f30
mov esi, esp
mov edx, dword [ebp - 0xa4]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0xa4], 0
xor eax, eax
jne 0x451f04
cmp dword [ebp - 0x94], 0
je 0x45212f
mov dword [ebp - 0xc8], 0
mov esi, esp
push 2
push 0
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
cmp esi, esp
call fcn.004a09b1
test eax, eax
jne 0x451f78
mov dword [ebp - 0x434], 1
jmp 0x451f82
mov dword [ebp - 0x434], 0
cmp dword [ebp - 0x434], 0
jne 0x451f97
mov dword [ebp - 0x438], 0
jmp 0x451fa1
mov dword [ebp - 0x438], 1
mov dl, byte [ebp - 0x438]
mov byte [ebp - 0xc9], dl
movzx eax, byte [ebp - 0xc9]
test eax, eax
je 0x451fd7
mov esi, esp
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jge 0x451fe9
mov byte [ebp - 0xc9], 0
jmp 0x451ff5
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0x9c], edx
movzx eax, byte [ebp - 0xc9]
test eax, eax
je 0x452062
mov esi, esp
push 0
push 0
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
cmp esi, esp
call fcn.004a09b1
test eax, eax
jne 0x45202d
mov dword [ebp - 0x43c], 1
jmp 0x452037
mov dword [ebp - 0x43c], 0
cmp dword [ebp - 0x43c], 0
jne 0x45204c
mov dword [ebp - 0x440], 0
jmp 0x452056
mov dword [ebp - 0x440], 1
mov dl, byte [ebp - 0x440]
mov byte [ebp - 0xc9], dl
movzx eax, byte [ebp - 0xc9]
test eax, eax
je 0x45208f
mov ecx, dword [ebp - 0x9c]
add ecx, 1
mov esi, esp
push ecx
call dword [section..data]
add esp, 4
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x4520c6
mov esi, esp
mov edx, dword [ebp - 0x94]
push edx
push 1
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.004a09b1
cmp eax, 1
je 0x4520cd
mov byte [ebp - 0xc9], 0
mov esi, esp
mov edx, dword [ebp - 0x94]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.004a09b1
movzx eax, byte [ebp - 0xc9]
test eax, eax
jne 0x45212f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x3d0]
push edx
push str.schannel:_Failed_to_read_cert_file__s
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042e770
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 0x98]
push ecx
call dword [0x4ab004]
add esp, 4
cmp esi, esp
call fcn.004a09b1
mov eax, 0x3a
jmp 0x452ffa
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x420], 0
je 0x45216b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x420]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
lea edx, [ecx + ecx + 2]
mov esi, esp
push edx
call dword [section..data]
add esp, 4
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x4522a2
cmp dword [ebp - 0xbc], 0
jbe 0x4521e2
mov eax, dword [ebp - 0xbc]
add eax, 1
mov esi, esp
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x420]
push ecx
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jl 0x45220d
mov edx, dword [ebp - 0xc0]
cmp edx, dword [ebp - 0xbc]
jg 0x45220d
xor eax, eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xb8]
mov word [edx + ecx*2], ax
jmp 0x452221
mov eax, 2
imul ecx, eax, 0
xor edx, edx
mov eax, dword [ebp - 0xb8]
mov word [eax + ecx], dx
push 3
push 2
push 0
push 0
push 6
call fcn.00489a00
add esp, 0x14
movzx ecx, al
test ecx, ecx
je 0x452264
mov esi, esp
push 0x8000
mov edx, dword [ebp - 0xb8]
push edx
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0x90], eax
jmp 0x452289
mov esi, esp
push 0
mov ecx, dword [ebp - 0xb8]
push ecx
lea edx, [ebp - 0xb0]
push edx
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0x90], eax
mov esi, esp
mov eax, dword [ebp - 0xb8]
push eax
call dword [0x4ab004]
add esp, 4
cmp esi, esp
call fcn.004a09b1
movzx ecx, byte [ebp - 0x9d]
test ecx, ecx
jne 0x4522c6
mov esi, esp
mov edx, dword [ebp - 0x98]
push edx
call dword [0x4ab004]
add esp, 4
cmp esi, esp
call fcn.004a09b1
cmp dword [ebp - 0x90], 0
jne 0x452330
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0x56
jne 0x452307
mov eax, dword [ebp - 0xc4]
push eax
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042e770
add esp, 0xc
jmp 0x452326
mov edx, dword [ebp - 0xd0]
push edx
mov eax, dword [ebp - 0xc4]
push eax
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042e770
add esp, 0x10
mov eax, 0x3a
jmp 0x452ffa
mov esi, esp
push 0
push 0
push 0
push 0
push 0x10001
mov edx, dword [ebp - 0x90]
push edx
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
cmp esi, esp
call fcn.004a09b1
mov ecx, 4
imul edx, ecx, 0
mov dword [ebp + edx - 0x18], eax
mov eax, 4
imul ecx, eax, 0
cmp dword [ebp + ecx - 0x18], 0
jne 0x4523b8
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004a09b1
push eax
mov edx, dword [ebp - 0xc4]
push edx
push str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042e770
add esp, 0x10
mov esi, esp
push 0
mov ecx, dword [ebp - 0x90]
push ecx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
cmp esi, esp
call fcn.004a09b1
mov eax, 0x3a
jmp 0x452ffa
jmp 0x45259e
mov esi, esp
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x44]
or eax, 0x4000
push eax
push 0
push 0
push 9
call dword [sym.imp.CRYPT32.dll_CertOpenStore]
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x452467
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004a09b1
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x44]
push edx
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042e770
add esp, 0x14
mov esi, esp
mov ecx, dword [ebp - 0x50]
push ecx
call dword [0x4ab004]
add esp, 4
cmp esi, esp
call fcn.004a09b1
cmp dword [ebp - 0xa4], 0
je 0x452459
mov esi, esp
mov edx, dword [ebp - 0xa4]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0xa4], 0
xor eax, eax
jne 0x45242d
mov eax, 0x3a
jmp 0x452ffa
mov esi, esp
mov ecx, dword [ebp - 0x50]
push ecx
call dword [0x4ab004]
add esp, 4
cmp esi, esp
call fcn.004a09b1
lea edx, [ebp - 0x88]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x6c], 0x14
mov esi, esp
push 0
push 0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x88]
push ecx
push 4
push 0x28
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
cmp esi, esp
call fcn.004a09b1
test eax, eax
jne 0x452509
cmp dword [ebp - 0xa4], 0
je 0x4524e3
mov esi, esp
mov eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0xa4], 0
xor ecx, ecx
jne 0x4524b7
mov esi, esp
push 0
mov edx, dword [ebp - 0x90]
push edx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
cmp esi, esp
call fcn.004a09b1
mov eax, 0x3a
jmp 0x452ffa
mov esi, esp
push 0
lea eax, [ebp - 0x6c]
push eax
push 0x10000
push 0
push 0x10001
mov ecx, dword [ebp - 0x90]
push ecx
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
cmp esi, esp
call fcn.004a09b1
mov edx, 4
imul ecx, edx, 0
mov dword [ebp + ecx - 0x18], eax
cmp dword [ebp - 0xa4], 0
je 0x452569
mov esi, esp
mov edx, dword [ebp - 0xa4]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0xa4], 0
xor eax, eax
jne 0x45253d
mov ecx, 4
imul edx, ecx, 0
cmp dword [ebp + edx - 0x18], 0
jne 0x45259e
mov esi, esp
push 0
mov eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
cmp esi, esp
call fcn.004a09b1
mov eax, 0x3a
jmp 0x452ffa
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x20], ecx
mov esi, esp
push 0x20
push 1
call dword [0x4ab010]
add esp, 8
cmp esi, esp
call fcn.004a09b1
mov edx, dword [ebp - 0x3c]
mov dword [edx], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
jne 0x45262b
push 0x4b14d8
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042e770
add esp, 8
mov edx, 4
imul eax, edx, 0
cmp dword [ebp + eax - 0x18], 0
je 0x452606
mov ecx, 4
imul edx, ecx, 0
mov esi, esp
mov eax, dword [ebp + edx - 0x18]
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp esi, esp
call fcn.004a09b1
cmp dword [ebp - 0x20], 0
je 0x452621
mov esi, esp
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
cmp esi, esp
call fcn.004a09b1
mov eax, 0x1b
jmp 0x452ffa
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov dword [eax + 0x18], 1
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x10], 0
jne 0x452dfb
push 3
push 2
push 0x4563
push 0
push 0xa
call fcn.00489a00
add esp, 0x14
movzx edx, al
test edx, edx
je 0x452dfb
mov dword [ebp - 0xd4], 0
mov byte [ebp - 0xd5], 0
mov byte [ebp - 0xd6], 0
mov byte [ebp - 0xd7], 0
mov byte [ebp - 0xd8], 0
mov byte [ebp - 0xd9], 0
push 0x2c
push 0
lea eax, [ebp - 0x10c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x1a4], 0
xor edx, edx
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x198], edx
mov dword [ebp - 0x194], edx
mov dword [ebp - 0x190], edx
mov dword [ebp - 0x18c], edx
push 0x54
push 0
lea eax, [ebp - 0x188]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x1b4], cx
xor edx, edx
mov dword [ebp - 0x1b2], edx
mov word [ebp - 0x1ae], dx
xor eax, eax
mov word [ebp - 0x1c4], ax
xor ecx, ecx
mov dword [ebp - 0x1c2], ecx
mov word [ebp - 0x1be], cx
mov dword [ebp - 0x1cc], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
je 0x452a16
mov dword [ebp - 0x1d0], 5
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x1d8], 0
xor edx, edx
mov dword [ebp - 0x1fc], edx
mov dword [ebp - 0x1f8], edx
mov dword [ebp - 0x1f4], edx
mov dword [ebp - 0x1f0], edx
mov dword [ebp - 0x1ec], edx
mov dword [ebp - 0x1e8], edx
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x1e0], edx
mov byte [ebp - 0xd5], 1
mov byte [ebp - 0xd6], 1
mov byte [ebp - 0xd7], 1
mov byte [ebp - 0xd8], 1
mov byte [ebp - 0xd9], 1
cmp dword [ebp - 0x1d4], 0
je 0x452a16
mov eax, dword [ebp - 0x1d4]
movsx ecx, byte [eax]
test ecx, ecx
je 0x452a16
mov edx, dword [ebp - 0x1d8]
cmp edx, dword [ebp - 0x1d0]
jge 0x452a16
push 0x3a
mov eax, dword [ebp - 0x1d4]
push eax
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x204], 0
je 0x452844
mov ecx, dword [ebp - 0x204]
sub ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0x444], ecx
jmp 0x452859
mov edx, dword [ebp - 0x1d4]
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0x1f
jbe 0x452889
push str.schannel:_Cipher_name_too_long__not_checked
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042e770
add esp, 8
mov eax, 0x3b
jmp 0x452ffa
mov esi, esp
mov edx, dword [ebp - 0x208]
push edx
mov eax, dword [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x1fc]
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
add esp, 0xc
cmp esi, esp
call fcn.004a09b1
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x41c], edx
cmp dword [ebp - 0x41c], 0x20
jae 0x4528c7
jmp 0x4528cc
call fcn.004a0af6
mov eax, dword [ebp - 0x41c]
mov byte [ebp + eax - 0x1fc], 0
movzx ecx, byte [ebp - 0xd5]
test ecx, ecx
je 0x452909
lea edx, [ebp - 0x1fc]
push edx
push str.TLS_AES_256_GCM_SHA384
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x452909
mov byte [ebp - 0xd5], 0
jmp 0x4529de
movzx eax, byte [ebp - 0xd6]
test eax, eax
je 0x452938
lea ecx, [ebp - 0x1fc]
push ecx
push str.TLS_AES_128_GCM_SHA256
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x452938
mov byte [ebp - 0xd6], 0
jmp 0x4529de
movzx edx, byte [ebp - 0xd7]
test edx, edx
je 0x452964
lea eax, [ebp - 0x1fc]
push eax
push str.TLS_CHACHA20_POLY1305_SHA256
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x452964
mov byte [ebp - 0xd7], 0
jmp 0x4529de
movzx ecx, byte [ebp - 0xd8]
test ecx, ecx
je 0x452990
lea edx, [ebp - 0x1fc]
push edx
push str.TLS_AES_128_CCM_8_SHA256
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x452990
mov byte [ebp - 0xd8], 0
jmp 0x4529de
movzx eax, byte [ebp - 0xd9]
test eax, eax
je 0x4529bc
lea ecx, [ebp - 0x1fc]
push ecx
push str.TLS_AES_128_CCM_SHA256
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x4529bc
mov byte [ebp - 0xd9], 0
jmp 0x4529de
lea edx, [ebp - 0x1fc]
push edx
push str.schannel:_Unknown_TLS_1.3_cipher:__s
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042e770
add esp, 0xc
mov eax, 0x3b
jmp 0x452ffa
mov ecx, dword [ebp - 0x204]
mov dword [ebp - 0x1d4], ecx
cmp dword [ebp - 0x1d4], 0
je 0x452a02
mov edx, dword [ebp - 0x1d4]
add edx, 1
mov dword [ebp - 0x1d4], edx
mov eax, dword [ebp - 0x1d8]
add eax, 1
mov dword [ebp - 0x1d8], eax
jmp 0x4527e0
movzx ecx, byte [ebp - 0xd5]
test ecx, ecx
je 0x452a68
movzx edx, byte [ebp - 0xd6]
test edx, edx
je 0x452a68
movzx eax, byte [ebp - 0xd7]
test eax, eax
je 0x452a68
movzx ecx, byte [ebp - 0xd8]
test ecx, ecx
je 0x452a68
movzx edx, byte [ebp - 0xd9]
test edx, edx
je 0x452a68
push str.schannel:_All_available_TLS_1.3_ciphers_were_disabled
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042e770
add esp, 8
mov eax, 0x3b
jmp 0x452ffa
movzx ecx, byte [ebp - 0xd8]
test ecx, ecx
jne 0x452a82
movzx edx, byte [ebp - 0xd9]
test edx, edx
je 0x452b83
mov eax, 8
imul ecx, eax, 0
mov edx, 0x20
mov word [ebp + ecx - 0x1b4], dx
mov eax, 8
imul ecx, eax, 0
mov edx, 0x20
mov word [ebp + ecx - 0x1b2], dx
mov eax, 8
imul ecx, eax, 0
mov dword [ebp + ecx - 0x1b0], str.ChainingModeCCM
imul edx, dword [ebp - 0x1cc], 0x1c
mov dword [ebp + edx - 0x1a4], 2
imul eax, dword [ebp - 0x1cc], 0x1c
lea ecx, [ebp - 0x1b4]
mov dword [ebp + eax - 0x194], ecx
imul edx, dword [ebp - 0x1cc], 0x1c
mov dword [ebp + edx - 0x198], 1
imul eax, dword [ebp - 0x1cc], 0x1c
mov ecx, 8
mov word [ebp + eax - 0x1a0], cx
imul edx, dword [ebp - 0x1cc], 0x1c
mov eax, 8
mov word [ebp + edx - 0x19e], ax
imul ecx, dword [ebp - 0x1cc], 0x1c
mov dword [ebp + ecx - 0x19c], 0x4b162c
movzx edx, byte [ebp - 0xd8]
movzx eax, byte [ebp - 0xd9]
cmp edx, eax
je 0x452b74
movzx ecx, byte [ebp - 0xd8]
test ecx, ecx
je 0x452b62
imul edx, dword [ebp - 0x1cc], 0x1c
mov dword [ebp + edx - 0x190], 0x80
jmp 0x452b74
imul eax, dword [ebp - 0x1cc], 0x1c
mov dword [ebp + eax - 0x18c], 0x40
mov ecx, dword [ebp - 0x1cc]
add ecx, 1
mov dword [ebp - 0x1cc], ecx
movzx edx, byte [ebp - 0xd5]
test edx, edx
jne 0x452b9d
movzx eax, byte [ebp - 0xd6]
test eax, eax
je 0x452cde
mov ecx, 8
imul edx, ecx, 0
mov eax, 0x20
mov word [ebp + edx - 0x1c4], ax
mov ecx, 8
imul edx, ecx, 0
mov eax, 0x20
mov word [ebp + edx - 0x1c2], ax
mov ecx, 8
imul edx, ecx, 0
mov dword [ebp + edx - 0x1c0], str.ChainingModeGCM
movzx eax, byte [ebp - 0xd5]
movzx ecx, byte [ebp - 0xd6]
cmp eax, ecx
je 0x452c5d
imul edx, dword [ebp - 0x1cc], 0x1c
mov dword [ebp + edx - 0x1a4], 3
imul eax, dword [ebp - 0x1cc], 0x1c
mov ecx, 4
mov word [ebp + eax - 0x1a0], cx
imul edx, dword [ebp - 0x1cc], 0x1c
mov eax, 4
mov word [ebp + edx - 0x19e], ax
movzx ecx, byte [ebp - 0xd5]
test ecx, ecx
je 0x452c3d
mov dword [ebp - 0x448], str.SHA384
jmp 0x452c47
mov dword [ebp - 0x448], str.SHA256
imul edx, dword [ebp - 0x1cc], 0x1c
mov eax, dword [ebp - 0x448]
mov dword [ebp + edx - 0x19c], eax
jmp 0x452ca9
imul ecx, dword [ebp - 0x1cc], 0x1c
mov dword [ebp + ecx - 0x1a4], 2
imul edx, dword [ebp - 0x1cc], 0x1c
mov eax, 8
mov word [ebp + edx - 0x1a0], ax
imul ecx, dword [ebp - 0x1cc], 0x1c
mov edx, 8
mov word [ebp + ecx - 0x19e], dx
imul eax, dword [ebp - 0x1cc], 0x1c
mov dword [ebp + eax - 0x19c], 0x4b1674
imul ecx, dword [ebp - 0x1cc], 0x1c
lea edx, [ebp - 0x1c4]
mov dword [ebp + ecx - 0x194], edx
imul eax, dword [ebp - 0x1cc], 0x1c
mov dword [ebp + eax - 0x198], 1
mov ecx, dword [ebp - 0x1cc]
add ecx, 1
mov dword [ebp - 0x1cc], ecx
movzx edx, byte [ebp - 0xd7]
test edx, edx
je 0x452d44
imul eax, dword [ebp - 0x1cc], 0x1c
mov dword [ebp + eax - 0x1a4], 2
imul ecx, dword [ebp - 0x1cc], 0x1c
mov edx, 0x24
mov word [ebp + ecx - 0x1a0], dx
imul eax, dword [ebp - 0x1cc], 0x1c
mov ecx, 0x24
mov word [ebp + eax - 0x19e], cx
imul edx, dword [ebp - 0x1cc], 0x1c
mov dword [ebp + edx - 0x19c], str.CHACHA20_POLY1305
mov eax, dword [ebp - 0x1cc]
add eax, 1
mov dword [ebp - 0x1cc], eax
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x120], edx
lea eax, [ebp - 0x12c]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe8], 1
mov dword [ebp - 0x10c], 5
mov ecx, dword [ebp - 0x2c]
or ecx, 0x400000
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0x34]
not edx
mov eax, dword [ebp - 0xe4]
mov dword [eax + 8], edx
mov ecx, 4
imul edx, ecx, 0
cmp dword [ebp + edx - 0x18], 0
je 0x452dbb
mov dword [ebp - 0x104], 1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
add edx, 8
mov esi, esp
push edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push ecx
push 0
push 0
lea edx, [ebp - 0x10c]
push edx
push 0
push 2
push 0x4b16a0
push 0
mov eax, dword [0x4ba8a8]
mov ecx, dword [eax + 0xc]
call ecx
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0x24], eax
jmp 0x452f2f
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x2d0], eax
push 0x38
push 0
lea ecx, [ebp - 0x30c]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x30c], 4
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x2dc], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2ec], eax
cmp dword [ebp - 0x2d0], 0
je 0x452ec4
mov ecx, dword [ebp - 0x34]
and ecx, 0x2000
je 0x452e5f
push str.schannel:_WARNING:_This_version_of_Schannel_may_negotiate_a_less_secure_TLS_version_than_TLS_1.3_because_the_user_set_an_algorithm_cipher_list.
mov edx, dword [ebp + 0xc]
push edx
call fcn.0042e8d0
add esp, 8
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
je 0x452e83
push str.schannel:_This_version_of_Schannel_does_not_support_setting_an_algorithm_cipher_list_and_TLS_1.3_cipher_list_at_the_same_time
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042e770
add esp, 8
mov eax, 0x3b
jmp 0x452ffa
lea edx, [ebp - 0x2c8]
push edx
mov eax, dword [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x30c]
push ecx
call fcn.00451690
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x452ec2
push str.schannel:_Failed_setting_algorithm_cipher_list
mov edx, dword [ebp + 0xc]
push edx
call fcn.0042e770
add esp, 8
mov eax, dword [ebp - 0x28]
jmp 0x452ffa
jmp 0x452ed2
mov eax, dword [ebp - 0x2c]
or eax, 0x400000
mov dword [ebp - 0x2dc], eax
mov ecx, 4
imul edx, ecx, 0
cmp dword [ebp + edx - 0x18], 0
je 0x452ef4
mov dword [ebp - 0x308], 1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x304], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
add edx, 8
mov esi, esp
push edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push ecx
push 0
push 0
lea edx, [ebp - 0x30c]
push edx
push 0
push 2
push str.Microsoft_Unified_Security_Protocol_Provider
push 0
mov eax, dword [0x4ba8a8]
mov ecx, dword [eax + 0xc]
call ecx
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0x24], eax
mov edx, 4
imul eax, edx, 0
cmp dword [ebp + eax - 0x18], 0
je 0x452f5a
mov ecx, 4
imul edx, ecx, 0
mov esi, esp
mov eax, dword [ebp + edx - 0x18]
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp esi, esp
call fcn.004a09b1
cmp dword [ebp - 0x24], 0
je 0x452ff8
push 0x100
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.00409a40
add esp, 0xc
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042e770
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
push edx
call dword [0x4ab004]
add esp, 4
cmp esi, esp
call fcn.004a09b1
mov eax, dword [ebp - 0x3c]
mov dword [eax], 0
xor ecx, ecx
jne 0x452f8e
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x44c], edx
mov eax, dword [ebp - 0x44c]
add eax, 0x7ff6fd00
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0xe
ja case.0x452fe3.1
mov ecx, dword [ebp - 0x44c]
movzx edx, byte [ecx + 0x453218]
jmp dword [edx*4 + 0x45320c]
mov eax, 0x1b
jmp 0x452ffa
mov eax, 0x23
jmp 0x452ffa
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x453028]
call fcn.004a095d
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a039d
add esp, 0x44c
cmp ebp, esp
call fcn.004a09b1
mov esp, ebp
pop ebp
ret