Function at 0x100188e0
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080bb8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100a6250]
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
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0
call fcn.10009370
add esp, 4
push dword [ebp - 0x14]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100189d1
mov edx, dword [esi + 0x1c]
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x1001896b
push 0x104
lea ecx, [esi + 0x1c]
call fcn.10017bf0
mov edx, dword [esi + 0x1c]
cmp dword [edx - 8], 0x104
jl 0x10018b1e
mov dword [edx - 0xc], 0x104
mov eax, dword [esi + 0x1c]
push 0x104
push edx
mov byte [eax + 0x104], 0
push dword [ebp - 0x14]
call fcn.1002db40
mov eax, dword [esi + 0x1c]
add esp, 0xc
test eax, eax
jne 0x100189a5
xor ecx, ecx
jmp 0x100189bb
push dword [eax - 8]
push eax
call fcn.1004da58
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x10018b1e
mov eax, dword [esi + 0x1c]
cmp ecx, dword [eax - 8]
jg 0x10018b1e
mov dword [eax - 0xc], ecx
mov eax, dword [esi + 0x1c]
mov byte [ecx + eax], 0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
mov dword [esi], eax
call ebx
push 0
push 0
push 0
push 0
mov dword [esi + 8], eax
call ebx
mov edi, dword [esi]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov dword [esi + 4], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test edi, edi
je 0x10018a41
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push ecx
push 0x110
push 0
push str.Control_PanelColors
push SysReAllocString
call eax
test eax, eax
jne 0x10018a3c
push 1
push edi
push 4
push 1
push dword [ebp - 0x18]
call ebx
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [esi + 4]
test edi, edi
je 0x10018a76
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push ecx
push 0x110
push 0
push str.Control_PanelDesktop
push SysReAllocString
call eax
test eax, eax
jne 0x10018a76
push 1
push edi
push 4
push 1
push dword [ebp - 0x18]
call ebx
mov edi, dword [esi + 8]
test edi, edi
je 0x10018aaf
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x110
push 0
push str.SoftwareMicrosoftInternet_ExplorerDesktopGeneral
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10018aaf
push 1
push edi
push 4
push 1
push dword [ebp - 0x18]
call ebx
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x10018b50
push 0
push 0
mov dword [esi + 0x10], eax
call fcn.1004e045
mov dword [esi + 0xc], eax
add esp, 0x18
mov esi, dword [ebp - 0x14]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10018afb
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
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.1001a767
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.10006e50
int3