Function at 0x41f340
Capabilities:
Accept command line arguments
Create thread
Extract resource via kernel32 functions
Set registry value
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x678760
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x71906c]
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 edi, dword [ebp + 8]
lea ecx, [ebp - 0x258]
call fcn.004d8b8a
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x41f38f
xor esi, esi
jmp 0x41f6d9
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
lea ecx, [ebp - 0x238]
call fcn.004d8b8a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x238]
call fcn.004d90ab
call fcn.004d7dde
mov esi, dword [0x729e98]
test esi, esi
jne 0x41f428
push 0x729e60
call fcn.00428a46
add esp, 4
test eax, eax
je 0x41f3dd
push eax
call fcn.00428c2d
add esp, 4
mov esi, dword [0x729e98]
test esi, esi
jne 0x41f400
push 0x3c
call fcn.0042e861
add esp, 4
mov ecx, eax
call fcn.004d27e8
mov esi, eax
mov dword [0x729e98], esi
push 0x729e60
mov dword [ebp - 4], 0
call fcn.00428a6b
add esp, 4
test eax, eax
je 0x41f421
push eax
call fcn.00428c2d
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 0
mov ecx, esi
call fcn.004d2fb2
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 9
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x700698
mov word [ecx], ax
call fcn.00404e30
push 0
push edi
call fcn.00408a60
mov ecx, eax
call fcn.004ce7b4
push 9
call fcn.004d93ae
add esp, 4
call fcn.004dfa20
mov esi, dword [0x729fdc]
test esi, esi
jne 0x41f4ea
push 0x729fac
call fcn.00428a46
add esp, 4
test eax, eax
je 0x41f499
push eax
call fcn.00428c2d
add esp, 4
mov esi, dword [0x729fdc]
test esi, esi
jne 0x41f4c2
push 8
call fcn.0042e861
mov esi, eax
add esp, 4
mov dword [esi], vtable.CPublicParamUtil.0
mov dword [esi + 4], vtable.CPublicParamUtil.1.0
mov dword [0x729fdc], esi
push 0x729fac
mov dword [ebp - 4], 1
call fcn.00428a6b
add esp, 4
test eax, eax
je 0x41f4e3
push eax
call fcn.00428c2d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0041e6d0
call fcn.00418740
mov esi, eax
mov byte [esi], 1
call fcn.00406e30
cmp dword [esi + 4], 0
jne 0x41f52a
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push 0
push 0x4064c0
mov dword [esi + 8], eax
call fcn.0050d2d4
add esp, 0xc
mov dword [esi + 4], eax
xor al, al
mov ebx, 0x729d98
xchg byte [ebx], al
sub esp, 0xc
call fcn.004235e0
test eax, eax
jne 0x41f5d7
push edi
call fcn.0043d020
add esp, 4
push 4
call fcn.0043d450
add esp, 4
push str.ZIPRES
push 0x84
call fcn.00434c30
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41f5b0
push esi
call fcn.00434c30
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41f5a9
push esi
call fcn.00434c30
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x41f5a9
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0043d460
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x4034d0
sub esp, 0x84
mov ecx, esp
push 0xffffffffffffffff
push str.CImageAnimUI
call fcn.0044b7d0
call fcn.00453650
mov ecx, eax
call fcn.00453720
jmp 0x41f5d9
js 0x41f5ef
call fcn.00423850
mov ecx, dword [0x729e24]
test ecx, ecx
je 0x41f5ef
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
mov al, 1
xchg byte [ebx], al
call fcn.004d7d8d
call fcn.00418740
mov esi, eax
mov dl, 1
lea ecx, [esi + 0xc]
xchg byte [ecx], dl
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
test eax, eax
je 0x41f659
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41f652
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x25c], 0
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 0x25c]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 4], 0
lea eax, [ebp - 0x264]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push reloc.gdiplus.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41f6bd
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x41f6bd
push 4
lea eax, [ebp - 0x260]
mov dword [ebp - 0x260], 1
push eax
push 4
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x238]
mov esi, 1
call fcn.004d8bb8
lea ecx, [ebp - 0x258]
call fcn.004d8bb8
mov eax, esi
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.0042e1e5
mov esp, ebp
pop ebp
ret 0x10