Function at 0x41c55f
Capabilities:
Accept command line arguments
Set environment variable

Disassembly:
sub esp, 0xd4
push ebx
push esi
push edi
push 1
call fcn.0040faaf
push 0x800
push 0x446498
call fcn.00419092
lea ecx, [esp + 0x1c]
call fcn.0041953a
mov ecx, 0x446210
call fcn.00410d95
mov edi, 0x7104
xor ebx, ebx
push edi
push ebx
push 0x454ba8
call fcn.0041e2b0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x41c631
push esi
call fcn.0041ad3f
cmp byte [0x4484a1], bl
je 0x41c62b
push ebp
push 0x43247c
push ebx
mov esi, 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebp, eax
test ebp, ebp
je 0x41c621
push edi
push ebx
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x41c618
push edi
push ebx
push 0x454ba8
call fcn.0041e410
add esp, 0xc
mov byte [ebx], 1
push 0x454baa
call fcn.0041c275
push 0x40
pop ecx
mov esi, 0x45bbaa
mov edi, 0x44a4a2
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor ebx, ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
jmp 0x41c631
push esi
call fcn.0041c275
push 0x800
mov edi, 0x45bcb8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push edi
push str.sfxname
call esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x1a]
push eax
movzx eax, word [esp + 0x1c]
push eax
movzx eax, word [esp + 0x1e]
push eax
movzx eax, word [esp + 0x20]
push eax
movzx eax, word [esp + 0x22]
push eax
movzx eax, word [esp + 0x22]
push eax
movzx eax, word [esp + 0x24]
push eax
push str._4d__02d__02d__02d__02d__02d__03d
lea eax, [esp + 0x9c]
push 0x32
push eax
call fcn.00403cf9
add esp, 0x28
lea eax, [esp + 0x7c]
push eax
push str.sfxstime
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
push 0x64
push esi
mov dword [0x43ef04], esi
mov dword [0x43ef00], esi
call dword [sym.imp.USER32.dll_LoadIconW]
push edi
mov ecx, 0x43ef18
mov dword [0x44a5a4], eax
call fcn.0040cd29
lea ecx, [esp + 0x50]
call fcn.00417e95
lea ecx, [esp + 0x24]
call fcn.00417e95
push ebx
push 0x419f0c
push ebx
lea eax, [esp + 0x5c]
mov dword [0x44647c], eax
lea eax, [esp + 0x30]
push str.STARTDLG
push esi
mov dword [0x446480], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [esp + 0x24]
mov dword [0x446480], ebx
mov dword [0x44647c], ebx
call fcn.00417f47
lea ecx, [esp + 0x50]
call fcn.00417f47
mov eax, dword [0x45ccc8]
test eax, eax
je 0x41c73c
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x447498], 0
je 0x41c74a
call fcn.00419679
mov ecx, 0x454aa0
call fcn.0040e4ff
cmp dword [0x446478], 0
jbe 0x41c769
push dword [0x446474]
call fcn.0042250e
pop ecx
push dword [0x44a5a4]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x454ba4]
test eax, eax
je 0x41c783
push eax
call esi
cmp dword [0x43ef80], 0
jne 0x41c7a4
cmp byte [0x44646c], 0
je 0x41c7a4
push 0xff
mov ecx, 0x43ef80
call fcn.00406ce5
mov eax, dword [0x45cccc]
mov byte [0x44646c], 1
test eax, eax
je 0x41c7c6
push eax
call fcn.0041c2d4
push dword [0x45cccc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x45ccc1], 0
mov esi, dword [0x43ef80]
je 0x41c7f7
cmp byte [0x45ccc2], 0
mov eax, dword [0x43c150]
je 0x41c7f1
mov esi, dword [0x45ccc4]
test eax, eax
jle 0x41c7f7
add esi, eax
jmp 0x41c7f7
test eax, eax
jns 0x41c7f7
sub esi, eax
lea ecx, [esp + 0x1c]
call fcn.004195a2
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0xd4
ret 0x10