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

Disassembly:
sub esp, 0x168
mov edx, dword [esp + 0x170]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x17c]
lea ebx, [edx + 0x45]
or eax, 0xffffffff
mov ecx, dword [edi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [edi + 0x358]
shl ebx, 4
add ebx, edi
cmp ecx, 2
mov dword [esp + 0x18], eax
jne 0x869fe1
mov ebp, dword [edi + 0x40c]
xor ecx, ecx
cmp ebp, eax
setne cl
add ecx, 0x47
shl ecx, 4
cmp dword [ecx + edi], 2
je 0x869fe1
mov edx, dword [edi + 0x34c]
mov dword [esp + 0x20], edx
jmp 0x869feb
mov eax, dword [edi + 0x304]
mov dword [esp + 0x20], eax
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
xor ecx, ecx
cmp edx, 3
setne cl
mov dword [esp + 0x14], ecx
mov ecx, dword [eax]
xor ebp, ebp
cmp ecx, ebp
je 0x86a376
cmp dword [eax + 4], ebp
je 0x86a376
mov ecx, dword [eax + 0x30]
mov esi, 0x1000
cmp ecx, ebp
jne 0x86a04c
mov dword [eax + 0x28], ebp
mov edx, dword [ebx + 8]
mov dword [edx + 0x20], esi
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x20]
push ecx
call dword [0x8d0930]
mov edx, dword [ebx + 8]
add esp, 4
mov dword [edx + 0x30], eax
mov eax, dword [ebx + 8]
cmp dword [eax + 0x30], ebp
jne 0x86a04c
push str.schannel:_unable_to_allocate_memory
jmp 0x86a0b3
mov ecx, dword [eax + 0x2c]
cmp ecx, ebp
jne 0x86a089
mov dword [eax + 0x34], ebp
mov ecx, dword [ebx + 8]
mov dword [ecx + 0x24], ebp
mov edx, dword [ebx + 8]
mov dword [edx + 0x1c], esi
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [0x8d0930]
mov edx, dword [ebx + 8]
add esp, 4
mov dword [edx + 0x2c], eax
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x2c]
cmp ecx, ebp
jne 0x86a089
push str.schannel:_unable_to_allocate_memory
jmp 0x86a0b3
mov esi, dword [eax + 0x24]
mov edx, dword [eax + 0x1c]
sub edx, esi
cmp edx, 0x400
jae 0x86a0dc
add esi, 0x400
push esi
push ecx
call dword [0x8d0938]
add esp, 8
cmp eax, ebp
jne 0x86a0d0
push str.schannel:_unable_to_re_allocate_memory
mov eax, dword [esp + 0x14]
push eax
call fcn.0085e690
add esp, 8
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret
mov ecx, dword [ebx + 8]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebx + 8]
mov dword [edx + 0x1c], esi
cmp dword [esp + 0x14], ebp
je 0x86a13e
mov eax, dword [ebx + 8]
lea edx, [esp + 0x1c]
push edx
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x2c]
sub edx, ecx
add eax, ecx
mov ecx, dword [esp + 0x184]
push edx
push eax
mov edx, dword [edi + ecx*4 + 0x408]
push edx
call fcn.0085eec0
add esp, 0x10
cmp eax, 0x51
je 0x86a346
cmp eax, ebp
jne 0x86a364
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
je 0x86a364
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x24]
add edx, ecx
mov dword [eax + 0x24], edx
mov eax, dword [ebx + 8]
mov dword [eax + 0x34], ebp
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x24]
push edx
call fcn.00862d30
add esp, 4
push eax
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x24]
push ecx
call dword [0x8d0930]
add esp, 4
lea edx, [esp + 0x28]
push eax
push 2
push edx
call fcn.008690a0
push ebp
push ebp
lea eax, [esp + 0x48]
push ebp
push eax
call fcn.008690a0
lea ecx, [esp + 0x44]
push 2
lea edx, [esp + 0x90]
push ecx
push edx
call fcn.008690c0
push ebp
push ebp
lea eax, [esp + 0x7c]
push 2
push eax
call fcn.008690a0
push ebp
push ebp
lea ecx, [esp + 0x98]
push 0x11
push ecx
call fcn.008690a0
add esp, 0x4c
lea edx, [esp + 0x60]
push ebp
push ebp
push ebp
push edx
call fcn.008690a0
lea eax, [esp + 0x58]
push 3
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.008690c0
mov edi, dword [esp + 0x48]
add esp, 0x1c
cmp edi, ebp
je 0x86a386
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x24]
mov esi, dword [eax + 0x2c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x20]
and ecx, 3
cmp edx, ebp
rep movsb byte es:[edi], byte [esi]
je 0x86a480
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 4]
lea esi, [ecx + 8]
push esi
lea esi, [eax + 0x3c]
push esi
lea esi, [esp + 0x44]
push esi
push ebp
lea esi, [esp + 0x7c]
push ebp
push esi
mov esi, dword [eax + 0x38]
mov eax, dword [eax]
push ebp
push ebp
push esi
push edx
push ecx
mov ecx, dword [0x8de654]
push eax
call dword [ecx + 0x18]
mov edx, dword [esp + 0x2c]
mov ebp, eax
push edx
call dword [0x8d0934]
add esp, 4
xor edi, edi
cmp ebp, 0x80090318
mov dword [esp + 0x2c], edi
je 0x86a3a8
cmp ebp, 0x90320
je 0x86a333
cmp ebp, 0x90312
je 0x86a26a
cmp ebp, edi
jne 0x86a3df
lea esi, [esp + 0x48]
cmp dword [esi + 4], 2
jne 0x86a2b7
mov eax, dword [esi]
test eax, eax
jbe 0x86a2b7
mov edx, dword [esi + 8]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x184]
push eax
mov eax, dword [esp + 0x184]
push edx
mov edx, dword [eax + ecx*4 + 0x408]
push edx
push eax
call fcn.0085ea20
add esp, 0x14
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x86a490
cmp dword [esi], eax
jne 0x86a490
mov eax, dword [esi + 8]
test eax, eax
je 0x86a2c7
push eax
mov eax, dword [0x8de654]
call dword [eax + 0x40]
inc edi
add esi, 0xc
cmp edi, 3
jl 0x86a26e
cmp dword [esp + 0x34], 5
jne 0x86a4bb
mov edx, dword [esp + 0x30]
test edx, edx
jbe 0x86a4bb
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x24]
cmp eax, edx
jbe 0x86a4c5
mov ecx, dword [ecx + 0x2c]
sub eax, edx
add eax, ecx
push edx
push eax
push ecx
call fcn.008492e0
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x3c]
add esp, 0xc
cmp ebp, 0x90312
mov dword [ecx + 0x24], edx
jne 0x86a4e1
mov edi, dword [esp + 0x17c]
mov dword [esp + 0x14], 0
xor ebp, ebp
jmp 0x86a0dc
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x38]
test al, 0x80
je 0x86a3c6
jmp 0x86a3ef
cmp dword [ebx + 4], 3
je 0x86a4d4
pop edi
pop esi
mov dword [ebx + 4], 2
pop ebp
xor eax, eax
pop ebx
add esp, 0x168
ret
mov eax, dword [esp + 0x10]
push str.schannel:_failed_to_receive_handshake__SSL_TLS_connection_failed
push eax
call fcn.0085e690
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x23
pop ebx
add esp, 0x168
ret
mov ecx, dword [esp + 0x10]
push str.schannel:_unable_to_allocate_memory
push ecx
call fcn.0085e690
add esp, 8
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret
mov edx, dword [ebx + 8]
pop edi
pop esi
pop ebp
mov dword [edx + 0x34], 1
mov dword [ebx + 4], 2
xor eax, eax
pop ebx
add esp, 0x168
ret
or al, 0x80
pop edi
mov dword [ecx + 0x38], eax
pop esi
mov dword [ebx + 4], 3
pop ebp
xor eax, eax
pop ebx
add esp, 0x168
ret
cmp ebp, 0x80090300
je 0x86a459
cmp ebp, 0x80090322
je 0x86a422
lea eax, [esp + 0x78]
push 0x100
push eax
push ebp
call fcn.0088b130
mov ecx, dword [esp + 0x1c]
push eax
push str.schannel:_next_InitializeSecurityContext_failed:__s
push ecx
call fcn.0085e690
add esp, 0x18
mov eax, 0x23
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret
lea edx, [esp + 0x78]
push 0x100
push edx
push 0x80090322
call fcn.0088b130
push eax
mov eax, dword [esp + 0x20]
push str.schannel:_SNI_or_certificate_check_failed:__s
push eax
call fcn.0085e690
add esp, 0x18
mov eax, 0x3c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret
lea ecx, [esp + 0x78]
push 0x100
push ecx
push 0x80090300
call fcn.0088b130
mov edx, dword [esp + 0x1c]
push eax
push str.schannel:_next_InitializeSecurityContext_failed:__s
push edx
call fcn.0085e690
add esp, 0x18
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x168
ret
lea ecx, [edi + edi*2]
mov edx, dword [esp + ecx*4 + 0x48]
push edx
push eax
mov eax, dword [esp + 0x18]
push str.schannel:_failed_to_send_next_handshake_data:_sent__zd_of__lu_bytes
push eax
call fcn.0085e690
add esp, 0x10
mov eax, 0x23
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret
mov ecx, dword [ebx + 8]
mov dword [ecx + 0x24], 0
cmp ebp, 0x90312
jne 0x86a4e1
mov dword [ebx + 4], 2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x168
ret
test ebp, ebp
jne 0x86a4ec
mov dword [ebx + 4], 4
mov edi, dword [esp + 0x17c]
cmp dword [edi + 0x358], 2
jne 0x86a522
mov ebp, dword [edi + 0x40c]
xor edx, edx
cmp ebp, 0xffffffff
setne dl
add edx, 0x47
shl edx, 4
cmp dword [edx + edi], 2
je 0x86a522
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x9f8]
jmp 0x86a52c
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x9f4]
test eax, eax
je 0x86a567
mov edx, dword [esp + 0x180]
push eax
push edx
push edi
call fcn.0086b570
mov esi, eax
add esp, 0xc
test esi, esi
je 0x86a567
mov eax, dword [esp + 0x10]
push str.SSL:_public_key_does_not_match_pinned_public_key_
push eax
call fcn.0085e690
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret
mov eax, dword [edi + 0x4bc]
test eax, eax
je 0x86a4d4
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x50]
test eax, eax
je 0x86a4d4
mov edx, dword [esp + 0x180]
push edx
push edi
call fcn.0088d920
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret