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

Disassembly:
push 0xffffffffffffffff
push 0x101a6720
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov edi, ecx
push edi
lea ecx, [esp + 0x40]
call fcn.1005ff60
mov esi, dword [esp + 0x7c]
movzx eax, byte [esi + 0x127]
push eax
push str.receiveApplicationData
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x68], 0
call fcn.10061660
mov ecx, dword [esp + 0x74]
mov byte [ecx], 0
lea ebp, [edi + 0x478]
mov ecx, ebp
mov byte [esp + 0x5c], 1
call fcn.100f6330
mov ebx, eax
test ebx, ebx
je 0x1013913f
mov eax, dword [edi + 0x474]
cmp ebx, eax
jbe 0x1013913f
push eax
mov ecx, ebp
call fcn.10018030
sub ebx, dword [edi + 0x474]
mov ecx, dword [esp + 0x68]
push ebx
push eax
call fcn.10019380
mov ecx, ebp
call fcn.10017ff0
lea ecx, [esp + 0x30]
mov dword [edi + 0x474], 0
mov byte [esp + 0x5c], 0
call fcn.100616a0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], 0xffffffff
call fcn.1005ff90
mov al, 1
jmp 0x101395d9
cmp byte [edi + 0x28], 0
je 0x10139197
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Already_received_close_notify.
mov ecx, esi
call eax
mov edi, dword [esp + 0x78]
mov ecx, dword [edi + 4]
push 0
push esi
push ecx
mov ecx, dword [esp + 0x70]
push 0x32
mov byte [edi + 0x1b], 1
call fcn.1014a140
mov byte [edi + 0x17], 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 0
call fcn.100616a0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], 0xffffffff
call fcn.1005ff90
xor al, al
jmp 0x101395d9
mov ebx, dword [esp + 0x68]
mov ecx, ebx
mov dword [edi + 0x474], 0
mov byte [esp + 0x7c], 1
call fcn.100f6330
mov ebp, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], vtable.TlsIncomingSummary.0
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1d], 0
mov byte [esp + 0x1e], 0
mov byte [esp + 0x1f], 0
mov ecx, ebx
mov byte [esp + 0x5c], 2
mov dword [edi + 0x494], ebx
call fcn.100f6330
cmp eax, ebp
jne 0x101395ac
mov ebp, dword [esp + 0x78]
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esp + 0x64]
push esi
lea edx, [esp + 0x1c]
push edx
push ebp
mov ebx, eax
mov eax, dword [esp + 0x78]
push eax
push ecx
push 0
mov ecx, edi
call fcn.10134b70
test al, al
je 0x1013948b
cmp byte [esp + 0x1d], 0
jne 0x101394cd
lea ebx, [edi + 0x450]
mov ecx, ebx
call fcn.10032e40
test eax, eax
je 0x10139469
mov ecx, ebx
call fcn.10032e40
test eax, eax
je 0x101393b8
push 0
mov ecx, ebx
call fcn.10032e50
cmp dword [eax + 0x28], 0
jne 0x101393b8
push str.handshake_hello_request
push esi
lea ecx, [esp + 0x50]
call fcn.10061630
lea edx, [edi + 0x84]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 3
call fcn.10061af0
push 0
mov ecx, ebx
mov byte [esp + 0x60], 4
call fcn.10032e50
cmp byte [esi + 0x127], 0
mov dword [esp + 0x78], eax
je 0x101392a9
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.Dequeued_HelloRequest_message.
mov ecx, esi
call edx
push 0
mov ecx, ebx
call fcn.10032eb0
mov ecx, dword [esp + 0x78]
call fcn.10049240
cmp byte [esi + 0x127], 0
je 0x101392e9
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.Need_to_re_negotiate_the_security_parameters.
mov ecx, esi
call edx
cmp byte [esi + 0x127], 0
je 0x101392e9
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.Starting_the_handshake_process_again...
mov ecx, esi
call edx
mov byte [edi + 0x86], 0
mov byte [edi + 0x85], 1
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.Not_re_using_the_session_for_re_negotiation...
mov ecx, esi
call edx
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x10139318
call fcn.1011a530
mov dword [ebp + 0x20], 0
mov ecx, edi
call fcn.1011e7b0
test al, al
je 0x101394d7
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x1013933d
push str.starting
push str.TlsRenegotiate
call fcn.1007a7e0
mov eax, dword [esp + 0x6c]
mov ecx, dword [edi + 0x80]
mov edx, dword [esp + 0x64]
push esi
push ebp
push eax
push ecx
push edx
push 1
mov ecx, edi
call fcn.10136db0
mov ecx, dword [ebp + 4]
test ecx, ecx
mov bl, al
mov byte [esp + 0x7c], bl
je 0x10139375
push str.finished
push str.TlsRenegotiate
call fcn.1007a7e0
test bl, bl
je 0x1013937d
mov byte [ebp + 0x1d], 1
test bl, bl
mov eax, dword [esp + 0x74]
mov byte [eax], 1
je 0x101394f8
cmp byte [esp + 0x70], 0
jne 0x101394f8
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 3
call fcn.10061b10
lea ecx, [esp + 0x48]
mov byte [esp + 0x5c], 2
call fcn.100616a0
jmp 0x10139469
mov ecx, ebx
call fcn.10032e40
test eax, eax
je 0x1013952c
push 0
mov ecx, ebx
call fcn.10032e50
cmp dword [eax + 0x28], 1
jne 0x1013952c
lea ecx, [edi + 0x84]
push ecx
lea ecx, [esp + 0x2c]
call fcn.10061af0
mov ecx, dword [ebp + 4]
test ecx, ecx
mov byte [esp + 0x5c], 5
je 0x10139405
push str.starting
push str.TlsRenegotiate
call fcn.1007a7e0
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
mov ecx, dword [edi + 0x80]
push esi
push 0
push ebp
push edx
push eax
push ecx
push 1
push 1
mov ecx, edi
call fcn.101388d0
mov ecx, dword [ebp + 4]
test ecx, ecx
mov bl, al
mov byte [esp + 0x7c], bl
je 0x10139441
push str.finished
push str.TlsRenegotiate
call fcn.1007a7e0
test bl, bl
mov edx, dword [esp + 0x74]
mov byte [edx], 1
je 0x10139519
cmp byte [esp + 0x70], 0
jne 0x10139519
lea ecx, [esp + 0x28]
mov byte [esp + 0x5c], 2
call fcn.10061b10
cmp byte [edi + 0x28], 0
jne 0x1013955c
mov ecx, dword [esp + 0x68]
call fcn.100f6330
cmp eax, dword [esp + 0x14]
je 0x101391f1
jmp 0x101395ac
mov ecx, ebp
call fcn.10095a90
test al, al
je 0x1013949f
cmp byte [ebp + 0xac], 0
je 0x101394cd
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Failed_to_receive_more_TLS_application_data.
mov ecx, esi
call edx
push esi
push str.tlsApp
mov ecx, ebp
call fcn.10095b30
cmp byte [ebp + 0x14], 0
je 0x101394cd
push ebx
push str.elapsedMs
mov ecx, esi
call fcn.10060c20
mov byte [esp + 0x7c], 0
jmp 0x101395ac
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 3
call fcn.10061b10
lea ecx, [esp + 0x48]
mov byte [esp + 0x5c], 2
call fcn.100616a0
jmp 0x10139171
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 3
call fcn.10061b10
lea ecx, [esp + 0x48]
mov byte [esp + 0x5c], 2
call fcn.100616a0
jmp 0x101395ac
lea ecx, [esp + 0x28]
mov byte [esp + 0x5c], 2
call fcn.10061b10
jmp 0x101395ac
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Received_unexpected_handshake_message_when_expecting_application_data..
mov ecx, esi
call edx
lea ecx, [edi + 0x450]
call fcn.10033370
mov eax, dword [esp + 0x64]
push esi
push eax
push 0xa
push ebp
mov ecx, edi
call fcn.10121240
mov byte [esp + 0x7c], 0
jmp 0x101395ac
cmp byte [esi + 0x125], 0
je 0x101395ac
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Received_close_notify.
mov ecx, esi
call eax
mov ebx, dword [esp + 0x68]
mov ecx, ebx
call fcn.100f6330
mov ebp, dword [esp + 0x14]
cmp eax, ebp
ja 0x10139596
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Did_not_receive_additional_application_data.
mov ecx, esi
call eax
jmp 0x101395ac
mov ecx, ebx
call fcn.100f6330
sub eax, ebp
push eax
push str.szReceivedApplicationData
mov ecx, esi
call fcn.100612a0
lea ecx, [esp + 0x30]
mov dword [edi + 0x494], 0
mov byte [esp + 0x5c], 0
call fcn.100616a0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], 0xffffffff
call fcn.1005ff90
mov al, byte [esp + 0x7c]
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x1c