Function at 0x4c7990
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx]
mov eax, dword [eax + 0x98]
cmp eax, method.CXFloatWnd.virtual_152
jne 0x4c7afb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov eax, dword [0x5dd298]
add eax, 0x10
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x5dd0fc]
xor ecx, ecx
mov edx, dword [edi + 8]
test edx, edx
jle 0x4c79e3
mov eax, dword [edi]
cmp dword [eax], esi
je 0x4c79fe
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4c79d7
xor esi, esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
jne 0x4c7a24
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 0xffffffff
je 0x4c79e3
test ecx, ecx
js 0x4c7a13
cmp ecx, edx
jge 0x4c7a13
mov eax, dword [edi + 4]
mov esi, dword [eax + ecx*4]
jmp 0x4c79e5
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov edx, dword [esi + 8]
lea edi, [ebx + 0x128]
xor ecx, ecx
test edx, edx
jle 0x4c7af2
mov eax, dword [esi + 4]
nop word [eax + eax]
cmp dword [eax], edi
je 0x4c7a55
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4c7a40
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 0xffffffff
je 0x4c7af2
test ecx, ecx
js 0x4c7ae1
cmp ecx, edx
jge 0x4c7ae1
lea eax, [edx - 1]
cmp ecx, eax
je case.0x4c7ad0.0
mov edi, dword [esi + 4]
sub edx, ecx
shl edx, 2
lea ecx, [edi + ecx*4]
lea eax, [edx - 4]
lea edi, [ecx + 4]
test eax, eax
je 0x4c7ac7
test ecx, ecx
jne 0x4c7a9d
call fcn.0051dcbc
mov dword [eax], 0x16
call fcn.0051db91
mov eax, 0x16
jmp 0x4c7ac9
test edi, edi
je 0x4c7a86
cmp edx, eax
jae 0x4c7abc
call fcn.0051dcbc
mov dword [eax], 0x22
call fcn.0051db91
mov eax, 0x22
jmp 0x4c7ac9
push eax
push edi
push ecx
call fcn.005122a0
add esp, 0xc
xor eax, eax
movzx eax, byte [eax + 0x4c7b30]
jmp dword [eax*4 + 0x4c7b20]
dec dword [esi + 8]
mov eax, 1
jmp 0x4c7ae3
xor eax, eax
test eax, eax
je 0x4c7af2
push 0
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call eax
jmp 0x4c79ac
push 0x8007000e
call fcn.0040b4a2
push 0x80070057
call fcn.0040b4a2
push 0x80004005
call fcn.0040b4a2
xlatb
jp 5012335
add byte [edx], al
jnp 0x4c7b73
add byte [ebx + edi*2], cl
dec esp
add byte [esi], dl
jnp 0x4c7b7b
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3