Function at 0x47ce50
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d9d12
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov esi, ecx
push edi
cmp ebp, dword [esi + 0xaa4]
je 0x47d1ea
xor edi, edi
cmp ebp, 0xffffffff
je 0x47ce95
push ebp
call fcn.0047d200
mov edi, eax
test edi, edi
je 0x47d1ea
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esi + 0xaa4]
push ecx
mov ecx, esi
call fcn.0047d200
mov ebx, eax
test ebx, ebx
je 0x47cee9
lea edx, [ebx + 0x120]
mov eax, dword [ebx + 0x120]
mov dword [esp + 0x38], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x3c], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x44], ecx
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x47cee9
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
je 0x47cefd
mov eax, dword [edi + 0xc]
test eax, eax
je 0x47cefd
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0xaa4], ebp
call dword [edx + 0x1cc]
xor ebp, ebp
cmp edi, ebp
mov dword [esi + 0x9cc], ebp
mov dword [esi + 0x9d0], ebp
mov dword [esi + 0x9d4], ebp
jne 0x47cf3b
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
lea eax, [esp + 0x48]
jmp 0x47cf41
lea eax, [edi + 0x120]
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x34], edx
call dword [eax + 0x18c]
cmp edi, ebp
jne 0x47cf80
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
lea eax, [esp + 0x48]
jmp 0x47cf86
lea eax, [edi + 0x120]
mov ebp, dword [eax]
lea ecx, [esi + 0xae8]
mov edx, ecx
push ecx
mov ecx, esi
mov dword [edx], ebp
mov ebp, dword [eax + 4]
mov dword [edx + 4], ebp
mov ebp, dword [eax + 8]
mov dword [edx + 8], ebp
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
call fcn.004ad279
test esi, esi
je 0x47d1ea
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x47d1ea
mov eax, dword [esi + 0x6e4]
test eax, eax
je 0x47d1d2
mov eax, dword [esp + 0x80]
test eax, eax
je 0x47d1d2
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x47d1d2
mov dword [esp + 0x7c], edi
add edi, 0x120
mov edx, dword [edi]
mov dword [esp + 0x18], edx
mov eax, dword [edi + 4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov ecx, dword [edi + 8]
push eax
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x2c]
mov edx, dword [edi + 0xc]
push ecx
mov dword [esp + 0x2c], edx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x47d04f
mov dword [esp + 0x7c], ebx
add ebx, 0x120
mov edx, dword [ebx]
mov dword [esp + 0x18], edx
mov eax, dword [ebx + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 8]
mov dword [esp + 0x20], ecx
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x24], edi
jmp 0x47d057
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x2c], eax
jge 0x47d061
sub edi, eax
jmp 0x47d065
sub eax, edi
mov edi, eax
lea edx, [esi + 0x6f0]
mov ecx, esi
push edx
mov dword [esp + 0x84], edi
call fcn.0047d2e0
push esi
lea ecx, [esp + 0x5c]
call fcn.004ad3cf
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], 0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
test edi, edi
mov ebx, 1
jge 0x47d0ab
cmp eax, ecx
jle 0x47d19e
jmp 0x47d0b3
cmp eax, ecx
jge 0x47d19e
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x28]
push ebx
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
lea edx, [esp + 0x2c]
push 0
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x28]
push eax
call fcn.0047bf80
mov ecx, dword [0x518530]
test ecx, ecx
jne 0x47d134
mov ecx, dword [0x518534]
test ecx, ecx
jne 0x47d121
push 0x24
call fcn.004a8eaa
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x74], bl
je 0x47d119
push 0
mov ecx, eax
call fcn.0044b8d0
mov byte [esp + 0x74], 0
jmp 0x47d126
xor eax, eax
mov byte [esp + 0x74], al
jmp 0x47d126
call fcn.004ab737
mov dword [0x518530], eax
mov dword [eax + 0x20], ebx
mov ecx, dword [0x518530]
mov eax, dword [esp + 0x18]
push 0
mov edx, dword [esp + 0x20]
sub esp, 0x10
mov edi, dword [esp + 0x34]
mov ebp, esp
sub esp, 0x10
mov ebx, dword [ecx]
mov dword [ebp], eax
mov dword [ebp + 4], edx
mov dword [ebp + 8], edi
mov edi, dword [esp + 0x48]
mov dword [ebp + 0xc], edi
mov ebp, esp
push esi
mov dword [ebp], eax
lea eax, [esp + 0x80]
push eax
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call dword [ebx + 0x10]
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x80]
add eax, edi
jmp 0x47d090
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18c]
mov eax, dword [esi + 0x1c]
push ebx
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 + 0x58]
mov dword [esp + 0x74], 0xffffffff
call fcn.004ad441
jmp 0x47d1ea
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 + 0x6c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret 8