Function at 0x41a5a0
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 0x41a5d0
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xa
jge 0x41a653
push 0x64
push 0
push 0x6e3aa4
call fcn.00447a00
add esp, 0xc
push 0x64
push 0
push 0x6e3a34
call fcn.00447a00
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
push ecx
push str.SYSimulator
push str._s__d
push 0x6e3aa4
call fcn.004482b0
add esp, 0x10
push 0x4d5aa0
push 0x4d5728
push 0x6e3a34
call fcn.004482b0
add esp, 0xc
mov esi, esp
push 0x6e3aa4
push str.LINKONCLASS
call dword [sym.imp.USER32.dll_FindWindowA]
cmp esi, esp
call fcn.004479c0
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x41a64e
jmp 0x41a653
jmp 0x41a5c7
cmp dword [ebp - 0x3c], 0
je 0x41a682
mov esi, esp
push 0x30
push str.SYSimulator
push 0x4d5a7c
mov edx, dword [0x6e3b14]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, esp
call fcn.004479c0
xor eax, eax
jmp 0x41a8f5
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x419990
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.004479c0
mov dword [ebp - 0x18], eax
mov esi, esp
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp esi, esp
call fcn.004479c0
mov dword [ebp - 0x14], eax
mov esi, esp
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp esi, esp
call fcn.004479c0
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.004479c0
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [0x6e3b18], ecx
mov esi, esp
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExA]
cmp esi, esp
call fcn.004479c0
and eax, 0xffff
test eax, eax
jne 0x41a744
xor eax, eax
jmp 0x41a8f5
mov esi, esp
push 0x66
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
cmp esi, esp
call fcn.004479c0
mov dword [0x6e3b1c], eax
mov esi, esp
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x6e3b1c]
push edx
push 0
push closesocket
push closesocket
push closesocket
push closesocket
push 0xca0000
push 0x6e3aa4
push str.LINKONCLASS
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp esi, esp
call fcn.004479c0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x41a7b1
xor eax, eax
jmp 0x41a8f5
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 0x6e3a34
push str.LINKONCLASS
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp esi, esp
call fcn.004479c0
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x41a7ff
xor eax, eax
jmp 0x41a8f5
mov ecx, dword [ebp - 0x34]
mov dword [0x6e3b14], ecx
mov edx, dword [ebp - 0x38]
mov dword [0x6e3b0c], edx
mov byte [0x6e3b24], 0
call fcn.0041a930
mov esi, esp
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [0x6e3b14]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.004479c0
mov esi, esp
mov edx, dword [0x6e3b14]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp esi, esp
call fcn.004479c0
cmp dword [0x6e3a24], 0
je 0x41a886
mov esi, esp
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [0x6e3b0c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.004479c0
mov esi, esp
mov edx, dword [0x6e3b0c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp esi, esp
call fcn.004479c0
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.004479c0
test eax, eax
je 0x41a8ed
mov esi, esp
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [0x6e3a04]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
cmp esi, esp
call fcn.004479c0
test eax, eax
jne 0x41a8eb
mov esi, esp
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
cmp esi, esp
call fcn.004479c0
mov esi, esp
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp esi, esp
call fcn.004479c0
jmp 0x41a886
call fcn.0041a9e0
mov eax, dword [ebp - 0x50]
pop edi
pop esi
pop ebx
add esp, 0x9c
cmp ebp, esp
call fcn.004479c0
mov esp, ebp
pop ebp
ret 0x10