Function at 0x41d4a0
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 0x41d4d0
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xa
jge 0x41d553
push 0x64
push 0
push 0x716ef4
call fcn.0044a990
add esp, 0xc
push 0x64
push 0
push 0x716e84
call fcn.0044a990
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
push ecx
push str.SYSimulator
push str._s__d
push 0x716ef4
call fcn.0044b240
add esp, 0x10
push 0x5065e8
push 0x506250
push 0x716e84
call fcn.0044b240
add esp, 0xc
mov esi, esp
push 0x716ef4
push str.LINKONCLASS
call dword [sym.imp.USER32.dll_FindWindowA]
cmp esi, esp
call fcn.0044a950
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x41d54e
jmp 0x41d553
jmp 0x41d4c7
cmp dword [ebp - 0x3c], 0
je 0x41d582
mov esi, esp
push 0x30
push str.SYSimulator
push 0x5065c4
mov edx, dword [0x716f64]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, esp
call fcn.0044a950
xor eax, eax
jmp 0x41d7f5
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x41c890
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.0044a950
mov dword [ebp - 0x18], eax
mov esi, esp
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp esi, esp
call fcn.0044a950
mov dword [ebp - 0x14], eax
mov esi, esp
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp esi, esp
call fcn.0044a950
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.0044a950
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [0x716f68], ecx
mov esi, esp
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExA]
cmp esi, esp
call fcn.0044a950
and eax, 0xffff
test eax, eax
jne 0x41d644
xor eax, eax
jmp 0x41d7f5
mov esi, esp
push 0x66
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
cmp esi, esp
call fcn.0044a950
mov dword [0x716f6c], eax
mov esi, esp
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x716f6c]
push edx
push 0
push connect
push connect
push connect
push connect
push 0xca0000
push 0x716ef4
push str.LINKONCLASS
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp esi, esp
call fcn.0044a950
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x41d6b1
xor eax, eax
jmp 0x41d7f5
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 0x716e84
push str.LINKONCLASS
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp esi, esp
call fcn.0044a950
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x41d6ff
xor eax, eax
jmp 0x41d7f5
mov ecx, dword [ebp - 0x34]
mov dword [0x716f64], ecx
mov edx, dword [ebp - 0x38]
mov dword [0x716f5c], edx
mov byte [0x716f74], 0
call fcn.0041d830
mov esi, esp
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [0x716f64]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.0044a950
mov esi, esp
mov edx, dword [0x716f64]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp esi, esp
call fcn.0044a950
cmp dword [0x716e74], 0
je 0x41d786
mov esi, esp
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [0x716f5c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.0044a950
mov esi, esp
mov edx, dword [0x716f5c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp esi, esp
call fcn.0044a950
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.0044a950
test eax, eax
je 0x41d7ed
mov esi, esp
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [0x716e54]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
cmp esi, esp
call fcn.0044a950
test eax, eax
jne 0x41d7eb
mov esi, esp
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
cmp esi, esp
call fcn.0044a950
mov esi, esp
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp esi, esp
call fcn.0044a950
jmp 0x41d786
call fcn.0041d8e0
mov eax, dword [ebp - 0x50]
pop edi
pop esi
pop ebx
add esp, 0x9c
cmp ebp, esp
call fcn.0044a950
mov esp, ebp
pop ebp
ret 0x10