Function at 0x40c33e
Capabilities:
Accept command line arguments
Read file via mapping
Set environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push 1
call fcn.0040ca1e
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, 0x435f20
call fcn.0040d4d3
mov esi, 0x5800
push esi
push ebx
mov edi, 0x428568
push edi
call fcn.00408e46
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x40c3ec
push eax
call fcn.0040a311
cmp byte [0x42ddd1], bl
je 0x40c3de
push str.winrarsfxmappingfile.tmp
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x40c3d3
push esi
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x40c3ca
push esi
push eax
push edi
call fcn.00408e73
push edi
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40c3ec
push dword [ebp - 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x400
mov esi, 0x427d68
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push str.sfxname
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
push 0x64
push edi
mov dword [0x42dd6c], edi
mov dword [0x42dd78], edi
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x65
push dword [0x42dd78]
mov dword [0x427d64], eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
lea ecx, [ebp - 0xc]
mov dword [0x427d60], eax
call fcn.0040e5fe
push esi
mov ecx, 0x42eed4
call fcn.00408c5a
lea ecx, [ebp - 0x5c]
call fcn.0040d91a
lea ecx, [ebp - 0x34]
call fcn.0040d91a
push 0x64
call fcn.004099bc
push 0x64
mov dword [ebp - 0x40], eax
call fcn.004099bc
push ebx
push 0x40bae6
mov dword [ebp - 0x18], eax
push ebx
lea eax, [ebp - 0x5c]
mov dword [0x42755c], eax
push str.STARTDLG
lea eax, [ebp - 0x34]
push edi
mov dword [0x427558], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [ebp - 0x34]
mov dword [0x427558], ebx
mov dword [0x42755c], ebx
call fcn.0040d93c
lea ecx, [ebp - 0x5c]
call fcn.0040d93c
lea ecx, [ebp - 0xc]
call fcn.0040e658
cmp byte [0x42ddc8], bl
je 0x40c4cb
call fcn.0040a54b
mov ecx, 0x433e00
call fcn.0040969b
cmp dword [0x42dda4], ebx
jbe 0x40c4e8
push dword [0x42dd98]
call fcn.00408d06
push dword [0x427d64]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x427d60]
cmp eax, ebx
je 0x40c502
push eax
call esi
cmp dword [0x42ddbc], ebx
jne 0x40c521
cmp byte [0x42dd82], bl
je 0x40c521
push 0xff
mov ecx, 0x42ddbc
call fcn.004019e1
mov eax, dword [0x42ddb4]
mov byte [0x42dd82], 1
cmp eax, ebx
je 0x40c537
push eax
call fcn.0040a50c
mov eax, dword [0x42ddb0]
cmp eax, ebx
je 0x40c547
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [0x42ddac]
cmp eax, ebx
ja 0x40c55b
mov eax, dword [0x42ddbc]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]