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

Disassembly:
sub esp, 0xc0
push ebp
push esi
push edi
push 1
call fcn.0040ef68
xor ebp, ebp
push ebp
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, 0x441e88
call fcn.004102de
push 0x7002
push ebp
push 0x442100
call fcn.0041d5e0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x41b9b9
push esi
call fcn.0041a0d8
cmp byte [0x449119], 0
je 0x41b9b3
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 0x41b9aa
push 0x7002
push ebp
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x41b9a3
push 0x7002
push esi
push 0x442100
call fcn.0041d740
add esp, 0xc
mov byte [esi], 1
push 0x442102
call fcn.0041b5d9
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41b9b9
push esi
call fcn.0041b5d9
push 0x800
mov edi, 0x4547f0
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 + 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 + 0x88]
push 0x32
push eax
call fcn.00403cd1
add esp, 0x28
lea eax, [esp + 0x68]
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 [0x43cb98], esi
mov dword [0x43cb94], esi
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x65
push dword [0x43cb94]
mov dword [0x4547e4], eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
lea ecx, [esp + 0xc]
mov dword [0x4557f0], eax
call fcn.0041895f
push edi
mov ecx, 0x43cbc4
call fcn.0040c6f2
lea ecx, [esp + 0x44]
call fcn.00417622
lea ecx, [esp + 0x20]
call fcn.00417622
push ebp
push 0x41939b
push ebp
lea eax, [esp + 0x50]
mov dword [0x449108], eax
lea eax, [esp + 0x2c]
push str.STARTDLG
push esi
mov dword [0x44910c], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [esp + 0x20]
mov dword [0x44910c], ebp
mov dword [0x449108], ebp
call fcn.004176a2
lea ecx, [esp + 0x44]
call fcn.004176a2
lea ecx, [esp + 0xc]
call fcn.004189a5
mov eax, dword [0x455804]
test eax, eax
je 0x41bae9
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x449110], 0
je 0x41baf7
call fcn.00418b32
mov ecx, 0x4546e0
call fcn.0040daaf
cmp dword [0x449104], ebp
jbe 0x41bb15
push dword [0x4420fc]
call fcn.00421860
pop ecx
push dword [0x4547e4]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x4557f0]
test eax, eax
je 0x41bb2f
push eax
call esi
cmp dword [0x43cbd8], 0
pop edi
pop esi
pop ebp
jne 0x41bb53
cmp byte [0x4420f3], 0
je 0x41bb53
push 0xff
mov ecx, 0x43cbd8
call fcn.00406c14
mov eax, dword [0x456808]
mov byte [0x4420f3], 1
test eax, eax
je 0x41bb75
push eax
call fcn.0041b638
push dword [0x456808]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [0x455800]
test eax, eax
jne 0x41bb89
mov eax, dword [0x43cbd8]
add esp, 0xc0
ret 0x10