Function at 0x46cd00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
cmp dword [esi + 0xe54], 0
je 0x46d029
mov ecx, dword [esi + 0xe7c]
imul ecx, dword [esi + 0xe78]
mov eax, 0x51eb851f
imul ecx
mov eax, dword [ebp + 8]
imul eax, eax, 0x64
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cdq
idiv ecx
push ebx
push edi
mov ebx, dword [esi + 0xf30]
mov edi, eax
mov eax, dword [esi + 0xf2c]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x64
cdq
idiv ecx
sub ebx, eax
mov al, byte [esi + 0xe4a]
test al, al
je 0x46cd67
sub dword [ebp + 8], edi
jmp 0x46cd6a
add dword [ebp + 8], edi
cmp dword [ebp + 8], 0
mov ecx, dword [esi + 0xf38]
mov edi, dword [esi + 0xf34]
mov dword [ebp + 0xc], ecx
jg 0x46cde6
mov dword [ebp + 8], 0
test al, al
je 0x46cdbb
mov eax, dword [esi + 0x854]
test eax, eax
je 0x46cda2
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46ce3e
mov edx, dword [esi + 0x850]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x850], 6
jmp 0x46ce3e
mov eax, dword [esi + 0xb00]
test eax, eax
je 0x46cdd0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46ce3e
mov ecx, dword [esi + 0xafc]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0xafc], 6
jmp 0x46ce3e
test al, al
je 0x46ce15
mov eax, dword [esi + 0x854]
test eax, eax
je 0x46cdff
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46ce3e
mov eax, dword [esi + 0x850]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x850], 6
jmp 0x46ce3e
mov eax, dword [esi + 0xb00]
test eax, eax
je 0x46ce2a
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46ce3e
mov edx, dword [esi + 0xafc]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0xafc], 6
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xe5c]
lea edx, [edi + ecx]
cmp edx, eax
jl 0x46ceb8
sub eax, edi
cmp byte [esi + 0xe4a], 0
mov dword [ebp + 8], eax
je 0x46ce8d
mov eax, dword [esi + 0xb00]
test eax, eax
je 0x46ce74
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46cf15
mov eax, dword [esi + 0xafc]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0xafc], 6
jmp 0x46cf15
mov eax, dword [esi + 0x854]
test eax, eax
je 0x46cea2
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46cf15
mov edx, dword [esi + 0x850]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x850], 6
jmp 0x46cf15
cmp byte [esi + 0xe4a], 0
je 0x46ceec
mov eax, dword [esi + 0xb00]
test eax, eax
je 0x46ced6
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46cf15
mov ecx, dword [esi + 0xafc]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0xafc], 6
jmp 0x46cf15
mov eax, dword [esi + 0x854]
test eax, eax
je 0x46cf01
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46cf15
mov eax, dword [esi + 0x850]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x850], 6
mov eax, dword [esi + 0x2fc]
test ebx, ebx
jg 0x46cf45
xor ebx, ebx
test eax, eax
je 0x46cf2f
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46cf68
mov edx, dword [esi + 0x2f8]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x2f8], 6
jmp 0x46cf68
test eax, eax
je 0x46cf54
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46cf68
mov ecx, dword [esi + 0x2f8]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0x2f8], 6
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0xe60]
lea edx, [ecx + ebx]
cmp edx, eax
jl 0x46cfa7
sub eax, ecx
mov ebx, eax
mov eax, dword [esi + 0x5a8]
test eax, eax
je 0x46cf91
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46cfd0
mov eax, dword [esi + 0x5a4]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x5a4], 6
jmp 0x46cfd0
mov eax, dword [esi + 0x5a8]
test eax, eax
je 0x46cfbc
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46cfd0
mov edx, dword [esi + 0x5a4]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x5a4], 6
mov edx, dword [esi + 0xe3c]
mov ecx, dword [ebp + 8]
push 0
push 0
push edx
mov dword [esi + 0xf2c], ecx
mov dword [esi + 0xf30], ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x46d019
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
test eax, eax
jne 0x46d027
mov eax, dword [esi + 0x2c]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi + 0x2c], eax
pop edi
pop ebx
pop esi
pop ebp
ret 8
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0x2c], 6
pop edi
pop ebx
pop esi
pop ebp
ret 8