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

Disassembly:
sub esp, 0xc4
push ebp
push esi
push edi
push 1
call fcn.0040e9e7
xor ebp, ebp
push ebp
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, 0x4424c8
call fcn.0040fcc3
push 0x7002
push ebp
push 0x442730
call fcn.0041d200
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x41b5ff
push esi
call fcn.00419d0b
cmp byte [0x449759], 0
je 0x41b5f9
push str.winrarsfxmappingfile.tmp
push ebp
mov esi, 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, eax
test edi, edi
je 0x41b5f0
push 0x7002
push ebp
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x41b5e9
push 0x7002
push esi
push 0x442730
call fcn.0041eeb0
add esp, 0xc
mov byte [esi], 1
push 0x442732
call fcn.0041b1f3
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41b5ff
push esi
call fcn.0041b1f3
push 0x800
mov edi, 0x454e10
push edi
push ebp
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.00403ce0
add esp, 0x28
lea eax, [esp + 0x6c]
push eax
push str.sfxstime
call esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
push 0x64
push esi
mov dword [0x43cbe0], esi
mov dword [0x43cbdc], esi
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x65
push dword [0x43cbdc]
mov dword [0x454e04], eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
lea ecx, [esp + 0x1c]
mov dword [0x455e10], eax
call fcn.00418561
push edi
mov ecx, 0x43cbe4
call fcn.0040c65f
lea ecx, [esp + 0x48]
call fcn.00417218
lea ecx, [esp + 0x24]
call fcn.00417218
push ebp
push 0x418fcc
push ebp
lea eax, [esp + 0x54]
mov dword [0x449738], eax
lea eax, [esp + 0x30]
push str.STARTDLG
push esi
mov dword [0x44973c], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [esp + 0x24]
mov dword [0x44973c], ebp
mov dword [0x449738], ebp
call fcn.00417298
lea ecx, [esp + 0x48]
call fcn.00417298
lea ecx, [esp + 0x1c]
call fcn.004185af
mov eax, dword [0x455e24]
test eax, eax
je 0x41b72f
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x449750], 0
je 0x41b73d
call fcn.0041875f
mov ecx, 0x454d00
call fcn.0040da2f
cmp dword [0x449734], ebp
jbe 0x41b75b
push dword [0x44272c]
call fcn.00421700
pop ecx
push dword [0x454e04]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x455e10]
test eax, eax
je 0x41b775
push eax
call esi
cmp dword [0x43cbf8], 0
pop edi
pop esi
pop ebp
jne 0x41b799
cmp byte [0x442724], 0
je 0x41b799
push 0xff
mov ecx, 0x43cbf8
call fcn.00406b04
mov eax, dword [0x456e28]
mov byte [0x442724], 1
test eax, eax
je 0x41b7bb
push eax
call fcn.0041b282
push dword [0x456e28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [0x455e20]
test eax, eax
jne 0x41b7cf
mov eax, dword [0x43cbf8]
add esp, 0xc4
ret 0x10