Function at 0x41a660
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f6ae
mov eax, dword fs:[0]
push eax
mov eax, 0x16b8
call fcn.00488190
mov eax, dword [0x4c9890]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
push 0x409
push 0x104
lea esi, [ebx + 0x6a8]
push esi
push 0x69
push dword [ebx + 4]
call fcn.00412610
push esi
push str.IDS_MAINITEM_DESC__s_
call fcn.00413860
add esp, 0x1c
mov ecx, ebx
call fcn.00419080
test eax, eax
jns 0x41a6df
push str._ERROR__ExceptionHandle_MultipleInstance___failed_
call fcn.004010d0
add esp, 4
xor eax, eax
jmp 0x41ab16
push edi
mov ecx, ebx
call fcn.0041a0d0
mov ecx, ebx
call fcn.0041a2a0
test eax, eax
je 0x41a6d8
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004866f0
push 0x400
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0xd1
push dword [ebx + 4]
call fcn.00412610
lea eax, [ebp - 0x218]
push eax
push str.IDS_WMSG_DIALOG_CAPTION___s
call fcn.00413860
push 0x104
lea edi, [ebx + 0x3b8a]
push edi
push dword [ebx + 4]
call fcn.004135d0
push 0x104
lea eax, [ebx + 0x3d92]
push eax
push dword [ebx + 4]
call fcn.00413670
add esp, 0x40
push edi
push str.ProductName___s
call fcn.00413860
push edi
lea eax, [ebp - 0x218]
push eax
lea esi, [ebx + 0x18]
push 0x103
push esi
call fcn.00401690
push esi
push str.m_szTitle___s
call fcn.00413860
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add esp, 0x20
push 0
call esi
push 1
mov edi, eax
call esi
push 2
mov esi, eax
call fcn.004051f0
sub esi, eax
mov eax, esi
cdq
sub eax, edx
mov esi, eax
push 1
sar esi, 1
call fcn.004051f0
sub edi, eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
push 1
mov dword [ebp - 0x16c0], 0x82020000
mov dword [ebp - 0x16ac], 0x1f4
mov dword [ebp - 0x16bc], eax
mov dword [ebp - 0x16b8], esi
call fcn.004051f0
push 2
mov dword [ebp - 0x16b4], eax
call fcn.004051f0
push 0x8c
mov dword [ebp - 0x16b0], eax
mov dword [ebp - 0x16a8], 0
mov dword [ebp - 0x16a4], 0
call fcn.00405180
add esp, 0x14
mov dword [ebp - 0x16a0], eax
lea eax, [ebp - 0x16c0]
push eax
mov ecx, ebx
mov dword [ebp - 0x169c], 0x4a5fb8
mov dword [ebp - 0x1698], 0
call fcn.004089c0
mov ecx, ebx
mov dword [ebx + 0xc], eax
call fcn.004160d0
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
xor ecx, ecx
cmp byte [ebx + 0xea0c], cl
cmovne eax, ecx
push eax
push dword [ebx + 0xc]
call esi
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp byte [ebx + 0xea0c], 0
je 0x41a9b6
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.004866f0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call fcn.004866f0
push 0x400
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0xda
push dword [ebx + 4]
call fcn.00412610
push 0x400
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0x191
push dword [ebx + 4]
call fcn.00412610
lea eax, [ebp - 0x420]
add esp, 0x40
mov dword [ebp - 0x1694], eax
lea eax, [ebp - 0x628]
push 0xd48
mov dword [ebp - 0x1690], eax
mov dword [ebp - 0x168c], 0
mov dword [ebp - 0x1688], 0
mov dword [ebp - 0x1684], 0
mov dword [ebp - 0x1680], 0
mov dword [ebp - 0x167c], 0
mov dword [ebp - 0x1678], 0
mov dword [ebp - 0x1674], 0
call fcn.004867f5
add esp, 4
mov dword [ebp - 0x16c4], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41a990
push dword [ebx + 4]
lea ecx, [ebp - 0x1694]
push dword [ebx + 0xc]
push ecx
push 0
mov ecx, eax
call fcn.004092f0
jmp 0x41a992
xor eax, eax
mov dword [ebx + 0x6a4], eax
mov byte [eax + 0xd24], 0
mov ecx, dword [ebx + 0x6a4]
push 5
mov dword [ebp - 4], 0xffffffff
call fcn.004089a0
push eax
call esi
lea eax, [ebx + 0x45b2]
push 0x104
push eax
call fcn.00412c80
add esp, 8
lea edi, [ebx + 0x43aa]
push edi
mov ecx, ebx
call fcn.004197b0
push 0x104
push edi
call fcn.004138f0
add esp, 8
mov ecx, ebx
call fcn.0041ac20
test eax, eax
setne al
push 0x409
mov byte [ebx + 0xd531], al
push 0x823
lea eax, [ebp - 0x1670]
push eax
push 0x6a
push dword [ebx + 4]
call fcn.00412610
push 0x823
lea esi, [ebx + 0xd9c4]
lea eax, [ebp - 0x1670]
push esi
push eax
call fcn.00412330
push edi
push esi
push str._sLanguage_s
push 0x822
push esi
call fcn.004146d0
push esi
call fcn.00401090
push esi
push str.APREG___s
call fcn.00413860
add esp, 0x40
push str.Open
call fcn.004010d0
add esp, 4
cmp byte [ebx + 0xea0c], 0
jne 0x41aaba
lea eax, [ebp - 0x1670]
push 0x4a8838
push eax
call fcn.004893a9
add esp, 8
test eax, eax
je 0x41aaa0
add eax, 6
push 0x103
push eax
lea eax, [ebx + 0x3f9a]
push eax
call fcn.00487152
add esp, 0xc
xor eax, eax
mov word [ebx + 0x41a0], ax
lea eax, [ebx + 0x3f9a]
push 0x26
push eax
call fcn.004870a4
add esp, 8
test eax, eax
je 0x41aaba
xor ecx, ecx
mov word [eax], cx
lea eax, [ebx + 0x3f9a]
push eax
push str.SR___s
call fcn.00413860
add esp, 8
lea ecx, [ebx + 0x8794]
push 1
call fcn.00408960
push 1
lea ecx, [ebx + 0xa294]
call fcn.00408960
push 1
lea ecx, [ebx + 0xa954]
call fcn.00408960
mov ecx, ebx
call fcn.0041c8f0
mov ecx, ebx
call fcn.0041bf20
cmp eax, 0xa0070001
jne 0x41ab11
mov ecx, ebx
call fcn.0041bd60
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487c50
mov esp, ebp
pop ebp
ret 8