Function at 0x100427f0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x101f015b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
lea ebx, [ebp + 0x24]
xor esi, esi
cmp ebx, esi
mov dword [esp + 0x28], ebx
je 0x10042833
mov eax, dword [ebx]
cmp eax, esi
je 0x10042833
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x20], esi
mov eax, dword [ebp + 0x20]
cmp eax, esi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
je 0x10042865
mov eax, dword [eax + 4]
cmp eax, esi
je 0x10042852
push eax
call edi
test eax, eax
jne 0x10042865
mov ecx, dword [ebp + 0x20]
cmp ecx, esi
je 0x10042862
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [ebp + 0x20], esi
cmp dword [ebp + 0x20], esi
jne 0x10042950
push 0x168
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x20], 1
cmp eax, esi
je 0x10042898
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 4]
push ecx
push edx
push eax
call fcn.100450b0
jmp 0x1004289a
xor eax, eax
mov byte [esp + 0x20], 0
cmp eax, esi
mov dword [ebp + 0x20], eax
jne 0x100428cc
mov dword [esp + 0x20], 0xffffffff
cmp ebx, esi
je 0x10042a33
mov eax, dword [ebx]
cmp eax, esi
je 0x100428c3
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x28], esi
jmp 0x10042a33
push ecx
mov ecx, dword [ebp + 0x18]
cmp ecx, esi
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], ecx
je 0x100428e2
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov byte [esp + 0x24], 2
mov eax, dword [ebp + 0x20]
push eax
mov byte [esp + 0x28], 0
call fcn.10045b10
push ecx
mov ecx, dword [ebp + 0x1c]
cmp ecx, esi
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], ecx
je 0x1004290b
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov byte [esp + 0x24], 3
mov byte [esp + 0x24], 0
mov edi, dword [ebp + 0x20]
call fcn.1002c460
push ecx
mov ecx, dword [ebp + 0x14]
test ecx, ecx
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], ecx
je 0x10042933
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov byte [esp + 0x24], 4
mov ecx, dword [ebp + 0x20]
push ecx
mov byte [esp + 0x28], 0
call fcn.10045980
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov ebx, dword [esp + 0x28]
mov esi, dword [ebp + 0x20]
mov edx, dword [esi + 0x130]
push edx
call edi
test eax, eax
jne 0x10042966
mov dword [esi + 0x130], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1004297f
push eax
call edi
test eax, eax
je 0x1004297f
mov eax, dword [esp + 0x30]
mov dword [esi + 0x130], eax
mov ecx, dword [ebp + 0x20]
mov eax, dword [ecx + 4]
test eax, eax
je 0x10042a58
push eax
call edi
test eax, eax
je 0x10042a58
mov edx, dword [ebp + 0x20]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
setne al
cmp byte [esp + 0x2c], 0
je 0x100429cf
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx + 4]
test al, al
push edx
sete bl
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x100429cb
test bl, bl
je 0x100429e4
mov ebx, dword [esp + 0x28]
mov esi, dword [ebp + 0x20]
call fcn.100456d0
mov eax, dword [ebp + 0x20]
mov esi, dword [eax + 4]
call fcn.101c72c0
jmp 0x10042a12
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x10042a4b
mov ebp, dword [ebp + 0x20]
mov eax, dword [ebp + 4]
push eax
call edi
test eax, eax
je 0x10042a0e
mov ecx, dword [ebp + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
test ebx, ebx
je 0x10042a33
mov eax, dword [ebx]
test eax, eax
je 0x10042a2b
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x28], 0
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
mov edx, dword [ebp + 0x20]
mov esi, dword [edx + 4]
call fcn.101c72c0
jmp 0x10042a0e
mov esi, dword [ebp + 0x20]
call fcn.10045530
jmp 0x10042a12