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

Disassembly:
sub esp, 0x5ac
mov eax, dword [0x448780]
xor eax, esp
mov dword [esp + 0x5a8], eax
push ebx
push ebp
push esi
push edi
push 1
call fcn.0041682c
push 4
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
push 7
pop ebp
push ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.USER32.dll_SetUserObjectInformationW]
push 0x4543a0
call fcn.0041092c
lea ecx, [esp + 0x1c]
call fcn.0041ecce
xor eax, eax
lea edi, [esp + 0xf4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [esp + 0xf4], ax
lea edi, [esp + 0x10c]
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebp
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [esp + 0x10c], ax
lea edi, [esp + 0x124]
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], ebp
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [esp + 0x124], ax
lea edi, [esp + 0x13c]
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], ebp
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, 0x400
mov word [esp + 0x13c], ax
push edi
lea eax, [esp + 0x158]
mov dword [esp + 0x150], ebx
push ebx
push eax
mov dword [esp + 0x15c], ebp
call fcn.00426e70
add esp, 0xc
lea eax, [esp + 0xf4]
mov ebp, 0x454448
mov ecx, ebp
push eax
call fcn.0041f0e8
lea ecx, [esp + 0xf4]
call fcn.0041f08f
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x42423e
push esi
lea ecx, [esp + 0x28]
call fcn.004014a6
lea eax, [esp + 0x24]
push eax
call fcn.0042131e
lea ecx, [esp + 0x24]
call fcn.00401ac8
cmp byte [0x4543dd], bl
je 0x424221
lea ecx, [esp + 0x64]
call fcn.00402316
push 0x4543e0
push str.winrarsfxpipe
lea eax, [esp + 0x54]
mov dword [esp + 0x2c], ebx
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.004020f9
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x6c]
call fcn.00402477
test al, al
je 0x4241c4
push dword [esp + 0x24]
mov ecx, ebp
call fcn.0041f491
push ebp
call fcn.00423983
push 1
push ebx
push edi
mov esi, 0x4544a8
push esi
call fcn.00414c81
push esi
mov ecx, 0x454428
call fcn.00414d37
push edi
push esi
call fcn.00414d70
lea ecx, [esp + 0x4c]
call fcn.00401ac8
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x424216
mov eax, dword [esp + 0x2c]
sub eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
cmp eax, 0x1000
jb 0x424201
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00401a0b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.004253c6
pop ecx
pop ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x64]
call fcn.00402350
jmp 0x42423e
push esi
lea ecx, [esp + 0x50]
call fcn.004014a6
lea eax, [esp + 0x4c]
push eax
call fcn.00423983
lea ecx, [esp + 0x4c]
call fcn.00401ac8
lea eax, [esp + 0x4c]
push eax
call fcn.00410a1c
mov edi, 0x448668
push eax
mov ecx, edi
call fcn.00402d44
lea ecx, [esp + 0x4c]
call fcn.00401ac8
cmp dword [0x44867c], 7
mov eax, edi
jbe 0x42426e
mov eax, dword [0x448668]
push eax
push str.sfxname
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x4a]
push eax
movzx eax, word [esp + 0x4c]
push eax
movzx eax, word [esp + 0x4e]
push eax
movzx eax, word [esp + 0x50]
push eax
movzx eax, word [esp + 0x52]
push eax
movzx eax, word [esp + 0x52]
push eax
movzx eax, word [esp + 0x54]
push eax
push str._4d__02d__02d__02d__02d__02d__03d
lea eax, [esp + 0x574]
push 0x32
push eax
call fcn.00413951
add esp, 0x28
lea eax, [esp + 0x554]
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 [0x44d0cc], esi
mov dword [0x44d0c8], esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x4548b4], eax
call fcn.0041ffd1
push edi
mov ecx, 0x44d0d0
mov dword [0x4548b8], eax
call fcn.00412af8
lea ecx, [esp + 0xac]
call fcn.0041caab
lea ecx, [esp + 0x64]
call fcn.0041caab
push ebx
push 0x4200f0
push ebx
lea eax, [esp + 0xb8]
mov dword [0x454390], eax
lea eax, [esp + 0x70]
push str.STARTDLG
push esi
mov dword [0x454394], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [esp + 0x64]
mov dword [0x454394], ebx
mov dword [0x454390], ebx
call fcn.0041cba3
lea ecx, [esp + 0xac]
call fcn.0041cba3
mov eax, dword [0x4548c4]
test eax, eax
je 0x42437f
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x4543b8], bl
je 0x42438c
call fcn.0041f3a4
mov ecx, 0x454438
call fcn.00414bb9
push dword [0x4548b4]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x4548b8]
test eax, eax
je 0x4243b2
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x44d110], ebx
jne 0x4243d1
cmp byte [0x4548ec], bl
je 0x4243d1
push 0xff
mov ecx, 0x44d110
call fcn.00408d82
mov eax, dword [0x4548c8]
mov byte [0x4548ec], 1
test eax, eax
je 0x4243f3
push eax
call fcn.00423a57
push dword [0x4548c8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [0x44d110]
cmp byte [0x45439f], bl
je 0x424422
mov eax, dword [0x448710]
cmp byte [0x4548c0], bl
je 0x42441c
mov esi, dword [0x4548bc]
test eax, eax
jle 0x424422
add esi, eax
jmp 0x424422
test eax, eax
jns 0x424422
sub esi, eax
lea ecx, [esp + 0x1c]
call fcn.0041ed34
mov ecx, dword [esp + 0x5b8]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004253d4
add esp, 0x5ac
ret 0x10