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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00404282
add esp, 4
mov dword [ebp - 0x14], eax
call fcn.0052b750
cmp dword [eax + 0x24], 0
jne 0x527285
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xe4], 0
je 0x527285
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x18], 3
jne 0x527285
mov edx, dword [ebp - 8]
cmp dword [edx + 0x38], 0
jne 0x526fc6
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x6c]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x526fe0
mov edx, dword [ebp - 8]
cmp dword [edx + 0x38], 1
jne 0x527285
mov eax, dword [ebp - 8]
cmp dword [eax + 0x78], 2
jne 0x527285
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x3c], 0
je 0x527005
push 0x6a8884
mov edx, dword [ebp - 8]
add edx, 0x3c
push edx
call fcn.00406519
add esp, 8
test eax, eax
jne 0x527285
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x10a4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0
push 0
push 9
mov eax, dword [ebp - 0x20]
push eax
call fcn.00402d6a
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x52705e
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x24], 0
je 0x52705e
push 0x7789a8
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
push eax
call fcn.0051fc10
add esp, 4
push eax
call fcn.00406d1b
add esp, 8
test eax, eax
je 0x527065
mov dword [ebp - 4], 0x29c86
cmp dword [ebp - 4], 0
jne 0x527104
push 0
push 0x1d
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00402d6a
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x527104
push str.sips
mov edx, dword [ebp - 0xc]
add edx, 0x20
push edx
call fcn.0051fc10
add esp, 4
push eax
call fcn.00406d1b
add esp, 8
test eax, eax
je 0x527104
push 0x7789b8
mov eax, dword [ebp - 0xc]
add eax, 0x20
push eax
call fcn.0051fc10
add esp, 4
push eax
call fcn.00406d1b
add esp, 8
test eax, eax
jne 0x5270fd
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x2c]
push edx
call fcn.0051fc30
add esp, 4
mov dword [ebp - 0x2c], eax
push 0x7789bc
mov eax, dword [ebp - 0x2c]
add eax, 0x30
push eax
call fcn.00406d1b
add esp, 8
test eax, eax
je 0x5270fb
mov dword [ebp - 4], 0x29c86
jmp 0x527104
mov dword [ebp - 4], 0x29c86
cmp dword [ebp - 4], 0x29c86
jne 0x527285
push str.SIPS_Required
call fcn.00401ca3
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x38], 0
jne 0x5271d7
call fcn.00406a8c
cmp eax, 4
jl 0x52714c
push str.Secure_dialog_requires_SIPS_scheme_in_Contact_and_Record_Route_headers__ending_the_session
mov edx, dword [ebp + 8]
push edx
call fcn.004034e5
add esp, 8
xor eax, eax
jne 0x527131
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x38]
push edx
push 0x1e0
mov eax, dword [ebp + 8]
push eax
call fcn.00401866
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5271d2
cmp dword [ebp - 0x10], 0
je 0x5271d2
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x30]
push eax
call fcn.004041ba
add esp, 4
push eax
push 0x17d
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
push edx
call fcn.0040397c
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x5271bf
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xd4]
push edx
call fcn.0051fcd0
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040551a
add esp, 8
mov dword [ebp - 4], eax
jmp 0x527281
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x30], eax
call fcn.00406a8c
cmp eax, 4
jl 0x5271fb
push str.Secure_dialog_requires_SIPS_scheme_in_Contact_and_Route_headers__rejecting_the_request
mov ecx, dword [ebp + 8]
push ecx
call fcn.004034e5
add esp, 8
xor edx, edx
jne 0x5271e0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x1e0
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x54]
push eax
call fcn.004067e4
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x527281
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x30]
push eax
call fcn.004041ba
add esp, 4
push eax
push 0x17d
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 8]
push edx
call fcn.0040397c
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x52726d
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xd4]
push edx
call fcn.0051fcd0
add esp, 8
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.004075c2
add esp, 0xc
xor eax, eax
jmp 0x52728a
mov eax, 1
mov esp, ebp
pop ebp
ret