Function at 0x46804e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x515584]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x28], eax
call sym.sembd.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_
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.004674c2
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x14]
cmp byte [esi + 0x13], 0
je 0x46809b
push dword [ebp + 0x14]
mov eax, dword [esi + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x28]
call eax
jmp 0x4682a5
push ebx
mov ebx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x1c
ja 0x468207
je 0x468231
lea eax, [edi - 1]
sub eax, 1
je 0x4681f9
sub eax, 1
je 0x4681ab
dec eax
sub eax, 1
je 0x46813d
sub eax, 0xa
je 0x468120
sub eax, 9
jne 0x468296
mov al, byte [esi + 0x10]
test al, 1
je 0x468296
cmp dword [ebp + 0x10], 0
jne 0x468100
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp 0x468296
test al, 4
jne 0x468296
push 4
push dword [esi + 8]
mov byte [esi + 0x20], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 6
jmp 0x468296
cmp byte [esi + 0x20], 0
je 0x468296
push dword [ebp - 0x28]
mov ecx, esi
call sym.sembd.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov byte [esi + 0x20], 0
jmp 0x468296
mov cl, byte [esi + 0x10]
test cl, 1
je 0x468296
cmp dword [ebp + 0x10], 2
je 0x468194
cmp dword [ebp + 0x10], 1
je 0x468194
test cl, 4
je 0x4681a3
cmp bx, word [esi + 0x1c]
ja 0x46817a
mov eax, ebx
shr eax, 0x10
cmp ax, word [esi + 0x1e]
ja 0x46817a
push dword [ebp - 0x28]
mov ecx, esi
call sym.sembd.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov cl, byte [esi + 0x10]
jmp 0x46817e
mov byte [esi + 0x20], 1
test cl, 2
jne 0x4681a3
push 4
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 2
jmp 0x4681a3
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xfd
mov dword [esi + 0x1c], ebx
jmp 0x468296
test byte [esi + 0x10], 2
je 0x468296
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_GetWindowRect]
movsx ecx, byte [esi + 0x16]
xor eax, eax
push 0x11
push eax
push eax
cmp byte [esi + 0x11], al
je 0x4681e1
mov eax, dword [ebp - 0x10]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x14]
sub eax, ecx
jmp 0x468289
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]
jmp 0x468289
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x468296
mov eax, edi
sub eax, 0x47
je 0x46824c
sub eax, 0x3b
je 0x46823a
sub eax, 4
je 0x468231
sub eax, 0x1ac
jne 0x468296
test byte [esi + 0x10], 2
je 0x468296
push dword [ebp - 0x28]
mov ecx, esi
call sym.sembd.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x468296
push 0x1b
xor eax, eax
push eax
push eax
push eax
jmp 0x468289
call sym.sembd.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_
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0046887d
jmp 0x468296
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_GetWindowRect]
movsx ecx, byte [esi + 0x16]
xor eax, eax
push 0x11
push eax
push eax
cmp byte [esi + 0x11], al
je 0x468276
mov eax, dword [ebp - 0x20]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x24]
jmp 0x4681da
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]
mov eax, dword [esi + 0xc]
push ebx
push dword [ebp + 0x10]
push edi
push dword [ebp - 0x28]
call eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0048d7c2
leave
ret 0x10