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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52d8d0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x588790]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x588790]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, ecx
mov edx, dword [esi + 0x184]
mov ecx, dword [ebp + 0x10]
mov edi, dword [esi + 0x180]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
mov ecx, eax
call sym.zSignInstall.exe_public:_class_DuiLib::CDPI____thiscall_DuiLib::CPaintManagerUI::GetDPIObj_void_
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x47d2bb
push 0x64
cmp ecx, 1
jne 0x47d2b1
mov eax, dword [eax + 4]
push eax
jmp 0x47d2b4
mov ecx, dword [eax]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
mov ecx, eax
call sym.zSignInstall.exe_public:_class_DuiLib::CDPI____thiscall_DuiLib::CPaintManagerUI::GetDPIObj_void_
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x47d2f6
push 0x64
cmp ecx, 1
jne 0x47d2e4
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x20]
push ecx
push edx
jmp 0x47d2ec
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x1c], eax
mov edx, dword [esi + 0x6e4]
mov eax, dword [esi + 0x6e8]
mov ecx, dword [esi + 0x6ec]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x6f0]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edx
mov edx, dword [esi]
lea eax, [esp + 0x20]
mov dword [esp + 0x28], ecx
push eax
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
mov ecx, eax
call sym.zSignInstall.exe_public:_class_DuiLib::CDPI____thiscall_DuiLib::CPaintManagerUI::GetDPIObj_void_
mov ecx, eax
call sym.zSignInstall.exe_public:_void___thiscall_DuiLib::CDPI::Scale_struct_tagRECT__
mov ecx, dword [esp + 0x10]
lea edi, [esi + 0x158]
push edi
xor eax, eax
push ecx
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x47d8bf
cmp byte [esi + 0x6dc], 0
je 0x47d3c8
mov eax, dword [edi]
add eax, dword [esp + 0x20]
push 0
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20]
cdq
sub eax, edx
mov edx, dword [esi + 0x160]
sub edx, dword [esp + 0x2c]
sar eax, 1
add eax, dword [esi + 0x15c]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x6e0]
push eax
push 1
push ecx
push ebx
mov dword [esp + 0x84], edx
call sym.zSignInstall.exe_public:_static_void___cdecl_DuiLib::CRenderEngine::DrawLine_struct_HDC_____struct_tagRECT_const___int__unsigned_long_int__int_
add esp, 0x14
jmp 0x47d5e5
mov dword [esp + 0x88], 0
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x60]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 8], ecx
push ebx
mov dword [eax + 0xc], edx
call sym.zSignInstall.exe_public:_static_void___cdecl_DuiLib::CRenderClip::GenerateClip_struct_HDC_____struct_tagRECT__class_DuiLib::CRenderClip__
add esp, 0x18
push edi
push ebx
mov ecx, esi
call sym.zSignInstall.exe_public_virtual:_void___thiscall_DuiLib::CListContainerElementUI::DrawItemBk_struct_HDC_____struct_tagRECT_const__
mov eax, dword [esi + 0x6c0]
mov edx, dword [eax + 0x24]
lea ecx, [esi + 0x6c0]
push edi
push ebx
call edx
push edi
push ebx
mov ecx, esi
call sym.zSignInstall.exe_public:_void___thiscall_DuiLib::CMenuElementUI::DrawItemIcon_struct_HDC_____struct_tagRECT_const__
push edi
push ebx
mov ecx, esi
call sym.zSignInstall.exe_public:_void___thiscall_DuiLib::CMenuElementUI::DrawItemExpland_struct_HDC_____struct_tagRECT_const__
cmp dword [esi + 0x558], 0
jle 0x47d5b6
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov edi, dword [edi + 0xc]
add eax, dword [esi + 0x560]
add ecx, dword [esi + 0x564]
sub edx, dword [esi + 0x568]
sub edi, dword [esi + 0x56c]
cmp dword [esi + 0x584], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edi
je 0x47d49d
mov ecx, dword [esi + 0x584]
mov eax, dword [ecx]
mov edx, dword [eax + 0xf4]
call edx
test al, al
je 0x47d49d
mov ecx, dword [esi + 0x584]
mov eax, dword [ecx]
mov edx, dword [eax + 0x7c]
call edx
sub dword [esp + 0x70], eax
cmp dword [esi + 0x588], 0
je 0x47d4ce
mov ecx, dword [esi + 0x588]
mov eax, dword [ecx]
mov edx, dword [eax + 0xf4]
call edx
test al, al
je 0x47d4ce
mov ecx, dword [esi + 0x588]
mov eax, dword [ecx]
mov edx, dword [eax + 0x84]
call edx
sub dword [esp + 0x74], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x68]
push eax
push ecx
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x47d67e
mov dword [esp + 0x18], eax
cmp dword [esi + 0x558], eax
jle 0x47d5b6
mov eax, dword [esi + 0x554]
mov ecx, dword [esp + 0x18]
mov edi, dword [eax + ecx*4]
cmp edi, dword [esp + 0x14]
je 0x47d657
mov edx, dword [edi]
mov eax, dword [edx + 0xf4]
mov ecx, edi
call eax
test al, al
je 0x47d5a1
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push str.MenuElement
mov ecx, edi
call eax
test eax, eax
jne 0x47d5a1
mov edx, dword [edi]
mov eax, dword [edx + 0x50]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x47d5a1
mov eax, dword [edi]
mov edx, dword [eax + 0x120]
mov ecx, edi
call edx
test al, al
je 0x47d5a1
mov eax, dword [edi]
mov edx, dword [eax + 0x50]
mov ecx, edi
call edx
push eax
lea eax, [esi + 0x158]
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x47d5a1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [edi]
mov edx, dword [edx + 0x144]
push eax
push ecx
push ebx
mov ecx, edi
call edx
test al, al
je 0x47d84b
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esi + 0x558]
jl 0x47d4fb
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [esp + 0x38]
push eax
call edi
mov ecx, dword [esp + 0x34]
push ecx
call edi
mov eax, dword [esi + 0x584]
test eax, eax
je 0x47d858
cmp eax, dword [esp + 0x14]
je 0x47d677
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xf4]
call eax
test al, al
je 0x47d858
mov ecx, dword [esi + 0x584]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov edi, dword [esp + 0x10]
push eax
push edi
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x47d85c
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x584]
mov edx, dword [ecx]
mov edx, dword [edx + 0x144]
push eax
push edi
push ebx
call edx
test al, al
jne 0x47d85c
jmp 0x47d8c1
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push esi
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov ecx, dword [esp + 0x34]
push ecx
call esi
xor al, al
jmp 0x47d8c1
mov byte [esp + 0x88], 1
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x60]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 8], ecx
push ebx
mov dword [eax + 0xc], edx
call sym.zSignInstall.exe_public:_static_void___cdecl_DuiLib::CRenderClip::GenerateClip_struct_HDC_____struct_tagRECT__class_DuiLib::CRenderClip__
add esp, 0x18
cmp dword [esi + 0x558], 0
mov dword [esp + 0x18], 0
jle 0x47d7e1
mov eax, dword [esi + 0x554]
mov ecx, dword [esp + 0x18]
mov edi, dword [eax + ecx*4]
cmp edi, dword [esp + 0x14]
je 0x47d806
mov edx, dword [edi]
mov eax, dword [edx + 0xf4]
mov ecx, edi
call eax
test al, al
je 0x47d7cc
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push str.MenuElement
mov ecx, edi
call eax
test eax, eax
jne 0x47d7cc
mov edx, dword [edi]
mov eax, dword [edx + 0x50]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x47d7cc
mov eax, dword [edi]
mov edx, dword [eax + 0x120]
mov ecx, edi
call edx
mov ecx, edi
test al, al
je 0x47d795
mov eax, dword [edi]
mov edx, dword [eax + 0x50]
call edx
push eax
lea eax, [esi + 0x158]
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x47d7cc
mov ecx, dword [esp + 0x54]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [edi]
mov edx, dword [edx + 0x144]
push eax
push ecx
push ebx
mov ecx, edi
call edx
test al, al
je 0x47d842
mov eax, dword [esp + 0x50]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
jmp 0x47d7cc
mov edx, dword [edi]
mov eax, dword [edx + 0x50]
call eax
push eax
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x47d7cc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [edi]
mov eax, dword [eax + 0x144]
push ecx
push edx
push ebx
mov ecx, edi
call eax
test al, al
je 0x47d842
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esi + 0x558]
jl 0x47d6c9
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
push edi
push edx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
mov eax, dword [esp + 0x50]
push eax
call edi
jmp 0x47d5bc
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [sym.imp.GDI32.dll_SelectClipRgn]
push esi
push ecx
call ebx
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov edx, dword [esp + 0x50]
push edx
call esi
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push edi
push eax
call ebx
push edi
call esi
mov ecx, dword [esp + 0x34]
push ecx
call esi
xor al, al
jmp 0x47d8c1
lea ecx, [esp + 0x3c]
call sym.zSignInstall.exe_public:_void___thiscall_DuiLib::CRenderClip::destructor_void_
lea ecx, [esp + 0x20]
call sym.zSignInstall.exe_public:_void___thiscall_DuiLib::CRenderClip::destructor_void_
xor al, al
jmp 0x47d8c1
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x588]
test eax, eax
je 0x47d8bf
cmp eax, dword [esp + 0x14]
je 0x47d677
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xf4]
call edx
test al, al
je 0x47d8bf
mov ecx, dword [esi + 0x588]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
call edx
push eax
push edi
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x47d8bf
mov eax, dword [esp + 0x14]
mov esi, dword [esi + 0x588]
mov edx, dword [esi]
mov edx, dword [edx + 0x144]
push eax
push edi
push ebx
mov ecx, esi
call edx
test al, al
je 0x47d677
mov al, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00503edf
mov esp, ebp
pop ebp
ret 0xc