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

Disassembly:
push 0xffffffffffffffff
push 0x50f88e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5894dc]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5894dc]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
mov edi, dword [esp + 0x7c]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], eax
mov byte [esi + 0x190], bl
call fcn.004d8a90
lea ecx, [esi + 0x18]
call fcn.00404150
lea ecx, [esi + 0x98]
mov byte [esi + 4], bl
mov byte [esi + 0x238], bl
call fcn.00488020
lea ecx, [esi + 0x100]
call fcn.00443400
push edi
mov ecx, esi
call fcn.004ddd80
test al, al
jne 0x4dfd62
push str.Failed_to_build_ClientHello
jmp 0x4e04ad
mov ecx, dword [esp + 0x14]
push edi
push ecx
push ebp
mov ecx, esi
call fcn.004da700
test al, al
jne 0x4dfd7e
push str.Failed_to_send_ClientHello
jmp 0x4e04ad
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
push ecx
push edi
push esi
push edx
push ebp
push 0x32
mov ecx, esi
call fcn.004dfae0
cmp eax, ebx
jge 0x4dfdae
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.Failed_to_read_incoming_handshake_messages.__1_
mov ecx, edi
call edx
jmp 0x4e04b6
push edi
mov ecx, esi
call fcn.004db2f0
push edi
mov ecx, esi
call fcn.004db400
cmp eax, ebx
mov dword [esi + 0x160], eax
jne 0x4dfddb
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.Expected_ServerHello_but_did_not_receive_it.
mov ecx, edi
call edx
jmp 0x4e04b6
mov ecx, dword [eax + 0x18]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0x1c]
mov dword [esi + 0xc], edx
lea ebp, [esi + 0x1d0]
lea ecx, [ecx]
mov ecx, ebp
call fcn.004508c0
test eax, eax
jne 0x4dfe20
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
push edi
push esi
push ecx
push edx
push 0x3c
mov ecx, esi
call fcn.004dfae0
cmp eax, ebx
jl 0x4dff70
mov ecx, ebp
call fcn.004508c0
cmp eax, ebx
je 0x4dfe90
push ebx
mov ecx, ebp
call fcn.00422c80
cmp dword [eax + 0x10], 0xb
jne 0x4dfe90
cmp dword [esi + 0x168], ebx
je 0x4dfe67
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push str.Server_sent_more_than_one_Certificate_message_during_handshake.
mov ecx, edi
call edx
mov ecx, dword [esi + 0x168]
cmp ecx, ebx
je 0x4dfe61
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x168], ebx
push edi
mov ecx, esi
call fcn.004db360
cmp eax, ebx
mov dword [esi + 0x168], eax
jne 0x4dfdf0
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.Expected_Certificates__but_did_not_receive_it.
mov ecx, edi
call edx
jmp 0x4e04b6
mov ecx, ebp
call fcn.004508c0
cmp eax, ebx
je 0x4dff00
push ebx
mov ecx, ebp
call fcn.00422c80
cmp dword [eax + 0x10], 0xc
jne 0x4dff00
cmp dword [esi + 0x170], ebx
je 0x4dfed7
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push str.Server_sent_more_than_one_ServerKeyExchange_message_during_handshake.
mov ecx, edi
call edx
mov ecx, dword [esi + 0x170]
cmp ecx, ebx
je 0x4dfed1
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x170], ebx
push edi
mov ecx, esi
call fcn.004db450
cmp eax, ebx
mov dword [esi + 0x170], eax
jne 0x4dfdf0
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.Expected_ServerKeyExchange_message__but_did_not_receive_it.
mov ecx, edi
call edx
jmp 0x4e04b6
mov ecx, ebp
call fcn.004508c0
cmp eax, ebx
je 0x4dff83
push ebx
mov ecx, ebp
call fcn.00422c80
cmp dword [eax + 0x10], 0xd
jne 0x4dff83
cmp dword [esi + 0x16c], ebx
je 0x4dff47
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push str.Server_sent_more_than_one_ServerCertificateRequest_message_during_handshake.
mov ecx, edi
call edx
mov ecx, dword [esi + 0x16c]
cmp ecx, ebx
je 0x4dff41
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x16c], ebx
push edi
mov ecx, esi
call fcn.004db4a0
cmp eax, ebx
mov dword [esi + 0x16c], eax
jne 0x4dfdf0
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.Expected_ServerCertificateRequest_message__but_did_not_receive_it.
mov ecx, edi
call edx
jmp 0x4e04b6
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.Failed_to_read_incoming_handshake_messages.__2_
mov ecx, edi
call edx
jmp 0x4e04b6
mov ecx, esi
call fcn.004db2a0
cmp eax, 0xe
jne 0x4dffb4
push edi
mov ecx, esi
call fcn.004db4f0
cmp eax, ebx
mov dword [esi + 0x164], eax
jne 0x4dffb4
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.Expected_ServerHelloDone__but_did_not_receive_it.
mov ecx, edi
call edx
jmp 0x4e04b6
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push str.OK_to_ServerHelloDone_
mov ecx, edi
call edx
cmp dword [esi + 0x48], ebx
je 0x4dffde
lea ebp, [esi + 0x18]
mov ecx, ebp
call fcn.00404150
push ebp
push str.nReadHHash1
mov ecx, esi
call fcn.004d8890
lea ebp, [esi + 0x18]
mov ecx, ebp
call fcn.0046fb70
push eax
mov ecx, ebp
call fcn.004e81e0
push eax
lea ecx, [esi + 0x98]
call fcn.00488500
mov ecx, ebp
call fcn.0046fb70
push eax
mov ecx, ebp
call fcn.004e81e0
push eax
lea ecx, [esi + 0x100]
call fcn.00443490
mov ecx, ebp
call fcn.00404150
cmp dword [esi + 0x16c], ebx
mov ecx, edi
je 0x4e0085
cmp dword [esi + 0x50], ebx
jne 0x4e0059
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push str.Sending_0_length_certificate__this_is_normal_.
call edx
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
push edi
push eax
push ebp
mov ecx, esi
call fcn.004dab20
test al, al
jne 0x4e0095
push str.Failed_to_send_0_length_certificate.
jmp 0x4e04ad
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push str.Sending_client_side_certificate_s_...
call eax
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
push edi
push ecx
push ebp
mov ecx, esi
call fcn.004dab20
test al, al
jne 0x4e0095
push str.Failed_to_send_client_certificate.
jmp 0x4e04ad
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push str.No_client_certificate_required_by_the_server.
call eax
mov ebp, dword [esp + 0x18]
push edi
mov ecx, esi
call fcn.004dd420
test al, al
mov edx, dword [edi]
mov ecx, edi
jne 0x4e00af
push str.Failed_to_build_ClientKeyExchange
jmp 0x4e04b1
mov eax, dword [edx + 0x14]
push str.Sending_ClientKeyExchange...
call eax
mov ecx, dword [esp + 0x14]
push edi
push ecx
push ebp
mov ecx, esi
call fcn.004de870
cmp al, bl
mov edx, dword [edi]
mov ecx, edi
jne 0x4e00d9
push str.Failed_to_send_ClientKeyExchange
jmp 0x4e04b1
mov eax, dword [edx + 0x14]
push str.Sent_ClientKeyExchange_message.
call eax
cmp dword [esi + 0x16c], ebx
je 0x4e0185
cmp dword [esi + 0x50], ebx
je 0x4e0185
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push str.Sending_CertificateVerify...
mov ecx, edi
call eax
lea ecx, [esp + 0x1c]
call fcn.00404230
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x70], ebx
call fcn.004d99e0
test al, al
jne 0x4e0131
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push str.Failed_to_get_certificates_private_key_for_sending_the_CertificateVerify
mov ecx, edi
call eax
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
push ecx
push edi
push edx
push ebp
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.004dae80
cmp al, bl
jne 0x4e0174
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push str.Failed_to_send_client_certificate_verify_message.
mov ecx, edi
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00404a00
jmp 0x4e04b6
lea ecx, [esp + 0x1c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00404a00
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push str.Sending_ChangeCipherSpec...
mov ecx, edi
call eax
mov ecx, dword [esp + 0x14]
push edi
push ecx
push ebp
mov ecx, esi
call fcn.004da660
test al, al
mov edx, dword [edi]
mov ecx, edi
jne 0x4e01b3
push str.Failed_to_send_ChangeCipherSpec
jmp 0x4e04b1
mov eax, dword [edx + 0x14]
push str.Sent_ChangeCipherSpec_message.
call eax
push edi
push 1
mov ecx, esi
call fcn.004ddeb0
cmp al, bl
mov edx, dword [edi]
mov ecx, edi
jne 0x4e01d9
push str.Failed_to_derive_keys.
jmp 0x4e04b1
mov eax, dword [edx + 0x14]
push str.Derived_keys.
call eax
mov ecx, dword [esi + 0x44]
push ecx
mov ecx, esi
call fcn.004d9b80
push 0x838
call fcn.004eceb1
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x6c], 1
je 0x4e0214
mov ecx, eax
call fcn.004d8790
jmp 0x4e0216
xor eax, eax
mov dword [esi + 0x44], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push str.Installed_new_outgoing_security_params.
mov ecx, edi
mov dword [esp + 0x70], 0xffffffff
call eax
push edi
push 1
mov ecx, esi
call fcn.004ddb40
test al, al
mov edx, dword [edi]
mov ecx, edi
jne 0x4e024b
push str.Failed_to_build_client_Finished_message
jmp 0x4e04b1
mov eax, dword [edx + 0x14]
push str.Sending_FINISHED_message..
call eax
mov ecx, dword [esp + 0x14]
push edi
push ecx
push ebp
push 1
mov ecx, esi
call fcn.004ddc60
cmp al, bl
mov edx, dword [edi]
mov ecx, edi
jne 0x4e0277
push str.Failed_to_send_client_Finished_message.
jmp 0x4e04b1
mov eax, dword [edx + 0x14]
push str.Sent_FINISHED_message..
call eax
cmp byte [esi + 0x238], bl
je 0x4e0293
push str.Should_not_have_received_the_ChangeCipherSpec_yet...
jmp 0x4e04ad
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
push ecx
push edi
push esi
push edx
push ebp
push 0x46
mov ecx, esi
call fcn.004dfae0
cmp eax, ebx
jge 0x4e02c3
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.Failed_to_read_incoming_handshake_messages.__3_
mov ecx, edi
call edx
jmp 0x4e04b6
cmp byte [esi + 0x238], bl
jne 0x4e02de
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.Did_not_receive_the_expected_ChangeCipherSpec.
mov ecx, edi
call edx
jmp 0x4e04b6
mov eax, dword [esi + 0x40]
push eax
mov ecx, esi
call fcn.004d9bc0
push 0x838
call fcn.004eceb1
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x6c], 2
je 0x4e030f
mov ecx, eax
call fcn.004d8790
jmp 0x4e0311
xor eax, eax
mov ecx, esi
mov dword [esp + 0x6c], 0xffffffff
mov dword [esi + 0x40], eax
call fcn.004db2d0
test al, al
jne 0x4e0357
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
push ecx
push edi
push esi
push edx
push ebp
push 0x50
mov ecx, esi
call fcn.004dfae0
test eax, eax
jge 0x4e0357
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.Failed_to_read_incoming_handshake_messages.__4_
mov ecx, edi
call edx
jmp 0x4e04b6
mov ecx, esi
call fcn.004db2a0
cmp eax, 0x14
mov ecx, edi
je 0x4e038e
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.Expected_FINISHED_message_from_server__but_received_something_else.
call edx
mov ebx, dword [edi]
mov ecx, esi
add ebx, 0x2c
call fcn.004db2a0
push eax
mov eax, dword [ebx]
push str.handshakeMessageType
mov ecx, edi
call eax
jmp 0x4e04b6
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push str.Dequeue_the_FINISHED_message...
call eax
push edi
mov ecx, esi
call fcn.004db3b0
cmp eax, ebx
mov dword [esi + 0x174], eax
jne 0x4e03b6
push str.Bad_FINISHED_message_from_server.
jmp 0x4e04ad
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x40]
push edx
push edi
push ebx
mov ecx, esi
call fcn.004dd750
test al, al
jne 0x4e03e0
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.Failed_to_calculate_expected_FINISHED_verify_data.
mov ecx, edi
call edx
jmp 0x4e04b6
mov ecx, dword [esi + 0x174]
mov eax, dword [esp + 0x18]
cmp eax, dword [ecx + 0x3c]
jne 0x4e04a8
add ecx, 0x18
cmp eax, 4
lea edx, [esp + 0x3c]
jb 0x4e0414
nop
mov ebp, dword [edx]
cmp ebp, dword [ecx]
jne 0x4e0418
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4e0400
cmp eax, ebx
je 0x4e046d
movzx ebx, byte [ecx]
movzx ebp, byte [edx]
sub ebp, ebx
jne 0x4e0498
sub eax, 1
xor ebx, ebx
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x4e046d
movzx ebx, byte [ecx]
movzx ebp, byte [edx]
sub ebp, ebx
jne 0x4e0498
sub eax, 1
xor ebx, ebx
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x4e046d
movzx ebx, byte [ecx]
movzx ebp, byte [edx]
sub ebp, ebx
jne 0x4e0498
sub eax, 1
xor ebx, ebx
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x4e046d
movzx eax, byte [ecx]
movzx ebp, byte [edx]
sub ebp, eax
jne 0x4e049a
xor eax, eax
cmp eax, ebx
jne 0x4e04a8
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push str.Handshake_completed_successfully.
mov ecx, edi
call eax
mov dword [esi + 0x188], ebx
mov dword [esi + 0x18c], ebx
mov byte [esi + 0x190], 1
mov al, 1
jmp 0x4e04b8
xor ebx, ebx
cmp ebp, ebx
mov eax, 1
jg 0x4e046f
or eax, 0xffffffff
jmp 0x4e046f
push str.Verify_data_in_Server_FINISHED_message_is_invalid.
mov edx, dword [edi]
mov ecx, edi
mov eax, dword [edx + 0x10]
call eax
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.004ec47e
add esp, 0x5c
ret 0x10