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

Disassembly:
sub esp, 0xd4
push ebx
push esi
push edi
push 1
call fcn.004103aa
push 0x800
push 0x448468
call fcn.0041a004
lea ecx, [esp + 0x1c]
call fcn.0041a5c6
mov ecx, 0x4481e0
call fcn.004116cb
mov edi, 0x7104
xor ebx, ebx
push edi
push ebx
push 0x456b80
call fcn.0041f5f0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x41d963
push esi
call fcn.0041bf14
cmp byte [0x44a471], bl
je 0x41d95d
push ebp
push 0x434fac
push ebx
mov esi, 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebp, eax
test ebp, ebp
je 0x41d953
push edi
push ebx
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x41d94a
push edi
push ebx
push 0x456b80
call fcn.0041f750
add esp, 0xc
mov byte [ebx], 1
push 0x456b82
call fcn.0041d544
push reloc.user32.dll_GetDlgCtrlID
pop ecx
mov esi, 0x45db82
mov edi, 0x44c472
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 0x41d963
push esi
call fcn.0041d544
push 0x800
mov edi, 0x45dc90
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push 0x434fe0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
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 0x434ff0
lea eax, [esp + 0x9c]
push 0x32
push eax
call fcn.00403f8f
add esp, 0x28
lea eax, [esp + 0x7c]
push eax
push 0x435034
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 [0x440ed4], esi
mov dword [0x440ed0], esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x44c574], eax
call fcn.0041b07d
push edi
mov ecx, 0x440ee8
mov dword [0x456b7c], eax
call fcn.0040d5dc
lea ecx, [esp + 0x50]
call fcn.00418a75
lea ecx, [esp + 0x24]
call fcn.00418a75
push ebx
push reloc.user32.dll_DrawTextW
push ebx
lea eax, [esp + 0x5c]
mov dword [0x448440], eax
lea eax, [esp + 0x30]
push 0x435048
push esi
mov dword [0x448444], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [esp + 0x24]
mov dword [0x448444], ebx
mov dword [0x448440], ebx
call fcn.00418b33
lea ecx, [esp + 0x50]
call fcn.00418b33
mov eax, dword [0x45eca0]
test eax, eax
je 0x41da7a
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x449468], 0
je 0x41da88
call fcn.0041a7d4
mov ecx, 0x456a78
call fcn.0040ee02
cmp dword [0x44843c], 0
jbe 0x41daa7
push dword [0x448438]
call fcn.0041e7fc
pop ecx
push dword [0x44c574]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x456b7c]
test eax, eax
je 0x41dac3
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x440f50], 0
jne 0x41dae4
cmp byte [0x448450], 0
je 0x41dae4
push 0xff
mov ecx, 0x440f50
call fcn.00406fba
mov eax, dword [0x45eca4]
mov byte [0x448450], 1
test eax, eax
je 0x41db06
push eax
call fcn.0041d5a3
push dword [0x45eca4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x45ec99], 0
mov esi, dword [0x440f50]
je 0x41db37
cmp byte [0x45ec9a], 0
mov eax, dword [0x43e5fc]
je 0x41db31
mov esi, dword [0x45ec9c]
test eax, eax
jle 0x41db37
add esi, eax
jmp 0x41db37
test eax, eax
jns 0x41db37
sub esi, eax
lea ecx, [esp + 0x1c]
call fcn.0041a62e
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0xd4
ret 0x10