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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5276a0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x588790]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x588790]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
lea edi, [esi + 0x158]
push edi
push ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
xor eax, eax
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x64], eax
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 0x488650
mov dword [esp + 0x98], 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__
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add esp, 0x18
push eax
push ecx
push ebx
mov ecx, esi
call sym.zSignInstall.exe_public_virtual:_bool___thiscall_DuiLib::CControlUI::DoPaint_struct_HDC_____struct_tagRECT_const___class_DuiLib::CControlUI__
mov eax, dword [esi + 0x558]
test eax, eax
jle 0x48832d
mov edx, dword [esi]
mov edx, dword [edx + 0x16c]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call edx
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov edi, dword [edi + 0xc]
sub edi, dword [esp + 0x84]
add eax, dword [esp + 0x78]
add ecx, dword [esp + 0x7c]
sub edx, dword [esp + 0x80]
mov dword [esp + 0x74], edi
xor edi, edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
cmp dword [esi + 0x584], edi
je 0x488227
mov ecx, dword [esi + 0x584]
mov eax, dword [ecx]
mov edx, dword [eax + 0xf4]
call edx
test al, al
je 0x488227
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], edi
je 0x488257
mov ecx, dword [esi + 0x588]
mov eax, dword [ecx]
mov edx, dword [eax + 0xf4]
call edx
test al, al
je 0x488257
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 + 0x14]
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 0x4883b0
mov dword [esp + 0x1c], edi
cmp dword [esi + 0x558], edi
jle 0x48832d
mov eax, dword [esi + 0x554]
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax + ecx*4]
cmp edi, dword [esp + 0x18]
je 0x488389
mov edx, dword [edi]
mov eax, dword [edx + 0xf4]
mov ecx, edi
call eax
test al, al
je 0x488318
mov edx, dword [edi]
mov eax, dword [edx + 0x50]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x488318
mov eax, dword [edi]
mov edx, dword [eax + 0x120]
mov ecx, edi
call edx
test al, al
je 0x488318
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 0x488318
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi]
mov edx, dword [edx + 0x144]
push eax
push ecx
push ebx
mov ecx, edi
call edx
test al, al
je 0x488571
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esi + 0x558]
jl 0x488284
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esi + 0x584], 0
je 0x4885c2
mov ecx, dword [esi + 0x584]
mov edx, dword [ecx]
mov eax, dword [edx + 0xf4]
call eax
test al, al
je 0x4885c2
mov ecx, dword [esp + 0x18]
cmp dword [esi + 0x584], ecx
jne 0x488581
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
push esi
push edx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push esi
call edi
mov eax, dword [esp + 0x34]
push eax
call edi
xor al, al
jmp 0x488652
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 0x488652
mov byte [esp + 0x98], 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
mov dword [esp + 0x1c], edi
cmp dword [esi + 0x558], edi
jle 0x4884fc
mov eax, dword [esi + 0x554]
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax + ecx*4]
cmp edi, dword [esp + 0x18]
je 0x488529
mov edx, dword [edi]
mov eax, dword [edx + 0xf4]
mov ecx, edi
call eax
test al, al
je 0x4884e7
mov edx, dword [edi]
mov eax, dword [edx + 0x50]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4884e7
mov eax, dword [edi]
mov edx, dword [eax + 0x120]
mov ecx, edi
call edx
mov ecx, edi
test al, al
je 0x4884ac
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 0x4884e7
mov ecx, dword [esp + 0x54]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi]
mov edx, dword [edx + 0x144]
push eax
push ecx
push ebx
mov ecx, edi
call edx
test al, al
je 0x488568
mov eax, dword [esp + 0x50]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
jmp 0x4884e7
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 0x4884e7
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [edi]
mov eax, dword [eax + 0x144]
push ecx
push edx
push ebx
mov ecx, edi
call eax
test al, al
je 0x488568
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esi + 0x558]
jl 0x4883f6
mov byte [esp + 0x98], 0
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 0x488333
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 0x488652
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 0x488652
mov ecx, dword [esi + 0x584]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4885c2
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x584]
mov eax, dword [ecx]
mov eax, dword [eax + 0x144]
push edx
mov edx, dword [esp + 0x18]
push edx
push ebx
call eax
test al, al
je 0x488571
cmp dword [esi + 0x588], 0
je 0x488636
mov ecx, dword [esi + 0x588]
mov edx, dword [ecx]
mov eax, dword [edx + 0xf4]
call eax
test al, al
je 0x488636
mov ecx, dword [esp + 0x18]
cmp dword [esi + 0x588], ecx
je 0x488368
mov ecx, dword [esi + 0x588]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x488636
mov ecx, dword [esp + 0x18]
mov esi, dword [esi + 0x588]
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
mov eax, dword [eax + 0x144]
push ecx
push edx
push ebx
mov ecx, esi
call eax
test al, al
je 0x488571
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
push esi
push ecx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push esi
call edi
mov edx, dword [esp + 0x34]
push edx
call edi
mov al, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00503edf
mov esp, ebp
pop ebp
ret 0xc