Function at 0x46bbc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2b27
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4d9754]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
push dword [edi + 4]
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46bc1e
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [ebp - 0x10]
xor eax, eax
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46bf75
xor eax, eax
mov dword [ebp - 0x5c], 0x30
cmp word [ebp + 0x20], ax
mov dword [ebp - 0x54], 0x46b900
setne al
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [0x4d984c]
mov dword [ebp - 0x58], eax
mov eax, dword [0x4d9854]
mov dword [ebp - 0x50], eax
mov eax, dword [0x4d9858]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x4de280]
mov dword [ebp - 0x48], eax
mov eax, dword [0x4d9860]
mov dword [ebp - 0x44], eax
mov eax, dword [0x4d9864]
mov dword [ebp - 0x40], eax
mov eax, dword [0x4d9868]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x4d986c]
mov dword [ebp - 0x38], eax
mov eax, dword [0x4d9870]
mov dword [ebp - 0x34], eax
mov eax, dword [0x4d9874]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push edi
push dword [0x4deb10]
push 0
push dword [ebp - 0x10]
push 0
push 0
push 0
push 0
push 0x40000000
push 0
push dword [0x4d9870]
push 0x20
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [edi + 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x46bd15
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x46bd57
cmp dword [ebp - 0x14], 3
push 3
jne 0x46bd45
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, dword [edi + 4]
push 3
push 0
push 0
push 0
push 0
test eax, eax
je 0x46bd40
push eax
push ecx
jmp 0x46bd51
push 0
push ecx
jmp 0x46bd51
push 0
push 0
push 0
push 0
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi + 8]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x46bd78
mov ecx, eax
call fcn.0046a950
push 0x84
push dword [ebp - 0x14]
call fcn.004598ae
add esp, 8
push 0x84
call fcn.00459c5c
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x46bdab
push ebx
push dword [ebp + 0x24]
mov ecx, eax
push dword [0x4de280]
push dword [edi + 4]
call fcn.0046a810
mov ecx, eax
jmp 0x46bdad
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 8], ecx
test ecx, ecx
jne 0x46bdd4
mov eax, 0x8007000e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
cmp byte [ebp + 0x34], 0
mov eax, dword [ebp + 0x2c]
mov dword [ecx + 0x70], eax
je 0x46be13
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x46bdfd
test esi, esi
jne 0x46bf75
push dword [ebp + 0x1c]
mov ecx, dword [edi + 8]
push eax
call fcn.0046bfd0
jmp 0x46be36
test esi, esi
je 0x46bf75
push dword [ebp + 0x1c]
mov ecx, dword [edi + 8]
push esi
call fcn.0046c030
jmp 0x46be36
test esi, esi
je 0x46bf75
mov eax, dword [ebp - 0x24]
mov ecx, dword [edi + 8]
push dword [ebp + 0x1c]
test eax, eax
je 0x46be30
push eax
call fcn.0046bf90
jmp 0x46be36
push esi
call fcn.0046bfb0
test eax, eax
je 0x46bf75
push ebx
mov ecx, edi
call fcn.0046cc50
test al, al
je 0x46bf0f
lea ecx, [ebp - 0x20]
mov dword [edi + 0x18], 0x200000
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x20], 0
call fcn.0046b980
lea ecx, [ebp - 0x20]
call fcn.0046b980
cmp dword [ebp - 0x1c], ebx
jbe 0x46bea7
mov esi, dword [edi + 8]
mov ecx, esi
push 0
call fcn.0046b810
mov dword [esi + 0x40], eax
mov esi, dword [edi + 8]
mov ecx, esi
push 0
call fcn.0046b7c0
mov dword [esi + 0x44], eax
mov ecx, dword [edi + 8]
mov eax, dword [ecx + 0x40]
add eax, dword [edi + 0x1c]
mov dword [edi + 0x24], eax
mov eax, dword [ecx + 0x44]
jmp 0x46bf29
lea ecx, [ebp - 0x20]
call fcn.0046b980
cmp dword [ebp - 0x1c], ebx
jae 0x46befe
mov ecx, dword [edi + 8]
push 0
call fcn.0046b810
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.0046b980
push ebx
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [edi + 8]
push 0
mov dword [ecx + 0x40], eax
mov ecx, dword [edi + 8]
call fcn.0046b7c0
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.0046b980
push ebx
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [edi + 8]
mov dword [ecx + 0x44], eax
mov ecx, dword [edi + 8]
mov eax, dword [ecx + 0x40]
add eax, dword [edi + 0x1c]
mov dword [edi + 0x24], eax
mov eax, dword [ecx + 0x44]
jmp 0x46bf29
mov ecx, dword [edi + 8]
push 0
call fcn.0046b810
add eax, dword [edi + 0x1c]
mov ecx, dword [edi + 8]
push 0
mov dword [edi + 0x24], eax
call fcn.0046b7c0
add eax, dword [edi + 0x20]
mov dword [edi + 0x28], eax
mov ecx, dword [edi + 0x20]
sub eax, ecx
mov edx, dword [edi + 0x1c]
push 0
push eax
mov eax, dword [edi + 0x24]
sub eax, edx
push eax
push ecx
push edx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 8]
mov eax, dword [ebp + 0x28]
mov dword [ecx + 0x60], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30