Function at 0x42a780
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push ebx
push esi
push edi
lea edi, [ebp - 0x9c]
mov ecx, 0x27
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x5c], 0
jmp 0x42a7b0
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xa
jge 0x42a833
push 0x64
push 0
push 0x6f0854
call fcn.00457a30
add esp, 0xc
push 0x64
push 0
push 0x6f07e4
call fcn.00457a30
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
push ecx
push str.SYSimulator
push str._s__d
push 0x6f0854
call fcn.00457b10
add esp, 0x10
push 0x4e29a0
push 0x4e2610
push 0x6f07e4
call fcn.00457b10
add esp, 0xc
mov esi, esp
push 0x6f0854
push str.LINKONCLASS
call dword [sym.imp.USER32.dll_FindWindowA]
cmp esi, esp
call fcn.00457ec0
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x42a82e
jmp 0x42a833
jmp 0x42a7a7
cmp dword [ebp - 0x3c], 0
je 0x42a862
mov esi, esp
push 0x30
push str.SYSimulator
push 0x4e297c
mov edx, dword [0x6f08c4]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, esp
call fcn.00457ec0
xor eax, eax
jmp 0x42aad5
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x429b70
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov esi, esp
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
cmp esi, esp
call fcn.00457ec0
mov dword [ebp - 0x18], eax
mov esi, esp
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp esi, esp
call fcn.00457ec0
mov dword [ebp - 0x14], eax
mov esi, esp
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp esi, esp
call fcn.00457ec0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], str.LINKONCLASS
mov esi, esp
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
cmp esi, esp
call fcn.00457ec0
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [0x6f08c8], ecx
mov esi, esp
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExA]
cmp esi, esp
call fcn.00457ec0
and eax, 0xffff
test eax, eax
jne 0x42a924
xor eax, eax
jmp 0x42aad5
mov esi, esp
push 0x66
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
cmp esi, esp
call fcn.00457ec0
mov dword [0x6f08cc], eax
mov esi, esp
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x6f08cc]
push edx
push 0
push connect
push connect
push connect
push connect
push 0xca0000
push 0x6f0854
push str.LINKONCLASS
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp esi, esp
call fcn.00457ec0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x42a991
xor eax, eax
jmp 0x42aad5
mov esi, esp
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push connect
push connect
push connect
push connect
push 0xc00000
push 0x6f07e4
push str.LINKONCLASS
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp esi, esp
call fcn.00457ec0
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x42a9df
xor eax, eax
jmp 0x42aad5
mov ecx, dword [ebp - 0x34]
mov dword [0x6f08c4], ecx
mov edx, dword [ebp - 0x38]
mov dword [0x6f08bc], edx
mov byte [0x6f08d4], 0
call fcn.0042ab10
mov esi, esp
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [0x6f08c4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.00457ec0
mov esi, esp
mov edx, dword [0x6f08c4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp esi, esp
call fcn.00457ec0
cmp dword [0x6f07d4], 0
je 0x42aa66
mov esi, esp
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [0x6f08bc]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.00457ec0
mov esi, esp
mov edx, dword [0x6f08bc]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp esi, esp
call fcn.00457ec0
mov esi, esp
push 0
push 0
push 0
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
cmp esi, esp
call fcn.00457ec0
test eax, eax
je 0x42aacd
mov esi, esp
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [0x6f07b4]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
cmp esi, esp
call fcn.00457ec0
test eax, eax
jne 0x42aacb
mov esi, esp
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
cmp esi, esp
call fcn.00457ec0
mov esi, esp
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp esi, esp
call fcn.00457ec0
jmp 0x42aa66
call fcn.0042abc0
mov eax, dword [ebp - 0x50]
pop edi
pop esi
pop ebx
add esp, 0x9c
cmp ebp, esp
call fcn.00457ec0
mov esp, ebp
pop ebp
ret 0x10