Function at 0x47e2e2
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
cmp dword [ebp + 0xc], 1
push esi
push edi
jne 0x47e551
lea eax, [ebx + 0x64]
neg eax
sbb eax, eax
lea ecx, [ebx + 0x68]
and eax, ecx
mov eax, dword [eax]
test eax, eax
jne 0x47e551
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x48]
push eax
lea edi, [ebx + 4]
push dword [edi]
call esi
add dword [ebp - 0x40], 0x6e
push 0
push 0
push 0x474
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
mov dword [ebx + 0xa0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0xa0]
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0xa0]
call esi
lea eax, [ebp - 0x18]
call fcn.0040a8d1
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x18]
push eax
xor esi, esi
push esi
push 0x1328
push dword [ebx + 0xa0]
call edi
push esi
push esi
push 0x2005
push dword [ebx + 0xa0]
call edi
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
sub eax, dword [ebp - 0x2c]
lea eax, [eax + ecx + 0x32]
add dword [ebp - 0x3c], eax
push eax
mov dword [ebp - 8], eax
push 0x6e
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47e42b
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x38]
lea edi, [ebx + 4]
call fcn.0040a8d1
push dword [ebp - 8]
lea eax, [ebp - 0x38]
push 0x6e
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 0x15
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x38]
call fcn.00403b98
push 2
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x47e3d3
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
lea eax, [ebp - 0x28]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x20], 0x6e
add eax, 0xe
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x24]
push esi
add eax, 0xe
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xc]
push ecx
mov dword [ebp - 0x4c], eax
mov eax, esp
push esi
push 0x50200121
push esi
mov dword [eax], esi
push ecx
mov eax, esp
lea ecx, [ebp - 0x58]
mov dword [eax], ecx
push dword [ebx + 4]
lea esi, [ebx + 0x64]
call fcn.0047fa6c
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0
push 0
push 0x31
push eax
call edi
push eax
lea esi, [ebx + 0x68]
push esi
call fcn.0040a898
push 0
push 0
push 0x1304
push dword [ebx + 0xa0]
call edi
and dword [ebp - 4], 0
test eax, eax
mov dword [ebp - 8], eax
jle 0x47e511
push 0x3f
pop ecx
xor eax, eax
mov byte [ebp - 0x158], 0
lea edi, [ebp - 0x157]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x100
push dword [ebp - 4]
stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x158]
call fcn.0047fb18
lea eax, [ebp - 0x158]
push eax
push 0
push 0x180
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jl 0x47e4bf
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x130b
push dword [ebx + 0xa0]
call edi
push eax
mov eax, esi
call fcn.004468f7
push 0x2000000
xor eax, eax
xor ecx, ecx
lea edi, [ebx + 4]
call fcn.00403bc4
push 0x16
push 0
lea eax, [ebx + 4]
push eax
lea eax, [ebp - 0x48]
call fcn.00403b98
push ebx
call fcn.0047b168
push dword [ebp + 0x10]
mov eax, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00414371
pop edi
pop esi
leave
ret 0xc