Function at 0x418d7f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4a3300]
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.004182f7
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
dec eax
dec eax
je 0x418f31
dec eax
je 0x418eda
dec eax
dec eax
je 0x418e75
sub eax, 0xa
je 0x418e58
sub eax, 9
je 0x418e16
sub eax, 0x6a
je 0x418e01
sub eax, 0x1b0
jne 0x418f3a
test byte [esi + 0x10], 2
je 0x418f3a
push dword [ebp - 0x18]
mov ecx, esi
call sym.STSGameSDK.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x418f3a
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.00419738
jmp 0x418f3a
mov al, byte [esi + 0x10]
test al, 1
je 0x418f3a
test ebx, ebx
jne 0x418e38
push ebx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp 0x418f3a
test al, 4
jne 0x418f3a
push 8
push dword [esi + 8]
mov byte [esi + 0x1c], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 6
jmp 0x418f3a
cmp byte [esi + 0x1c], 0
je 0x418f3a
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 0x418f3a
mov al, byte [esi + 0x10]
test al, 1
je 0x418f3a
cmp ebx, 2
je 0x418ec6
cmp ebx, 1
je 0x418ec6
test al, 4
je 0x418ed5
cmp di, word [esi + 0x18]
ja 0x418eab
mov eax, edi
shr eax, 0x10
cmp ax, word [esi + 0x1a]
ja 0x418eab
push dword [ebp - 0x18]
mov ecx, esi
call sym.STSGameSDK.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x418eaf
mov byte [esi + 0x1c], 1
test byte [esi + 0x10], 2
jne 0x418ed5
push 8
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 2
jmp 0x418ed5
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xfd
mov dword [esi + 0x18], edi
jmp 0x418f3a
test byte [esi + 0x10], 2
je 0x418f3a
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 0x418f0d
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0xac]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [esi + 0xa8]
jmp 0x418f24
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 0x418f3a
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.004524fc
mov esp, ebp
pop ebp
ret 0x10