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

Disassembly:
sub esp, 0xc4
push ebx
push esi
push edi
push 1
call fcn.00405edc
push 0x800
push 0x448738
call fcn.0040db45
lea ecx, [esp + 0x1c]
call fcn.0040dfed
mov ecx, 0x436cc0
call fcn.00406bc0
mov edi, 0x7104
xor ebx, ebx
push edi
push ebx
push 0x456e50
call fcn.00412c70
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x4110df
push esi
call fcn.0040f819
cmp byte [0x44a741], bl
je 0x4110d9
push ebp
push 0x42616c
push ebx
mov esi, 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebp, eax
test ebp, ebp
je 0x4110cf
push edi
push ebx
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x4110c6
push edi
push ebx
push 0x456e50
call fcn.00413490
add esp, 0xc
mov byte [ebx], 1
push 0x456e52
call fcn.00410d22
push 0x40
pop ecx
mov esi, 0x45de52
mov edi, 0x44c742
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 0x4110df
push esi
call fcn.00410d22
push 0x800
mov edi, 0x45df60
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.004036d0
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 [0x448700], esi
mov dword [0x4486fc], esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x456e4c], eax
call fcn.0040e9bb
push edi
mov ecx, 0x448724
mov dword [0x45df54], eax
call fcn.0040391b
lea ecx, [esp + 0x48]
call fcn.0040caca
lea ecx, [esp + 0x24]
call fcn.0040caca
push ebx
push 0x40ea94
push ebx
lea eax, [esp + 0x54]
mov dword [0x44870c], eax
lea eax, [esp + 0x30]
push str.STARTDLG
push esi
mov dword [0x448710], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [esp + 0x24]
mov dword [0x448710], ebx
mov dword [0x44870c], ebx
call fcn.0040cb4a
lea ecx, [esp + 0x48]
call fcn.0040cb4a
mov eax, dword [0x45ef74]
test eax, eax
je 0x4111f4
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x449738], 0
je 0x411202
call fcn.0040e12c
mov ecx, 0x456d48
call fcn.00404bf5
cmp dword [0x448708], 0
jbe 0x411221
push dword [0x448704]
call fcn.00416e9e
pop ecx
push dword [0x456e4c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x45df54]
test eax, eax
je 0x41123b
push eax
call esi
cmp dword [0x44c844], 0
jne 0x41125c
cmp byte [0x4486f4], 0
je 0x41125c
push 0xff
mov ecx, 0x44c844
call fcn.00401906
mov eax, dword [0x45ef78]
mov byte [0x4486f4], 1
test eax, eax
je 0x41127e
push eax
call fcn.00410d81
push dword [0x45ef78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x45ef6d], 0
mov esi, dword [0x44c844]
je 0x4112af
cmp byte [0x45ef6e], 0
mov eax, dword [0x42f040]
je 0x4112a9
mov esi, dword [0x45ef70]
test eax, eax
jle 0x4112af
add esi, eax
jmp 0x4112af
test eax, eax
jns 0x4112af
sub esi, eax
lea ecx, [esp + 0x1c]
call fcn.0040e055
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0xc4
ret 0x10