Function at 0x488d20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x5b706c]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov esi, ecx
push 0x59323c
push 0x8df
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
mov eax, dword [esi + 0x4c]
push 2
push esi
mov ebx, dword [eax]
mov dword [esp + 0x48], ebx
call fcn.00475430
mov eax, dword [ebx + 0x10]
add esp, 0x14
cmp eax, 1
jne 0x488d95
push str.__skip_parse_server_key_exchange
push 0x8e4
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
push 2
push esi
call fcn.00475430
inc dword [esi + 4]
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
cmp eax, 9
je 0x4893f6
cmp eax, 0xa
je 0x4893f6
mov ecx, esi
call fcn.00469c00
mov edi, eax
test edi, edi
je 0x488de7
push edi
push str.mbedtls_ssl_read_record
push 0x904
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
mov edx, 1
mov ecx, esi
call fcn.004754f0
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x78], 0x16
je 0x488e2c
push str.bad_server_key_exchange_message
push 0x90a
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
push 1
push esi
call fcn.00475430
add esp, 0x14
push 0xa
mov dl, 2
mov ecx, esi
call fcn.0046a220
add esp, 4
mov eax, 0xffff8900
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x70]
cmp byte [ecx], 0xc
je 0x488ebf
mov eax, dword [ebx + 0x10]
cmp eax, 5
je 0x488e84
cmp eax, 7
je 0x488e84
push str.server_key_exchange_message_must_not_be_skipped
push 0x920
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
push 1
push esi
call fcn.00475430
add esp, 0x14
mov dl, 2
mov ecx, esi
push 0xa
call fcn.0046a220
add esp, 4
mov eax, 0xffff8900
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov dword [esi + 0xa8], 1
inc dword [esi + 4]
push str.__parse_server_key_exchange
push 0xa05
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
push 2
push esi
call fcn.00475430
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov edx, 3
mov eax, dword [eax + 0xcc]
and eax, 2
or eax, 1
lea edi, [ecx + eax*4]
mov eax, dword [esi + 0xa0]
add eax, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov ecx, esi
sub eax, edi
push eax
push edi
push str.server_key_exchange
push 0x929
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
call fcn.00475580
mov edx, dword [ebx + 0x10]
add esp, 0x14
cmp edx, 5
je 0x488f19
cmp edx, 7
je 0x488f19
cmp edx, 6
je 0x488f19
cmp edx, 8
jne 0x488f91
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
add edi, 2
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0xc]
add edi, ecx
cmp edi, eax
jbe 0x488f8b
push str.bad_server_key_exchange_message__psk_identity_hint_length_
push 0x812
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
push 1
push esi
call fcn.00475430
add esp, 0x14
push str.bad_server_key_exchange_message
push 0x933
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
push 1
push esi
call fcn.00475430
add esp, 0x14
push 0x2f
mov dl, 2
mov ecx, esi
call fcn.0046a220
add esp, 4
mov eax, 0xffff8500
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x10], edi
jmp 0x488f95
mov eax, dword [esp + 0xc]
cmp edx, 5
je 0x4890a5
cmp edx, 7
je 0x4890a5
cmp edx, 2
je 0x48904f
cmp edx, 6
je 0x48904f
cmp edx, 3
je 0x488ff9
cmp edx, 8
je 0x488ff9
cmp edx, 4
je 0x488ff9
push str.should_never_happen
push 0x976
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
push 1
push esi
call fcn.00475430
add esp, 0x14
mov eax, 0xffff9400
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
push eax
lea edx, [esp + 0x14]
mov ecx, esi
call fcn.004887e0
add esp, 4
test eax, eax
je 0x4890a1
push str.bad_server_key_exchange_message
push 0x95c
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
push 1
push esi
call fcn.00475430
add esp, 0x14
mov dl, 2
mov ecx, esi
push 0x2f
call fcn.0046a220
add esp, 4
mov eax, 0xffff8500
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
push eax
lea edx, [esp + 0x14]
mov ecx, esi
call fcn.004884f0
add esp, 4
test eax, eax
je 0x4890a1
push str.bad_server_key_exchange_message
push 0x94a
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
push 1
push esi
call fcn.00475430
add esp, 0x14
mov dl, 2
mov ecx, esi
push 0x2f
call fcn.0046a220
add esp, 4
mov eax, 0xffff8500
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x10]
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x28], eax
add eax, 0xfffffffe
cmp eax, 2
ja 0x488e8e
mov eax, dword [esi]
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov ecx, dword [eax + 0xcc]
mov eax, dword [esi + 0x70]
and ecx, 2
or ecx, 1
lea ecx, [eax + ecx*4]
mov eax, edi
sub eax, ecx
mov dword [esp + 0x24], ecx
cmp dword [esi + 0x14], 3
mov dword [esp + 0x20], eax
jne 0x4891d8
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x14]
lea edx, [esp + 0x1c]
call fcn.00488bb0
add esp, 0xc
test eax, eax
je 0x489151
push str.bad_server_key_exchange_message
push 0x98d
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
push 1
push esi
call fcn.00475430
add esp, 0x14
mov dl, 2
mov ecx, esi
push 0x2f
call fcn.0046a220
add esp, 4
mov eax, 0xffff8500
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x10]
dec eax
cmp eax, 9
ja case.0x489165.5
movzx eax, byte [eax + 0x489588]
jmp dword [eax*4 + 0x489578]
mov eax, 1
jmp 0x489183
mov eax, 4
jmp 0x489183
mov eax, 2
jmp 0x489183
xor eax, eax
mov ebx, dword [esp + 0x1c]
cmp ebx, eax
je 0x4891ca
push str.bad_server_key_exchange_message
push 0x995
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
push 1
push esi
call fcn.00475430
add esp, 0x14
mov dl, 2
mov ecx, esi
push 0x2f
call fcn.0046a220
add esp, 4
mov eax, 0xffff8500
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
jmp case.0x4891ef.5
jge 0x4893e7
mov eax, dword [esp + 0x28]
dec eax
cmp eax, 9
ja case.0x4891ef.5
movzx eax, byte [eax + 0x4895a4]
jmp dword [eax*4 + 0x489594]
mov ebx, 1
jmp case.0x4891ef.5
mov ebx, 4
mov dword [esp + 0x14], ebx
jmp case.0x4891ef.5
mov ebx, 2
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
add edi, 2
shl ecx, 8
or ecx, eax
mov dword [esp + 0x28], ecx
lea eax, [edi + ecx]
cmp dword [esp + 0xc], eax
je 0x48924a
push str.bad_server_key_exchange_message
push 0x9b6
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
push 1
push esi
call fcn.00475430
add esp, 0x14
push 0x32
jmp 0x488f68
push ecx
push edi
push str.signature
push 0x9bc
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
mov edx, 3
mov ecx, esi
call fcn.00475580
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x4c]
add esp, 0x14
mov ecx, esi
test eax, eax
jne 0x48929f
push dword [esp + 0x20]
mov dword [esp + 0x1c], 0x24
push dword [esp + 0x28]
call fcn.0046d100
add esp, 8
test eax, eax
jne 0x489564
mov eax, 0x24
jmp 0x4892d7
push eax
push dword [esp + 0x24]
mov dword [esp + 0x20], 0
push dword [esp + 0x2c]
call fcn.0046d2f0
add esp, 0xc
test eax, eax
jne 0x489564
mov ecx, dword [esp + 0x14]
call fcn.00472ff0
test eax, eax
jne 0x4892d1
xor al, al
jmp 0x4892d4
mov al, byte [eax + 8]
movzx eax, al
push eax
lea eax, [esp + 0x3c]
mov edx, 3
push eax
push str.parameters_hash
push 0x9e2
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
mov ecx, esi
call fcn.00475580
mov eax, dword [esi + 0x38]
add esp, 0x14
mov ecx, dword [eax + 0x64]
test ecx, ecx
jne 0x489326
push str.certificate_required
push 0x9e6
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
push 2
push esi
call fcn.00475430
add esp, 0x14
push 0x28
jmp 0x488e09
add ecx, 0xbc
mov edx, ebx
call fcn.00470390
test eax, eax
jne 0x489376
push str.bad_server_key_exchange_message
push 0x9f1
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
push 1
push esi
call fcn.00475430
add esp, 0x14
mov dl, 2
mov ecx, esi
push 0x28
call fcn.0046a220
add esp, 4
mov eax, 0xffff9300
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
push dword [esp + 0x28]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x3c]
push edi
push dword [esp + 0x20]
push eax
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x64]
add ecx, 0xbc
call fcn.004703b0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x488e8e
push 0x33
mov dl, 2
mov ecx, esi
call fcn.0046a220
add esp, 4
mov edx, 1
mov ecx, esi
push edi
push str.mbedtls_pk_verify
push 0x9fc
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
call fcn.004754f0
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
push str.should_never_happen
push 0x9aa
jmp 0x488fd2
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 0x64]
test eax, eax
jne 0x489421
push str.certificate_required
push 0x8b9
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
push 2
push esi
call fcn.00475430
mov edi, 0xffff8900
jmp 0x489535
add eax, 0xbc
je 0x489519
mov eax, dword [eax]
test eax, eax
je 0x489519
mov eax, dword [eax + 0xc]
push 2
call eax
add esp, 4
test eax, eax
je 0x489519
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x64]
mov eax, dword [esi + 0x3c]
add eax, 0x84
mov dword [esp + 0xc], eax
mov ebx, dword [ecx + 0xc0]
mov ecx, eax
mov edx, dword [ebx]
call fcn.0048fc00
mov edi, eax
test edi, edi
jne 0x4894c0
mov ecx, dword [esp + 0xc]
lea edx, [ebx + 0x88]
add ecx, 0xac
call fcn.00477fd0
mov edi, eax
test edi, edi
jne 0x4894c0
mov ecx, dword [esp + 0xc]
lea edx, [ebx + 0x94]
lea ecx, [ecx + 0xb8]
call fcn.00477fd0
mov edi, eax
test edi, edi
jne 0x4894c0
mov ecx, dword [esp + 0xc]
lea edx, [ebx + 0xa0]
lea ecx, [ecx + 0xc4]
call fcn.00477fd0
mov edi, eax
test edi, edi
je 0x4894e1
push edi
push str.mbedtls_ecdh_get_params
push 0x8c9
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
mov edx, 1
mov ecx, esi
call fcn.004754f0
add esp, 0x10
jmp 0x489538
mov ecx, esi
call fcn.00488720
test eax, eax
je 0x48950a
push str.bad_server_certificate__ECDH_curve_
push 0x8cf
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
push 1
push esi
call fcn.00475430
mov edi, 0xffff8600
jmp 0x489535
push str.__skip_parse_server_key_exchange
push 0x8f9
jmp 0x488d6e
push str.server_key_not_ECDH_capable
push 0x8c0
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
push 1
push esi
call fcn.00475430
mov edi, 0xffff9300
add esp, 0x14
push edi
push str.ssl_get_ecdh_params_from_cert
push 0x8f3
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_cli.c
mov edx, 1
mov ecx, esi
call fcn.004754f0
push 0x28
mov dl, 2
mov ecx, esi
call fcn.0046a220
add esp, 0x14
mov eax, edi
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret