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

Disassembly:
sub esp, 0xd4
push ebx
push esi
push edi
push 1
call fcn.0040f961
push 0x800
push 0x445428
call fcn.00419213
lea ecx, [esp + 0x1c]
call fcn.004196bb
mov ecx, 0x4451a0
call fcn.00410c4c
mov edi, 0x7104
xor ebx, ebx
push edi
push ebx
push 0x453b38
call fcn.0041e520
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x41c888
push esi
call fcn.0041af59
cmp byte [0x447431], bl
je 0x41c882
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 0x41c878
push edi
push ebx
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x41c86f
push edi
push ebx
push 0x453b38
call fcn.0041e680
add esp, 0xc
mov byte [ebx], 1
push 0x453b3a
call fcn.0041c48f
push 0x40
pop ecx
mov esi, 0x45ab3a
mov edi, 0x449432
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 0x41c888
push esi
call fcn.0041c48f
push 0x800
mov edi, 0x45ac48
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.00403ecc
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 [0x43feb8], esi
mov dword [0x43feb4], esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x449534], eax
call fcn.0041a0fb
push edi
mov ecx, 0x43fee4
mov dword [0x453b34], eax
call fcn.0040cc7c
lea ecx, [esp + 0x50]
call fcn.00418017
lea ecx, [esp + 0x24]
call fcn.00418017
push ebx
push 0x41a1d4
push ebx
lea eax, [esp + 0x5c]
mov dword [0x445404], eax
lea eax, [esp + 0x30]
push str.STARTDLG
push esi
mov dword [0x445408], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [esp + 0x24]
mov dword [0x445408], ebx
mov dword [0x445404], ebx
call fcn.004180c9
lea ecx, [esp + 0x50]
call fcn.004180c9
mov eax, dword [0x45bc58]
test eax, eax
je 0x41c99d
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x446428], 0
je 0x41c9ab
call fcn.004198bc
mov ecx, 0x453a30
call fcn.0040e3b1
cmp dword [0x445400], 0
jbe 0x41c9ca
push dword [0x4453fc]
call fcn.004227ae
pop ecx
push dword [0x449534]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x453b34]
test eax, eax
je 0x41c9e4
push eax
call esi
cmp dword [0x43ff0c], 0
jne 0x41ca05
cmp byte [0x44541f], 0
je 0x41ca05
push 0xff
mov ecx, 0x43ff0c
call fcn.00406eb8
mov eax, dword [0x45bc5c]
mov byte [0x44541f], 1
test eax, eax
je 0x41ca27
push eax
call fcn.0041c4ee
push dword [0x45bc5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x45bc51], 0
mov esi, dword [0x43ff0c]
je 0x41ca58
cmp byte [0x45bc52], 0
mov eax, dword [0x43d468]
je 0x41ca52
mov esi, dword [0x45bc54]
test eax, eax
jle 0x41ca58
add esi, eax
jmp 0x41ca58
test eax, eax
jns 0x41ca58
sub esi, eax
lea ecx, [esp + 0x1c]
call fcn.00419723
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0xd4
ret 0x10