Function at 0x41c7c1
Capabilities:
Accept command line arguments
Log keystrokes via polling
Set environment variable

Disassembly:
sub esp, 0xf0
push ebx
push esi
push edi
push 1
call fcn.0040f9a6
push 0x800
push 0x445438
call fcn.00419223
lea ecx, [esp + 0x38]
call fcn.004196cb
mov ecx, 0x4451b0
call fcn.00410c50
mov edi, 0x7104
xor ebx, ebx
push edi
push ebx
push 0x453b48
call fcn.0041e5f0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x41c893
push esi
call fcn.0041af6a
cmp byte [0x447441], bl
je 0x41c88d
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 0x41c883
push edi
push ebx
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x41c87a
push edi
push ebx
push 0x453b48
call fcn.0041e750
add esp, 0xc
mov byte [ebx], 1
push 0x453b4a
call fcn.0041c49a
push 0x40
pop ecx
mov esi, 0x45ab4a
mov edi, 0x449442
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 0x41c893
push esi
call fcn.0041c49a
push 0x800
mov edi, 0x45ac58
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push edi
push str.sfxname
call esi
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 + 0xb8]
push 0x32
push eax
call fcn.00403ec3
add esp, 0x28
lea eax, [esp + 0x98]
push eax
push str.sfxstime
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
push 0x64
push esi
mov dword [0x43fec8], esi
mov dword [0x43fec4], esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x449544], eax
call fcn.0041a102
push edi
mov ecx, 0x43fef4
mov dword [0x453b44], eax
call fcn.0040ccde
lea ecx, [esp + 0x6c]
call fcn.00417fa9
lea ecx, [esp + 0x40]
call fcn.00417fa9
push ebx
push 0x41a1db
push ebx
lea eax, [esp + 0x78]
mov dword [0x445428], eax
lea eax, [esp + 0x4c]
push str.STARTDLG
push esi
mov dword [0x44542c], eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
mov edi, eax
jmp 0x41ca0e
cmp dword [esp + 0x20], 0x100
jne 0x41c9e8
test dword [esp + 0x28], 0x40000000
jne 0x41c9e8
cmp dword [esp + 0x24], 0x43
je 0x41c9b3
cmp dword [esp + 0x24], 0x41
je 0x41c9b3
cmp dword [esp + 0x24], 0x2d
jne 0x41c9e8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x41c9e8
mov ecx, dword [0x445428]
call fcn.0041835a
test al, al
je 0x41c9e8
mov ecx, dword [0x445428]
lea eax, [esp + 0x1c]
push eax
call fcn.00418cfe
test al, al
jne 0x41ca0e
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x41ca0e
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
jne 0x41c98a
lea ecx, [esp + 0x40]
mov dword [0x44542c], ebx
mov dword [0x445428], ebx
call fcn.0041805b
lea ecx, [esp + 0x6c]
call fcn.0041805b
mov eax, dword [0x45bc68]
test eax, eax
je 0x41ca4e
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x446438], 0
je 0x41ca5c
call fcn.004198c6
mov ecx, 0x453a40
call fcn.0040e413
cmp dword [0x445424], 0
jbe 0x41ca7b
push dword [0x445420]
call fcn.0042281e
pop ecx
push dword [0x449544]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x453b44]
test eax, eax
je 0x41ca95
push eax
call esi
cmp dword [0x43ff1c], 0
jne 0x41cab6
cmp byte [0x445417], 0
je 0x41cab6
push 0xff
mov ecx, 0x43ff1c
call fcn.00406e06
mov eax, dword [0x45bc6c]
mov byte [0x445417], 1
test eax, eax
je 0x41cad8
push eax
call fcn.0041c4f9
push dword [0x45bc6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x45bc61], 0
mov esi, dword [0x43ff1c]
je 0x41cb09
cmp byte [0x45bc62], 0
mov eax, dword [0x43d468]
je 0x41cb03
mov esi, dword [0x45bc64]
test eax, eax
jle 0x41cb09
add esi, eax
jmp 0x41cb09
test eax, eax
jns 0x41cb09
sub esi, eax
lea ecx, [esp + 0x38]
call fcn.00419733
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0xf0
ret 0x10