Function at 0x470a33
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [0x4d3040]
xor eax, esp
mov dword [esp + 0xac], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], edi
mov eax, dword [edi]
call dword [eax + 0x184]
test al, al
jne 0x470a91
cmp dword [esi], 8
jle 0x470a91
cmp dword [esi], 0x16
jge 0x470a91
mov ecx, dword [edi + 0xa0]
push esi
test ecx, ecx
je 0x470a8a
mov eax, dword [ecx]
call dword [eax + 0x1c4]
jmp 0x470e3c
mov ecx, edi
jmp 0x470cce
cmp dword [esi], 0x1a
jne 0x470abd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x17c]
test al, al
je 0x470abd
push 0x7f01
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x470e3c
cmp dword [esi], 0x19
jne 0x470ad7
cmp dword [edi + 0x6e0], 0
je 0x470ad7
mov ecx, dword [edi + 0x9c]
push edi
call fcn.004185e1
cmp dword [esi], 0x15
jne 0x470aee
cmp dword [edi + 0x6e0], 0
jne 0x470e3c
jmp 0x470c41
cmp dword [esi], 0x18
jne 0x470c41
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x17c]
test al, al
je 0x470c41
cmp dword [edi + 0x6e0], 0
jne 0x470e3c
push 0x1c
call fcn.00482304
pop ecx
mov ecx, eax
mov dword [esp + 0x10], eax
call fcn.00470254
mov esi, eax
lea eax, [esp + 0x18]
mov dword [edi + 0x6e0], esi
mov ecx, esi
push eax
mov dword [esp + 0x14], esi
mov dword [esi + 0x10], edi
call fcn.0047026d
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
sub esp, 0x10
lea esi, [esp + 0x28]
mov edi, esp
mov eax, dword [eax + 0xa8]
push ecx
movsd dword es:[edi], dword [esi]
push 0
push 0x40000080
push ecx
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.00422eb6
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x470c32
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, dword [esi + 0x10]
push dword [ecx + 0x6c0]
mov ecx, eax
call fcn.004197a9
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
mov eax, dword [eax + 4]
push eax
push 0x30
push dword [esi + 4]
call edi
mov eax, dword [esi + 0x10]
push 0
movzx ecx, word [eax + 0x8fe]
movzx eax, word [eax + 0x8fc]
movzx ecx, cl
shl ecx, 8
movzx eax, al
or ecx, eax
push ecx
push 0x401
push dword [esi + 4]
call edi
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.00470761
mov ecx, dword [esi + 0x10]
push 0xffffffffffffffff
add ecx, 0x2c4
push dword [eax]
call fcn.004271b4
lea ecx, [esp + 0x28]
call fcn.004270e8
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x17c]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [esi + 0x18], 1
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.0041ff0d
mov esi, dword [esp + 0xc]
cmp dword [esi], 0x17
jne 0x470c5b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x17c]
test al, al
je 0x470c5b
mov ecx, edi
call fcn.0041ff0d
cmp dword [esi], 0xd
je 0x470cd8
cmp dword [esi], 0x13
je 0x470cd8
cmp dword [esi], 0xf
je 0x470cd8
cmp dword [esi], 9
je 0x470e3c
cmp dword [esi], 0xe
je 0x470e3c
cmp dword [esi], 0x14
je 0x470e3c
cmp dword [esi], 0xb
mov ecx, edi
jne 0x470caf
mov eax, dword [edi]
call dword [eax + 0x17c]
test al, al
je 0x470e3c
or dword [edi + 0x6e4], 8
mov ecx, edi
call fcn.0041ff0d
jmp 0x470e3c
cmp dword [esi], 0xa
jne 0x470ccd
mov eax, dword [edi]
call dword [eax + 0x17c]
test al, al
je 0x470e3c
and dword [edi + 0x6e4], 0xfffffff7
jmp 0x470ca3
push esi
call fcn.0044cba5
jmp 0x470e3c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x17c]
test al, al
je 0x470e3c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
mov esi, eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov byte [esi + 0x405], 0
mov ecx, edi
mov byte [esi + 0x794], 0
mov eax, dword [edi]
call dword [eax + 0x194]
test al, al
je 0x470e3c
cmp dword [edi + 0x6e0], 0
jne 0x470e3c
push 0x1c
call fcn.00482304
pop ecx
mov ecx, eax
mov dword [esp + 0xc], eax
call fcn.00470254
mov esi, eax
lea eax, [esp + 0x18]
mov dword [edi + 0x6e0], esi
mov ecx, esi
push eax
mov dword [esp + 0x10], esi
mov dword [esi + 0x10], edi
call fcn.0047026d
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
sub esp, 0x10
lea esi, [esp + 0x28]
mov edi, esp
mov eax, dword [eax + 0xa8]
push ecx
movsd dword es:[edi], dword [esi]
push 0
push 0x40000080
push ecx
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.00422eb6
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x470e3c
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, dword [esi + 0x10]
push dword [ecx + 0x6c0]
mov ecx, eax
call fcn.004197a9
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
mov eax, dword [eax + 4]
push eax
push 0x30
push dword [esi + 4]
call edi
mov eax, dword [esi + 0x10]
push 0
movzx ecx, byte [eax + 0x8fe]
movzx eax, byte [eax + 0x8fc]
shl ecx, 8
or ecx, eax
push ecx
push 0x401
push dword [esi + 4]
call edi
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.00470761
mov ecx, dword [esi + 0x10]
push 0xffffffffffffffff
add ecx, 0x2c4
push dword [eax]
call fcn.004271b4
lea ecx, [esp + 0x28]
call fcn.004270e8
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x17c]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [esi + 0x18], 1
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
xor ecx, esp
call fcn.004820f4
mov esp, ebp
pop ebp
ret 4