Function at 0x417df7
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.0041736f
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
dec eax
dec eax
je 0x417fa9
dec eax
je 0x417f52
dec eax
dec eax
je 0x417eed
sub eax, 0xa
je 0x417ed0
sub eax, 9
je 0x417e8e
sub eax, 0x6a
je 0x417e79
sub eax, 0x1b0
jne 0x417fb2
test byte [esi + 0x10], 2
je 0x417fb2
push dword [ebp - 0x18]
mov ecx, esi
call sym.STSGameSDK.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x417fb2
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.004187b0
jmp 0x417fb2
mov al, byte [esi + 0x10]
test al, 1
je 0x417fb2
test ebx, ebx
jne 0x417eb0
push ebx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp 0x417fb2
test al, 4
jne 0x417fb2
push 8
push dword [esi + 8]
mov byte [esi + 0x1c], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 6
jmp 0x417fb2
cmp byte [esi + 0x1c], 0
je 0x417fb2
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 0x417fb2
mov al, byte [esi + 0x10]
test al, 1
je 0x417fb2
cmp ebx, 2
je 0x417f3e
cmp ebx, 1
je 0x417f3e
test al, 4
je 0x417f4d
cmp di, word [esi + 0x18]
ja 0x417f23
mov eax, edi
shr eax, 0x10
cmp ax, word [esi + 0x1a]
ja 0x417f23
push dword [ebp - 0x18]
mov ecx, esi
call sym.STSGameSDK.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x417f27
mov byte [esi + 0x1c], 1
test byte [esi + 0x10], 2
jne 0x417f4d
push 8
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 2
jmp 0x417f4d
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xfd
mov dword [esi + 0x18], edi
jmp 0x417fb2
test byte [esi + 0x10], 2
je 0x417fb2
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 0x417f85
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0xac]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [esi + 0xa8]
jmp 0x417f9c
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 0x417fb2
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.00451570
mov esp, ebp
pop ebp
ret 0x10