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

Disassembly:
sub esp, 0xc4
push ebx
push esi
push edi
push 1
call fcn.0040eeb9
lea ecx, [esp + 0x1c]
call fcn.00418878
mov ecx, 0x441e88
call fcn.00410238
mov edi, 0x7104
xor ebx, ebx
push edi
push ebx
push 0x44e7e8
call fcn.0041d560
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x41b92f
push esi
call fcn.0041a031
cmp byte [0x442119], bl
je 0x41b929
push ebp
push 0x4313bc
push ebx
mov esi, 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebp, eax
test ebp, ebp
je 0x41b91f
push edi
push ebx
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x41b916
push edi
push ebx
push 0x44e7e8
call fcn.0041d6c0
add esp, 0xc
mov byte [ebx], 1
push 0x44e7ea
call fcn.0041b582
push 0x40
pop ecx
mov esi, 0x4557ea
mov edi, 0x44411a
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 0x41b92f
push esi
call fcn.0041b582
push 0x800
mov edi, 0x4558f8
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 + 0x8c]
push 0x32
push eax
call fcn.00403c5a
add esp, 0x28
lea eax, [esp + 0x6c]
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 [0x43cb98], esi
mov dword [0x43cb94], esi
call dword [sym.imp.USER32.dll_LoadIconW]
push edi
mov ecx, 0x43cbc4
mov dword [0x44421c], eax
call fcn.0040c5fa
lea ecx, [esp + 0x48]
call fcn.00417355
lea ecx, [esp + 0x24]
call fcn.00417355
push ebx
push 0x419206
push ebx
lea eax, [esp + 0x54]
mov dword [0x4420f4], eax
lea eax, [esp + 0x30]
push str.STARTDLG
push esi
mov dword [0x4420f8], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [esp + 0x24]
mov dword [0x4420f8], ebx
mov dword [0x4420f4], ebx
call fcn.004173d5
lea ecx, [esp + 0x48]
call fcn.004173d5
mov eax, dword [0x456904]
test eax, eax
je 0x41ba3a
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x442110], 0
je 0x41ba48
call fcn.004189b7
mov ecx, 0x44e6e0
call fcn.0040d9b7
cmp dword [0x4420f0], 0
jbe 0x41ba67
push dword [0x4420ec]
call fcn.004217d0
pop ecx
push dword [0x44421c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x44e7e4]
test eax, eax
je 0x41ba81
push eax
call esi
cmp dword [0x43cbd8], 0
jne 0x41baa2
cmp byte [0x4420e4], 0
je 0x41baa2
push 0xff
mov ecx, 0x43cbd8
call fcn.00406bba
mov eax, dword [0x457908]
mov byte [0x4420e4], 1
test eax, eax
je 0x41bac4
push eax
call fcn.0041b5e1
push dword [0x457908]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x4568fe], 0
mov esi, dword [0x43cbd8]
je 0x41baf5
cmp byte [0x4568ff], 0
mov eax, dword [0x43a150]
je 0x41baef
mov esi, dword [0x456900]
test eax, eax
jle 0x41baf5
add esi, eax
jmp 0x41baf5
test eax, eax
jns 0x41baf5
sub esi, eax
lea ecx, [esp + 0x1c]
call fcn.004188e0
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0xc4
ret 0x10