Function at 0x411a90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
push esi
mov esi, 0x41d340
mov edi, esi
push ebx
xor eax, eax
cld
mov ecx, 0x30
rep stosd dword es:[edi], eax
push 0
push 7
push 0
push 0x411a2d
push 0x41d320
call sym._sprintf
mov dword [esi + 0x5c], 0x41d320
mov dword [esi + 0x6c], 0x400
mov dword [esi + 0x70], 0x18
mov dword [esi + 0x74], 0x50
mov byte [esi + 0xa0], 1
mov dword [esi + 0x90], 2
mov dword [esi + 0x98], 2
mov dword [esi + 0x94], 2
mov dword [esi + 0x9c], 2
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov ebx, 1
add esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x41d400
mov edx, 0xc0
nop
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
cld
mov ecx, 0x30
rep stosd dword es:[edi], eax
mov eax, dword [ebx*4 + 0x41c3bc]
mov dword [edx + 0x41d39c], eax
mov dword [edx + 0x41d3ac], 0x10
mov dword [edx + 0x41d3b0], 0x18
mov dword [edx + 0x41d3b4], 0x50
mov byte [edx + 0x41d3e0], 1
mov dword [edx + 0x41d3d0], 1
mov dword [edx + 0x41d3d8], 1
mov dword [edx + 0x41d3d4], 1
mov dword [edx + 0x41d3dc], 1
mov dword [edx + 0x41d3b8], 0
mov dword [edx + 0x41d3bc], 0
add dword [ebp - 0x14], 0xc0
add edx, 0xc0
inc ebx
cmp ebx, 7
jle 0x411b34
call sym._load_prefs
mov dword [0x41d3a4], 0x10cf0000
mov dword [0x41d3a8], 0
mov ebx, 1
mov edx, 0x41d3a8
mov edi, 0xc0
nop
lea esi, [esi]
mov dword [edi + 0x41d3a4], 0xc0000
mov dword [edx + edi], pe_nt_image_headers32
add edi, 0xc0
inc ebx
cmp ebx, 7
jle 0x411bf4
xor ebx, ebx
mov edi, 0x41d340
mov dword [ebp - 8], 0
nop
lea esi, [esi]
mov ecx, dword [ebp - 8]
mov eax, 0x41d3e4
mov ecx, dword [eax + ecx]
push ecx
push edi
call sym._term_force_font
mov edx, eax
add esp, 8
test edx, edx
je 0x411c4d
push 0x410d76
push edi
call sym._term_force_font
add esp, 8
add edi, 0xc0
add dword [ebp - 8], 0xc0
inc ebx
cmp ebx, 7
jle 0x411c24
mov dword [0x41d940], 0x41d340
push 0
mov eax, dword [0x41d950]
push eax
push 0
push 0
mov eax, dword [esi + 0x84]
push eax
mov eax, dword [esi + 0x80]
push eax
mov eax, dword [esi + 0x7c]
push eax
mov eax, dword [esi + 0x78]
push eax
mov eax, dword [esi + 0x64]
push eax
mov eax, dword [esi + 0x5c]
push eax
mov eax, dword [0x41c88c]
push eax
mov eax, dword [esi + 0x68]
push eax
call sub.user32.dll_CreateWindowExA
mov edx, eax
mov eax, dword [0x41d940]
mov dword [eax + 0x60], edx
test edx, edx
jne 0x411cbe
push 0x411a54
call sym._quit
add esp, 4
mov dword [0x41d940], 0
push esi
call sym._term_data_link
mov dword [0x445d60], esi
mov ebx, 1
add esp, 4
mov esi, 0x41d400
mov edi, 0xc0
mov dword [0x41d940], esi
push 0
mov eax, dword [0x41d950]
push eax
push 0
push 0
mov eax, dword [edi + 0x41d3c4]
push eax
mov eax, dword [edi + 0x41d3c0]
push eax
mov eax, dword [edi + 0x41d3bc]
push eax
mov eax, dword [edi + 0x41d3b8]
push eax
mov eax, dword [edi + 0x41d3a4]
push eax
mov eax, dword [edi + 0x41d39c]
push eax
mov eax, dword [0x41c890]
push eax
mov eax, dword [edi + 0x41d3a8]
push eax
call sub.user32.dll_CreateWindowExA
mov edx, eax
mov eax, dword [0x41d940]
mov dword [eax + 0x60], edx
test edx, edx
jne 0x411d4f
push 0x411a74
call sym._quit
add esp, 4
mov edx, dword [0x41d940]
cmp byte [edx + 0xa0], 0
je 0x411d81
mov byte [edx + 0xa1], 1
push 5
mov eax, dword [0x41d940]
mov eax, dword [eax + 0x60]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x41d940]
mov byte [eax + 0xa1], 0
mov dword [0x41d940], 0
push esi
call sym._term_data_link
mov dword [ebx*4 + 0x445d60], esi
add esp, 4
add esi, 0xc0
add edi, 0xc0
inc ebx
cmp ebx, 7
jle 0x411ce6
mov eax, dword [0x41d3a0]
push eax
call sub.user32.dll_SetActiveWindow
push 3
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x41d3a0]
push eax
call sub.user32.dll_SetWindowPos
call sym._new_palette
mov eax, dword [0x41c8d0]
push eax
call sub.gdi32.dll_CreateSolidBrush
mov dword [0x41d960], eax
call sym._Term_xtra_win_flush
lea esp, [ebp - 0x3c]
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret