Function at 0x4778b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov eax, dword [0x537700]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x40]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [edi + 0x11], 0
je 0x47791b
lea ecx, [edi + 0x24]
call sym.ClientofCSP.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
test al, al
jne 0x477b38
mov ebp, dword [edi + 0xb0]
lea esi, [edi + 0xa8]
sub ebp, dword [esp + 0x40]
mov ebx, dword [edi + 0xb4]
sub ebx, dword [esp + 0x44]
add ebp, dword [esi]
add ebx, dword [edi + 0xac]
jmp 0x47793b
mov al, byte [edi + 0x15]
test al, al
je 0x477b38
movsx ebx, al
lea esi, [edi + 0xa8]
add ebx, ebx
mov ebp, ebx
sub ebp, dword [esp + 0x40]
sub ebx, dword [esp + 0x44]
add ebx, dword [esp + 0x4c]
xorps xmm0, xmm0
add ebp, dword [esp + 0x48]
mov eax, ebx
imul eax, ebp
push 0
push 0
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x88], xmm0
shl eax, 2
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x1c]
push eax
push 0
lea eax, [esp + 0x70]
mov dword [esp + 0x98], 0
push eax
push 0
mov dword [esp + 0x78], 0x28
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 0x200001
mov dword [esp + 0x88], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push 0
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp byte [edi + 0x11], 0
mov dword [esp + 0x2c], eax
je 0x477a67
mov esi, dword [edi + 4]
lea ecx, [edi + 0x24]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebx
call sym.ClientofCSP.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push 0
push 0
push eax
mov ecx, esi
call sym.ClientofCSP.exe_public:_struct_DuiLib::tagTImageInfo_const____thiscall_DuiLib::CPaintManagerUI::GetImageEx_wchar_t_const___wchar_t_const___unsigned_long_int_
mov edx, eax
test edx, edx
je 0x477b38
push 0
push 0
push 1
xorps xmm0, xmm0
lea esi, [edi + 0xa8]
movlpd qword [esp + 0x98], xmm0
mov ecx, dword [edx + 4]
mov dword [esp + 0xa0], ecx
mov ecx, dword [edx + 8]
push 0xff
mov dword [esp + 0xa8], ecx
movzx eax, byte [edx + 0xc]
push eax
push esi
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x6c]
push eax
push eax
push dword [edx]
push dword [esp + 0x40]
call sym.ClientofCSP.exe_public:_static_void___cdecl_DuiLib::CRenderEngine::DrawImage_struct_HDC_____struct_HBITMAP_____struct_tagRECT_const___struct_tagRECT_const___struct_tagRECT_const___struct_tagRECT_const___bool__unsigned_char__bool__bool__bool_
add esp, 0x2c
jmp 0x477a8d
push dword [esp + 0x74]
push 0
push dword [esp + 0x1c]
call fcn.004ba6a0
add esp, 0xc
lea eax, [esp + 0x40]
mov ecx, edi
push eax
push dword [esp + 0x2c]
push dword [esp + 0x1c]
call sym.ClientofCSP.exe_protected:_void___thiscall_DuiLib::CShadowUI::MakeShadow_unsigned_int___struct_HWND_____struct_tagRECT__
cmp byte [edi + 0x11], 0
je 0x477aa5
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
sub ecx, dword [esi]
sub edx, dword [edi + 0xac]
jmp 0x477abd
movsx eax, byte [edi + 0x15]
movsx ecx, byte [edi + 0x16]
movsx edx, byte [edi + 0x17]
sub ecx, eax
add ecx, dword [esp + 0x40]
sub edx, eax
add edx, dword [esp + 0x44]
push 0
push ebx
push ebp
push edx
push ecx
push dword [edi + 8]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x28], 0x1ff0000
call dword [sym.imp.USER32.dll_MoveWindow]
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push 2
push eax
push 0
lea eax, [esp + 0x3c]
push eax
push ebx
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x38]
push eax
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push dword [esp + 0x2c]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b847a
add esp, 0x90
ret 4