Function at 0x408d65
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x42f064]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 4]
push dword [ebx]
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_GetParent]
mov edx, eax
mov ecx, ebx
call fcn.004064ae
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
and dword [edi + 0x20], 0
push 0x400
push dword [ebx]
call esi
push 0x3f2
push dword [ebx]
mov dword [edi + 0x24], eax
call esi
cmp byte [edi + 0x33], 2
mov dword [edi + 0x28], eax
jne 0x408e56
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], vtable.CGetHDSerial.0
call fcn.00403189
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
push 0x3ef
push dword [ebx]
jne 0x408e09
call esi
push 0x42a478
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push dword [ebx]
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x408e16
call esi
push dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0
push 0xcc
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3f0
push dword [ebx]
call esi
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x42a488
push eax
call esi
push 0x42a4a8
push dword [ebx]
call esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004018b4
jmp 0x408e9c
push 0x3f0
push dword [ebx]
call esi
push 0x42a4b8
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x3f1
push dword [ebx]
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ef
push dword [ebx]
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x42a4d4
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x43024c]
mov ecx, 0x43024c
call dword [eax + 0xc]
push dword [edi + 0x50]
add eax, 0x10
push dword [edi + 0x4c]
mov dword [esp + 0x18], eax
push str._cn__d_cxy__dhzr
lea eax, [esp + 0x1c]
call fcn.00402bdf
mov eax, dword [esp + 0x1c]
mov esi, dword [eax - 0xc]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x408ee3
push esi
lea eax, [esp + 0x14]
push eax
call fcn.00402a00
mov eax, dword [esp + 0x10]
lea ecx, [esi + esi]
push ecx
push eax
lea edi, [esp + 0x84]
lea ecx, [esp + 0x28]
call fcn.004238f0
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x18]
push eax
push 8
pop ecx
call fcn.004025a7
pop ecx
pop ecx
push 0x429d7a
lea esi, [esp + 0x1c]
call fcn.00402779
lea esi, [esp + 0x7c]
mov dword [esp + 0x7c], vtable.CRegistry.0
mov dword [esp + 0x80], 0x80000001
call fcn.00424c70
test eax, eax
je 0x408f7c
mov ecx, dword [esp + 0x14]
lea edi, [esp + 0x18]
call fcn.00424e10
test eax, eax
je 0x408f7c
push 0x400
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x1c]
push 0
push 1
push 0xf1
push dword [eax + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x7c]
call fcn.00424d00
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004018b4
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.00414657
mov esp, ebp
pop ebp
ret