Function at 0x42c500
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4a1e68
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
mov ebx, dword [esp + 0x68]
push ebp
push esi
mov esi, ecx
cmp ebx, dword [esi + 0xb0c]
push edi
je 0x42c827
xor edi, edi
cmp ebx, 0xffffffff
je 0x42c545
push ebx
call fcn.0042b070
mov edi, eax
test edi, edi
je 0x42c827
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esi + 0xb0c]
push ecx
mov ecx, esi
call fcn.0042b070
mov ebp, eax
test ebp, ebp
je 0x42c595
lea edx, [ebp + 0x148]
mov eax, dword [edx]
mov dword [esp + 0x30], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x34], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x3c], ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42c595
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
je 0x42c5a9
mov eax, dword [edi + 0xc]
test eax, eax
je 0x42c5a9
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0xb0c], ebx
call dword [edx + 0x250]
xor ebx, ebx
cmp edi, ebx
mov dword [esi + 0xa34], ebx
mov dword [esi + 0xa38], ebx
mov dword [esi + 0xa3c], ebx
jne 0x42c5e7
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
lea eax, [esp + 0x40]
jmp 0x42c5ed
lea eax, [edi + 0x148]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x2c], edx
call dword [eax + 0x210]
cmp edi, ebx
jne 0x42c62c
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
lea eax, [esp + 0x40]
jmp 0x42c632
lea eax, [edi + 0x148]
mov ebx, dword [eax]
lea ecx, [esi + 0xb50]
mov edx, ecx
mov dword [edx], ebx
mov ebx, dword [eax + 4]
mov dword [edx + 4], ebx
mov ebx, dword [eax + 8]
mov dword [edx + 8], ebx
mov eax, dword [eax + 0xc]
push ecx
mov ecx, esi
mov dword [edx + 0xc], eax
call fcn.0047ccfa
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x42c827
mov eax, dword [esi + 0x6fc]
test eax, eax
je 0x42c80f
mov eax, dword [esp + 0x78]
test eax, eax
je 0x42c80f
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x42c80f
mov dword [esp + 0x74], edi
add edi, 0x148
mov edx, dword [edi]
mov dword [esp + 0x10], edx
mov eax, dword [edi + 4]
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x42c6f1
mov dword [esp + 0x74], ebp
add ebp, 0x148
mov edx, dword [ebp]
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x1c], edi
jmp 0x42c6f9
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x24], eax
jge 0x42c703
sub edi, eax
jmp 0x42c707
sub eax, edi
mov edi, eax
lea edx, [esi + 0x708]
push edx
mov ecx, esi
call fcn.0042b1e0
push esi
lea ecx, [esp + 0x54]
call fcn.0047ce9f
mov eax, dword [esp + 0x24]
mov dword [esp + 0x6c], 0
test edi, edi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
jge 0x42c773
cmp eax, ecx
jg 0x42c777
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x210]
mov eax, dword [esi + 0x1c]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0x50]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0047cefa
jmp 0x42c827
cmp eax, ecx
jge 0x42c73b
mov ecx, dword [esi + 0x1c]
push 1
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
push 0
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x20]
push eax
call fcn.0042a8e0
call fcn.00404682
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [eax]
push 0
sub esp, 0x10
mov ebp, esp
mov dword [ebp], ecx
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x30]
mov dword [ebp + 0xc], edx
sub esp, 0x10
mov ebp, esp
mov dword [ebp], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
push esi
lea edx, [esp + 0x78]
push edx
mov ecx, eax
call dword [ebx + 0x10]
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x78]
add eax, edi
jmp 0x42c72b
mov edx, dword [esi + 0x1c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 8