Function at 0x4aaa96
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x5836e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov dword [ebp - 0x44], ebx
push edi
cmp dword [ebx + 0x30], esi
je 0x4aaac5
push dword [ebx + 0x30]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4aaac5
mov dword [ebx + 0x30], esi
mov eax, dword [ebx + 0x30]
test eax, eax
jne 0x4aac49
push 1
push 1
push str.Creating_child_dialog_IDD_SPG_APPDISTINCT2
call fcn.00421c79
lea edi, [ebx + 0x28]
push edi
call fcn.00403ba7
push esi
push fcn.004abf5d
push dword [ebx + 4]
push 0xa2
call fcn.0044035d
add esp, 0x20
mov dword [edi], eax
test eax, eax
je 0x4aab08
mov eax, dword [eax + 4]
jmp 0x4aab0a
mov eax, esi
mov dword [ebx + 0x30], eax
test eax, eax
jne 0x4aab22
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
xor al, al
jmp 0x4aac4c
push 0xa2
push 0xfffffffffffffff4
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea esi, [ebx + 0x2c]
cmp dword [esi], 0
jne 0x4aab54
cmp dword [ebx + 0x1c], 0
je 0x4aab54
push esi
call fcn.00439761
pop ecx
push dword [edi]
mov ecx, dword [esi]
push dword [ebx + 4]
push dword [ebx + 0x30]
call fcn.004394ac
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x931
push dword [ebx + 4]
call esi
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea edi, [ebp - 0x14]
mov ecx, eax
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0x48], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push ecx
call ebx
mov edi, dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x14]
push 2
push eax
mov eax, dword [ebp - 0x44]
push dword [eax + 4]
push 0
call edi
mov eax, dword [ebp - 0x44]
and dword [ebp - 0x50], 0
and dword [ebp - 0x4c], 0
push 0x935
push dword [eax + 0x30]
call esi
mov esi, eax
lea eax, [ebp - 0x50]
push 1
push eax
mov eax, dword [ebp - 0x44]
push dword [eax + 0x30]
push esi
call edi
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
xor eax, eax
mov dword [ebp - 0x40], 0x1c
mov dword [ebp - 0x3c], 0x17
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
lea edi, [ebp - 0x24]
sub eax, dword [ebp - 8]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
mov edi, dword [ebp - 0x44]
push eax
push dword [0x582f44]
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
mov eax, dword [ebp - 0x18]
xor ebx, ebx
sub eax, dword [ebp - 0x20]
push ebx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
push eax
push 1
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_SetScrollInfo]
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x30]
call fcn.00421e81
add esp, 0xc
push ebx
push dword [ebp - 0x48]
call esi
push 5
push dword [edi + 0x30]
call esi
mov eax, dword [edi + 0x30]
test eax, eax
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f4166
leave
ret