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

Disassembly:
sub esp, 0xc4
push ebx
push esi
push edi
push 1
call fcn.0040f353
push 0x800
push 0x442120
call fcn.00418b8e
lea ecx, [esp + 0x1c]
call fcn.00419036
mov ecx, 0x441e98
call fcn.00410722
mov edi, 0x7104
xor ebx, ebx
push edi
push ebx
push 0x450828
call fcn.0041dea0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x41c203
push esi
call fcn.0041a8d4
cmp byte [0x444129], bl
je 0x41c1fd
push ebp
push str.winrarsfxmappingfile.tmp
push ebx
mov esi, 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebp, eax
test ebp, ebp
je 0x41c1f3
push edi
push ebx
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x41c1ea
push edi
push ebx
push 0x450828
call fcn.0041e000
add esp, 0xc
mov byte [ebx], 1
push 0x45082a
call fcn.0041be0a
push 0x40
pop ecx
mov esi, 0x45782a
mov edi, 0x44612a
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 0x41c203
push esi
call fcn.0041be0a
push 0x800
mov edi, 0x457938
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 + 0x8c]
push 0x32
push eax
call fcn.00403f5b
add esp, 0x28
lea eax, [esp + 0x6c]
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 [0x43cba8], esi
mov dword [0x43cba4], esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x44622c], eax
call fcn.00419a76
push edi
mov ecx, 0x43cbd4
mov dword [0x450824], eax
call fcn.0040caa7
lea ecx, [esp + 0x48]
call fcn.00417b13
lea ecx, [esp + 0x24]
call fcn.00417b13
push ebx
push 0x419b4f
push ebx
lea eax, [esp + 0x54]
mov dword [0x442110], eax
lea eax, [esp + 0x30]
push str.STARTDLG
push esi
mov dword [0x442114], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [esp + 0x24]
mov dword [0x442114], ebx
mov dword [0x442110], ebx
call fcn.00417b93
lea ecx, [esp + 0x48]
call fcn.00417b93
mov eax, dword [0x458948]
test eax, eax
je 0x41c318
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x443120], 0
je 0x41c326
call fcn.00419237
mov ecx, 0x450720
call fcn.0040de69
cmp dword [0x44210c], 0
jbe 0x41c345
push dword [0x442108]
call fcn.004220ce
pop ecx
push dword [0x44622c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x450824]
test eax, eax
je 0x41c35f
push eax
call esi
cmp dword [0x43cbe8], 0
jne 0x41c380
cmp byte [0x4420ff], 0
je 0x41c380
push 0xff
mov ecx, 0x43cbe8
call fcn.00406ecf
mov eax, dword [0x45894c]
mov byte [0x4420ff], 1
test eax, eax
je 0x41c3a2
push eax
call fcn.0041be69
push dword [0x45894c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x458941], 0
mov esi, dword [0x43cbe8]
je 0x41c3d3
cmp byte [0x458942], 0
mov eax, dword [0x43a150]
je 0x41c3cd
mov esi, dword [0x458944]
test eax, eax
jle 0x41c3d3
add esi, eax
jmp 0x41c3d3
test eax, eax
jns 0x41c3d3
sub esi, eax
lea ecx, [esp + 0x1c]
call fcn.0041909e
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0xc4
ret 0x10