Function at 0x4171db
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4a2300]
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.00416753
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
dec eax
dec eax
je 0x41738d
dec eax
je 0x417336
dec eax
dec eax
je 0x4172d1
sub eax, 0xa
je 0x4172b4
sub eax, 9
je 0x417272
sub eax, 0x6a
je 0x41725d
sub eax, 0x1b0
jne 0x417396
test byte [esi + 0x10], 2
je 0x417396
push dword [ebp - 0x18]
mov ecx, esi
call sym.STSGameSDK.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x417396
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.00417b94
jmp 0x417396
mov al, byte [esi + 0x10]
test al, 1
je 0x417396
test ebx, ebx
jne 0x417294
push ebx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp 0x417396
test al, 4
jne 0x417396
push 8
push dword [esi + 8]
mov byte [esi + 0x1c], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 6
jmp 0x417396
cmp byte [esi + 0x1c], 0
je 0x417396
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 0x417396
mov al, byte [esi + 0x10]
test al, 1
je 0x417396
cmp ebx, 2
je 0x417322
cmp ebx, 1
je 0x417322
test al, 4
je 0x417331
cmp di, word [esi + 0x18]
ja 0x417307
mov eax, edi
shr eax, 0x10
cmp ax, word [esi + 0x1a]
ja 0x417307
push dword [ebp - 0x18]
mov ecx, esi
call sym.STSGameSDK.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x41730b
mov byte [esi + 0x1c], 1
test byte [esi + 0x10], 2
jne 0x417331
push 8
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 2
jmp 0x417331
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xfd
mov dword [esi + 0x18], edi
jmp 0x417396
test byte [esi + 0x10], 2
je 0x417396
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 0x417369
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0xac]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [esi + 0xa8]
jmp 0x417380
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 0x417396
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.0045094b
mov esp, ebp
pop ebp
ret 0x10