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

Disassembly:
sub esp, 0xdc
push ebx
push ebp
push esi
push edi
push 1
call fcn.00411b7c
push 0x800
push 0x451890
call fcn.0041b64d
lea ecx, [esp + 0x20]
call fcn.0041bd0b
mov ebp, 0x7402
xor ebx, ebx
push ebp
push ebx
push 0x44a480
call fcn.004211a0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x41f12c
push esi
call fcn.0041d6f8
cmp byte [0x453899], bl
je 0x41f126
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 0x41f11d
push ebp
push ebx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x41f116
push ebp
push esi
push 0x44a480
call fcn.00422db0
add esp, 0xc
mov byte [esi], 1
push 0x44a482
call fcn.0041ed1e
push 1
push ebx
mov ebp, 0x400
mov ebx, 0x451482
push ebp
push ebx
call fcn.00410695
push ebx
mov ecx, 0x45589c
call fcn.0041074b
push ebp
push ebx
call fcn.00410784
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41f12c
push esi
call fcn.0041ed1e
push 0x800
mov edi, 0x460cc0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push str.sfxname
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
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 + 0x24]
push eax
movzx eax, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x28]
push eax
push str._4d__02d__02d__02d__02d__02d__03d
lea eax, [esp + 0xa8]
push 0x32
push eax
call fcn.00404a20
add esp, 0x28
lea eax, [esp + 0x88]
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 [0x44306c], esi
mov dword [0x443068], esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x460cbc], eax
call fcn.0041c8bd
push edi
mov ecx, 0x443070
mov dword [0x461cc0], eax
call fcn.0040ed62
lea ecx, [esp + 0x58]
call fcn.0041a0c7
lea ecx, [esp + 0x28]
call fcn.0041a0c7
push ebx
push 0x41c9c0
push ebx
lea eax, [esp + 0x64]
mov dword [0x44a47c], eax
lea eax, [esp + 0x34]
push str.STARTDLG
push esi
mov dword [0x451884], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [esp + 0x28]
mov dword [0x451884], ebx
mov dword [0x44a47c], ebx
call fcn.0041a18b
lea ecx, [esp + 0x58]
call fcn.0041a18b
mov eax, dword [0x461ce0]
test eax, eax
je 0x41f246
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x452890], 0
je 0x41f254
call fcn.0041bfa3
mov ecx, 0x460ca0
call fcn.004105d0
cmp dword [0x461cd4], 0
jbe 0x41f273
push dword [0x461cc4]
call fcn.00420121
pop ecx
push dword [0x460cbc]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x461cc0]
test eax, eax
je 0x41f28f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x4430c4], 0
jne 0x41f2b0
cmp byte [0x44a46c], 0
je 0x41f2b0
push 0xff
mov ecx, 0x4430c4
call fcn.00407829
mov eax, dword [0x461ce4]
mov byte [0x44a46c], 1
test eax, eax
je 0x41f2d2
push eax
call fcn.0041ed7b
push dword [0x461ce4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x461cd8], 0
mov esi, dword [0x4430c4]
je 0x41f303
cmp byte [0x461cd9], 0
mov eax, dword [0x440728]
je 0x41f2fd
mov esi, dword [0x461cdc]
test eax, eax
jle 0x41f303
add esi, eax
jmp 0x41f303
test eax, eax
jns 0x41f303
sub esi, eax
lea ecx, [esp + 0x20]
call fcn.0041bd71
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xdc
ret 0x10