Function at 0x10019b10
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eab86
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x369c
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 - 0x3664], eax
mov edi, edx
mov dword [ebp - 0x3674], edi
mov dword [ebp - 0x369c], ecx
mov dword [ebp - 0x3670], str.InstallingWSPSSIDList
mov dword [ebp - 0x3658], 0xd
lea esi, [ebp - 0x3654]
call fcn.1003fc60
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 edx, [ebp - 0x2a20]
push edx
call fcn.100c7d20
add esp, 0xc
mov byte [ebp - 4], 1
mov dword [ebp - 0x3660], ebx
mov dword [ebp - 0x366c], ebx
mov dword [ebp - 0x365c], ebx
mov dword [ebp - 0x3690], ebx
or esi, 0xffffffff
mov dword [ebp - 0x3668], esi
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 0x10019c1d
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], esi
lea ecx, [ebp - 0x3654]
call fcn.1003fcf0
lea eax, [ebx + 0x57]
jmp 0x1001a322
push 0x800
push ebx
lea eax, [ebp - 0x121c]
push eax
call fcn.100c7d20
add esp, 0xc
lea ecx, [ebp - 0x121c]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, 0x1010c308
lea edx, [ebp - 0x121c]
call fcn.10046140
push 0x800
push ebx
lea edx, [ebp - 0xa1c]
push edx
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 eax, [ebp - 0x121c]
push eax
push str._sINIT__d__d.xml
lea edx, [ebp - 0xa1c]
call fcn.10005c50
add esp, 0x10
push 0x7530
lea ecx, [ebp - 0x365c]
push ecx
push ebx
xor bl, bl
mov cl, 0xf1
mov edi, dword [ebp - 0x3664]
call fcn.10017710
mov esi, eax
mov dword [ebp - 0x3658], esi
test esi, esi
je 0x10019ceb
mov edx, dword [ebp - 0x365c]
push edx
push str.Start_Scan_fail___size____d_
mov ecx, esi
mov edx, 0x10152dd8
call fcn.1003f2f0
add esp, 8
mov dword [ebp - 0x367c], esi
push 0x1012ac78
lea eax, [ebp - 0x367c]
push eax
call fcn.100c80ad
push str.___________GetLinkStatus_for_LoadSSIDList_Quick_Scan__________
mov ecx, 0x10152dd8
call fcn.1003f430
add esp, 4
xor esi, esi
mov dword [ebp - 0x3678], esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10019d10
cmp esi, 0x1e
jge 0x10019da6
push 0x200
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.100c7d20
add esp, 0xc
push 0x100
lea edx, [ebp - 0x21c]
mov ecx, dword [ebp - 0x3664]
call fcn.1001a340
test eax, eax
jne 0x10019d91
push str.Connected
lea edx, [ebp - 0x21c]
push edx
call fcn.100c629b
add esp, 8
test eax, eax
je 0x10019da6
push str.Disconnected
lea eax, [ebp - 0x21c]
push eax
call fcn.100c629b
add esp, 8
test eax, eax
je 0x10019da6
push str.Scanned
lea ecx, [ebp - 0x21c]
push ecx
call fcn.100c629b
add esp, 8
test eax, eax
je 0x10019da6
push 0x3e8
call edi
add esi, 1
mov dword [ebp - 0x3678], esi
jmp 0x10019d10
push 0x7530
lea edx, [ebp - 0x365c]
push edx
push 0
mov bl, 2
mov cl, 0xf1
mov edi, dword [ebp - 0x3664]
call fcn.10017710
mov esi, eax
mov dword [ebp - 0x3658], esi
mov eax, dword [ebp - 0x365c]
test esi, esi
jne 0x1001a209
test eax, eax
je 0x1001a1fe
push eax
call fcn.100b61c6
add esp, 4
mov esi, eax
mov dword [ebp - 0x366c], esi
test esi, esi
jne 0x10019e2a
mov eax, dword [ebp - 0x365c]
push eax
push str.Allocate_memory_fail__:__d
mov ecx, 0x10152dd8
call fcn.1003f430
add esp, 8
mov dword [ebp - 0x3680], 0x7a
push 0x1012ac78
lea ecx, [ebp - 0x3680]
push ecx
call fcn.100c80ad
mov edx, dword [ebp - 0x365c]
push edx
push 0
push esi
call fcn.100c7d20
add esp, 0xc
push 0x7530
lea eax, [ebp - 0x365c]
push eax
push esi
mov bl, 1
mov cl, 0xf1
call fcn.10017710
mov ebx, eax
mov dword [ebp - 0x3658], ebx
test ebx, ebx
jne 0x1001a1cc
cmp dword [ebp - 0x365c], eax
je 0x1001a1c1
lea ecx, [ebp - 0xa1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push 0x80
push 4
push ebx
push 1
push 0xc0000000
lea edx, [ebp - 0xa1c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x3668], ebx
cmp ebx, 0xffffffff
jne 0x10019ede
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x3658], esi
push str.Create_File_fail___
mov ecx, esi
mov edx, 0x10152dd8
call fcn.1003f2f0
add esp, 4
mov dword [ebp - 0x3688], esi
push 0x1012ac78
lea eax, [ebp - 0x3688]
push eax
call fcn.100c80ad
push 0
lea ecx, [ebp - 0x3690]
push ecx
mov edx, dword [ebp - 0x365c]
push edx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10019f33
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x3658], esi
push str.Write_File_fail___
mov ecx, esi
mov edx, 0x10152dd8
call fcn.1003f2f0
add esp, 4
mov dword [ebp - 0x3698], esi
push 0x1012ac78
lea eax, [ebp - 0x3698]
push eax
call fcn.100c80ad
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x3668], 0xffffffff
push 1
push 0
lea edx, [ebp - 0xa1c]
lea ecx, [ebp - 0x3654]
call fcn.100401d0
mov esi, eax
mov dword [ebp - 0x3658], esi
test esi, esi
je 0x10019f90
push str.Load_XML_fail___
mov ecx, esi
mov edx, 0x10152dd8
call fcn.1003f2f0
add esp, 4
mov dword [ebp - 0x36a0], esi
push 0x1012ac78
lea ecx, [ebp - 0x36a0]
push ecx
call fcn.100c80ad
mov dword [ebp - 0x3660], 0
push 0x200
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.100c7d20
add esp, 0xc
push 0x100
lea eax, [ebp - 0x21c]
push eax
push str.current
mov edx, str.PRINTERSETTINGSINFO_INFORMATION_SCANED_LIST_NUM
lea ecx, [ebp - 0x3654]
call fcn.10041a30
mov esi, eax
mov dword [ebp - 0x3658], esi
test esi, esi
je 0x1001a008
push str.Get_Count_fail___
mov ecx, esi
mov edx, 0x10152dd8
call fcn.1003f2f0
add esp, 4
mov dword [ebp - 0x36a8], esi
push 0x1012ac78
lea ecx, [ebp - 0x36a8]
push ecx
call fcn.100c80ad
lea edx, [ebp - 0x21c]
call fcn.10045450
mov edi, eax
mov dword [ebp - 0x3660], edi
push edi
push str.Total_SSID_Count___d
mov ecx, 0x10152dd8
call fcn.1003f430
push 0x200
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.100c7d20
add esp, 0x14
push edi
push 0x1010d810
lea edx, [ebp - 0x21c]
call fcn.1000c760
add esp, 8
mov eax, dword [ebp - 0x3674]
push eax
mov ebx, dword [ebp - 0x3670]
lea eax, [ebp - 0x2a2c]
call fcn.10044090
mov ebx, eax
mov dword [ebp - 0x3658], ebx
test ebx, ebx
je 0x1001a0a4
push str.Init_registry_fail___
mov ecx, ebx
mov edx, 0x10152dd8
call fcn.1003f2f0
add esp, 4
mov dword [ebp - 0x3694], ebx
push 0x1012ac78
lea ecx, [ebp - 0x3694]
push ecx
call fcn.100c80ad
push str.Total
push 0
lea edx, [ebp - 0x2a2c]
push edx
lea ecx, [ebp - 0x21c]
call fcn.1000c780
mov esi, 1
mov dword [ebp - 0x3684], esi
cmp esi, edi
jg 0x1001a199
push 0x800
push 0
lea eax, [ebp - 0x221c]
push eax
call fcn.100c7d20
add esp, 0xc
push 0x800
push 0
lea ecx, [ebp - 0x1a1c]
push ecx
call fcn.100c7d20
add esp, 0xc
push esi
push str.PRINTERSETTINGSINFO_INFORMATION
push 0x10109bcc
lea edx, [ebp - 0x221c]
call fcn.10005c50
add esp, 0xc
push esi
push 0x1010d810
lea edx, [ebp - 0x1a1c]
call fcn.10005c50
add esp, 8
lea edx, [ebp - 0x1a1c]
push edx
lea eax, [ebp - 0x221c]
push eax
lea ecx, [ebp - 0x2a2c]
push ecx
lea edx, [ebp - 0x3654]
push edx
mov ecx, dword [ebp - 0x3664]
call fcn.1001aef0
test al, al
je 0x1001a17d
cmp esi, 1
jne 0x1001a191
push str.SELF
lea eax, [ebp - 0x1a1c]
push eax
lea ecx, [ebp - 0x2a2c]
push ecx
mov ecx, 0x10108f28
call fcn.1000c780
add esi, esi
jmp 0x1001a0c2
push str.XML_Data__d__to_Regisry_fail___
mov ecx, ebx
mov edx, 0x10152dd8
call fcn.1003f2f0
add esp, 4
add esi, 1
jmp 0x1001a0c2
mov dword [ebp - 0x3658], 0
push str.Load_Load_SSID_List_from_Device___Success
mov ecx, 0x10152dd8
call fcn.1003f430
add esp, 4
mov dword [ebp - 4], 1
jmp 0x1001a273
mov ebx, 0xd
mov dword [ebp - 0x3658], ebx
mov edx, dword [ebp - 0x365c]
push edx
push str.Get_Data_fail___size____d_
mov ecx, ebx
mov edx, 0x10152dd8
call fcn.1003f2f0
add esp, 8
mov dword [ebp - 0x36a4], ebx
push 0x1012ac78
lea eax, [ebp - 0x36a4]
push eax
call fcn.100c80ad
mov esi, 0xd
mov dword [ebp - 0x3658], esi
push eax
push str.Start_Scan_fail___2__size____d_
mov ecx, esi
mov edx, 0x10152dd8
call fcn.1003f2f0
add esp, 8
mov dword [ebp - 0x368c], esi
push 0x1012ac78
lea ecx, [ebp - 0x368c]
push ecx
call fcn.100c80ad
mov edx, dword [ebp - 0x36ac]
mov dword [ebp - 0x3658], edx
mov dword [ebp - 4], 1
mov eax, 0x1001a26d
ret
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x366c]
test eax, eax
je 0x1001a28a
push eax
call fcn.100b61c1
add esp, 4
mov eax, dword [ebp - 0x3668]
cmp eax, 0xffffffff
je 0x1001a29c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xa1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001a2a5
sub eax, edx
sar eax, 1
je 0x1001a2c1
lea ecx, [ebp - 0xa1c]
call fcn.10049df0
mov dword [ebp - 4], 1
jmp 0x1001a2ef
mov eax, dword [ebp - 0x369c]
test eax, eax
je 0x1001a2fb
mov dword [eax], edi
mov byte [ebp - 4], 0
lea eax, [ebp - 0x2a2c]
call fcn.10044070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3654]
call fcn.1003fcf0
mov eax, dword [ebp - 0x3658]
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 4