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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
push 0x591f20
push 0x955
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
mov esi, ecx
push 2
push esi
call fcn.00475430
mov edx, dword [esi]
add esp, 0x14
mov ecx, dword [edx + 0xcc]
and ecx, 2
je 0x47ea23
mov eax, dword [esi + 0x3c]
cmp byte [eax + 0x1e4], 0
je 0x47ea23
push str.client_hello_was_not_authenticated
push 0x95b
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 2
push esi
call fcn.00475430
add esp, 0x14
push str.__write_server_hello
push 0x95c
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 2
push esi
call fcn.00475430
add esp, 0x14
mov ecx, esi
call fcn.0047e7b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edx + 0x18], 0
jne 0x47ea4f
push str.no_RNG_provided
push 0x964
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 1
push esi
call fcn.00475430
mov eax, 0xffff8c00
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esi + 0xc0]
mov edi, 1
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov dword [esp + 0x10], ebx
test ecx, ecx
je 0x47ea76
cmp eax, 2
mov cl, 1
cmove eax, edi
neg al
sub cl, dl
jmp 0x47ea78
mov cl, dl
mov byte [ebx + 4], cl
mov byte [ebx + 5], al
movzx eax, al
push eax
movzx eax, byte [ebx + 4]
push eax
push str.server_hello__chosen_version:___d:_d_
push 0x977
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 3
push esi
call fcn.00475430
add esp, 0x1c
push 0
call fcn.0052fa75
mov ebx, eax
mov edi, edx
mov eax, dword [esp + 0x14]
add esp, 4
mov edx, ebx
mov ecx, edi
shrd edx, ecx, 0x18
mov ecx, ebx
mov byte [eax + 6], dl
lea edx, [eax + 7]
push edi
mov eax, edi
shrd ecx, eax, 0x10
push ebx
mov byte [edx], cl
mov ecx, ebx
push str.server_hello__current_time:__lu
push 0x980
shrd ecx, eax, 8
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
mov byte [edx + 1], cl
mov byte [edx + 2], bl
add edx, 3
push 3
push esi
mov dword [esp + 0x30], edx
call fcn.00475430
mov eax, dword [esi]
add esp, 0x1c
mov ebx, dword [esp + 0x14]
push 0x1c
push ebx
push dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
call eax
add esp, 0xc
test eax, eax
jne 0x47f0e3
mov ecx, dword [esp + 0x10]
mov edx, 3
mov eax, dword [esi + 0x3c]
add ecx, 6
push 0x20
push ecx
push str.server_hello__random_bytes
movups xmm0, xmmword [ecx]
push 0x98f
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
movups xmmword [eax + 0x43c], xmm0
movups xmm0, xmmword [ecx + 0x10]
mov ecx, esi
movups xmmword [eax + 0x44c], xmm0
call fcn.00475580
mov eax, dword [esi + 0x3c]
add esp, 0x14
cmp dword [eax + 0x880], 0
jne 0x47ebae
cmp dword [esi + 8], 0
jne 0x47ebae
mov eax, dword [esi + 0x38]
cmp dword [eax + 0x10], 0
je 0x47ebae
mov ecx, dword [esi]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x47ebae
push eax
push dword [ecx + 0x28]
call edx
add esp, 8
test eax, eax
jne 0x47ebae
push str.session_successfully_restored_from_cache
push 0x99e
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 3
push esi
call fcn.00475430
mov eax, dword [esi + 0x3c]
add esp, 0x14
mov dword [eax + 0x880], 1
mov eax, dword [esi + 0x3c]
cmp dword [eax + 0x880], 0
jne 0x47ec1b
inc dword [esi + 4]
push 0
call fcn.0052fa75
mov ecx, dword [esi + 0x38]
add esp, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x38]
cmp dword [eax + 0x890], 0
je 0x47ebf3
xor edi, edi
xorps xmm0, xmm0
mov dword [ecx + 0x10], edi
mov eax, dword [esi + 0x38]
movups xmmword [eax + 0x14], xmm0
movups xmmword [eax + 0x24], xmm0
jmp 0x47ec65
mov edi, 0x20
mov dword [ecx + 0x10], edi
mov ecx, dword [esi]
mov eax, dword [esi + 0x38]
add eax, 0x14
push edi
push eax
push dword [ecx + 0x1c]
mov eax, dword [ecx + 0x18]
call eax
add esp, 0xc
test eax, eax
je 0x47ec65
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x38]
mov ecx, esi
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
mov dword [esi + 4], 0xc
call fcn.00465a60
mov edi, eax
test edi, edi
je 0x47ec61
push edi
push str.mbedtls_ssl_derive_keys
push 0x9c7
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
mov edx, 1
mov ecx, esi
call fcn.004754f0
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0x38]
movzx eax, byte [eax + 0x10]
mov byte [ebx + 0x1c], al
add ebx, 0x1d
mov eax, dword [esi + 0x38]
push dword [eax + 0x10]
add eax, 0x14
push eax
push ebx
call fcn.00524840
mov eax, dword [esi + 0x38]
add esp, 0xc
add ebx, dword [eax + 0x10]
push edi
push str.server_hello__session_id_len.:__d
push 0x9d8
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 3
push esi
call fcn.00475430
mov eax, dword [esp + 0x28]
mov edx, 3
push edi
add eax, 0x27
mov ecx, esi
push eax
push str.server_hello__session_id
push 0x9d9
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
call fcn.00475580
mov eax, dword [esi + 0x3c]
add esp, 0x2c
mov edx, 0x59207c
mov ecx, 0x5920b8
cmp dword [eax + 0x880], 0
cmove ecx, edx
push ecx
push str._s_session_has_been_resumed
push 0x9db
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 3
push esi
call fcn.00475430
mov eax, dword [esi + 0x38]
add esp, 0x18
mov ecx, 0x570e80
mov eax, dword [eax + 8]
sar eax, 8
mov byte [ebx], al
mov eax, dword [esi + 0x38]
movzx eax, byte [eax + 8]
mov byte [ebx + 1], al
add ebx, 2
mov eax, dword [esi + 0x38]
mov dword [esp + 0x14], ebx
lea edi, [ebx + 1]
movzx eax, byte [eax + 0xc]
mov byte [ebx], al
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 8]
mov eax, 0xc009
cmp eax, edx
je 0x47ed49
mov eax, dword [ecx + 0x28]
add ecx, 0x28
test eax, eax
jne 0x47ed34
mov eax, str.unknown
jmp 0x47ed57
test ecx, ecx
jne 0x47ed54
mov eax, str.unknown
jmp 0x47ed57
mov eax, dword [ecx + 4]
push eax
push str.server_hello__chosen_ciphersuite:__s
push 0x9e2
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 3
push esi
call fcn.00475430
mov eax, dword [esi + 0x38]
push dword [eax + 0xc]
push str.server_hello__compress_alg.:_0x_02X
push 0x9e4
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 3
push esi
call fcn.00475430
add esp, 0x30
cmp dword [esi + 0xe8], 1
je 0x47ed9f
xor ebx, ebx
jmp 0x47ee2d
push str.server_hello__secure_renegotiation_extension
push 0x867
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 3
push esi
call fcn.00475430
mov word [edi + 2], 0x1ff
lea ebx, [edi + 5]
mov eax, dword [esi + 8]
add esp, 0x14
mov byte [edi + 4], 0
test eax, eax
je 0x47ee20
movzx eax, byte [esi + 0xec]
add al, al
inc al
mov byte [ebx], al
movzx eax, byte [esi + 0xec]
add al, al
mov byte [ebx + 1], al
lea eax, [esi + 0xfc]
push dword [esi + 0xec]
add ebx, 2
push eax
push ebx
call fcn.00524840
mov eax, dword [esi + 0xec]
add esp, 0xc
add ebx, eax
push eax
lea eax, [esi + 0xf0]
push eax
push ebx
call fcn.00524840
add esp, 0xc
add ebx, dword [esi + 0xec]
jmp 0x47ee28
mov word [ebx], 1
add ebx, 2
lea eax, [edi + 2]
sub ebx, eax
mov edx, dword [esi + 0x38]
cmp byte [edx + 0x78], 0
jne 0x47ee3a
xor eax, eax
jmp 0x47ee6f
push str.server_hello__max_fragment_length_extension
push 0x890
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 3
push esi
call fcn.00475430
lea ecx, [ebx + edi]
add esp, 0x14
mov dword [ecx + 2], 0x1000100
mov eax, dword [esi + 0x38]
mov al, byte [eax + 0x78]
mov byte [ecx + 6], al
mov eax, 5
mov edx, dword [esi + 0x38]
add ebx, eax
cmp dword [edx + 0x7c], 0
jne 0x47ee7b
xor eax, eax
jmp 0x47eea7
push str.server_hello__adding_truncated_hmac_extension
push 0x7f0
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 3
push esi
call fcn.00475430
lea eax, [edi + ebx]
add esp, 0x14
mov dword [eax + 2], 0x400
mov eax, 4
mov edx, dword [esi + 0x38]
add ebx, eax
cmp dword [edx + 0x80], 0
je 0x47eed3
cmp dword [esi + 0x14], 0
je 0x47eed3
mov edx, dword [edx + 8]
mov ecx, 0x570e80
mov eax, 0xc009
cmp eax, edx
je 0x47ef17
mov eax, dword [ecx + 0x28]
add ecx, 0x28
test eax, eax
jne 0x47eec5
xor eax, eax
mov ecx, dword [esi + 0x3c]
add ebx, eax
cmp dword [ecx + 0x894], 0
je 0x47ef5b
cmp dword [esi + 0x14], 0
je 0x47ef5b
push str.server_hello__adding_extended_master_secret_extension
push 0x836
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 3
push esi
call fcn.00475430
lea eax, [edi + ebx]
add esp, 0x14
mov dword [eax + 2], 0x1700
mov eax, 4
mov ecx, dword [esi + 0x3c]
jmp 0x47ef5d
test ecx, ecx
je 0x47eed3
mov ecx, dword [ecx + 8]
call fcn.0047c240
test eax, eax
je 0x47eed3
cmp dword [eax + 4], 2
jne 0x47eed3
push str.server_hello__adding_encrypt_then_mac_extension
push 0x81b
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 3
push esi
call fcn.00475430
lea eax, [edi + ebx]
add esp, 0x14
mov dword [eax + 2], 0x1600
mov eax, 4
jmp 0x47eed5
xor eax, eax
add ebx, eax
cmp dword [ecx + 0x890], 0
jne 0x47ef6c
xor eax, eax
jmp 0x47ef98
push str.server_hello__adding_session_ticket_extension
push 0x84f
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 3
push esi
call fcn.00475430
lea eax, [edi + ebx]
add esp, 0x14
mov dword [eax + 2], 0x2300
mov eax, 4
mov ecx, dword [esi + 0x3c]
add ebx, eax
add edi, ebx
test byte [ecx + 0x88c], 1
jne 0x47efa9
xor eax, eax
jmp 0x47efd5
push str.server_hello__supported_point_formats_extension
push 0x8ae
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 3
push esi
call fcn.00475430
mov dword [edi + 2], 0x2000b00
add esp, 0x14
mov word [edi + 6], 1
mov eax, 6
mov edi, dword [esp + 0x14]
add ebx, eax
inc edi
lea eax, [edi + 2]
add eax, ebx
cmp dword [esi + 0xdc], 0
mov dword [esp + 0x14], eax
jne 0x47eff5
xor eax, eax
jmp 0x47f071
push str.server_hello__adding_alpn_extension
push 0x8f3
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 3
push esi
call fcn.00475430
mov edx, dword [esp + 0x28]
add esp, 0x14
mov word [edx], 0x1000
mov ecx, dword [esi + 0xdc]
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47f025
sub ecx, dword [esp + 0x14]
push ecx
lea eax, [ecx + 7]
mov dword [esp + 0x18], eax
add eax, 0xfffffffc
shr eax, 8
mov byte [edx + 2], al
lea eax, [ecx + 3]
mov byte [edx + 3], al
lea eax, [ecx + 1]
shr eax, 8
mov byte [edx + 4], al
lea eax, [ecx + 1]
mov byte [edx + 5], al
mov eax, ecx
mov byte [edx + 6], al
lea eax, [edx + 7]
push dword [esi + 0xdc]
push eax
call fcn.00524840
mov eax, dword [esp + 0x20]
add esp, 0xc
add ebx, eax
push ebx
push str.server_hello__total_extension_length:__d
push 0xa1b
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 3
push esi
call fcn.00475430
add esp, 0x18
test ebx, ebx
je 0x47f0a1
mov eax, ebx
shr eax, 8
mov byte [edi], al
mov byte [edi + 1], bl
add edi, 2
add edi, ebx
mov eax, dword [esi + 0xc0]
mov ecx, esi
sub edi, dword [esp + 0x10]
mov dword [esi + 0xc8], edi
mov dword [esi + 0xc4], 0x16
mov byte [eax], 2
call fcn.00468900
push str.__write_server_hello
push 0xa2e
push str.c:projectswiperinstallerlibsmbedtls_2.7.0library_ssl_srv.c
push 2
push esi
mov edi, eax
call fcn.00475430
mov eax, edi
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret