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

Disassembly:
sub esp, 0xd4
push ebx
push esi
push edi
push 1
call fcn.0040689c
push 0x800
push 0x44cbc8
call fcn.0040e822
lea ecx, [esp + 0x1c]
call fcn.0040ecca
mov ecx, 0x43b160
call fcn.004075c1
mov edi, 0x7104
xor ebx, ebx
push edi
push ebx
push 0x45b350
call fcn.00413980
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x411dbe
push esi
call fcn.004104f9
cmp byte [0x44ebd1], bl
je 0x411db8
push ebp
push 0x428a44
push ebx
mov esi, 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebp, eax
test ebp, ebp
je 0x411dae
push edi
push ebx
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x411da5
push edi
push ebx
push 0x45b350
call fcn.004141a0
add esp, 0xc
mov byte [ebx], 1
push 0x45b352
call fcn.00411a02
push 0x40
pop ecx
mov esi, 0x462352
mov edi, 0x450bd2
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 0x411dbe
push esi
call fcn.00411a02
push 0x800
mov edi, 0x462460
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.00403717
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 [0x44cb98], esi
mov dword [0x44cb94], esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x450ce4], eax
call fcn.0040f698
push edi
mov ecx, 0x450ce8
mov dword [0x45b34c], eax
call fcn.00403e6a
lea ecx, [esp + 0x50]
call fcn.0040d626
lea ecx, [esp + 0x24]
call fcn.0040d626
push ebx
push 0x40f774
push ebx
lea eax, [esp + 0x5c]
mov dword [0x44cba4], eax
lea eax, [esp + 0x30]
push str.STARTDLG
push esi
mov dword [0x44cba8], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [esp + 0x24]
mov dword [0x44cba8], ebx
mov dword [0x44cba4], ebx
call fcn.0040d6d8
lea ecx, [esp + 0x50]
call fcn.0040d6d8
mov eax, dword [0x463470]
test eax, eax
je 0x411ed3
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x44dbc8], 0
je 0x411ee1
call fcn.0040ee09
mov ecx, 0x45b248
call fcn.00405570
cmp dword [0x44cba0], 0
jbe 0x411f00
push dword [0x44cb9c]
call fcn.00417bae
pop ecx
push dword [0x450ce4]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x45b34c]
test eax, eax
je 0x411f1a
push eax
call esi
cmp dword [0x450cd4], 0
jne 0x411f3b
cmp byte [0x44cbbf], 0
je 0x411f3b
push 0xff
mov ecx, 0x450cd4
call fcn.00401913
mov eax, dword [0x463474]
mov byte [0x44cbbf], 1
test eax, eax
je 0x411f5d
push eax
call fcn.00411a61
push dword [0x463474]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x463469], 0
mov esi, dword [0x450cd4]
je 0x411f8e
cmp byte [0x46346a], 0
mov eax, dword [0x4314e0]
je 0x411f88
mov esi, dword [0x46346c]
test eax, eax
jle 0x411f8e
add esi, eax
jmp 0x411f8e
test eax, eax
jns 0x411f8e
sub esi, eax
lea ecx, [esp + 0x1c]
call fcn.0040ed32
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0xd4
ret 0x10