Function at 0x4080d0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc88
mov eax, dword [0x43e6dc]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0xc64], eax
push 0xffffffffffffffff
call sub.IMM32.dll_ImmDisableIME
xor eax, eax
mov word [ebp - 0x830], ax
push 0x40e
push 0
lea ecx, [ebp - 0x82e]
push ecx
call fcn.0041ce70
add esp, 0xc
push 0x104
lea edx, [ebp - 0x830]
push edx
mov ecx, 0x44119c
call fcn.0040d7a0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0xc68]
call fcn.0040d8b0
push 0x5c
lea ecx, [ebp - 0xc68]
call fcn.0040afe0
push eax
push 0
lea ecx, [ebp - 0xc70]
push ecx
lea ecx, [ebp - 0xc68]
call fcn.0040b030
push eax
lea ecx, [ebp - 0xc68]
call fcn.0040ad80
lea ecx, [ebp - 0xc70]
call fcn.0040d8f0
push 0x5c
lea ecx, [ebp - 0xc68]
call fcn.0040afe0
push eax
push 0
lea edx, [ebp - 0xc74]
push edx
lea ecx, [ebp - 0xc68]
call fcn.0040b030
push eax
lea ecx, [ebp - 0xc68]
call fcn.0040ad80
lea ecx, [ebp - 0xc74]
call fcn.0040d8f0
push str.Config_newui_themesdefault_
lea ecx, [ebp - 0xc68]
call fcn.0040adc0
lea ecx, [ebp - 0xc68]
call fcn.0041add0
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor eax, eax
mov word [ebp - 0xc60], ax
push 0x40e
push 0
lea ecx, [ebp - 0xc5e]
push ecx
call fcn.0041ce70
add esp, 0xc
push 0x4344f4
push 0x208
lea edx, [ebp - 0xc60]
push edx
call fcn.0041b6a0
add esp, 0xc
lea eax, [ebp - 0xc60]
push eax
call fcn.0040d210
add esp, 4
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 4
call fcn.0040c020
add esp, 4
push 0x17
push 0
push 0x434708
push 0x434508
push 0x440d8c
lea ecx, [ebp - 0xc7c]
push ecx
call fcn.00418f60
add esp, 0xc
mov ecx, eax
call fcn.0040b3c0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
mov ecx, 0x440008
call fcn.0040c260
mov dword [ebp - 0xc64], eax
push 1
push 1
mov ecx, 0x440008
call fcn.0040b3b0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x84c]
call fcn.00408730
lea ecx, [ebp - 0x84c]
call fcn.00408820
xor ecx, ecx
mov word [ebp - 0x420], cx
push 0x40e
push 0
lea edx, [ebp - 0x41e]
push edx
call fcn.0041ce70
add esp, 0xc
push str.safemon360xpfix.dll
push 0x208
lea eax, [ebp - 0x420]
push eax
call fcn.0041b6a0
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
call fcn.0040d070
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x408376
push str.IsXPFixSupport
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc6c], eax
cmp dword [ebp - 0xc6c], 0
je 0x408376
call dword [ebp - 0xc6c]
test eax, eax
jne 0x408376
push 0x10
push 0x434558
push 0x81
lea ecx, [ebp - 0xc80]
call fcn.0040d8b0
mov ecx, eax
call fcn.0041add0
push eax
push 0
call fcn.004085d0
lea ecx, [ebp - 0xc80]
call fcn.0040d8f0
mov dword [ebp - 0xc84], 0
lea ecx, [ebp - 0x84c]
call fcn.0040ad30
lea ecx, [ebp - 0xc68]
call fcn.0040d8f0
mov eax, dword [ebp - 0xc84]
jmp 0x4083be
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00407fd0
add esp, 8
mov dword [ebp - 4], eax
mov ecx, 0x440008
call fcn.0040c3b0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc88], edx
lea ecx, [ebp - 0x84c]
call fcn.0040ad30
lea ecx, [ebp - 0xc68]
call fcn.0040d8f0
mov eax, dword [ebp - 0xc88]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0041ce01
mov esp, ebp
pop ebp
ret 0x10