Function at 0x42a770
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 0x42a7a0
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xa
jge 0x42a823
push 0x64
push 0
push 0x6ed854
call fcn.00457a20
add esp, 0xc
push 0x64
push 0
push 0x6ed7e4
call fcn.00457a20
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
push ecx
push str.SYSimulator
push str._s__d
push 0x6ed854
call fcn.00457b00
add esp, 0x10
push 0x4def20
push 0x4deb90
push 0x6ed7e4
call fcn.00457b00
add esp, 0xc
mov esi, esp
push 0x6ed854
push str.LINKONCLASS
call dword [sym.imp.USER32.dll_FindWindowA]
cmp esi, esp
call fcn.00457eb0
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x42a81e
jmp 0x42a823
jmp 0x42a797
cmp dword [ebp - 0x3c], 0
je 0x42a852
mov esi, esp
push 0x30
push str.SYSimulator
push 0x4deefc
mov edx, dword [0x6ed8c4]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, esp
call fcn.00457eb0
xor eax, eax
jmp 0x42aac5
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x429b60
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.00457eb0
mov dword [ebp - 0x18], eax
mov esi, esp
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp esi, esp
call fcn.00457eb0
mov dword [ebp - 0x14], eax
mov esi, esp
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp esi, esp
call fcn.00457eb0
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.00457eb0
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [0x6ed8c8], ecx
mov esi, esp
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExA]
cmp esi, esp
call fcn.00457eb0
and eax, 0xffff
test eax, eax
jne 0x42a914
xor eax, eax
jmp 0x42aac5
mov esi, esp
push 0x66
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
cmp esi, esp
call fcn.00457eb0
mov dword [0x6ed8cc], eax
mov esi, esp
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x6ed8cc]
push edx
push 0
push connect
push connect
push connect
push connect
push 0xca0000
push 0x6ed854
push str.LINKONCLASS
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp esi, esp
call fcn.00457eb0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x42a981
xor eax, eax
jmp 0x42aac5
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 0x6ed7e4
push str.LINKONCLASS
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp esi, esp
call fcn.00457eb0
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x42a9cf
xor eax, eax
jmp 0x42aac5
mov ecx, dword [ebp - 0x34]
mov dword [0x6ed8c4], ecx
mov edx, dword [ebp - 0x38]
mov dword [0x6ed8bc], edx
mov byte [0x6ed8d4], 0
call fcn.0042ab00
mov esi, esp
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [0x6ed8c4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.00457eb0
mov esi, esp
mov edx, dword [0x6ed8c4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp esi, esp
call fcn.00457eb0
cmp dword [0x6ed7d4], 0
je 0x42aa56
mov esi, esp
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [0x6ed8bc]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.00457eb0
mov esi, esp
mov edx, dword [0x6ed8bc]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp esi, esp
call fcn.00457eb0
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.00457eb0
test eax, eax
je 0x42aabd
mov esi, esp
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [0x6ed7b4]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
cmp esi, esp
call fcn.00457eb0
test eax, eax
jne 0x42aabb
mov esi, esp
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
cmp esi, esp
call fcn.00457eb0
mov esi, esp
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp esi, esp
call fcn.00457eb0
jmp 0x42aa56
call fcn.0042abb0
mov eax, dword [ebp - 0x50]
pop edi
pop esi
pop ebx
add esp, 0x9c
cmp ebp, esp
call fcn.00457eb0
mov esp, ebp
pop ebp
ret 0x10