Function at 0x412220
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push dword [0x43fc50]
mov ebx, ecx
mov dword [ebp - 8], ebx
call dword [sym.imp.USER32.dll_GetMenu]
mov edx, dword [0x43e388]
imul edi, ebx, 0x19b04
add edx, edi
mov esi, dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [ebp - 4], eax
mov dword [0x43e37c], ebx
mov dword [0x43e36c], edx
lea ecx, [edx + 0x200]
push ecx
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push dword [edx + 0x300]
call esi
mov edx, dword [0x43e388]
mov ebx, eax
lea ecx, [edx + 0x200]
add ecx, edi
push ecx
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push dword [edx + edi + 0x300]
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push 1
push ebx
push 0x30
push dword [0x43fc2c]
call esi
push 1
push ebx
push 0x30
push dword [0x43fbd4]
call esi
push 1
push edi
push 0x30
push dword [0x43fc48]
call esi
push 1
push edi
push 0x30
push dword [0x43fc44]
call esi
push 1
push edi
push 0x30
push dword [0x43fc34]
call esi
push 1
push edi
push 0x30
push dword [0x43fc24]
call esi
push 1
push edi
push 0x30
push dword [0x43fc50]
call esi
mov eax, dword [0x43e36c]
mov ebx, dword [ebp - 4]
add eax, 0xb304
push eax
push 0
push 0x400
push 0
mov dword [0x43e370], edi
mov edi, dword [sym.imp.USER32.dll_ModifyMenuW]
push ebx
call edi
call fcn.00412140
mov eax, dword [0x43e36c]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
add eax, 0x4b04
push eax
push 0x3f2
push dword [0x43fc50]
call esi
push eax
mov eax, dword [sym.imp.USER32.dll_SetWindowTextW]
call eax
mov eax, dword [0x43e36c]
add eax, 0x5304
push eax
push 0x3f3
push dword [0x43fc50]
call esi
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call esi
mov eax, dword [0x43e36c]
add eax, 0x5b04
push eax
push dword [0x43fc48]
call esi
mov eax, dword [0x43e36c]
add eax, 0x6304
push eax
push dword [0x43fc2c]
call esi
mov eax, dword [0x43e36c]
add eax, 0x6b04
push eax
push dword [0x43fbd4]
call esi
push 0
push ebx
call dword [sym.imp.USER32.dll_GetSubMenu]
cmp dword [0x43e374], 0
mov esi, eax
je 0x412406
mov eax, dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x43376c
push dword [0x43fbcc]
call eax
mov ecx, dword [0x43e36c]
add ecx, 0xbb04
push ecx
push 0
push 0x408
jmp 0x412429
push 0x4391eb
push dword [0x43fbcc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x43e36c]
add eax, 0xbb04
push eax
push 0
push 0x400
push 0
push esi
call edi
mov eax, dword [0x43e36c]
add eax, 0x10304
push eax
push 0xa003
push 0x400
push 1
push esi
call edi
mov eax, dword [0x43e36c]
add eax, 0xc304
push eax
push 0xa001
push 0x400
push 2
push esi
call edi
push 0
push 0xa002
push esi
call dword [sym.imp.USER32.dll_GetMenuState]
test al, 2
mov eax, dword [0x43e36c]
je 0x41248b
add eax, 0xeb04
push eax
push 0xa002
push 0x402
jmp 0x41249b
add eax, 0xeb04
push eax
push 0xa002
push 0x400
push 3
push esi
call edi
push 0
push 0xa008
push esi
call dword [sym.imp.USER32.dll_GetMenuState]
test al, 2
mov eax, dword [0x43e36c]
je 0x4124c9
add eax, 0x17304
push eax
push 0xa008
push 0x402
jmp 0x4124d9
add eax, 0x17304
push eax
push 0xa008
push 0x400
push 6
push esi
call edi
mov eax, dword [0x43e36c]
add eax, 0x11304
cmp dword [0x43d8b8], 0
push eax
push 0xa006
jne 0x4124fe
push 0x408
jmp 0x412503
push 0x400
push 4
push esi
call edi
mov eax, dword [0x43e36c]
add eax, 0x15304
cmp dword [0x43e368], 1
push eax
push 0xa007
jne 0x412528
push 0x408
jmp 0x41252d
push 0x400
push 5
push esi
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x43fc50]
call esi
push 1
push dword [0x43fc50]
call esi
mov edi, dword [sym.imp.USER32.dll_CheckMenuItem]
xor esi, esi
cmp dword [0x43e378], esi
jle 0x412576
nop dword [eax]
push 0
mov eax, esi
or eax, 0xb000
push eax
push ebx
call edi
inc esi
cmp esi, dword [0x43e378]
jl 0x412560
mov eax, dword [ebp - 8]
push 8
or eax, 0xb000
push eax
push ebx
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret