Function at 0x10016240
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x144
mov eax, dword [0x1005d1c0]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x154]
mov edx, dword [esi + 8]
push edi
mov edi, ecx
mov ecx, dword [esi + 4]
lea ebx, [edi + 0xc]
push ebx
push edx
mov edx, dword [esi + 0xc]
mov ebp, 1
mov dword [esp + 0x158], eax
mov dword [esi + 0x10], ebp
mov eax, dword [ecx]
push edx
mov dword [esp + 0x20], 0
call dword [eax + 0x10c]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
lea eax, [edi + 0x1c]
push eax
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x15c]
test eax, eax
jne 0x100162b5
mov eax, dword [edi]
push esi
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call dword [eax + 0x44]
mov dword [esp + 0x14], ebp
jmp 0x100162be
mov byte [esp + 0x50], al
mov byte [esp + 0x51], 0
mov ax, word [edi + 4]
test al, 1
mov dword [esp + 0x10], 0x44000004
jne 0x100162e8
test al, 2
je 0x100162dc
mov dword [esp + 0x10], 0x44000006
jmp 0x100162e8
test al, 4
je 0x100162e8
mov dword [esp + 0x10], 0x44000005
test al, 0x40
mov eax, dword [esp + 0x10]
je 0x100162f5
or eax, 0x40
jmp 0x100162fa
or eax, 0x80
mov edx, dword [0x1005d230]
mov ecx, dword [esi + 4]
mov ebp, dword [edi + 0x10]
mov ebx, dword [ebx]
push 0
push edx
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
push 0x309
call dword [eax + 0xf4]
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
push eax
mov eax, dword [esp + 0x20]
sub ecx, ebp
inc ecx
push ecx
sub edx, ebx
dec edx
push edx
push ebp
inc ebx
push ebx
push eax
push 0x1003de55
push str.HEIGRIDEDIT2
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [esi], eax
je 0x10016439
mov edx, dword [edi]
push 0
push esi
mov ecx, edi
call dword [edx + 0x50]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [esi]
push 0xc5
push eax
call ebp
mov edx, dword [esi]
lea ecx, [esp + 0x50]
push ecx
push 0
push 0xc
push edx
call ebp
mov eax, dword [esi]
push 0
push 0
push 0xc8
push eax
call ebp
mov ecx, dword [esi]
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call ebp
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x100163b4
mov edx, dword [esi]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xb1
push edx
call ebp
mov ecx, dword [esi + 4]
push 1
call sym.Host71.dll_public:_void___thiscall_IGrid::SetCellChanged_int_
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push edx
mov edx, dword [esi + 0xc]
push edx
call dword [eax + 0x54]
push 0
mov ebx, eax
mov eax, dword [esi]
push ebx
push 0x30
push eax
call ebp
test byte [edi + 5], 1
je 0x100163eb
mov ecx, dword [0x1005d21c]
mov edx, dword [esi]
push 1
add ecx, 0xfffffffe
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowWord]
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push ebx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x18]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov edx, dword [esp + 0x18]
mov eax, dword [edi]
push esi
mov ecx, edi
mov dword [edi + 8], edx
call dword [eax + 0x30]
mov ecx, dword [esi]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [esi + 0x10], 0
mov eax, 1
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebp
pop ebx
call fcn.10038e11
add esp, 0x144
ret 8