Function at 0x417760
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 0x417790
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xa
jge 0x417813
push 0x64
push 0
push 0x6e2eb4
call fcn.00444750
add esp, 0xc
push 0x64
push 0
push 0x6e2e44
call fcn.00444750
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
push ecx
push str.SYSimulator
push str._s__d
push 0x6e2eb4
call fcn.00445000
add esp, 0x10
push 0x4d2230
push 0x4d1ef4
push 0x6e2e44
call fcn.00445000
add esp, 0xc
mov esi, esp
push 0x6e2eb4
push str.LINKONCLASS
call dword [sym.imp.USER32.dll_FindWindowA]
cmp esi, esp
call fcn.00444710
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x41780e
jmp 0x417813
jmp 0x417787
cmp dword [ebp - 0x3c], 0
je 0x417842
mov esi, esp
push 0x30
push str.SYSimulator
push 0x4d220c
mov edx, dword [0x6e2f24]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, esp
call fcn.00444710
xor eax, eax
jmp 0x417ab5
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x416b50
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.00444710
mov dword [ebp - 0x18], eax
mov esi, esp
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp esi, esp
call fcn.00444710
mov dword [ebp - 0x14], eax
mov esi, esp
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp esi, esp
call fcn.00444710
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.00444710
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [0x6e2f28], ecx
mov esi, esp
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExA]
cmp esi, esp
call fcn.00444710
and eax, 0xffff
test eax, eax
jne 0x417904
xor eax, eax
jmp 0x417ab5
mov esi, esp
push 0x66
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
cmp esi, esp
call fcn.00444710
mov dword [0x6e2f2c], eax
mov esi, esp
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x6e2f2c]
push edx
push 0
push closesocket
push closesocket
push closesocket
push closesocket
push 0xca0000
push 0x6e2eb4
push str.LINKONCLASS
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp esi, esp
call fcn.00444710
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x417971
xor eax, eax
jmp 0x417ab5
mov esi, esp
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push closesocket
push closesocket
push closesocket
push closesocket
push 0xc00000
push 0x6e2e44
push str.LINKONCLASS
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp esi, esp
call fcn.00444710
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x4179bf
xor eax, eax
jmp 0x417ab5
mov ecx, dword [ebp - 0x34]
mov dword [0x6e2f24], ecx
mov edx, dword [ebp - 0x38]
mov dword [0x6e2f1c], edx
mov byte [0x6e2f34], 0
call fcn.00417af0
mov esi, esp
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [0x6e2f24]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.00444710
mov esi, esp
mov edx, dword [0x6e2f24]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp esi, esp
call fcn.00444710
cmp dword [0x6e2e34], 0
je 0x417a46
mov esi, esp
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [0x6e2f1c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.00444710
mov esi, esp
mov edx, dword [0x6e2f1c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp esi, esp
call fcn.00444710
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.00444710
test eax, eax
je 0x417aad
mov esi, esp
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [0x6e2e14]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
cmp esi, esp
call fcn.00444710
test eax, eax
jne 0x417aab
mov esi, esp
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
cmp esi, esp
call fcn.00444710
mov esi, esp
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp esi, esp
call fcn.00444710
jmp 0x417a46
call fcn.00417ba0
mov eax, dword [ebp - 0x50]
pop edi
pop esi
pop ebx
add esp, 0x9c
cmp ebp, esp
call fcn.00444710
mov esp, ebp
pop ebp
ret 0x10