Function at 0x1008aca
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x10170f4]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push ebx
mov dword [ebp - 4], eax
mov esi, ecx
call edi
mov ecx, 0x1017248
mov dword [ebp - 0x214], eax
call fcn.0100f471
test eax, eax
mov dword [ebp - 0x218], eax
je 0x1008bdd
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x1008bd1
push 0x3f1
push ebx
call edi
test eax, eax
mov dword [ebp - 0x210], eax
je 0x1008bd1
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp - 0x210]
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x3f5
push ebx
mov dword [ebp - 0x210], eax
call edi
cmp dword [ebp - 0x210], 0
mov dword [ebp - 0x21c], eax
je 0x1008bd1
test eax, eax
je 0x1008bd1
lea ecx, [ebp - 0x24c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x1008bd1
push 2
lea eax, [ebp - 0x23c]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
test eax, eax
je 0x1008bd1
mov ecx, dword [ebp - 0x24c]
sub ecx, dword [ebp - 0x244]
push 0x15
add ecx, dword [ebp - 0x234]
xor eax, eax
push eax
push eax
push dword [ebp - 0x238]
push ecx
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
mov dword [esi + 4], ebx
call fcn.010114ca
test eax, eax
mov dword [esi + 0x10], eax
je 0x1008c00
push 0
push 0x424
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x10171e4], 0
je 0x1008c1a
push 0
push 0x3f1
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x214], 0
je 0x1008d4b
push 0x28
call fcn.01011013
test eax, eax
pop ecx
je 0x1008c4a
push 0x406
push 1
push ebx
push dword [ebp - 0x214]
mov ecx, eax
call fcn.01013b4d
jmp 0x1008c4c
xor eax, eax
test eax, eax
mov dword [esi + 0xec], eax
je 0x1008d4b
push dword [ebp - 0x214]
mov ecx, esi
call fcn.01008a4e
mov ecx, dword [esi + 0xec]
push 0x424
mov dword [ebp - 0x210], eax
call fcn.01013bff
push dword [esi + 4]
xor edi, edi
inc edi
call fcn.010114ca
test eax, eax
je 0x1008c91
mov edi, 0x2001
push 0x14
push 5
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x32
call edi
push eax
push 0x31
call edi
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
test eax, eax
je 0x1008cbe
mov ecx, dword [esi + 0xec]
push 1
push eax
call fcn.01013bde
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x46
push dword [0x10171dc]
call fcn.01011dd1
test eax, eax
jne 0x1008ce3
and word [ebp - 0x20c], ax
mov eax, dword [ebp - 0x210]
push 3
add eax, eax
pop ecx
cdq
idiv ecx
push eax
push 0
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [esi + 0xec]
call fcn.0101120e
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x47
push dword [0x10171dc]
call fcn.01011dd1
test eax, eax
jne 0x1008d28
and word [ebp - 0x20c], ax
mov eax, dword [ebp - 0x210]
push 3
pop ecx
cdq
idiv ecx
push eax
push 1
lea eax, [ebp - 0x20c]
push eax
push 1
push dword [esi + 0xec]
call fcn.0101120e
and dword [esi + 0x38], 0
lea eax, [ebp - 0x22c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x1008d9f
mov edi, 0x1001638
mov dword [ebp - 0x210], 6
mov eax, dword [esi + 0x38]
imul eax, eax, 0x1c
lea eax, [eax + esi + 0x3c]
push eax
lea eax, [ebp - 0x22c]
push eax
push ebx
push dword [edi + 4]
push dword [edi]
call fcn.0101124b
test eax, eax
je 0x1008d94
inc dword [esi + 0x38]
add edi, 8
dec dword [ebp - 0x210]
jne 0x1008d70
lea eax, [ebp - 0x22c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x1008dd5
mov eax, dword [ebp - 0x224]
sub eax, dword [ebp - 0x22c]
mov dword [esi + 0xe4], eax
mov eax, dword [ebp - 0x220]
sub eax, dword [ebp - 0x228]
mov dword [esi + 0xe8], eax
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
call fcn.01010e5d
leave
ret 0x10