Function at 0x48a5a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dd04b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x7ce4e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x148]
cmp byte [eax + 0x299], 0
jne 0x48a872
call fcn.0047f520
push dword [esi + 0x138]
lea ecx, [eax + 0x30]
call fcn.004828b0
test al, al
jne 0x48a712
push 0
push 0x7d945c
push 0x7d9428
push 0
push dword [esi + 0x8c]
call fcn.005c1512
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x48aa4d
mov ecx, dword [ebx + 0x19c]
test ecx, ecx
je 0x48aa1e
mov dword [ecx + 0x1a8], 0
call fcn.00487a00
lea eax, [ebp - 0x228]
push eax
push dword [ebx + 0x104]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebx + 0x19c]
mov eax, dword [ebx + 0x2c]
push 0x1d
mov ecx, dword [edi + 0x2c]
sub eax, ecx
mov esi, dword [edi + 0x28]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x224]
push ecx
push esi
push eax
mov eax, dword [ebx + 0x28]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x228]
push eax
push 0xffffffffffffffff
push dword [edi + 0x104]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 0x19c]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 4
push dword [eax + 0x104]
call edi
mov eax, dword [ebx + 0x19c]
push dword [eax + 0x104]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [ebx + 0x19c]
cmp byte [esi + 0x30], 1
je 0x48a6d5
mov eax, dword [esi]
mov ecx, esi
push 1
mov byte [esi + 0x30], 1
call dword [eax + 0x48]
cmp dword [esi + 0x8c], esi
je 0x48a6e1
mov byte [esi + 0x64], 1
push dword [esi + 0x104]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
neg eax
sbb eax, eax
neg eax
add eax, 4
push eax
push dword [esi + 0x104]
call edi
push 0
push dword [ebx + 0x104]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x48aa1e
mov eax, dword [esi + 0x148]
mov byte [eax + 0x115], 1
mov ecx, dword [esi + 0x148]
mov edx, dword [ecx + 0x140]
mov byte [ecx + 0x299], 1
test edx, edx
je 0x48a742
mov eax, dword [ecx + 0x284]
mov dword [edx + 0x118], eax
mov byte [ecx + 0x64], 1
call fcn.00479f80
mov dword [ebp - 0x244], fcn.005cff37
mov dword [ebp - 0x240], fcn.005cfea2
mov dword [ebp - 0x23c], fcn.005cff1c
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0x8000
mov dword [ebp - method.common::allocator_unsigned_char__class_common::TAllocDefault_.virtual_0], vtable.common::t_heap.0
mov dword [ebp - 0x230], 0
mov byte [ebp - 0x22c], 0
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 0
push eax
call fcn.0047c6c0
push str.collect
push str.Main
lea ecx, [ebp - 0x248]
xor esi, esi
call fcn.004a4b30
mov edx, eax
test edx, edx
je 0x48a7ec
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a7d0
sub ecx, edi
sar ecx, 1
je 0x48a7ec
push edx
call fcn.005cb06c
add esp, 4
mov esi, eax
push 0xa
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [esi + 1]
push eax
call fcn.005db135
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push str.collect
push ecx
lea ecx, [ebp - 0x248]
call fcn.004a4c10
lea eax, [ebp - 0x248]
push eax
call fcn.0047ca60
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x238]
mov dword [ebp - method.common::allocator_unsigned_char__class_common::TAllocDefault_.virtual_0], vtable.common::allocator_unsigned_char__class_common::TAllocDefault_.0
test ecx, ecx
je 0x48aa17
nop dword [eax]
mov eax, dword [ecx + 4]
push ecx
mov dword [ebp - 0x238], eax
call dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x238]
add esp, 4
test ecx, ecx
jne 0x48a850
jmp 0x48aa17
call fcn.0047f520
mov ecx, dword [esi + 0x138]
mov edx, dword [eax + 0x34]
lea ebx, [eax + 0x30]
xor eax, eax
mov edi, dword [ecx]
test edx, edx
jle 0x48a8eb
mov ecx, dword [ebx]
nop dword [eax]
cmp dword [ecx], edi
je 0x48a8a1
inc eax
add ecx, 0x130
cmp eax, edx
jl 0x48a890
jmp 0x48a8eb
push eax
mov ecx, ebx
call fcn.0047f3f0
mov byte [ebx + 0x1c], 1
mov eax, dword [esi + 0x148]
mov byte [eax + 0x115], 0
mov ecx, dword [esi + 0x148]
mov edx, dword [ecx + 0x140]
mov byte [ecx + 0x299], 0
test edx, edx
je 0x48a8dd
mov eax, dword [ecx + 0x280]
mov dword [edx + 0x118], eax
mov byte [ecx + 0x64], 1
call fcn.00479f80
call fcn.0047df30
call fcn.00479f80
mov dword [ebp - 0x244], fcn.005cff37
mov dword [ebp - 0x240], fcn.005cfea2
mov dword [ebp - 0x23c], fcn.005cff1c
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0x8000
mov dword [ebp - method.common::allocator_unsigned_char__class_common::TAllocDefault_.virtual_0], vtable.common::t_heap.0
mov dword [ebp - 0x230], 0
mov byte [ebp - 0x22c], 0
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 2
push eax
call fcn.0047c6c0
push str.uncollect
push str.Main
lea ecx, [ebp - 0x248]
xor esi, esi
call fcn.004a4b30
mov edx, eax
test edx, edx
je 0x48a98e
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a972
sub ecx, edi
sar ecx, 1
je 0x48a98e
push edx
call fcn.005cb06c
add esp, 4
mov esi, eax
push 0xa
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [esi + 1]
push eax
call fcn.005db135
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push str.uncollect
push ecx
lea ecx, [ebp - 0x248]
call fcn.004a4c10
lea eax, [ebp - 0x248]
push eax
call fcn.0047ca60
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x238]
mov dword [ebp - method.common::allocator_unsigned_char__class_common::TAllocDefault_.virtual_0], vtable.common::allocator_unsigned_char__class_common::TAllocDefault_.0
test ecx, ecx
je 0x48aa0d
nop word [eax + eax]
mov eax, dword [ecx + 4]
push ecx
mov dword [ebp - 0x238], eax
call dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x238]
add esp, 4
test ecx, ecx
jne 0x48a9f0
mov dword [ebp - 0x238], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00479f80
call fcn.0047ed10
call fcn.00479f80
call fcn.0047df30
call fcn.00479f80
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x48aa4d
mov ecx, dword [ecx + 0x188]
test ecx, ecx
je 0x48aa4d
call fcn.0048daa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005be209
mov esp, ebp
pop ebp
ret 4