Function at 0x456bf0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, edx
mov dword [ebp - 0x600], 0x224
push edi
mov edi, ecx
mov dword [ebp - 0x620], eax
mov edx, 0x214
lea esi, [eax + 0x1f]
shl esi, 4
mov ecx, dword [edi + 0xf0]
add esi, edi
mov ebx, dword [edi]
mov dword [ebp - 0x610], esi
cmp ecx, 2
jne 0x456c5d
cmp dword [edi + 0x1ac], 0xffffffff
mov eax, edx
cmovne eax, dword [ebp - 0x600]
cmp dword [eax + edi], ecx
je 0x456c5d
mov eax, dword [edi + 0x280]
mov dword [ebp - 0x5ec], eax
jmp 0x456c6e
mov eax, dword [edi + 0x250]
mov dword [ebp - 0x5ec], eax
cmp ecx, 2
jne 0x456c8c
cmp dword [edi + 0x1ac], 0xffffffff
mov eax, edx
cmovne eax, dword [ebp - 0x600]
cmp dword [eax + edi], 2
je 0x456c8c
mov eax, dword [edi + 0x26c]
jmp 0x456c92
mov eax, dword [edi + 0x23c]
mov dword [ebp - 0x614], eax
cmp ecx, 2
jne 0x456cc0
cmp dword [edi + 0x1ac], 0xffffffff
mov eax, edx
cmovne eax, dword [ebp - 0x600]
cmp dword [eax + edi], ecx
je 0x456cc0
mov eax, dword [edi + 0x27c]
mov dword [ebp - 0x5f4], eax
jmp 0x456cd1
mov eax, dword [edi + 0x24c]
mov dword [ebp - 0x5f4], eax
cmp ecx, 2
jne 0x456cf5
cmp dword [edi + 0x1ac], 0xffffffff
mov eax, edx
cmovne eax, dword [ebp - 0x600]
cmp dword [eax + edi], 2
je 0x456cf5
mov eax, dword [ebx + 0x4d8]
mov dword [ebp - 0x5f0], eax
jmp 0x456d06
mov eax, dword [ebx + 0x470]
mov dword [ebp - 0x5f0], eax
cmp ecx, 2
jne 0x456d2a
cmp dword [edi + 0x1ac], 0xffffffff
mov eax, edx
cmovne eax, dword [ebp - 0x600]
cmp dword [eax + edi], 2
je 0x456d2a
mov eax, dword [ebx + 0x4c0]
mov dword [ebp - 0x608], eax
jmp 0x456d3b
mov eax, dword [ebx + 0x458]
mov dword [ebp - 0x608], eax
cmp ecx, 2
jne 0x456d66
cmp dword [edi + 0x1ac], 0xffffffff
mov eax, edx
cmovne eax, dword [ebp - 0x600]
cmp dword [eax + edi], 2
je 0x456d66
mov eax, dword [edi + 0xe4]
mov dword [ebp - 0x61c], eax
mov byte [ebp - 0x88], 0
jmp 0x456d7e
mov eax, dword [edi + 0xa0]
mov dword [ebp - 0x61c], eax
mov byte [ebp - 0x88], 0
cmp ecx, 2
jne 0x456d9d
cmp dword [edi + 0x1ac], 0xffffffff
mov eax, edx
mov ecx, 0x224
cmovne eax, ecx
cmp dword [eax + edi], 2
je 0x456d9d
mov eax, dword [edi + 0x264]
jmp 0x456da3
mov eax, dword [edi + 0x234]
cmp eax, 2
jne 0x456db2
push str.mbedTLS_does_not_support_SSLv2
jmp 0x457afd
mov eax, dword [0x5bf688]
push 0xffffffffffffffff
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x5bf40c], 0
jne 0x456dde
mov ecx, 0x5bf410
call fcn.0046df50
mov dword [0x5bf40c], 1
mov eax, dword [0x5bf688]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0x140
push 0
push dword [esi + 0xc]
call fcn.00525340
mov ecx, dword [esi + 0xc]
mov edx, 0x456bb0
push 0x5bf410
call fcn.0046e3b0
add esp, 0x10
mov dword [ebp - 0x604], eax
test eax, eax
je 0x456e48
push ecx
lea edx, [ebp - 0x88]
mov ecx, eax
call fcn.00471990
add esp, 4
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x604]
neg eax
push eax
push str.Failed___mbedTLS:_ctr_drbg_init_returned___0x_04X___s_n
push ebx
call fcn.004415c0
add esp, 0x10
mov eax, dword [esi + 0xc]
push 0x138
add eax, 0x4c4
push 0
push eax
call fcn.00525340
mov eax, dword [ebp - 0x5ec]
add esp, 0xc
test eax, eax
je 0x456ec7
mov ecx, dword [esi + 0xc]
mov edx, eax
add ecx, 0x4c4
call fcn.00463170
mov dword [ebp - 0x604], eax
test eax, eax
jns 0x456ec7
push ecx
lea edx, [ebp - 0x88]
mov ecx, eax
call fcn.00471990
add esp, 4
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x604]
neg eax
push eax
mov eax, dword [ebp - 0x5ec]
push eax
push str.Error_reading_ca_cert_file__s___mbedTLS:___0x_04X___s
push ebx
call fcn.004415c0
add esp, 0x14
cmp dword [ebp - 0x614], 0
jne 0x4570d1
mov ecx, dword [ebp - 0x5f4]
test ecx, ecx
je 0x4570ed
mov eax, dword [esi + 0xc]
mov esi, ecx
add eax, 0x4c4
mov dword [ebp - 0x5ec], 0
mov dword [ebp - 0x5fc], eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x456ef2
sub esi, ecx
cmp esi, 0x101
jbe 0x456f0d
mov esi, 0xffffd800
jmp 0x457099
push 0x208
lea eax, [ebp - 0x398]
push 0
push eax
call fcn.00525340
add esp, 0xc
lea eax, [ebp - 0x190]
push 0x104
push 0
push eax
call fcn.00525340
add esp, 0xc
lea eax, [ebp - 0x190]
push esi
push dword [ebp - 0x5f4]
push eax
call fcn.00524840
mov byte [ebp + esi - 0x190], 0x5c
lea eax, [ebp - 0x190]
add esp, 0xc
inc esi
add eax, esi
inc esi
mov dword [ebp - 0x604], eax
push 0x101
mov byte [eax], 0x2a
lea eax, [ebp - 0x398]
push eax
push esi
lea eax, [ebp - 0x190]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x456f96
mov esi, 0xffffd800
jmp 0x457099
lea eax, [ebp - 0x5e8]
push eax
lea eax, [ebp - 0x398]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x5f8], eax
cmp eax, 0xffffffff
jne 0x456fbf
mov esi, 0xffffd700
jmp 0x457099
mov eax, 0x104
sub eax, esi
mov dword [ebp - 0x618], eax
nop dword [eax]
mov esi, dword [ebp - 0x604]
push eax
push 0
push esi
call fcn.00525340
add esp, 0xc
test byte [ebp - 0x5e8], 0x10
jne 0x457049
mov eax, dword [ebp - 0x618]
push 0
push 0
dec eax
push eax
push esi
lea eax, [ebp - 0x5bc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x5bc]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x457071
mov ecx, dword [ebp - 0x5fc]
lea edx, [ebp - 0x190]
call fcn.00463170
mov esi, dword [ebp - 0x5ec]
test eax, eax
jns 0x45703f
inc esi
mov dword [ebp - 0x5ec], esi
jmp 0x45704f
add esi, eax
mov dword [ebp - 0x5ec], esi
jmp 0x45704f
mov esi, dword [ebp - 0x5ec]
lea eax, [ebp - 0x5e8]
push eax
push dword [ebp - 0x5f8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x457078
mov eax, dword [ebp - 0x618]
jmp 0x456fd0
mov esi, 0xffffd700
jmp 0x457089
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
mov ecx, 0xffffd700
cmovne esi, ecx
push dword [ebp - 0x5f8]
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
jns 0x4570e7
push ecx
lea edx, [ebp - 0x88]
mov ecx, esi
call fcn.00471990
add esp, 4
lea eax, [ebp - 0x88]
neg esi
push eax
push esi
push dword [ebp - 0x5f4]
push str.Error_reading_ca_cert_path__s___mbedTLS:___0x_04X___s
push ebx
call fcn.004415c0
add esp, 0x14
cmp dword [ebp - 0x614], 0
je 0x4570e7
mov eax, 0x4d
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x610]
mov eax, dword [esi + 0xc]
push 0x138
add eax, 0x5fc
push 0
push eax
call fcn.00525340
mov eax, dword [ebp - 0x5f0]
add esp, 0xc
test eax, eax
je 0x457175
mov ecx, dword [esi + 0xc]
mov edx, eax
add ecx, 0x5fc
call fcn.00463170
mov dword [ebp - 0x5fc], eax
test eax, eax
je 0x457175
push ecx
lea edx, [ebp - 0x88]
mov ecx, eax
call fcn.00471990
add esp, 4
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x5fc]
neg eax
push eax
mov eax, dword [ebp - 0x5f0]
push eax
push str.Error_reading_client_cert_file__s___mbedTLS:___0x_04X___s
push ebx
call fcn.004415c0
add esp, 0x14
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
add eax, 0x82c
je 0x45718c
mov dword [eax], 0
mov dword [eax + 4], 0
mov edx, dword [edi + 0xf0]
mov ecx, 0x214
cmp edx, 2
jne 0x4571b9
cmp dword [edi + 0x1ac], 0xffffffff
mov eax, ecx
cmovne eax, dword [ebp - 0x600]
cmp dword [eax + edi], edx
je 0x4571b9
mov eax, dword [ebx + 0x4e0]
jmp 0x4571bf
mov eax, dword [ebx + 0x478]
test eax, eax
je 0x45739a
cmp edx, 2
jne 0x4571ef
cmp dword [edi + 0x1ac], 0xffffffff
mov eax, ecx
cmovne eax, dword [ebp - 0x600]
cmp dword [eax + edi], edx
je 0x4571ef
mov eax, dword [ebx + 0x4e8]
mov dword [ebp - 0x5f8], eax
jmp 0x457200
mov eax, dword [ebx + 0x480]
mov dword [ebp - 0x5f8], eax
cmp edx, 2
jne 0x45721f
cmp dword [edi + 0x1ac], 0xffffffff
mov eax, ecx
mov ecx, 0x224
cmovne eax, ecx
cmp dword [eax + edi], 2
je 0x45721f
mov ecx, dword [ebx + 0x4e0]
jmp 0x457225
mov ecx, dword [ebx + 0x478]
mov eax, dword [esi + 0xc]
lea edx, [ebp - 0x614]
add eax, 0x82c
mov dword [ebp - 0x5f0], eax
lea eax, [ebp - 0x618]
push eax
call fcn.0046e970
add esp, 4
mov dword [ebp - 0x5f4], eax
test eax, eax
je 0x45725f
mov dword [ebp - 0x5f0], eax
mov ecx, eax
jmp 0x4572f2
mov edx, dword [ebp - 0x5f8]
test edx, edx
jne 0x45726d
push edx
push edx
jmp 0x457287
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x5fc], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x457278
sub ecx, dword [ebp - 0x5fc]
push ecx
push edx
mov eax, dword [ebp - 0x618]
mov ecx, dword [ebp - 0x5f0]
mov dword [ebp - 0x5ec], eax
push eax
mov eax, dword [ebp - 0x614]
mov edx, eax
mov dword [ebp - 0x5f8], eax
call fcn.0046ff50
mov edx, dword [ebp - 0x5f8]
add esp, 0xc
mov dword [ebp - 0x5f4], eax
mov ecx, edx
mov eax, dword [ebp - 0x5ec]
test eax, eax
je 0x4572db
nop dword [eax + eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x4572d0
push edx
call fcn.00529d29
mov ecx, dword [ebp - 0x5f4]
add esp, 4
mov eax, ecx
mov dword [ebp - 0x5f0], ecx
test ecx, ecx
jne 0x457323
mov eax, dword [esi + 0xc]
add eax, 0x82c
je 0x457318
mov eax, dword [eax]
test eax, eax
je 0x457318
mov eax, dword [eax + 0xc]
push 1
call eax
add esp, 4
test eax, eax
jne 0x45739a
mov eax, 0xffffc100
mov dword [ebp - 0x5f0], eax
push ecx
lea edx, [ebp - 0x88]
mov ecx, eax
call fcn.00471990
add esp, 4
cmp dword [edi + 0xf0], 2
jne 0x45735f
cmp dword [edi + 0x1ac], 0xffffffff
mov eax, 0x214
mov ecx, 0x224
cmovne eax, ecx
cmp dword [eax + edi], 2
je 0x45735f
mov ecx, dword [ebx + 0x4e0]
jmp 0x457365
mov ecx, dword [ebx + 0x478]
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x5f0]
neg eax
push eax
push ecx
push str.Error_reading_private_key__s___mbedTLS:___0x_04X___s
push ebx
call fcn.004415c0
add esp, 0x14
mov eax, 0x3a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
push 0xf8
add eax, 0x734
push 0
push eax
call fcn.00525340
mov eax, dword [ebp - 0x608]
add esp, 0xc
test eax, eax
je 0x457422
mov ecx, dword [esi + 0xc]
mov edx, eax
add ecx, 0x734
call fcn.0046dca0
mov dword [ebp - 0x5fc], eax
test eax, eax
je 0x457422
push ecx
lea edx, [ebp - 0x88]
mov ecx, eax
call fcn.00471990
add esp, 4
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x5fc]
neg eax
push eax
mov eax, dword [ebp - 0x608]
push eax
push str.Error_reading_CRL_file__s___mbedTLS:___0x_04X___s
push ebx
call fcn.004415c0
add esp, 0x14
mov eax, 0x52
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
push 0xd0
add eax, 0x834
push 0
push eax
call fcn.00525340
mov eax, dword [esi + 0xc]
add esp, 0xc
add eax, 0x3b8
push 0x108
push 0
push eax
call fcn.00525340
mov eax, dword [esi + 0xc]
add esp, 0xc
lea ecx, [eax + 0x834]
add eax, 0x3b8
push 0x414d
push 1
mov dword [ebp - 0x5fc], ecx
mov dword [ebp - 0x5ec], eax
mov dword [eax], ecx
call fcn.0052fab7
mov ecx, dword [ebp - 0x5ec]
add esp, 8
mov dword [ecx + 0x5c], eax
test eax, eax
je 0x457ac4
push 0x414d
push 1
call fcn.0052fab7
mov ecx, dword [ebp - 0x5ec]
add esp, 8
mov dword [ecx + 0xac], eax
test eax, eax
je 0x457ac4
lea esi, [eax + 0xb]
mov dword [ebp - 0x5f4], esi
lea edx, [ecx + 0xb4]
lea esi, [eax + 0xd]
mov dword [ebp - 0x608], edx
mov edx, dword [ecx + 0x5c]
mov dword [ebp - 0x60c], esi
mov esi, dword [ebp - 0x5fc]
test byte [esi + 0xcc], 2
je 0x4574f7
lea ecx, [edx + 3]
mov esi, edx
mov dword [ebp - 0x5f0], ecx
lea ecx, [eax + 3]
mov dword [ebp - 0x5f8], ecx
jmp 0x457515
mov ecx, dword [ebp - 0x608]
lea esi, [edx + 8]
mov dword [ebp - 0x5f8], eax
add eax, 8
mov dword [ebp - 0x5f0], edx
mov dword [ebp - 0x608], ecx
mov ecx, dword [ebp - 0x608]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x5ec]
mov eax, dword [ebp - 0x5f8]
mov dword [ecx + 0xb0], eax
mov eax, dword [ebp - 0x5f4]
mov dword [ecx + 0xb8], eax
mov eax, dword [ebp - 0x60c]
mov dword [ecx + 0xbc], eax
mov dword [ecx + 0xc0], eax
mov eax, dword [ebp - 0x5f0]
mov dword [ecx + 0x60], eax
lea eax, [edx + 0xb]
mov dword [ecx + 0x64], esi
add edx, 0xd
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x6c], edx
mov dword [ecx + 0x70], edx
call fcn.0046bca0
mov esi, dword [ebp - 0x610]
test eax, eax
jne 0x457af8
mov esi, dword [esi + 0xc]
add esi, 0x834
mov dword [esi + 0x44], 0x46bfb0
mov eax, dword [esi + 0xcc]
and eax, 0xfffffff8
mov dword [esi + 0x48], 0x46bfb0
or eax, 0x53c48
mov dword [esi + 0xac], 0x3e8
mov dword [esi + 0xcc], eax
xor eax, eax
mov dword [esi + 0xb0], 0xea60
mov dword [esi + 0xb4], 0x10
mov word [esi + 0xb8], ax
or eax, 0xffffffff
mov dword [esi + 0xba], eax
mov word [esi + 0xbe], ax
mov dword [esi + 0xc8], 0x1030303
call fcn.00472df0
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 0x64], 0x570818
mov dword [esi + 0x74], 0x5b7bd0
call fcn.00481eb0
mov dword [esi + 0x78], eax
mov edx, 0x214
mov dword [esi + 0xc4], 0x400
mov esi, dword [ebp - 0x610]
mov eax, dword [esi + 0xc]
mov dword [eax + 0x898], 0x570114
mov ecx, dword [edi + 0xf0]
cmp ecx, 2
jne 0x457657
cmp dword [edi + 0x1ac], 0xffffffff
mov eax, edx
cmovne eax, dword [ebp - 0x600]
cmp dword [eax + edi], ecx
je 0x457657
mov eax, dword [edi + 0x264]
jmp 0x45765d
mov eax, dword [edi + 0x234]
cmp eax, 7
ja case.0x457666.2
jmp dword [eax*4 + 0x457b1c]
mov eax, dword [esi + 0xc]
mov word [eax + 0x8fe], 0x103
jmp 0x45779a
mov eax, dword [esi + 0xc]
mov word [eax + 0x8fe], 3
mov eax, dword [esi + 0xc]
mov word [eax + 0x8fc], 3
jmp 0x45779a
mov eax, dword [edi]
mov dword [ebp - 0x60c], eax
cmp ecx, 2
jne 0x4576c7
cmp dword [edi + 0x1ac], 0xffffffff
mov eax, edx
mov ecx, 0x224
cmovne eax, ecx
cmp dword [eax + edi], 2
je 0x4576c7
mov ecx, dword [edi + 0x264]
jmp 0x4576d6
cmp dword [edi + 0xf0], 2
mov ecx, dword [edi + 0x234]
jne 0x4576f5
cmp dword [edi + 0x1ac], 0xffffffff
mov eax, edx
mov edx, 0x224
cmovne eax, edx
cmp dword [eax + edi], 2
je 0x4576f5
mov eax, dword [edi + 0x268]
jmp 0x4576fb
mov eax, dword [edi + 0x238]
cmp ecx, 1
ja 0x45770c
mov ecx, 4
mov eax, 0x60000
jmp 0x457723
test eax, eax
je 0x45771e
cmp eax, 0x10000
jne 0x457723
mov eax, 0x60000
jmp 0x457723
mov eax, ecx
shl eax, 0x10
sub ecx, 4
je 0x45774b
sub ecx, 1
je 0x457747
sub ecx, 1
je 0x457743
mov eax, str.unsupported_min_version_passed_via_CURLOPT_SSLVERSION
push eax
push dword [ebp - 0x60c]
jmp 0x457afe
mov dl, 3
jmp 0x45774d
mov dl, 2
jmp 0x45774d
mov dl, 1
sar eax, 0x10
sub eax, 4
je 0x457778
sub eax, 1
je 0x457774
sub eax, 1
je 0x457770
mov eax, str.unsupported_max_version_passed_via_CURLOPT_SSLVERSION
push eax
push dword [ebp - 0x60c]
jmp 0x457afe
mov cl, 3
jmp 0x45777a
mov cl, 2
jmp 0x45777a
mov cl, 1
mov eax, dword [esi + 0xc]
mov byte [eax + 0x8fe], 3
mov byte [eax + 0x8ff], dl
mov eax, dword [esi + 0xc]
mov byte [eax + 0x8fc], 3
mov byte [eax + 0x8fd], cl
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x900]
and eax, 0xfffffff7
or eax, 4
mov dword [ecx + 0x900], eax
mov eax, dword [esi + 0xc]
mov dword [eax + 0x84c], 0x46e880
mov dword [eax + 0x850], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp - 0x620]
add eax, 0x6a
mov dword [ecx + 0x3d4], 0x4712d0
mov dword [ecx + 0x3d8], 0x471270
lea eax, [edi + eax*4]
mov dword [ecx + 0x3dc], 0
mov dword [ecx + 0x3e0], eax
call fcn.00472df0
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x834], eax
mov dword [ecx + 0x838], eax
mov dword [ecx + 0x83c], eax
mov dword [ecx + 0x840], eax
mov eax, dword [esi + 0xc]
or dword [eax + 0x900], 0x4000
mov eax, dword [esi + 0xc]
and dword [eax + 0x900], 0xfffeffff
cmp dword [edi + 0xf0], 2
jne 0x45785a
cmp dword [edi + 0x1ac], 0xffffffff
mov eax, 0x214
mov ecx, 0x224
cmovne eax, ecx
cmp dword [eax + edi], 2
je 0x45785a
mov eax, dword [ebx + 0x498]
jmp 0x457860
mov eax, dword [ebx + 0x430]
test eax, eax
je 0x4578f5
mov ecx, edi
mov dword [ebp - 0x604], 0
call fcn.00449880
push dword [ebp - 0x620]
lea edx, [ebp - 0x604]
push ecx
mov ecx, edi
call fcn.004498e0
add esp, 8
test eax, eax
jne 0x4578ee
mov eax, dword [esi + 0xc]
add eax, 0x3b8
mov dword [ebp - 0x5fc], eax
je 0x45793b
mov edx, dword [ebp - 0x604]
test edx, edx
je 0x45793b
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x45793b
mov eax, dword [eax]
test byte [eax + 0xcc], 1
jne 0x45793b
call fcn.00464ff0
mov dword [ebp - 0x60c], eax
test eax, eax
je 0x4578db
mov esi, eax
jmp 0x457940
mov eax, dword [ebp - 0x5fc]
mov eax, dword [eax + 0x3c]
mov dword [eax + 0x880], 1
mov ecx, edi
call fcn.004498b0
mov ecx, dword [esi + 0xc]
lea eax, [ecx + 0x4c4]
mov dword [ecx + 0x8a0], eax
lea eax, [ecx + 0x734]
mov dword [ecx + 0x8a4], eax
cmp dword [edi + 0xf0], 2
jne 0x45795d
cmp dword [edi + 0x1ac], 0xffffffff
mov eax, 0x214
mov ecx, 0x224
cmovne eax, ecx
cmp dword [eax + edi], 2
je 0x45795d
mov eax, dword [ebx + 0x4e0]
jmp 0x457963
mov esi, 0xffff8f00
mov ecx, edi
call fcn.004498b0
neg esi
push esi
push str.mbedtls_ssl_set_session_returned__0x_x
push ebx
call fcn.004415c0
add esp, 0xc
jmp 0x457b06
mov eax, dword [ebx + 0x478]
test eax, eax
je 0x457985
mov ecx, dword [esi + 0xc]
lea eax, [ecx + 0x82c]
lea edx, [ecx + 0x5fc]
add ecx, 0x89c
push eax
call fcn.0046c130
add esp, 4
mov edi, dword [esi + 0xc]
xor esi, esi
mov eax, dword [ebp - 0x61c]
test eax, eax
je 0x4579b5
mov esi, eax
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4579a0
sub esi, ecx
cmp esi, 0xff
ja 0x457ab6
mov edx, dword [edi + 0x490]
test edx, edx
je 0x4579fa
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x60c], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4579d0
sub ecx, dword [ebp - 0x60c]
je 0x4579f1
nop
mov byte [edx], 0
lea edx, [edx + 1]
sub ecx, 1
jne 0x4579e0
mov edx, dword [edi + 0x490]
push edx
call fcn.00529d29
add esp, 4
cmp dword [ebp - 0x61c], 0
jne 0x457a0f
mov dword [edi + 0x490], 0
jmp 0x457a50
xor ecx, ecx
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
push 1
call fcn.0052fab7
add esp, 8
mov dword [edi + 0x490], eax
test eax, eax
je 0x457ab6
push esi
push dword [ebp - 0x61c]
push eax
call fcn.00524840
mov eax, dword [edi + 0x490]
add esp, 0xc
mov byte [esi + eax], 0
mov ecx, dword [ebx + 0x460]
mov esi, dword [ebp - 0x610]
test ecx, ecx
je 0x457a9c
push dword [ebx + 0x464]
mov eax, dword [esi + 0xc]
add eax, 0x834
push eax
push ebx
call ecx
mov edi, eax
add esp, 0xc
test edi, edi
je 0x457a9c
push str.error_signaled_by_ssl_ctx_callback
push ebx
call fcn.004415c0
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov dword [esi + 8], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
push str.couldnt_set_hostname_in_mbedTLS
jmp 0x457afd
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
jmp 0x457afd
push 0x414d
push str.alloc__d_bytes__failed
push 0x161d
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_tls.c
push 1
push ecx
call fcn.00475430
mov esi, dword [ebp - 0x5ec]
push dword [esi + 0x5c]
call fcn.00529d29
add esp, 0x1c
mov dword [esi + 0x5c], 0
push str.mbedTLS:_ssl_init_failed
push ebx
call fcn.004415c0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, 0x23
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret