Function at 0x480b34
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], edi
call sym.Update.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.00480a9b
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
push 2
pop ebx
sub eax, ebx
je 0x480ce0
dec eax
je 0x480c8b
sub eax, ebx
je 0x480c25
sub eax, 0xa
je 0x480c0a
sub eax, 9
je 0x480bc5
sub eax, 0x6a
je 0x480bb0
sub eax, 0x1b0
jne 0x480ce9
test byte [esi + 0x10], bl
je 0x480ce9
push edi
mov ecx, esi
call sym.Update.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x480ce9
lea eax, [ebp - 0x18]
push eax
call sym.Update.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.00480a0f
jmp 0x480ce9
mov al, byte [esi + 0x10]
test al, 1
je 0x480ce9
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jne 0x480bea
push ebx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp 0x480ce9
test al, 4
jne 0x480ce9
push 8
push dword [esi + 8]
mov byte [esi + 0x1c], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 6
jmp 0x480ce9
xor ebx, ebx
cmp byte [esi + 0x1c], bl
je 0x480ce9
push edi
mov ecx, esi
call sym.Update.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov byte [esi + 0x1c], bl
jmp 0x480ce9
mov al, byte [esi + 0x10]
test al, 1
je 0x480ce9
cmp dword [ebp + 0x10], ebx
je 0x480c74
cmp dword [ebp + 0x10], 1
je 0x480c74
test al, 4
je 0x480c83
mov eax, dword [ebp + 0x14]
cmp ax, word [esi + 0x18]
ja 0x480c5b
shr eax, 0x10
cmp ax, word [esi + 0x1a]
ja 0x480c5b
push edi
mov ecx, esi
call sym.Update.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x480c5f
mov byte [esi + 0x1c], 1
test byte [esi + 0x10], bl
jne 0x480c83
push 8
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], bl
jmp 0x480c83
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xfd
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
jmp 0x480ce9
test byte [esi + 0x10], bl
je 0x480ce9
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
xor ebx, ebx
push 0x11
push ebx
push ebx
cmp byte [esi + 0x11], bl
je 0x480cbc
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0xac]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [esi + 0xa8]
push eax
jmp 0x480cd4
movsx eax, byte [esi + 0x15]
movsx ecx, byte [esi + 0x17]
sub ecx, eax
add ecx, dword [ebp - 0x10]
push ecx
movsx ecx, byte [esi + 0x16]
sub ecx, eax
add ecx, dword [ebp - 0x14]
push ecx
push ebx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x480ce9
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [esi + 0xc]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b1681
leave
ret 0x10