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

Disassembly:
sub esp, 0xd4
push ebx
push esi
push edi
push 1
call fcn.00410863
push 0x800
push 0x448468
call fcn.0041a64d
lea ecx, [esp + 0x1c]
call fcn.0041ac16
mov edi, 0x7104
xor ebx, ebx
push edi
push ebx
push 0x457b80
call fcn.0041fff0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x41dfe6
push esi
call fcn.0041c5c4
cmp byte [0x44a471], bl
je 0x41dfe0
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 0x41dfd6
push edi
push ebx
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x41dfcd
push edi
push ebx
push 0x457b80
call fcn.00420320
add esp, 0xc
mov byte [ebx], 1
push 0x457b82
call fcn.0041dbde
push 0x40
pop ecx
mov esi, 0x45eb82
mov edi, 0x44c472
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 0x41dfe6
push esi
call fcn.0041dbde
push 0x800
mov edi, 0x45ec90
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.00404092
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 [0x44102c], esi
mov dword [0x441028], esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x457b7c], eax
call fcn.0041b6dd
push edi
mov ecx, 0x441030
mov dword [0x45ec84], eax
call fcn.0040da42
lea ecx, [esp + 0x50]
call fcn.004190b7
lea ecx, [esp + 0x24]
call fcn.004190b7
push ebx
push 0x41b7e0
push ebx
lea eax, [esp + 0x5c]
mov dword [0x448440], eax
lea eax, [esp + 0x30]
push str.STARTDLG
push esi
mov dword [0x448444], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [esp + 0x24]
mov dword [0x448444], ebx
mov dword [0x448440], ebx
call fcn.00419178
lea ecx, [esp + 0x50]
call fcn.00419178
mov eax, dword [0x45fca8]
test eax, eax
je 0x41e0fd
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x449468], 0
je 0x41e10b
call fcn.0041ae2f
mov ecx, 0x457a78
call fcn.0040f279
cmp dword [0x45fca0], 0
jbe 0x41e12a
push dword [0x45fc90]
call fcn.0041ee5c
pop ecx
push dword [0x457b7c]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x45ec84]
test eax, eax
je 0x41e146
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x441098], 0
jne 0x41e167
cmp byte [0x448454], 0
je 0x41e167
push 0xff
mov ecx, 0x441098
call fcn.00406d83
mov eax, dword [0x45fcac]
mov byte [0x448454], 1
test eax, eax
je 0x41e189
push eax
call fcn.0041dc3b
push dword [0x45fcac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x457b7a], 0
mov esi, dword [0x441098]
je 0x41e1ba
cmp byte [0x457b7b], 0
mov eax, dword [0x43e728]
je 0x41e1b4
mov esi, dword [0x45fca4]
test eax, eax
jle 0x41e1ba
add esi, eax
jmp 0x41e1ba
test eax, eax
jns 0x41e1ba
sub esi, eax
lea ecx, [esp + 0x1c]
call fcn.0041ac7c
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0xd4
ret 0x10