Function at 0x45bc10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b23b
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x487db8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
push dword [ebx + 4]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45bc7c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x45bc7c
mov dword [ebx + 4], 0
push dword [ebp - 0x24]
xor eax, eax
mov dword [ebx + 4], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45bf67
xor eax, eax
cmp word [ebp + 0x20], ax
mov ecx, ebx
setne al
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0xc], eax
call fcn.0045cab0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
push ebx
push dword [0x489710]
sub eax, edx
push 0
push dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push edx
push ecx
push 0x40000000
push 0
push dword [0x488ed8]
push 0x20
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [ebx + 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x45bd2b
mov eax, 0x80004005
jmp 0x45bf6c
test edi, edi
je 0x45bd65
cmp dword [ebp - 0x28], 3
push 3
jne 0x45bd53
push edi
call dword [sym.imp.USER32.dll_GetWindow]
push 3
push 0
push 0
push 0
push 0
test eax, eax
je 0x45bd4f
push eax
jmp 0x45bd5c
push 0
jmp 0x45bd5c
push 0
push 0
push 0
push 0
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [ebx + 8]
test edi, edi
je 0x45bd7c
mov ecx, edi
call fcn.0045ac80
push edi
call fcn.0043ffad
add esp, 4
push 0x84
call fcn.004401ab
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 4], 0
test eax, eax
je 0x45bdb2
push edi
push dword [ebp + 0x24]
mov ecx, eax
push dword [0x48952c]
push dword [ebx + 4]
call fcn.0045aa80
mov ecx, eax
jmp 0x45bdb4
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 8], ecx
test ecx, ecx
jne 0x45bdcc
mov eax, 0x8007000e
jmp 0x45bf6c
cmp byte [ebp + 0x34], 0
mov eax, dword [ebp + 0x2c]
mov dword [ecx + 0x70], eax
mov eax, dword [ebp - 0x3c]
je 0x45be0b
test eax, eax
je 0x45bdf5
test esi, esi
jne 0x45bf67
push dword [ebp + 0x1c]
mov ecx, dword [ebx + 8]
push eax
call fcn.0045bfd0
jmp 0x45be39
test esi, esi
je 0x45bf67
push dword [ebp + 0x1c]
mov ecx, dword [ebx + 8]
push esi
call fcn.0045c020
jmp 0x45be39
test eax, eax
je 0x45be25
test esi, esi
je 0x45bf67
push dword [ebp + 0x1c]
mov ecx, dword [ebx + 8]
push eax
call fcn.0045bf90
jmp 0x45be39
test esi, esi
je 0x45bf67
push dword [ebp + 0x1c]
mov ecx, dword [ebx + 8]
push esi
call fcn.0045bfb0
test eax, eax
je 0x45bf67
push edi
mov ecx, ebx
call fcn.0045cc00
test al, al
je 0x45bf13
lea ecx, [ebp - 0x38]
mov dword [ebx + 0x18], 0x200000
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x38], 0
call fcn.0045ba50
lea ecx, [ebp - 0x38]
call fcn.0045ba50
cmp dword [ebp - 0x34], edi
jbe 0x45beaa
mov esi, dword [ebx + 8]
push 0
mov ecx, esi
call fcn.0045b8d0
mov dword [esi + 0x40], eax
mov esi, dword [ebx + 8]
push 0
mov ecx, esi
call fcn.0045b880
mov dword [esi + 0x44], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x40]
add eax, dword [ebx + 0x1c]
mov dword [ebx + 0x24], eax
mov eax, dword [ecx + 0x44]
jmp 0x45bf2d
lea ecx, [ebp - 0x38]
call fcn.0045ba50
cmp dword [ebp - 0x34], edi
jae 0x45bf02
mov ecx, dword [ebx + 8]
push 0
call fcn.0045b8d0
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.0045ba50
push edi
push dword [ebp - 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push esi
call edi
mov ecx, dword [ebx + 8]
push 0
mov dword [ecx + 0x40], eax
mov ecx, dword [ebx + 8]
call fcn.0045b880
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.0045ba50
mov eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
push esi
call edi
mov ecx, dword [ebx + 8]
mov dword [ecx + 0x44], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x40]
add eax, dword [ebx + 0x1c]
mov dword [ebx + 0x24], eax
mov eax, dword [ecx + 0x44]
jmp 0x45bf2d
mov ecx, dword [ebx + 8]
push 0
call fcn.0045b8d0
add eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 8]
push 0
mov dword [ebx + 0x24], eax
call fcn.0045b880
add eax, dword [ebx + 0x20]
push 0
mov dword [ebx + 0x28], eax
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x1c]
sub eax, ecx
push eax
mov eax, dword [ebx + 0x24]
sub eax, edx
push eax
push ecx
push edx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 8]
mov eax, dword [ebp + 0x28]
mov dword [ecx + 0x60], eax
xor eax, eax
jmp 0x45bf6c
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00440060
mov esp, ebp
pop ebp
ret 0x30