Function at 0x40764c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x433024]
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.004064df
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 0x40773d
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], vtable.CGetHDSerial.0
call fcn.00403185
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
push 0x3ef
push dword [ebx]
jne 0x4076f0
call esi
push 0x42e1a8
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 0x4076fd
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 0x42e1b8
push eax
call esi
push 0x42e1d8
push dword [ebx]
call esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004018b2
jmp 0x407783
push 0x3f0
push dword [ebx]
call esi
push 0x42e1e8
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 0x42e204
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x4341fc]
mov ecx, 0x4341fc
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.00402bdd
mov eax, dword [esp + 0x1c]
mov esi, dword [eax - 0xc]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x4077ca
push esi
lea eax, [esp + 0x14]
push eax
call fcn.004029fe
mov eax, dword [esp + 0x10]
lea ecx, [esi + esi]
push ecx
push eax
lea edi, [esp + 0x84]
lea ecx, [esp + 0x28]
call fcn.00426430
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x18]
push eax
push 8
pop ecx
call fcn.004025a5
pop ecx
pop ecx
push 0x42cda2
lea esi, [esp + 0x1c]
call fcn.00402777
lea esi, [esp + 0x7c]
mov dword [esp + 0x7c], vtable.CRegistry.0
mov dword [esp + 0x80], VariantCopy
call fcn.00427820
test eax, eax
je 0x407863
mov ecx, dword [esp + 0x14]
lea edi, [esp + 0x18]
call fcn.004279c0
test eax, eax
je 0x407863
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.004278b0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004018b2
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.00416201
mov esp, ebp
pop ebp
ret