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

Disassembly:
sub esp, 0xd4
push ebx
push esi
push edi
push 1
call fcn.00410443
push 0x800
push 0x448420
call fcn.0041a22d
lea ecx, [esp + 0x1c]
call fcn.0041a7f6
mov edi, 0x7104
xor ebx, ebx
push edi
push ebx
push 0x457b38
call fcn.0041f8d0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x41dbd4
push esi
call fcn.0041c1a4
cmp byte [0x44a429], bl
je 0x41dbce
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 0x41dbc4
push edi
push ebx
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x41dbbb
push edi
push ebx
push 0x457b38
call fcn.0041fc00
add esp, 0xc
mov byte [ebx], 1
push 0x457b3a
call fcn.0041d7ce
push 0x40
pop ecx
mov esi, 0x45eb3a
mov edi, 0x44c42a
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 0x41dbd4
push esi
call fcn.0041d7ce
push 0x800
mov edi, 0x45ec48
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 + 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.00404084
add esp, 0x28
lea eax, [esp + 0x7c]
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 [0x440fec], esi
mov dword [0x440fe8], esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x457b34], eax
call fcn.0041b2bd
push edi
mov ecx, 0x440ff0
mov dword [0x45ec3c], eax
call fcn.0040d622
lea ecx, [esp + 0x50]
call fcn.00418c97
lea ecx, [esp + 0x24]
call fcn.00418c97
push ebx
push 0x41b3c0
push ebx
lea eax, [esp + 0x5c]
mov dword [0x4483f8], eax
lea eax, [esp + 0x30]
push str.STARTDLG
push esi
mov dword [0x4483fc], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [esp + 0x24]
mov dword [0x4483fc], ebx
mov dword [0x4483f8], ebx
call fcn.00418d58
lea ecx, [esp + 0x50]
call fcn.00418d58
mov eax, dword [0x45fc60]
test eax, eax
je 0x41dceb
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x449420], 0
je 0x41dcf9
call fcn.0041aa0f
mov ecx, 0x457a30
call fcn.0040ee59
cmp dword [0x45fc58], 0
jbe 0x41dd18
push dword [0x45fc48]
call fcn.0041ea3c
pop ecx
push dword [0x457b34]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x45ec3c]
test eax, eax
je 0x41dd34
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x441058], 0
jne 0x41dd55
cmp byte [0x44840c], 0
je 0x41dd55
push 0xff
mov ecx, 0x441058
call fcn.00406d73
mov eax, dword [0x45fc64]
mov byte [0x44840c], 1
test eax, eax
je 0x41dd77
push eax
call fcn.0041d82b
push dword [0x45fc64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x457b32], 0
mov esi, dword [0x441058]
je 0x41dda8
cmp byte [0x457b33], 0
mov eax, dword [0x43e728]
je 0x41dda2
mov esi, dword [0x45fc5c]
test eax, eax
jle 0x41dda8
add esi, eax
jmp 0x41dda8
test eax, eax
jns 0x41dda8
sub esi, eax
lea ecx, [esp + 0x1c]
call fcn.0041a85c
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0xd4
ret 0x10