Function at 0x1008c308
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1017542c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x28], eax
call sym.UserAndPayClient.dll_protected:_static_class_std::map_struct_HWND_____class_xx_DuiLib::CShadowUI___struct_std::less_struct_HWND______class_std::allocator_struct_std::pair_struct_HWND____const__class_xx_DuiLib::CShadowUI________cdecl_xx_DuiLib::CShadowUI::GetShadowMap_void_
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.1008b6b8
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x14]
cmp byte [esi + 0x13], 0
jne 0x1008c54f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
cmp eax, 0x18
ja 0x1008c483
je 0x1008c469
dec eax
sub eax, 1
je 0x1008c45b
sub eax, 1
je 0x1008c402
dec eax
sub eax, 1
je 0x1008c39a
sub eax, 0xa
jne 0x1008c54f
cmp byte [esi + 0x20], al
je 0x1008c54f
push dword [ebp - 0x28]
mov ecx, esi
call sym.UserAndPayClient.dll_protected:_void___thiscall_xx_DuiLib::CShadowUI::Update_struct_HWND____
mov byte [esi + 0x20], 0
jmp 0x1008c54f
mov al, byte [esi + 0x10]
test al, 1
je 0x1008c54f
cmp ecx, 2
je 0x1008c3eb
cmp ecx, 1
je 0x1008c3eb
test al, 4
je 0x1008c3fa
cmp bx, word [esi + 0x1c]
ja 0x1008c3d0
mov eax, ebx
shr eax, 0x10
cmp ax, word [esi + 0x1e]
ja 0x1008c3d0
push dword [ebp - 0x28]
mov ecx, esi
call sym.UserAndPayClient.dll_protected:_void___thiscall_xx_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x1008c3d4
mov byte [esi + 0x20], 1
test byte [esi + 0x10], 2
jne 0x1008c3fa
push 4
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 2
jmp 0x1008c3fa
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xfd
mov dword [esi + 0x1c], ebx
jmp 0x1008c54f
test byte [esi + 0x10], 2
je 0x1008c54f
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [esi + 0x11], 0
movsx ecx, byte [esi + 0x16]
push 0x11
push 0
push 0
je 0x1008c436
mov eax, dword [ebp - 0x10]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x14]
sub eax, ecx
jmp 0x1008c449
movsx eax, byte [esi + 0x18]
sub eax, ecx
add eax, dword [ebp - 0x10]
push eax
movsx eax, byte [esi + 0x17]
sub eax, ecx
add eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x28]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1008c54f
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x1008c54f
mov al, byte [esi + 0x10]
test al, 1
je 0x1008c54f
test ecx, ecx
je 0x1008c540
test al, 4
jmp 0x1008c51d
sub eax, 0x47
je 0x1008c4c6
sub eax, 0x3b
je 0x1008c4b1
sub eax, 0x1b0
jne 0x1008c54f
test byte [esi + 0x10], 2
je 0x1008c54f
push dword [ebp - 0x28]
mov ecx, esi
call sym.UserAndPayClient.dll_protected:_void___thiscall_xx_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x1008c54f
lea eax, [ebp - 0x28]
push eax
call sym.UserAndPayClient.dll_protected:_static_class_std::map_struct_HWND_____class_xx_DuiLib::CShadowUI___struct_std::less_struct_HWND______class_std::allocator_struct_std::pair_struct_HWND____const__class_xx_DuiLib::CShadowUI________cdecl_xx_DuiLib::CShadowUI::GetShadowMap_void_
mov ecx, eax
call fcn.1008cdac
jmp 0x1008c54f
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [esi + 0x11], 0
movsx ecx, byte [esi + 0x16]
push 0x15
push 0
push 0
je 0x1008c4f0
mov eax, dword [ebp - 0x20]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x24]
sub eax, ecx
jmp 0x1008c503
movsx eax, byte [esi + 0x18]
sub eax, ecx
add eax, dword [ebp - 0x20]
push eax
movsx eax, byte [esi + 0x17]
sub eax, ecx
add eax, dword [ebp - 0x24]
push eax
push dword [ebp - 0x28]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
test byte [ebx + 0x18], 0x40
je 0x1008c534
mov al, byte [esi + 0x10]
and al, 5
cmp al, 1
jne 0x1008c54f
push 4
push dword [esi + 8]
mov byte [esi + 0x20], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 6
jmp 0x1008c54f
test byte [ebx + 0x18], 0x80
je 0x1008c54f
test byte [esi + 0x10], 1
je 0x1008c54f
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x28]
call dword [esi + 0xc]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100c1de9
mov esp, ebp
pop ebp
ret 0x10