Function at 0x11049810
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x112194bc]
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 - 0x18], eax
mov dword [ebp - 0x28], ebx
call sym.DuiLib.dll_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 - 0x18]
push ecx
mov ecx, eax
call fcn.11048860
mov esi, dword [eax]
cmp byte [esi + 0x13], 0
je 0x11049867
mov eax, dword [esi + 0xc]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110d0a88
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push edi
mov edi, dword [ebp + 0x10]
movups xmmword [ebp - 0x14], xmm0
cmp eax, 0x1c
ja 0x110499d7
je 0x11049b11
add eax, 0xfffffffe
cmp eax, 0x16
ja case.0x11049897.4
movzx eax, byte [eax + 0x11049b78]
jmp dword [eax*4 + 0x11049b60]
test byte [esi + 0x10], 2
je case.0x11049897.4
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [esi + 0x11], 0
movsx ecx, byte [esi + 0x16]
push 0x11
push 0
push 0
je 0x110498e2
mov eax, dword [ebp - 0x10]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x14]
sub eax, ecx
push eax
push dword [ebp - 0x18]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp case.0x11049897.4
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 - 0x18]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp case.0x11049897.4
mov cl, byte [esi + 0x10]
test cl, 1
je case.0x11049897.4
cmp edi, 2
je 0x11049962
cmp edi, 1
je 0x11049962
test cl, 4
je 0x11049971
cmp bx, word [esi + 0x1c]
ja 0x11049942
mov eax, ebx
shr eax, 0x10
cmp ax, word [esi + 0x1e]
ja 0x11049942
push dword [ebp - 0x18]
mov ecx, esi
call sym.DuiLib.dll_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov cl, byte [esi + 0x10]
jmp 0x11049946
mov byte [esi + 0x20], 1
test cl, 2
jne 0x11049971
push 4
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 2
mov dword [esi + 0x1c], ebx
jmp case.0x11049897.4
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xfd
mov dword [esi + 0x1c], ebx
jmp case.0x11049897.4
cmp byte [esi + 0x20], 0
je case.0x11049897.4
push dword [ebp - 0x18]
mov ecx, esi
call sym.DuiLib.dll_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov byte [esi + 0x20], 0
jmp case.0x11049897.4
mov al, byte [esi + 0x10]
test al, 1
je case.0x11049897.4
test edi, edi
je 0x11049b00
test al, 4
jne case.0x11049897.4
push 4
push dword [esi + 8]
mov byte [esi + 0x20], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 6
jmp case.0x11049897.4
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp case.0x11049897.4
cmp eax, 0x86
ja 0x11049b29
je 0x11049b11
sub eax, 0x47
je 0x11049a99
sub eax, 0x3b
jne case.0x11049897.4
call sym.DuiLib.dll_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 ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [eax]
mov edi, eax
mov dword [ebp - 0x1c], eax
mov edx, dword [eax + 4]
mov ecx, edx
cmp byte [ecx + 0xd], 0
jne 0x11049a3e
mov eax, dword [ecx + 0x10]
cmp eax, ebx
jae 0x11049a26
mov ecx, dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
jmp 0x11049a38
cmp byte [edi + 0xd], 0
je 0x11049a31
cmp ebx, eax
cmovb edi, ecx
mov eax, ecx
mov ecx, dword [ecx]
mov dword [ebp - 0x1c], eax
cmp byte [ecx + 0xd], 0
je 0x11049a17
cmp byte [edi + 0xd], 0
jne 0x11049a46
mov edx, dword [edi]
cmp byte [edx + 0xd], 0
jne 0x11049a64
nop dword [eax]
cmp ebx, dword [edx + 0x10]
jae 0x11049a5b
mov edi, edx
mov edx, dword [edx]
jmp 0x11049a5e
mov edx, dword [edx + 8]
cmp byte [edx + 0xd], 0
je 0x11049a50
mov dword [ebp - 0x20], eax
cmp eax, edi
je 0x11049a80
nop dword [eax + eax]
lea ecx, [ebp - 0x20]
call fcn.110488e0
cmp dword [ebp - 0x20], edi
jne 0x11049a70
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
push edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1104a500
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp + 0x10]
jmp case.0x11049897.4
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [esi + 0x11], 0
movsx ecx, byte [esi + 0x16]
push 0x11
push 0
push 0
je 0x11049ac3
mov eax, dword [ebp - 0x10]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x14]
sub eax, ecx
jmp 0x11049ad6
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 - 0x18]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 0x18]
test al, 0x40
je 0x11049af6
mov al, byte [esi + 0x10]
and al, 5
cmp al, 1
jmp 0x110499ab
test al, al
jns case.0x11049897.4
test byte [esi + 0x10], 1
je case.0x11049897.4
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp case.0x11049897.4
push 0x1b
push 0
push 0
push 0
push 0
push dword [ebp - 0x18]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp case.0x11049897.4
cmp eax, 0x232
jne case.0x11049897.4
test byte [esi + 0x10], 2
je case.0x11049897.4
push dword [ebp - 0x18]
mov ecx, esi
call sym.DuiLib.dll_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov eax, dword [esi + 0xc]
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.110d0a88
mov esp, ebp
pop ebp
ret 0x10