Function at 0x10017f40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa60b
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x100d8344]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10055290
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
add esp, 0xc
push 0x104
push eax
push 0
call ebx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.softmgrSoftMgrInst.exe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x424]
call fcn.10008760
lea ecx, [esi + 0x58]
mov dword [ebp - 4], 0
call fcn.10009c40
test al, al
je 0x10017fe0
mov eax, str.dynwp
jmp 0x10017fe8
lea ecx, [esi + 0x58]
call fcn.10008910
push eax
push dword [esi + 4]
lea eax, [ebp - 0x424]
push str.__hwnd_d___from_s___newtrue
push eax
call fcn.100090d0
add esp, 0x10
cmp dword [0x100dbe78], 0
je 0x10018019
push str.___log
lea ecx, [ebp - 0x424]
call fcn.10008940
push 0
lea ecx, [ebp - 0x424]
call fcn.100092b0
push eax
lea eax, [ebp - 0x218]
push eax
push str._s__s
call fcn.1001b520
add esp, 0xc
lea ecx, [ebp - 0x424]
push 0xffffffffffffffff
call fcn.10009fa0
lea ecx, [ebp - 0x424]
call fcn.10008910
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.100186c0
mov dword [ebp - 0x428], eax
test eax, eax
jne 0x1001810a
push eax
lea ecx, [ebp - 0x424]
call fcn.100092b0
push eax
lea eax, [ebp - 0x218]
push eax
push str.launch_download_fail.
call fcn.1001b520
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10055290
add esp, 0x18
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call ebx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.UtilsWallpaperFetcher.exe
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x424]
call fcn.10008910
push eax
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
call fcn.100186c0
mov dword [ebp - 0x428], eax
test eax, eax
jne 0x1001810a
push str.launch_download2_fail.
call fcn.1001b520
mov eax, dword [ebp - 0x428]
add esp, 4
mov ecx, dword [esi + 0x2c]
xor ebx, ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne bl
test ecx, ecx
je 0x10018127
push ecx
call edi
mov eax, dword [ebp - 0x428]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x34]
test eax, eax
je 0x10018138
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x10018149
push eax
call edi
mov dword [esi + 0x30], 0
mov eax, dword [esi + 0x34]
test eax, eax
je 0x1001815a
push eax
call edi
mov dword [esi + 0x34], 0
cmp dword [esi + 0x2c], 0
je 0x10018193
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 0
push 1
push 0
mov dword [esi + 0x38], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x10018b50
push 0
push 0
mov dword [esi + 0x34], eax
call fcn.1006419f
add esp, 0x18
mov dword [esi + 0x30], eax
lea ecx, [ebp - 0x424]
call fcn.10008890
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10045358
mov esp, ebp
pop ebp
ret