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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x588790]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
push eax
mov edi, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [eax + 0xc], edx
call sym.zSignInstall.exe_public_virtual:_void___thiscall_DuiLib::CControlUI::SetPos_struct_tagRECT__bool_
mov eax, dword [edi + 0x158]
mov ecx, dword [edi + 0x15c]
mov edx, dword [edi + 0x160]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x164]
mov dword [ebp + 0xc], ecx
mov ecx, dword [edi + 0x560]
mov dword [ebp + 0x10], edx
mov edx, dword [edi + 0x564]
mov dword [ebp + 0x14], eax
mov eax, dword [edi + 0x568]
mov dword [esp + 0x5c], ecx
mov ecx, dword [edi + 0x56c]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov eax, dword [edi]
lea edx, [esp + 0x5c]
mov dword [esp + 0x68], ecx
push edx
mov edx, dword [eax + 0x1c]
mov ecx, edi
call edx
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 eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
add dword [ebp + 8], eax
add dword [ebp + 0xc], ecx
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov ecx, dword [edi + 0x584]
sub dword [ebp + 0x10], edx
sub dword [ebp + 0x14], eax
test ecx, ecx
je 0x470a52
mov edx, dword [ecx]
mov eax, dword [edx + 0xf4]
call eax
test al, al
je 0x470a52
mov ecx, dword [edi + 0x584]
mov edx, dword [ecx]
mov eax, dword [edx + 0x7c]
call eax
sub dword [ebp + 0x10], eax
mov ecx, dword [edi + 0x588]
test ecx, ecx
je 0x470a7d
mov edx, dword [ecx]
mov eax, dword [edx + 0xf4]
call eax
test al, al
je 0x470a7d
mov ecx, dword [edi + 0x588]
mov edx, dword [ecx]
mov eax, dword [edx + 0x84]
call eax
sub dword [ebp + 0x14], eax
cmp dword [edi + 0x558], 0
jne 0x470a8f
push 0
push 0
jmp 0x4711ca
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
sub eax, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
mov ecx, dword [edi + 0x584]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
test ecx, ecx
je 0x470acb
mov eax, dword [ecx]
mov edx, dword [eax + 0xf4]
call edx
test al, al
je 0x470acb
mov eax, dword [edi + 0x584]
add esi, dword [eax + 0x554]
mov dword [esp + 0x3c], esi
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], ebx
cmp dword [edi + 0x558], ebx
jle 0x470cc4
lea ecx, [ecx]
mov ecx, dword [edi + 0x554]
mov esi, dword [ecx + ebx*4]
mov edx, dword [esi]
mov eax, dword [edx + 0xf4]
mov ecx, esi
call eax
test al, al
je 0x470cb3
mov edx, dword [esi]
mov eax, dword [edx + 0x120]
mov ecx, esi
call eax
test al, al
jne 0x470cb3
mov ecx, dword [esp + 0x38]
mov edx, dword [esi]
mov ebx, dword [esp + 0x3c]
mov edx, dword [edx + 0x6c]
lea eax, [esp + 0x6c]
mov dword [esp + 0x28], ecx
push eax
mov ecx, esi
mov dword [esp + 0x30], ebx
call edx
sub ebx, dword [esp + 0x78]
mov eax, dword [esi]
mov edx, dword [eax + 0x7c]
sub ebx, dword [esp + 0x70]
mov ecx, esi
call edx
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x84]
mov ecx, esi
call edx
cmp dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
jg 0x470b7b
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
mov ecx, esi
call edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
test eax, eax
jg 0x470b93
mov eax, dword [esi]
mov edx, dword [eax + 0xa4]
mov ecx, esi
call edx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x28], ecx
jle 0x470ba1
mov dword [esp + 0x28], ecx
cmp ebx, eax
jle 0x470ba7
mov ebx, eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esi]
mov eax, dword [eax + 0x140]
push ebx
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call eax
cmp dword [esp + 0xc], 0
jne 0x470bcb
inc dword [esp + 0x34]
jmp 0x470c0f
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
mov ecx, esi
call eax
cmp dword [esp + 0xc], eax
jge 0x470bed
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
mov ecx, esi
call eax
mov dword [esp + 0xc], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x94]
mov ecx, esi
call eax
cmp dword [esp + 0xc], eax
jle 0x470c0f
mov edx, dword [esi]
mov eax, dword [edx + 0x94]
mov ecx, esi
call eax
mov dword [esp + 0xc], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x6c]
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call edx
lea ebx, [eax + 8]
mov eax, dword [esi]
mov edx, dword [eax + 0x6c]
lea ecx, [esp + 0x8c]
push ecx
mov ecx, esi
call edx
mov ecx, dword [ebx]
add ecx, dword [esp + 0xc]
xor edx, edx
add ecx, dword [eax]
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], ecx
test eax, eax
setle dl
mov ecx, esi
dec edx
and edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esi]
mov edx, dword [eax + 0x9c]
call edx
cmp dword [esp + 0x10], eax
jge 0x470c71
mov eax, dword [esi]
mov edx, dword [eax + 0x9c]
mov ecx, esi
call edx
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xa4]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jle 0x470c97
mov eax, dword [esi]
mov edx, dword [eax + 0xa4]
mov ecx, esi
call edx
mov ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x78]
add eax, ecx
add eax, dword [esp + 0x70]
cmp dword [esp + 0x40], eax
jg 0x470cab
mov dword [esp + 0x40], eax
inc dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
inc ebx
mov dword [esp + 0x30], ebx
cmp ebx, dword [edi + 0x558]
jl 0x470af0
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x570]
dec eax
imul ecx, eax
add dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
xor esi, esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x4c], esi
cmp ecx, esi
jle 0x470d05
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x18]
cdq
idiv ecx
xor edx, edx
cmp eax, esi
setl dl
dec edx
and edx, eax
mov dword [esp + 0x4c], edx
mov ecx, dword [edi + 0x588]
mov eax, dword [esp + 0x38]
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], ebx
cmp ecx, esi
je 0x470d3e
mov edx, dword [ecx]
mov eax, dword [edx + 0xf4]
call eax
test al, al
je 0x470d3e
mov ecx, dword [edi + 0x588]
sub ebx, dword [ecx + 0x558]
mov dword [esp + 0x24], ebx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
cmp dword [edi + 0x558], esi
jle 0x4711b5
mov edi, edi
mov eax, dword [edi + 0x554]
mov ecx, dword [esp + 0x1c]
mov esi, dword [eax + ecx*4]
mov edx, dword [esi]
mov eax, dword [edx + 0xf4]
mov ecx, esi
call eax
test al, al
je 0x4711a0
mov edx, dword [esi]
mov eax, dword [edx + 0x120]
mov ecx, esi
call eax
test al, al
je 0x470da7
mov edx, dword [edi]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x1f8]
push eax
mov ecx, edi
call edx
jmp 0x4711a0
mov eax, dword [esi]
mov edx, dword [eax + 0x6c]
inc dword [esp + 0x44]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x5c]
mov ecx, esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
sub eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x7c]
call edx
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x84]
mov ecx, esi
call edx
cmp dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
jg 0x470e11
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
mov ecx, esi
call edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
test eax, eax
jg 0x470e29
mov eax, dword [esi]
mov edx, dword [eax + 0xa4]
mov ecx, esi
call edx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x28], ecx
jle 0x470e37
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x2c], eax
jle 0x470e41
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x64]
add ecx, dword [esp + 0x5c]
sub dword [esp + 0x18], ecx
cmp dword [esp + 0x44], 1
jle 0x470e5e
mov edx, dword [edi + 0x570]
sub dword [esp + 0x18], edx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
push ecx
push edx
mov edx, dword [eax + 0x140]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call edx
cmp dword [esp + 0xc], 0
jne 0x470ef8
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x48], eax
mov dword [esp + 0xc], ecx
cmp eax, dword [esp + 0x34]
jne 0x470eb2
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x64]
mov edx, 0
sub eax, dword [esp + 0x18]
sets dl
dec edx
and edx, eax
mov dword [esp + 0xc], edx
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
cmp dword [esp + 0xc], eax
jge 0x470ed4
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
mov ecx, esi
call edx
cmp dword [esp + 0xc], eax
jle 0x470f44
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
mov ecx, esi
call edx
mov dword [esp + 0xc], eax
jmp 0x470f44
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
cmp dword [esp + 0xc], eax
jge 0x470f1a
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jle 0x470f40
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
mov ecx, esi
call edx
mov ecx, eax
mov dword [esp + 0xc], ecx
sub dword [esp + 0x18], ecx
mov eax, dword [esi]
mov edx, dword [eax + 0xa4]
mov ecx, esi
call edx
mov dword [esp + 0x10], eax
test eax, eax
jne 0x470f6a
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
test eax, eax
jns 0x470f72
xor eax, eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jle 0x470f7e
mov dword [esp + 0x10], ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x9c]
mov ecx, esi
call edx
cmp dword [esp + 0x10], eax
jge 0x470fa0
mov eax, dword [esi]
mov edx, dword [eax + 0x9c]
mov ecx, esi
call edx
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x184]
mov ecx, edi
call edx
mov ecx, dword [edi + 0x584]
cmp eax, 4
jne 0x471055
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x14]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x470ff7
mov edx, dword [ecx]
mov eax, dword [edx + 0xf4]
call eax
test al, al
je 0x470ff7
mov ecx, dword [edi + 0x584]
mov eax, dword [ecx + 0x554]
cdq
sub eax, edx
sar eax, 1
sub eax, dword [ecx + 0x558]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x5c]
cdq
add ecx, ebx
sub eax, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x14]
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0xc]
add edx, ecx
add eax, ebx
mov ebx, dword [esp + 0x8c]
push 0
mov dword [esp + 0x98], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 8], ecx
mov dword [esp + 0xac], edx
mov ecx, edx
jmp 0x47115b
cmp eax, 8
jne 0x4710e4
mov ebx, dword [ebp + 0x14]
test ecx, ecx
je 0x471087
mov eax, dword [ecx]
mov edx, dword [eax + 0xf4]
call edx
test al, al
je 0x471087
mov eax, dword [edi + 0x584]
mov ecx, dword [eax + 0x554]
sub ecx, dword [eax + 0x558]
add ebx, ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
lea eax, [ecx + edx]
add ecx, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
mov eax, ebx
sub eax, dword [esp + 0x10]
sub ebx, dword [esp + 0x68]
sub eax, dword [esp + 0x68]
add ecx, edx
push 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x80]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x98]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x9c]
mov dword [ecx + 0xc], eax
jmp 0x47115e
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x47110d
mov edx, dword [ecx]
mov eax, dword [edx + 0xf4]
call eax
test al, al
je 0x47110d
mov ecx, dword [edi + 0x584]
mov edx, dword [ecx + 0x558]
sub dword [esp + 0x14], edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
lea eax, [ecx + ebx]
add ecx, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x14]
add ecx, ebx
mov ebx, dword [esp + 0x6c]
add eax, edx
push 0
mov dword [esp + 0x7c], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x84]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0xc], ecx
mov edx, dword [esi]
mov edx, dword [edx + 0x54]
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x64]
mov eax, dword [edi + 0x570]
mov ebx, dword [esp + 0x24]
lea esi, [ecx + edx]
mov edx, dword [esp + 0x5c]
add esi, edx
add esi, eax
add ebx, esi
mov esi, dword [esp + 0x64]
add esi, ecx
add ecx, dword [esp + 0x64]
add esi, edx
add dword [esp + 0x30], esi
add ecx, eax
sub dword [esp + 0x50], ecx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [edi + 0x558]
jl 0x470d60
mov ecx, dword [edi + 0x570]
imul ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x40]
add ecx, dword [esp + 0x30]
push eax
push ecx
mov ecx, dword [ebp + 8]
mov edx, dword [edi]
mov edx, dword [edx + 0x1fc]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00503edf
mov esp, ebp
pop ebp
ret 0x14