Function at 0x48e93c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x48e944
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x48eb73
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x48eb37
push dword fs:[edx]
mov dword fs:[edx], esp
mov edi, dword [esi + 0x24]
test edi, edi
je 0x48e997
mov eax, dword [edi + 0x423]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48e997
push 0
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x423]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x48e9a6
call fcn.004849e8
mov eax, ebx
cmp dword [eax + 0x2e], 3
jne 0x48e9bd
xor edx, edx
mov dword [eax + 0x2e], edx
call fcn.004062ac
jmp 0x48eb3e
cmp ebx, dword [esi + 0x18]
jne 0x48eb24
lea edx, [ebp - 0x18]
mov esi, ebx
mov eax, esi
call fcn.0046548c
cmp dword [ebp - 0x18], 0
je 0x48eb24
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.0046548c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x48e9f8
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, esi
call fcn.00466e24
dec eax
test eax, eax
jl 0x48eb24
inc eax
mov dword [ebp - 0x10], eax
xor edi, edi
cmp edi, 0x32
jg 0x48eb24
lea edx, [ebp - 0x28]
mov esi, ebx
mov eax, esi
call fcn.0046548c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.0041b674
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x34]
mov edx, edi
mov eax, esi
call fcn.00466d3c
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov edx, 1
call fcn.00407d38
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0041b674
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00407d00
jne 0x48eb1a
mov dword [esi + 0x2e], 3
lea edx, [ebp - 8]
mov eax, esi
call fcn.0046548c
lea ecx, [ebp - 4]
mov edx, edi
mov eax, esi
call fcn.00466d3c
lea ecx, [ebp - 0x38]
mov edx, edi
mov eax, esi
call fcn.00466d3c
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x48eab5
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x40]
push eax
mov edx, dword [ebp - 0xc]
inc edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00407d38
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 8]
call fcn.00407bc8
mov edx, dword [ebp - 0x3c]
mov eax, esi
call fcn.00465510
lea ecx, [ebp - 0x44]
mov edx, edi
mov eax, esi
call fcn.00466d3c
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x48eafe
sub eax, 4
mov eax, dword [eax]
movzx edx, word [ebp - 0xc]
movzx eax, ax
shl eax, 0x10
or edx, eax
push edx
push 0
push 0x142
push esi
call fcn.00467254
jmp 0x48eb24
inc edi
dec dword [ebp - 0x10]
jne 0x48ea11
xor eax, eax
mov dword [ebx + 0x2e], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48eb3e
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48eb7a
lea eax, [ebp - 0x44]
mov edx, 9
call fcn.00406ba0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00406ba0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406ba0
ret