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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x59c
mov eax, dword [0x444020]
xor eax, esp
mov dword [esp + 0x598], eax
push ebx
push esi
push edi
call fcn.004125f9
mov ecx, 0x445990
call fcn.0040f8ca
lea ecx, [esp + 0x10]
call fcn.0041929c
lea ecx, [esp + 0xd8]
call fcn.004021b6
lea ecx, [esp + 0xf0]
call fcn.004021b6
lea ecx, [esp + 0x108]
call fcn.004021b6
lea ecx, [esp + 0x120]
call fcn.004021b6
push 0x400
xor ebx, ebx
lea eax, [esp + 0x13c]
push ebx
push eax
call fcn.00420420
add esp, 0xc
lea eax, [esp + 0xd8]
mov ecx, 0x445a20
push eax
call fcn.0041a99e
lea ecx, [esp + 0xd8]
call fcn.0041a5e9
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x41a7ac
push esi
lea ecx, [esp + 0x34]
call fcn.00401ce3
lea ecx, [esp + 0x30]
call fcn.0041aa6d
lea ecx, [esp + 0x30]
call fcn.00401e29
cmp byte [0x4459cd], bl
je 0x41a790
push str.winrarsfxmappingfile.tmp
push ebx
mov esi, 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, eax
test edi, edi
je 0x41a787
push 9
push ebx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x41a785
lea ecx, [ebx + 1]
call fcn.00407628
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea eax, [esi + 9]
xor ebx, ebx
push eax
push ebx
push ebx
push 0xf001f
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x41a787
lea edx, [esi + 9]
mov ecx, 0x445a20
push edx
call fcn.0041a57e
mov ecx, 0x445a20
mov byte [esi], 1
call fcn.0041a9f0
push 1
push ebx
mov ebx, 0x445a80
mov edx, 0x400
mov ecx, ebx
call fcn.00411e04
push ebx
mov ecx, 0x445a00
call fcn.00411dbf
mov edx, 0x400
mov ecx, ebx
call fcn.00411d3c
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41a7ac
push esi
lea ecx, [esp + 0x34]
call fcn.00401ce3
lea ecx, [esp + 0x30]
call fcn.0041a9f0
lea ecx, [esp + 0x30]
call fcn.00401e29
lea ecx, [esp + 0x30]
call fcn.0040f7e8
mov esi, 0x445e80
push eax
mov ecx, esi
call fcn.0040300d
lea ecx, [esp + 0x30]
call fcn.00401e29
mov ecx, esi
call fcn.0040126f
push eax
push str.sfxname
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x2e]
push eax
movzx eax, word [esp + 0x30]
push eax
movzx eax, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x34]
push eax
movzx eax, word [esp + 0x36]
push eax
movzx eax, word [esp + 0x36]
push eax
movzx eax, word [esp + 0x38]
push eax
push str._4d__02d__02d__02d__02d__02d__03d
lea eax, [esp + 0x558]
push 0x32
push eax
call fcn.0040d3cb
add esp, 0x28
lea eax, [esp + 0x538]
push eax
push str.sfxstime
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
push 0x64
push esi
mov dword [0x4457e4], esi
mov dword [0x4457e0], esi
call dword [sym.imp.USER32.dll_LoadIconW]
push ecx
mov dword [0x445e9c], eax
call fcn.004104af
lea ecx, [esp + 0x90]
call fcn.0041776a
lea ecx, [esp + 0x48]
call fcn.0041776a
push ebx
push 0x41ac00
push ebx
lea eax, [esp + 0x9c]
mov dword [0x4457f0], eax
lea eax, [esp + 0x54]
push str.STARTDLG
push esi
mov dword [0x4457f4], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [esp + 0x48]
mov dword [0x4457f4], ebx
mov dword [0x4457f0], ebx
call fcn.004177ca
lea ecx, [esp + 0x90]
call fcn.004177ca
mov eax, dword [0x445ed8]
test eax, eax
je 0x41a8d4
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x4459a8], 0
je 0x41a8e2
call fcn.0041d017
mov ecx, 0x445a10
call fcn.00411d19
push dword [0x445e9c]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x445eb8]
test eax, eax
je 0x41a908
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.0040ba9d
test eax, eax
jne 0x41a928
cmp byte [0x4457fc], al
je 0x41a928
push 0xff
mov ecx, 0x445860
call fcn.00408038
mov ecx, dword [0x445edc]
mov byte [0x4457fc], 1
test ecx, ecx
je 0x41a94a
call fcn.0041cfb3
push dword [0x445edc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0040ba9d
cmp byte [0x445982], 0
mov esi, eax
je 0x41a97c
cmp byte [0x445983], 0
mov eax, dword [0x444bf4]
je 0x41a976
mov esi, dword [0x445ebc]
test eax, eax
jle 0x41a97c
add esi, eax
jmp 0x41a97c
test eax, eax
jns 0x41a97c
sub esi, eax
lea ecx, [esp + 0x10]
call fcn.004192fb
mov ecx, dword [esp + 0x5a4]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041e795
mov esp, ebp
pop ebp
ret 0x10