Function at 0x10019630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebc68
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x4a9c
call fcn.100c8100
mov eax, dword [0x10144930]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4a8c], eax
mov edi, edx
mov dword [ebp - 0x4a88], edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x4a90], ecx
mov dword [ebp - 0x4a80], 0xd
lea edx, [ebp - 0x4a7c]
push edx
call fcn.100465a0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2a2c], ebx
mov byte [ebp - 0x2a28], bl
mov dword [ebp - 0x2a24], ebx
push 0x800
push ebx
lea eax, [ebp - 0x2a20]
push eax
call fcn.100c7d20
add esp, 0xc
mov byte [ebp - 4], 1
mov dword [ebp - 0x4a84], ebx
mov byte [ebp - 4], 2
push str.Load_Load_SSID_List_from_Device___
mov ecx, 0x10152dd8
call fcn.1003f430
add esp, 4
cmp edi, ebx
jne 0x10019721
push str.Invalid_Parameter___
mov ecx, 0x10152dd8
call fcn.1003f430
add esp, 4
mov byte [ebp - 4], bl
lea eax, [ebp - 0x2a2c]
call fcn.10044070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4a7c]
push ecx
call fcn.10046620
lea eax, [ebx + 0x57]
jmp 0x10019ae5
push 0x800
push ebx
lea edx, [ebp - 0x1a1c]
push edx
call fcn.100c7d20
add esp, 0xc
lea eax, [ebp - 0x1a1c]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, 0x1010c308
lea edx, [ebp - 0x1a1c]
call fcn.10046140
push 0x800
push ebx
lea ecx, [ebp - 0xa1c]
push ecx
call fcn.100c7d20
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea edx, [ebp - 0x1a1c]
push edx
push str._sINIT__d__d.xml
lea edx, [ebp - 0xa1c]
call fcn.10005c50
add esp, 0x10
push 0x7530
push 0xf1
lea eax, [ebp - 0xa1c]
push eax
mov ecx, dword [ebp - 0x4a8c]
call fcn.10017490
mov edi, eax
mov dword [ebp - 0x4a80], edi
cmp edi, ebx
je 0x100197e8
push str.Get_Init_Data_from_Device_fail___
mov ecx, edi
mov edx, 0x10152dd8
call fcn.1003f2f0
add esp, 4
mov dword [ebp - 0x4a94], edi
push 0x1012ac78
lea ecx, [ebp - 0x4a94]
push ecx
call fcn.100c80ad
cmp byte [ebp + 0x10], bl
je 0x10019815
mov byte [ebp - 4], bl
lea eax, [ebp - 0x2a2c]
call fcn.10044070
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x4a7c]
push edx
call fcn.10046620
xor eax, eax
jmp 0x10019ae5
push ebx
lea edi, [ebp - 0xa1c]
lea eax, [ebp - 0x4a7c]
call fcn.10046680
mov edi, eax
mov dword [ebp - 0x4a80], edi
cmp edi, ebx
je 0x1001985e
push str.Load_XML_fail___
mov ecx, edi
mov edx, 0x10152dd8
call fcn.1003f2f0
add esp, 4
mov dword [ebp - 0x4aa0], edi
push 0x1012ac78
lea eax, [ebp - 0x4aa0]
push eax
call fcn.100c80ad
mov dword [ebp - 0x4a84], ebx
lea ecx, [ebp - 0x4a84]
push ecx
mov edx, str.current
mov ecx, str.PRINTERSETTINGSINFO_INFORMATION_SCANED_LIST_NUM
lea edi, [ebp - 0x4a7c]
call fcn.10046810
mov edi, eax
mov dword [ebp - 0x4a80], edi
cmp edi, ebx
je 0x100198b7
push str.Get_Count_fail___
mov ecx, edi
mov edx, 0x10152dd8
call fcn.1003f2f0
add esp, 4
mov dword [ebp - 0x4aa4], edi
push 0x1012ac78
lea edx, [ebp - 0x4aa4]
push edx
call fcn.100c80ad
push 0x200
push ebx
lea eax, [ebp - 0x21c]
push eax
call fcn.100c7d20
add esp, 0xc
mov ecx, dword [ebp - 0x4a84]
push ecx
push 0x1010d810
lea edx, [ebp - 0x21c]
call fcn.1000c760
push str.Total
push esi
mov edx, dword [ebp - 0x4a88]
push edx
lea ecx, [ebp - 0x21c]
call fcn.1000c7d0
add esp, 0x14
mov edi, 1
mov dword [ebp - 0x4a9c], edi
cmp edi, dword [ebp - 0x4a84]
jg 0x10019a1e
push 0x800
push ebx
lea eax, [ebp - 0x221c]
push eax
call fcn.100c7d20
add esp, 0xc
push 0x800
push ebx
lea ecx, [ebp - 0x121c]
push ecx
call fcn.100c7d20
add esp, 0xc
push edi
push str.PRINTERSETTINGSINFO_INFORMATION
push 0x10109bcc
lea edx, [ebp - 0x221c]
call fcn.10005c50
add esp, 0xc
cmp esi, ebx
je 0x1001997b
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10019961
sub eax, edx
sar eax, 1
je 0x1001997b
push edi
push esi
push str._s_d
jmp 0x10019982
push edi
push esi
push 0x1010d810
lea edx, [ebp - 0x121c]
call fcn.10005c50
add esp, 0xc
lea edx, [ebp - 0x121c]
push edx
lea eax, [ebp - 0xa1c]
push eax
mov ecx, dword [ebp - 0x4a8c]
push ecx
mov edx, dword [ebp - 0x4a88]
lea ecx, [ebp - 0x221c]
call fcn.1001ac60
mov dword [ebp - 0x4a80], eax
cmp eax, ebx
jne 0x10019a02
cmp edi, 1
jne 0x100199fa
mov edx, dword [ebp - 0x4a88]
push edx
lea ebx, [ebp - 0x121c]
lea eax, [ebp - 0x2a2c]
call fcn.10044090
test eax, eax
jne 0x100199f8
push str.SELF
push eax
lea eax, [ebp - 0x2a2c]
push eax
mov ecx, 0x10108f28
call fcn.1000c780
xor ebx, ebx
add edi, 1
jmp 0x10019903
push str.XML_Data__d__to_Regisry_fail___
mov ecx, eax
mov edx, 0x10152dd8
call fcn.1003f2f0
add esp, 4
add edi, 1
jmp 0x10019903
mov dword [ebp - 0x4a80], ebx
push str.Load_Load_SSID_List_from_Device___Success
mov ecx, 0x10152dd8
call fcn.1003f430
add esp, 4
mov dword [ebp - 4], 1
jmp 0x10019a79
lea eax, [ebp - 0xa1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10019a82
sub eax, edx
sar eax, 1
je 0x10019a9e
lea ecx, [ebp - 0xa1c]
call fcn.10049df0
mov eax, dword [ebp - 0x4a90]
cmp eax, ebx
je 0x10019ab0
mov edx, dword [ebp - 0x4a84]
mov dword [eax], edx
mov byte [ebp - 4], bl
cmp byte [ebp - 0x2a28], bl
je 0x10019acc
mov eax, dword [ebp - 0x2a2c]
cmp eax, ebx
je 0x10019acc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4a7c]
push eax
call fcn.10046620
mov eax, dword [ebp - 0x4a80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.100c59be
mov esp, ebp
pop ebp
ret 0xc