Function at 0x45f010
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
lea edi, [ebx + 0x88]
mov dword [ebp - 0x28], edi
lea esi, [ebx + 0x80]
mov dword [ebp - 0x18], esi
test ecx, ecx
je 0x45f051
mov eax, dword [ecx]
mov dword [esi], eax
mov edx, dword [ecx + 4]
mov dword [ebx + 0x84], edx
mov eax, dword [ecx + 8]
mov dword [edi], eax
mov ecx, dword [ecx + 0xc]
mov dword [ebx + 0x8c], ecx
jmp 0x45f063
mov ecx, dword [ebx + 0x8c]
mov edx, dword [ebx + 0x84]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], esi
mov eax, dword [edi]
sub eax, dword [esi]
mov esi, 0
cmovns esi, eax
sub ecx, edx
mov eax, 0
mov dword [ebp - 0xc], esi
cmovns eax, ecx
mov dword [ebp - 8], eax
test esi, esi
je 0x45f3dc
test eax, eax
je 0x45f3dc
mov eax, dword [ebx + 0x7c]
cmp eax, 1
je 0x45f350
cmp eax, 2
je 0x45f324
mov esi, dword [ebx + 0xa8]
mov edi, dword [ebx + 0xac]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edi
test esi, esi
je 0x45f0bf
mov ecx, dword [esi + 0x54]
jmp 0x45f0c5
mov ecx, dword [ebx + 0xb0]
mov dword [ebp - 0x20], ecx
test edi, edi
je 0x45f0d1
mov eax, dword [edi + 0x54]
jmp 0x45f0d7
mov eax, dword [ebx + 0xb4]
push 0
mov dword [ebp - 0x1c], eax
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
push ecx
mov dword [ebp - 0x2c], eax
call eax
push 0
push dword [ebp - 0x1c]
call dword [ebp - 0x2c]
test esi, esi
je 0x45f10a
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
jmp 0x45f114
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp dword [ebx + 0xa0], 0
cmove eax, ecx
mov dword [ebx + 0x74], eax
test edi, edi
je 0x45f13c
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
jmp 0x45f146
xor edx, edx
xor eax, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0xa0]
mov esi, dword [ebx + 0x74]
mov dword [ebp - 0x24], ecx
test ecx, ecx
jne 0x45f168
mov edx, dword [ebp - 8]
cmp esi, edx
jle 0x45f162
mov dword [ebx + 0x74], edx
mov esi, edx
mov ecx, edx
sub ecx, eax
jmp 0x45f17b
mov eax, dword [ebp - 0xc]
cmp esi, eax
jle 0x45f174
mov dword [ebx + 0x74], eax
mov esi, eax
mov ecx, eax
sub ecx, edx
mov edx, dword [ebp - 8]
sub ecx, dword [ebx + 0xa4]
lea edi, [ebx + 0xa4]
mov dword [ebx + 0x78], ecx
cmp ecx, esi
jge 0x45f193
mov dword [ebx + 0x78], esi
mov ecx, esi
mov eax, dword [ebx + 0x70]
mov dword [ebp + 8], edi
test eax, eax
jne 0x45f1c0
cmp dword [ebp - 0x24], eax
jne 0x45f1b2
mov eax, edx
cdq
sub eax, edx
lea edx, [ebx + 0xa4]
mov dword [ebp + 8], edx
jmp 0x45f1bb
mov eax, dword [ebp - 0xc]
cdq
sub eax, edx
mov dword [ebp + 8], edi
sar eax, 1
mov dword [ebx + 0x70], eax
cmp eax, esi
jge 0x45f1c9
mov dword [ebx + 0x70], esi
jmp 0x45f1d4
mov esi, eax
cmp eax, ecx
jle 0x45f1d7
mov dword [ebx + 0x70], ecx
mov esi, ecx
mov dword [ebp + 8], edi
cmp dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x84]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 4], ecx
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
push 4
jne 0x45f259
push esi
push dword [ebp - 0xc]
push ecx
push eax
push 0
push dword [ebp - 0x20]
call edi
mov eax, dword [ebp - 4]
add eax, esi
mov esi, dword [ebp + 8]
push 4
mov dword [ebp - 4], eax
mov esi, dword [esi]
push esi
push dword [ebp - 0xc]
push eax
push dword [ebp - 0x18]
push 0
push dword [ebx + 0x98]
call edi
push 0
push esi
push dword [ebp - 0xc]
mov esi, dword [ebp - 0x18]
push dword [ebp - 4]
push esi
push 0
push dword [ebx + 0x54]
call edi
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, dword [ebx + 0x8c]
push 4
add edx, dword [eax]
mov eax, 0
sub ecx, edx
cmovns eax, ecx
push eax
push dword [ebp - 0xc]
push edx
jmp 0x45f2b8
push dword [ebp - 8]
push esi
push ecx
push eax
push 0
push dword [ebp - 0x20]
call edi
mov eax, dword [ebp - 0x18]
add eax, esi
mov esi, dword [ebp + 8]
push 4
push dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov esi, dword [esi]
push esi
push dword [ebp - 4]
push eax
push 0
push dword [ebx + 0x98]
call edi
push 0
push dword [ebp - 8]
push esi
push dword [ebp - 4]
mov esi, dword [ebp - 0x18]
push esi
push 0
push dword [ebx + 0x54]
call edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
push 4
push dword [ebp - 8]
add esi, dword [eax]
mov eax, 0
mov ecx, dword [ecx]
sub ecx, esi
cmovns eax, ecx
push eax
push dword [ebp - 4]
push esi
push 0
push dword [ebp - 0x1c]
call edi
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x45f2d5
mov eax, dword [ecx]
push 0
push 0
push 0x75616c8a
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x45f2ea
mov eax, dword [ecx]
push 0
push 0
push 0x75616c8a
call dword [eax + 0x14]
mov esi, dword [ebp - 0x2c]
push 5
push dword [ebp - 0x20]
call esi
push 5
push dword [ebp - 0x1c]
call esi
push 5
push dword [ebx + 0x54]
call esi
push 5
push dword [ebx + 0x98]
call esi
push 1
push 0
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebx + 0xac]
mov eax, dword [ebx + 0xa8]
test esi, esi
je 0x45f339
mov edi, dword [esi + 0x54]
jmp 0x45f33f
mov edi, dword [ebx + 0xb4]
test eax, eax
je 0x45f348
mov eax, dword [eax + 0x54]
jmp 0x45f37a
mov eax, dword [ebx + 0xb0]
jmp 0x45f37a
mov esi, dword [ebx + 0xa8]
mov eax, dword [ebx + 0xac]
test esi, esi
je 0x45f365
mov edi, dword [esi + 0x54]
jmp 0x45f36b
mov edi, dword [ebx + 0xb0]
test eax, eax
je 0x45f374
mov eax, dword [eax + 0x54]
jmp 0x45f37a
mov eax, dword [ebx + 0xb4]
push 0
push dword [ebx + 0x54]
mov dword [ebp + 8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x98]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x18]
push 4
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebx + 0x84]
push dword [eax]
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
test esi, esi
je 0x45f3c6
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
push 0x75616c8a
call dword [eax + 0x14]
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4