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

Disassembly:
push 0xffffffffffffffff
push 0x1015c9dc
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x101c3584]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c3584]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1ec]
push 0x42
mov ebp, ecx
lea edx, [esp + 0x80]
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x7e]
push 0
push edx
mov dword [esp + 0x60], ebp
mov byte [esp + 0x84], 0
mov byte [esp + 0x85], 0
mov dword [esp + 0x70], eax
mov byte [esp + 0x86], 0x43
mov dword [esp + 0x78], 3
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], 1
mov byte [esp + 0x87], 0xff
mov dword [esp + 0x74], 4
call fcn.1013f910
mov ecx, dword [esp + 0x1f4]
add dword [esp + 0x74], 0x42
add esp, 0xc
lea eax, [esp + 0x64]
push eax
lea edi, [ebp + 0xd0]
push ecx
mov ecx, edi
call fcn.1006e3a0
test eax, eax
je 0x100621a6
lea edx, [esp + 0x18]
push str.SF_SSIP_SDK
push edx
call fcn.1005e920
add esp, 8
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1e4], 0
call fcn.1005d580
test al, al
je 0x10062186
push str._ERROR_:_SSIPSessionImpl::getCapabilities:_inquiry_call_failed
push 0x64
push str.SamsungFramework::SSIPSDK::Inner::SSIPSessionImpl::getCapabilities
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnSSIPSDKInnerSSIPSessionImpl.cpp
push 0
lea eax, [esp + 0x2c]
push eax
call fcn.1005e520
add esp, 0x18
lea ecx, [esp + 0x18]
mov dword [esp + 0x1e0], 0xffffffff
call fcn.10117cb0
mov ecx, edi
call fcn.1005c2b0
jmp 0x10062661
mov al, byte [ebp + 0x174]
xor bl, bl
mov byte [esp + 0x28], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x48], bl
mov byte [esp + 0x2c], bl
test al, al
jne 0x10062220
mov al, byte [esp + 0xbc]
mov cl, al
and cl, 1
cmp cl, 1
sete bl
mov dl, al
and dl, 8
cmp dl, 8
sete cl
and al, 0x10
cmp al, 0x10
sete dl
mov byte [esp + 0x28], bl
mov byte [esp + 0x48], cl
mov byte [esp + 0x2c], dl
call fcn.10067470
test al, al
je 0x10062220
mov al, byte [esp + 0xbc]
mov cl, al
and cl, 2
cmp cl, 2
sete dl
and al, 4
cmp al, 4
sete al
mov byte [esp + 0x3c], dl
mov byte [esp + 0x44], al
lea ecx, [esp + 0xc0]
call fcn.100618f0
test bl, bl
je 0x10062298
mov edx, dword [esp + 0x1e8]
lea ecx, [esp + 0xc0]
push ecx
push edx
mov ecx, edi
call fcn.1006f980
test eax, eax
je 0x10062298
lea eax, [esp + 0x18]
push str.SF_SSIP_SDK
push eax
call fcn.1005e920
add esp, 8
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1e4], 1
call fcn.1005d580
test al, al
je 0x10062186
push str._ERROR_:_SSIPSessionImpl::getCapabilities:_extended_inquiry_call_failed
push 0x7c
push str.SamsungFramework::SSIPSDK::Inner::SSIPSessionImpl::getCapabilities
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnSSIPSDKInnerSSIPSessionImpl.cpp
push 0
lea ecx, [esp + 0x2c]
push ecx
jmp 0x1006217e
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, ebp
mov byte [esp + 0x24], 0
mov byte [esp + 0x25], 0
mov byte [esp + 0x28], 0
mov byte [esp + 0x29], 0
call fcn.10060d80
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x68]
call fcn.100605d0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x68]
call fcn.100605d0
lea ecx, [esp + 0x64]
call fcn.10060580
movzx ecx, ax
movzx eax, byte [esp + 0xe2]
mov dword [esp + 0x40], ecx
cmp eax, 3
ja case.0x100622fb.0
jmp dword [eax*4 + 0x1006268c]
movzx eax, byte [esp + 0xe3]
sub eax, 1
jne case.0x100622fb.0
movzx edx, word [esp + 0x24]
mov ax, word [esp + 0x18]
mov word [esp + 0x18], dx
movzx edx, word [esp + 0x20]
mov word [esp + 0x24], ax
mov ax, word [esp + 0x1c]
or ecx, 4
mov word [esp + 0x1c], dx
mov word [esp + 0x20], ax
mov dword [esp + 0x40], ecx
test cl, 0x38
je 0x1006235a
movzx eax, byte [esp + 0xad]
sub eax, 1
je 0x1006235a
sub eax, 1
mov byte [esp + 0x38], 1
je 0x1006235f
mov byte [esp + 0x38], 0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x68]
call fcn.10061d30
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x1e4], 2
call fcn.10061c60
mov dword [esp + 0x50], eax
mov al, byte [esp + 0xe6]
mov byte [esp + 0x1e0], 3
mov byte [esp + 0x17], 0
test al, 1
je 0x100623ab
mov byte [esp + 0x17], 1
test al, 2
je 0x100623b4
or byte [esp + 0x17], 2
test al, 4
je 0x100623bd
or byte [esp + 0x17], 4
test al, 8
je 0x100623c6
or byte [esp + 0x17], 8
movzx eax, byte [esp + 0xe5]
sub eax, 0
je 0x100623e3
sub eax, 1
je 0x100623dc
xor ebp, ebp
jmp 0x100623e8
mov ebp, 2
jmp 0x100623e8
mov ebp, 1
movzx eax, byte [esp + 0xe3]
sub eax, 1
je 0x100623f9
xor edi, edi
jmp 0x100623fe
mov edi, 1
movzx eax, byte [esp + 0xe2]
xor edx, edx
cmp eax, 3
ja case.default.0x1006240d
jmp dword [eax*4 + 0x1006269c]
xor edx, edx
jmp case.default.0x1006240d
mov edx, 1
jmp case.default.0x1006240d
mov edx, 2
jmp case.default.0x1006240d
mov edx, 3
mov eax, dword [esp + 0xdf]
test ah, ah
setne cl
mov byte [esp + 0x58], cl
movzx cx, byte [esp + 0x9f]
movzx ebx, cx
xor ecx, ecx
test bl, 1
je 0x10062453
mov ecx, 1
test bl, 2
je 0x1006245b
or ecx, 2
test bl, 8
je 0x10062463
or ecx, 4
test bl, 0x20
je 0x1006246b
or ecx, 8
cmp byte [esp + 0xf4], 1
sete bl
cmp byte [esp + 0xe4], 0
movzx ebx, bl
push ebx
mov ebx, dword [esp + 0x50]
push ebx
mov ebx, dword [esp + 0x58]
push ebx
movzx ebx, byte [esp + 0x23]
push ebx
push ebp
setne bl
movzx ebx, bl
push ebx
push edi
push edx
mov edx, dword [esp + 0x101]
push edx
mov edx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x105]
push eax
mov eax, dword [esp + 0x10a]
push eax
mov al, byte [esp + 0xce]
push edx
mov dl, al
and dl, 0x80
cmp dl, 0x80
sete dl
and al, 0x40
movzx edx, dl
push edx
cmp al, 0x40
sete al
movzx edx, al
mov eax, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0xa0]
push edx
push eax
push ecx
lea ecx, [esp + 0xd0]
call fcn.10060490
push eax
mov ecx, esi
call fcn.10061a90
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
mov byte [esp + 0x1e0], 2
cmp eax, ecx
je 0x1006255a
test eax, eax
je 0x1006255a
push eax
call fcn.1005a120
add esp, 4
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x60]
lea edx, [esp + 0x34]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], edx
mov dword [esp + 0x1e0], 0xffffffff
cmp eax, ecx
je 0x1006258e
test eax, eax
je 0x1006258e
push eax
call fcn.1005a120
add esp, 4
movzx dx, byte [esp + 0xaa]
mov eax, dword [esp + 0x54]
movzx ecx, byte [esp + 0xa9]
mov word [eax + 0xf8], dx
mov edx, dword [esp + 0xef]
push edx
mov dword [eax + 0xfc], ecx
call fcn.10060100
mov dword [esi + 4], eax
mov eax, dword [esp + 0xf5]
push eax
call fcn.10060100
mov ecx, dword [esp + 0xfb]
push ecx
mov dword [esi + 8], eax
call fcn.10060170
mov edx, dword [esp + 0x101]
push edx
mov dword [esi + 0x3c], eax
call fcn.10060100
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x107]
push eax
call fcn.10060100
mov ecx, dword [esp + 0x10d]
push ecx
mov dword [esi + 0x10], eax
call fcn.10060170
mov edx, dword [esp + 0x112]
push edx
mov dword [esi + 0x40], eax
call fcn.10060100
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x118]
push eax
call fcn.10060100
mov ecx, dword [esp + 0x11e]
push ecx
mov dword [esi + 0x18], eax
call fcn.10060170
mov ebx, dword [esp + 0x123]
push ebx
mov dword [esi + 0x44], eax
call fcn.10060170
add esp, 0x28
test bh, bh
setne dl
mov dword [esi + 0x68], eax
mov byte [esi + 0x29], 1
mov byte [esi + 0x6c], dl
xor eax, eax
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.1013d581
add esp, 0x1d0
ret 8