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

Disassembly:
sub esp, 0xd4
push ebx
push esi
push edi
push 1
call fcn.0041002d
push 0x800
push 0x447468
call fcn.00419d58
lea ecx, [esp + 0x1c]
call fcn.0041a2b3
mov ecx, 0x4471e0
call fcn.0041130f
mov edi, 0x7104
xor ebx, ebx
push edi
push ebx
push 0x455b78
call fcn.0041f1a0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x41d4fc
push esi
call fcn.0041bbc4
cmp byte [0x449471], bl
je 0x41d4f6
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 0x41d4ec
push edi
push ebx
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x41d4e3
push edi
push ebx
push 0x455b78
call fcn.0041f300
add esp, 0xc
mov byte [ebx], 1
push 0x455b7a
call fcn.0041d104
push 0x40
pop ecx
mov esi, 0x45cb7a
mov edi, 0x44b472
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 0x41d4fc
push esi
call fcn.0041d104
push 0x800
mov edi, 0x45cc88
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.00403fd6
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 [0x43fed4], esi
mov dword [0x43fed0], esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x44b574], eax
call fcn.0041ad3d
push edi
mov ecx, 0x43fee8
mov dword [0x455b74], eax
call fcn.0040d25c
lea ecx, [esp + 0x50]
call fcn.004187a5
lea ecx, [esp + 0x24]
call fcn.004187a5
push ebx
push 0x41ae20
push ebx
lea eax, [esp + 0x5c]
mov dword [0x447458], eax
lea eax, [esp + 0x30]
push str.STARTDLG
push esi
mov dword [0x44745c], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [esp + 0x24]
mov dword [0x44745c], ebx
mov dword [0x447458], ebx
call fcn.00418863
lea ecx, [esp + 0x50]
call fcn.00418863
mov eax, dword [0x45dc98]
test eax, eax
je 0x41d613
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x448468], 0
je 0x41d621
call fcn.0041a4c4
mov ecx, 0x455a70
call fcn.0040ea67
cmp dword [0x447454], 0
jbe 0x41d640
push dword [0x447450]
call fcn.0042340e
pop ecx
push dword [0x44b574]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x455b74]
test eax, eax
je 0x41d65c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x43ff50], 0
jne 0x41d67d
cmp byte [0x447447], 0
je 0x41d67d
push 0xff
mov ecx, 0x43ff50
call fcn.00406f5b
mov eax, dword [0x45dc9c]
mov byte [0x447447], 1
test eax, eax
je 0x41d69f
push eax
call fcn.0041d163
push dword [0x45dc9c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x45dc91], 0
mov esi, dword [0x43ff50]
je 0x41d6d0
cmp byte [0x45dc92], 0
mov eax, dword [0x43d5fc]
je 0x41d6ca
mov esi, dword [0x45dc94]
test eax, eax
jle 0x41d6d0
add esi, eax
jmp 0x41d6d0
test eax, eax
jns 0x41d6d0
sub esi, eax
lea ecx, [esp + 0x1c]
call fcn.0041a31b
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0xd4
ret 0x10