Function at 0x46ced0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
cmp dword [esi + 0xe54], 0
je 0x46d1f9
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 0x46cf37
sub dword [ebp + 8], edi
jmp 0x46cf3a
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 0x46cfb6
mov dword [ebp + 8], 0
test al, al
je 0x46cf8b
mov eax, dword [esi + 0x854]
test eax, eax
je 0x46cf72
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46d00e
mov edx, dword [esi + 0x850]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x850], 6
jmp 0x46d00e
mov eax, dword [esi + 0xb00]
test eax, eax
je 0x46cfa0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46d00e
mov ecx, dword [esi + 0xafc]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0xafc], 6
jmp 0x46d00e
test al, al
je 0x46cfe5
mov eax, dword [esi + 0x854]
test eax, eax
je 0x46cfcf
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46d00e
mov eax, dword [esi + 0x850]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x850], 6
jmp 0x46d00e
mov eax, dword [esi + 0xb00]
test eax, eax
je 0x46cffa
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46d00e
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 0x46d088
sub eax, edi
cmp byte [esi + 0xe4a], 0
mov dword [ebp + 8], eax
je 0x46d05d
mov eax, dword [esi + 0xb00]
test eax, eax
je 0x46d044
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46d0e5
mov eax, dword [esi + 0xafc]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0xafc], 6
jmp 0x46d0e5
mov eax, dword [esi + 0x854]
test eax, eax
je 0x46d072
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46d0e5
mov edx, dword [esi + 0x850]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x850], 6
jmp 0x46d0e5
cmp byte [esi + 0xe4a], 0
je 0x46d0bc
mov eax, dword [esi + 0xb00]
test eax, eax
je 0x46d0a6
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46d0e5
mov ecx, dword [esi + 0xafc]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0xafc], 6
jmp 0x46d0e5
mov eax, dword [esi + 0x854]
test eax, eax
je 0x46d0d1
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46d0e5
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 0x46d115
xor ebx, ebx
test eax, eax
je 0x46d0ff
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46d138
mov edx, dword [esi + 0x2f8]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x2f8], 6
jmp 0x46d138
test eax, eax
je 0x46d124
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46d138
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 0x46d177
sub eax, ecx
mov ebx, eax
mov eax, dword [esi + 0x5a8]
test eax, eax
je 0x46d161
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46d1a0
mov eax, dword [esi + 0x5a4]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x5a4], 6
jmp 0x46d1a0
mov eax, dword [esi + 0x5a8]
test eax, eax
je 0x46d18c
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46d1a0
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 0x46d1e9
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
test eax, eax
jne 0x46d1f7
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