Function at 0x4912c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
push eax
call sym.Setup.exe_protected:_static_class_std::map_struct_HWND_____class_DuiLib::CShadowUI___struct_std::less_struct_HWND______class_std::allocator_struct_std::pair_struct_HWND____const__class_DuiLib::CShadowUI________cdecl_DuiLib::CShadowUI::GetShadowMap_void_
mov ecx, eax
call fcn.00492fc0
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xb0], edx
cmp dword [ebp - 0xb0], 0xf
ja 0x49132f
cmp dword [ebp - 0xb0], 0xf
je 0x4914df
cmp dword [ebp - 0xb0], 2
je 0x491586
cmp dword [ebp - 0xb0], 3
je 0x491361
cmp dword [ebp - 0xb0], 5
je 0x4913fd
jmp 0x4915a5
cmp dword [ebp - 0xb0], 0x18
je 0x49151f
cmp dword [ebp - 0xb0], 0x82
je 0x491595
cmp dword [ebp - 0xb0], 0x232
je 0x491502
jmp 0x4915a5
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x10]
and ecx, 2
je 0x4913f8
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x11]
test edx, edx
je 0x4913bb
push 0x11
push 0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax + 0xac]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
sub eax, dword [edx + 0xa8]
push eax
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4913f8
push 0x11
push 0
push 0
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 0x17]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
movsx eax, byte [edx + 0x15]
sub ecx, eax
push ecx
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x16]
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 0x15]
sub edx, ecx
push edx
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4915a5
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
and edx, 1
je 0x4914da
cmp dword [ebp + 0x10], 2
je 0x491419
cmp dword [ebp + 0x10], 1
jne 0x49143d
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x10]
and eax, 0xfffffffd
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x10], al
jmp 0x4914d1
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x10]
and eax, 4
je 0x4914d1
mov ecx, dword [ebp + 0x14]
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
and ecx, 0xffff
movzx eax, cx
cmp edx, eax
jg 0x491491
mov ecx, dword [ebp + 0x14]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
shr ecx, 0x10
and ecx, 0xffff
movzx eax, cx
cmp edx, eax
jle 0x49149a
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1c], 1
jmp 0x4914a6
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.004915d0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x10]
and ecx, 2
jne 0x4914d1
push 8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
or edx, 2
mov eax, dword [ebp - 4]
mov byte [eax + 0x10], dl
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x18], edx
jmp 0x4915a5
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x4914fd
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.004915d0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1c], 0
jmp 0x4915a5
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
and edx, 2
je 0x49151a
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.004915d0
jmp 0x4915a5
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
and edx, 1
je 0x491584
cmp dword [ebp + 0x10], 0
jne 0x491552
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x10]
and eax, 0xfffffff9
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x10], al
jmp 0x491584
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x10]
and eax, 4
jne 0x491584
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1c], 1
push 8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
or edx, 6
mov eax, dword [ebp - 4]
mov byte [eax + 0x10], dl
jmp 0x4915a5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x4915a5
lea eax, [ebp + 8]
push eax
call sym.Setup.exe_protected:_static_class_std::map_struct_HWND_____class_DuiLib::CShadowUI___struct_std::less_struct_HWND______class_std::allocator_struct_std::pair_struct_HWND____const__class_DuiLib::CShadowUI________cdecl_DuiLib::CShadowUI::GetShadowMap_void_
mov ecx, eax
call fcn.00493110
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00434ee7
mov esp, ebp
pop ebp
ret 0x10