Function at 0x417f67
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4a4300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push edi
push eax
call sym.STSGameSDK.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.004174df
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
dec eax
dec eax
je 0x418119
dec eax
je 0x4180c2
dec eax
dec eax
je 0x41805d
sub eax, 0xa
je 0x418040
sub eax, 9
je 0x417ffe
sub eax, 0x6a
je 0x417fe9
sub eax, 0x1b0
jne 0x418122
test byte [esi + 0x10], 2
je 0x418122
push dword [ebp - 0x18]
mov ecx, esi
call sym.STSGameSDK.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x418122
lea eax, [ebp - 0x18]
push eax
call sym.STSGameSDK.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.00418964
jmp 0x418122
mov al, byte [esi + 0x10]
test al, 1
je 0x418122
test ebx, ebx
jne 0x418020
push ebx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp 0x418122
test al, 4
jne 0x418122
push 8
push dword [esi + 8]
mov byte [esi + 0x1c], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 6
jmp 0x418122
cmp byte [esi + 0x1c], 0
je 0x418122
push dword [ebp - 0x18]
mov ecx, esi
call sym.STSGameSDK.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov byte [esi + 0x1c], 0
jmp 0x418122
mov al, byte [esi + 0x10]
test al, 1
je 0x418122
cmp ebx, 2
je 0x4180ae
cmp ebx, 1
je 0x4180ae
test al, 4
je 0x4180bd
cmp di, word [esi + 0x18]
ja 0x418093
mov eax, edi
shr eax, 0x10
cmp ax, word [esi + 0x1a]
ja 0x418093
push dword [ebp - 0x18]
mov ecx, esi
call sym.STSGameSDK.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x418097
mov byte [esi + 0x1c], 1
test byte [esi + 0x10], 2
jne 0x4180bd
push 8
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 2
jmp 0x4180bd
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xfd
mov dword [esi + 0x18], edi
jmp 0x418122
test byte [esi + 0x10], 2
je 0x418122
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetWindowRect]
xor edx, edx
push 0x11
push edx
push edx
cmp byte [esi + 0x11], dl
je 0x4180f5
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0xac]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [esi + 0xa8]
jmp 0x41810c
movsx ecx, byte [esi + 0x15]
movsx eax, byte [esi + 0x17]
sub eax, ecx
add eax, dword [ebp - 0x10]
push eax
movsx eax, byte [esi + 0x16]
sub eax, ecx
add eax, dword [ebp - 0x14]
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x418122
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
push edi
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call dword [esi + 0xc]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004516e1
mov esp, ebp
pop ebp
ret 0x10