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

Disassembly:
push 0xffffffffffffffff
push 0x57ce9f
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x641030]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x641030]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe4]
mov esi, dword [esp + 0xf0]
mov ebx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xec]
push str.serverHandshake2
mov edi, ecx
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], eax
call fcn.00437740
xor eax, eax
mov ecx, edi
mov dword [esp + 0xd0], eax
mov byte [edi + 0x1a4], 1
mov byte [edi + 0x3d4], al
mov dword [edi + 0x1b0], eax
mov dword [edi + 0x1b4], eax
call fcn.004bbf90
lea ecx, [edi + 0x400]
call fcn.0044efc0
test eax, eax
je 0x4d2807
push 0
lea ecx, [edi + 0x400]
call fcn.0044efd0
cmp dword [eax + 0x28], 1
je 0x4d2820
lea ecx, [edi + 0x2e4]
call fcn.00446f40
xor eax, eax
mov dword [edi + 0x300], eax
mov dword [edi + 0x304], eax
cmp byte [esp + 0xd8], 0
mov byte [edi + 0x28], 0
mov byte [ebp + 0x1b], 0
mov byte [edi + 0x464], 0
je 0x4d28f5
cmp byte [esp + 0xdc], 0
je 0x4d28ed
cmp byte [esi + 0x122], 0
je 0x4d2862
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Sending_HelloRequest...
mov ecx, esi
call eax
lea ecx, [esp + 0x68]
call fcn.00447240
push 0
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd4], 1
call fcn.00447e40
push 0
lea ecx, [esp + 0x6c]
call fcn.00447e40
push 0
lea ecx, [esp + 0x6c]
call fcn.00447e40
push 0
lea ecx, [esp + 0x6c]
call fcn.00447e40
mov ecx, dword [esp + 0xe8]
mov edx, dword [edi + 0x40]
mov eax, dword [edi + 0x3c]
push esi
push ebp
push ecx
push ebx
push edx
push eax
lea ecx, [esp + 0x80]
push ecx
mov ecx, edi
call fcn.004cfc10
test al, al
jne 0x4d28dc
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Failed_to_send_HelloRequest.
mov ecx, esi
call eax
lea ecx, [esp + 0x68]
jmp 0x4d3212
lea ecx, [esp + 0x68]
mov byte [esp + 0xd0], 0
call fcn.004479b0
cmp byte [esp + 0xd8], 0
sete al
cmp byte [esi + 0x122], 0
mov byte [esp + 0x30], al
je 0x4d2915
movzx ecx, al
push ecx
push str.bInitialHandshake
mov ecx, esi
call fcn.004373b0
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0x30]
push esi
push ebp
push edx
push ebx
push eax
mov ecx, edi
call fcn.004d2520
test al, al
jne 0x4d2950
cmp dword [ebp + 0x28], 0
jne 0x4d293d
mov dword [ebp + 0x28], 0x77
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Failed_to_receive_ClientHello.
mov ecx, esi
call eax
jmp 0x4d321f
mov ecx, dword [esp + 0xe8]
push esi
push ebp
push ecx
push ebx
mov ecx, edi
call fcn.004ca510
test al, al
jne 0x4d2980
mov dword [ebp + 0x28], 0x75
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Unable_to_agree_on_a_TLS_protocol_version.
mov ecx, esi
call eax
jmp 0x4d321f
mov ecx, dword [esp + 0x24]
push esi
push ecx
mov ecx, edi
call fcn.004c8070
mov ecx, edi
test al, al
jne 0x4d29a9
push esi
push ebx
push 0x50
push ebp
mov dword [ebp + 0x28], 0x76
call fcn.004c2300
jmp 0x4d321f
call fcn.004bf5b0
test al, al
jne 0x4d29ca
push esi
push ebx
push 0x50
push ebp
mov ecx, edi
call fcn.004c2300
mov dword [ebp + 0x28], 0x64
jmp 0x4d321f
cmp dword [edi + 0x3a8], 0
je 0x4d29ea
mov edx, dword [esp + 0x24]
push edx
mov ecx, edi
call fcn.004c0370
mov eax, dword [edi + 0x78]
push eax
mov ecx, edi
call fcn.004c0370
lea ecx, [esp + 0x34]
call fcn.00447240
push esi
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
mov byte [esp + 0xd8], 2
call fcn.004cb200
test al, al
jne 0x4d2a24
push esi
push ebx
push 0x50
push ebp
mov ecx, edi
call fcn.004c2300
mov dword [ebp + 0x28], 0x64
jmp 0x4d320e
lea edx, [esp + 0x34]
push edx
lea ecx, [edi + 0x2e4]
call fcn.00449d90
mov eax, dword [esp + 0xe8]
mov ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x3c]
push esi
push ebp
push eax
push ebx
push ecx
push edx
lea eax, [esp + 0x4c]
push eax
mov ecx, edi
call fcn.004cfc10
test al, al
jne 0x4d2a6d
cmp dword [ebp + 0x28], 0
jne 0x4d320e
mov dword [ebp + 0x28], 0x78
jmp 0x4d320e
lea ecx, [esp + 0x34]
call fcn.00446ed0
cmp byte [esi + 0x122], 0
je 0x4d2a8d
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Sent_handshake_messages_up_to_and_including_ServerHelloDone.
mov ecx, esi
call eax
mov dword [esp + 0x28], vtable.TlsIncomingSummary.0
mov byte [esp + 0x2c], 0
mov byte [esp + 0x2d], 0
mov byte [esp + 0x2e], 0
mov byte [esp + 0x2f], 0
mov ecx, dword [esp + 0xe8]
push esi
push ecx
push ebp
push ebx
push 0
lea edx, [esp + 0x3c]
push edx
mov ecx, edi
mov byte [esp + 0xe8], 3
call fcn.004d1a20
test al, al
jne 0x4d2ae4
cmp dword [ebp + 0x28], 0
jne 0x4d320e
mov dword [ebp + 0x28], 0x6d
jmp 0x4d320e
mov ecx, edi
call fcn.004c3030
cmp eax, 0xb
jne 0x4d2b7f
push str.handleClientCert
push esi
lea ecx, [esp + 0x64]
call fcn.00437740
mov eax, dword [esp + 0x24]
push esi
push ebp
push eax
push ebx
mov ecx, edi
mov byte [esp + 0xe0], 4
call fcn.004cf4b0
test al, al
jne 0x4d2b3b
lea ecx, [esp + 0x5c]
mov dword [ebp + 0x28], 0x79
mov byte [esp + 0xd0], 3
call fcn.004377b0
jmp 0x4d320e
mov ecx, dword [esp + 0xe8]
push esi
push ecx
push ebp
push ebx
push 0
lea edx, [esp + 0x3c]
push edx
mov ecx, edi
call fcn.004d1a20
test al, al
jne 0x4d2c0a
cmp dword [ebp + 0x28], 0
jne 0x4d2b69
mov dword [ebp + 0x28], 0x6d
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd0], 3
call fcn.004377b0
jmp 0x4d320e
cmp eax, 0x15
jne 0x4d2c1b
push str.handleClientCertUrl
push esi
lea ecx, [esp + 0x64]
call fcn.00437740
push esi
push ebp
push ebx
mov ecx, edi
mov byte [esp + 0xdc], 5
call fcn.004c9220
test al, al
jne 0x4d2bca
lea ecx, [esp + 0x5c]
mov dword [ebp + 0x28], 0x7a
mov byte [esp + 0xd0], 3
call fcn.004377b0
jmp 0x4d320e
mov eax, dword [esp + 0xe8]
push esi
push eax
push ebp
push ebx
push 0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.004d1a20
test al, al
jne 0x4d2c0a
cmp dword [ebp + 0x28], 0
jne 0x4d2bf4
mov dword [ebp + 0x28], 0x6d
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd0], 3
call fcn.004377b0
jmp 0x4d320e
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd0], 3
call fcn.004377b0
cmp dword [edi + 0x3c0], 0
jne 0x4d2c51
mov ecx, dword [edi + 0x3a4]
test ecx, ecx
je 0x4d2c51
call fcn.0044d7e0
test eax, eax
jbe 0x4d2c51
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.The_server_requires_a_valid_client_cert__but_the_client_provided_none.
mov ecx, esi
call eax
mov dword [ebp + 0x28], 0x79
jmp 0x4d320e
mov ecx, edi
call fcn.004c3030
cmp eax, 0x10
jne 0x4d31ed
push esi
push ebp
push ebx
mov ecx, edi
call fcn.004c9ee0
test al, al
jne 0x4d2c7b
mov dword [ebp + 0x28], 0x7b
jmp 0x4d320e
push str.readHandshakeMessages
push esi
lea ecx, [esp + 0x58]
call fcn.00437740
cmp byte [esp + 0x2c], 0
mov byte [esp + 0xd0], 6
je 0x4d2ceb
lea ecx, [esp + 0x50]
mov byte [esp + 0xd0], 3
call fcn.004377b0
lea ecx, [edi + 0x400]
call fcn.0044efc0
test eax, eax
je 0x4d2da1
mov ecx, edi
call fcn.004c3030
cmp eax, 0xf
jne 0x4d2e3e
push esi
push ebp
push ebx
mov ecx, edi
call fcn.004c9890
test al, al
jne 0x4d2d72
mov dword [ebp + 0x28], 0x7c
jmp 0x4d320e
lea ecx, [edi + 0x400]
call fcn.0044efc0
test eax, eax
jne 0x4d2c99
lea ebx, [ebx]
mov edx, dword [esp + 0xe8]
push esi
lea ecx, [esp + 0x2c]
push ecx
push ebp
push edx
push ebx
push 1
mov ecx, edi
call fcn.004d1560
test al, al
je 0x4d2d5c
cmp byte [esp + 0x2d], 0
jne 0x4d2d4e
cmp byte [esp + 0x2c], 0
jne 0x4d2c99
lea ecx, [edi + 0x400]
call fcn.0044efc0
lea ecx, [edi + 0x400]
call fcn.0044efc0
test eax, eax
je 0x4d2d00
jmp 0x4d2c99
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Aborting_handshake_because_of_fatal_alert.
mov ecx, esi
call edx
lea ecx, [esp + 0x50]
mov byte [esp + 0xd0], 3
call fcn.004377b0
jmp 0x4d2ace
push str.readHandshakeMessages
push esi
lea ecx, [esp + 0x58]
call fcn.00437740
cmp byte [esp + 0x2c], 0
mov byte [esp + 0xd0], 7
je 0x4d2dc1
lea ecx, [esp + 0x50]
mov byte [esp + 0xd0], 3
call fcn.004377b0
cmp byte [edi + 0x464], 0
jne 0x4d2e51
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Did_not_receive_the_expected_ChangeCipherSpec
mov ecx, esi
call eax
jmp 0x4d31fb
lea ecx, [edi + 0x400]
call fcn.0044efc0
test eax, eax
jne 0x4d2d90
mov ecx, dword [esp + 0xe8]
push esi
lea eax, [esp + 0x2c]
push eax
push ebp
push ecx
push ebx
push 1
mov ecx, edi
call fcn.004d1560
test al, al
je 0x4d2e28
cmp byte [esp + 0x2d], 0
jne 0x4d2e1a
cmp byte [esp + 0x2c], 0
jne 0x4d2d90
lea ecx, [edi + 0x400]
call fcn.0044efc0
lea ecx, [edi + 0x400]
call fcn.0044efc0
test eax, eax
je 0x4d2dd0
jmp 0x4d2d90
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Aborting_handshake_because_of_fatal_alert.
mov ecx, esi
call eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xd0], 3
call fcn.004377b0
jmp 0x4d2ace
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Expected_to_receive_the_ClientKeyExchange_message.
mov ecx, esi
call eax
jmp 0x4d31fb
cmp byte [esi + 0x122], 0
je 0x4d2e68
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.ChangeCipherSpec_has_been_received.
mov ecx, esi
call eax
mov ecx, dword [esp + 0x24]
push esi
push 0
push ecx
push ebp
push ebx
mov ecx, edi
call fcn.004c8a10
test al, al
jne 0x4d2e97
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Failed_to_derive_keys.
mov ecx, esi
call eax
mov dword [ebp + 0x28], 0x64
jmp 0x4d320e
cmp byte [esi + 0x122], 0
je 0x4d2eae
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Derived_keys.
mov ecx, esi
call eax
mov ecx, dword [edi + 0x1b8]
push ecx
mov ecx, edi
call fcn.004c10a0
call fcn.004cd6c0
mov dword [edi + 0x1b8], eax
cmp byte [esi + 0x122], 0
je 0x4d2ede
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Installed_new_incoming_security_params.
mov ecx, esi
call eax
mov ecx, dword [esp + 0xe8]
push esi
push ecx
push ebp
push ebx
push 0
lea edx, [esp + 0x3c]
push edx
mov ecx, edi
call fcn.004d1a20
test al, al
jne 0x4d2f1b
cmp dword [ebp + 0x28], 0
jne 0x4d2f08
mov dword [ebp + 0x28], 0x6d
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Failed_to_read_the_HANDSHAKE_FINISHED_message.
mov ecx, esi
call edx
jmp 0x4d320e
mov ecx, edi
call fcn.004c3030
cmp eax, 0x14
je 0x4d2f4e
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Expected_FINISHED_message_from_client__but_received_something_else.
mov ecx, esi
call edx
mov ecx, edi
call fcn.004c3030
push eax
push str.handshakeMessageType
mov ecx, esi
call fcn.004373b0
jmp 0x4d31fb
cmp byte [esi + 0x122], 0
je 0x4d2f65
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.Dequeue_the_FINISHED_message...
mov ecx, esi
call edx
push esi
mov ecx, edi
call fcn.004c3180
mov dword [edi + 0x3d0], eax
test eax, eax
jne 0x4d2f81
push str.Bad_FINISHED_message_from_server.
jmp 0x4d31f2
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x88]
push ecx
push esi
push 1
push 0
push edx
push ebp
push ebx
mov ecx, edi
mov dword [esp + 0x40], 0
call fcn.004c7790
test al, al
jne 0x4d2fc7
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Failed_to_calculate_expected_FINISHED_verify_data.
mov ecx, esi
call edx
mov dword [ebp + 0x28], 0x64
jmp 0x4d320e
mov ecx, dword [edi + 0x3d0]
mov eax, dword [esp + 0x20]
cmp eax, dword [ecx + 0x6c]
jne 0x4d31ca
add ecx, 0x2c
mov dword [esp + 0x20], ecx
mov edx, ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0x30], ecx
cmp eax, 4
jb 0x4d3017
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x4d31ca
mov ecx, dword [esp + 0x30]
sub eax, 4
add ecx, 4
add edx, 4
mov dword [esp + 0x30], ecx
cmp eax, 4
jae 0x4d2ff3
mov dword [esp + 0x20], edx
test eax, eax
je 0x4d304f
mov dl, byte [edx]
cmp dl, byte [ecx]
jne 0x4d31ca
cmp eax, 1
jbe 0x4d304f
mov edx, dword [esp + 0x20]
mov dl, byte [edx + 1]
cmp dl, byte [ecx + 1]
jne 0x4d31ca
cmp eax, 2
jbe 0x4d304f
mov eax, dword [esp + 0x20]
mov dl, byte [eax + 2]
cmp dl, byte [ecx + 2]
jne 0x4d31ca
cmp byte [esi + 0x122], 0
je 0x4d3066
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.Sending_ChangeCipherSpec...
mov ecx, esi
call edx
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0x24]
push esi
push ebp
push eax
push ecx
push ebx
mov ecx, edi
call fcn.004c2210
test al, al
jne 0x4d30a5
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Failed_to_send_ChangeCipherSpec
mov ecx, esi
call eax
cmp dword [ebp + 0x28], 0
jne 0x4d320e
mov dword [ebp + 0x28], 0x72
jmp 0x4d320e
cmp byte [esi + 0x122], 0
je 0x4d30bc
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Sent_ChangeCipherSpec_message.
mov ecx, esi
call eax
mov ecx, dword [edi + 0x1bc]
push ecx
mov ecx, edi
call fcn.004c1060
call fcn.004cd6c0
mov dword [edi + 0x1bc], eax
cmp byte [esi + 0x122], 0
je 0x4d30ec
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Installed_new_outgoing_security_params.
mov ecx, esi
call eax
mov ecx, dword [esp + 0x24]
push esi
push 0
push ecx
push ebp
push ebx
mov ecx, edi
call fcn.004c78d0
test al, al
jne 0x4d311b
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Failed_to_build_server_Finished_message
mov ecx, esi
call eax
mov dword [ebp + 0x28], 0x64
jmp 0x4d320e
cmp byte [esi + 0x122], 0
je 0x4d3132
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Sending_FINISHED_message..
mov ecx, esi
call eax
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0x24]
push esi
push ebp
push ecx
push edx
push ebx
push 0
mov ecx, edi
call fcn.004d18d0
test al, al
jne 0x4d3162
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Failed_to_send_server_Finished_message.
mov ecx, esi
call edx
jmp 0x4d308f
cmp byte [esi + 0x122], 0
je 0x4d3190
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.Sent_FINISHED_message..
mov ecx, esi
call edx
cmp byte [esi + 0x122], 0
je 0x4d3190
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.Handshake_completed_successfully.
mov ecx, esi
call edx
push esi
push 0
mov ecx, edi
mov byte [edi + 0x3d4], 1
call fcn.004c03e0
lea ecx, [esp + 0x34]
mov byte [esp + 0xd0], 0
call fcn.004479b0
lea ecx, [esp + 0x14]
mov dword [esp + 0xd0], 0xffffffff
call fcn.004377b0
mov al, 1
jmp 0x4d3235
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Verify_data_in_client_FINISHED_message_is_invalid.
mov ecx, esi
call edx
push esi
push ebx
push 0x28
push ebp
mov ecx, edi
call fcn.004c2300
mov dword [ebp + 0x28], 0x74
jmp 0x4d320e
push str.Expected_to_receive_the_ClientKeyExchange_message.
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
call edx
push esi
push ebx
push 0xa
push ebp
mov ecx, edi
call fcn.004c2300
mov dword [ebp + 0x28], 0x66
lea ecx, [esp + 0x34]
mov byte [esp + 0xd0], 0
call fcn.004479b0
lea ecx, [esp + 0x14]
mov dword [esp + 0xd0], 0xffffffff
call fcn.004377b0
xor al, al
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.005550b0
add esp, 0xc0
ret 0x1c