Function at 0x48caf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d24d3
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push edi
mov eax, dword [0x4fa36c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0x52c
mov dword [esi + 0x20], ebx
call fcn.004a9a85
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
test edi, edi
mov dword [esp + 0x78], 0
je 0x48cb58
push edi
call fcn.00490f80
mov dword [edi], 0x4e2a68
mov dword [edi + 0x4d8], 2
jmp 0x48cb5a
xor edi, edi
mov dword [esp + 0x78], 0xffffffff
mov dword [esi + 0x24], edi
mov eax, dword [ebx]
mov edi, dword [edi]
mov edx, dword [eax + 0x124]
mov ecx, ebx
add edi, 0x128
call edx
mov ecx, dword [esi + 0x24]
push eax
mov eax, dword [edi]
call eax
mov eax, dword [esi + 0x20]
add eax, 0x52c
cmp dword [eax + 0x18], 8
jb 0x48cb94
mov eax, dword [eax + 4]
jmp 0x48cb97
add eax, 4
mov ecx, dword [esi + 0x24]
push ecx
mov ecx, eax
call fcn.0045ce80
mov eax, dword [esi + 0x20]
mov edx, dword [eax + 0x554]
mov edi, dword [eax + 0x550]
mov eax, dword [ebx]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0x2d8]
push ecx
mov ecx, ebx
mov dword [esp + 0x28], edi
call edx
test edi, edi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], eax
je 0x48cbf8
add ecx, edi
mov dword [esp + 0x34], ecx
mov eax, dword [esi + 0x20]
add eax, 0x568
push eax
lea edi, [esp + 0x40]
mov dword [esp + 0x14], 0
call fcn.0048d8f0
mov dword [esp + 0x78], 1
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x40]
test edx, edx
mov ecx, dword [eax + 0x57c]
mov edi, dword [eax + 0x564]
jne 0x48cc35
xor eax, eax
jmp 0x48cc3e
mov eax, dword [esp + 0x44]
sub eax, edx
sar eax, 2
sub eax, ecx
mov dword [esp + 0x20], eax
xor edx, edx
lea eax, [eax + edi - 1]
div edi
test eax, eax
jbe 0x48ccab
mov edx, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
lea ecx, [edx + ecx*4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jmp 0x48cc69
mov edx, dword [esp + 0x40]
test edx, edx
je 0x48cc7c
mov eax, dword [esp + 0x44]
sub eax, edx
sar eax, 2
cmp dword [esp + 0x18], eax
jb 0x48cc81
call fcn.004ab591
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe4]
call edx
add dword [esp + 0x10], eax
add dword [esp + 0x18], edi
lea eax, [edi*4]
add dword [esp + 0x14], eax
sub dword [esp + 0x1c], 1
jne 0x48cc65
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x258]
lea edx, [esp + 0x5c]
push edx
call eax
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x10]
add edx, ecx
add edi, edx
cmp dword [esp + 0x20], 1
mov dword [esp + 0x10], edi
jbe 0x48ccf5
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 0x260]
call edx
mov ecx, dword [esp + 0x20]
add ecx, 0xffffffff
imul eax, ecx
add edi, eax
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x48cd03
mov dword [esp + 0x28], edi
jmp 0x48cd21
mov edx, dword [esi + 0x20]
cmp byte [edx + 0x561], 0
je 0x48cd21
cmp eax, edi
lea eax, [esp + 0x28]
jl 0x48cd1b
lea eax, [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [ebx]
add edx, ecx
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x124]
mov ecx, ebx
call edx
mov edx, dword [eax + 0x178]
push 2
lea ecx, [esp + 0x30]
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebx]
mov edx, dword [eax + 0x124]
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
mov eax, dword [eax + 0x178]
sub edx, ecx
push edx
mov edx, dword [esp + 0x30]
sub edi, edx
push edi
push ecx
push edx
push 0x88
push Ordinal_4
push 0
push eax
mov eax, esi
call fcn.00466220
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edi
call ebx
test eax, eax
je 0x48cdac
nop
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x48cda0
mov ecx, dword [esi + 0x20]
cmp byte [ecx + 0x578], 0
jne 0x48cdd4
mov edx, dword [esi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x48cde5
push eax
call fcn.004a93cc
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4