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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x103680b4]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sym.nsDui.dll_public_virtual:_void___thiscall_DuiLib::CControlUI::SetPos_struct_tagRECT__bool_
mov ecx, dword [ebx + 0x688]
lea esi, [ebx + 0x174]
lea edi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
add eax, dword [ebx + 0x668]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
sub esi, dword [ebx + 0x670]
sub edi, dword [ebx + 0x674]
mov dword [esp + 0x38], eax
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebx + 0x66c]
mov dword [esp + 0x3c], eax
mov dword [ebp + 0xc], eax
mov dword [esp + 0x28], esi
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], edi
test ecx, ecx
je 0x100cda8b
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x100cda8b
mov ecx, dword [ebx + 0x688]
mov eax, dword [ecx]
call dword [eax + 0x7c]
sub esi, eax
mov dword [esp + 0x28], esi
mov dword [ebp + 0x10], esi
mov ecx, dword [ebx + 0x68c]
test ecx, ecx
je 0x100cdab4
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x100cdab4
mov ecx, dword [ebx + 0x68c]
mov eax, dword [ecx]
call dword [eax + 0x84]
sub edi, eax
mov dword [ebp + 0x14], edi
xor edi, edi
cmp dword [ebx + 0x660], edi
jne 0x100cdac5
push edi
push edi
jmp 0x100ce16e
mov ecx, dword [ebx + 0x68c]
test ecx, ecx
je 0x100cdad7
mov eax, dword [ecx]
call dword [eax + 0xdc]
mov ecx, dword [ebx + 0x688]
test ecx, ecx
je 0x100cdae9
mov eax, dword [ecx]
call dword [eax + 0xdc]
and dword [esp + 0x20], edi
cmp dword [ebx + 0x660], edi
jle 0x100cdb30
mov esi, dword [esp + 0x20]
mov eax, dword [ebx + 0x65c]
mov ecx, dword [eax + esi*4]
mov dword [esp + 0x20], ecx
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x100cdb23
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x108]
test al, al
jne 0x100cdb23
inc edi
inc esi
cmp esi, dword [ebx + 0x660]
jl 0x100cdaf9
mov esi, dword [esp + 0x28]
mov eax, dword [ebx + 0x6a0]
mov edx, dword [ebx + 0x678]
test eax, eax
jne 0x100cdb7f
sub esi, dword [esp + 0x38]
mov ecx, dword [ebx + 0x690]
cmp esi, ecx
jl 0x100cdb55
mov eax, esi
cdq
idiv ecx
jmp 0x100cdb58
xor eax, eax
inc eax
cmp esi, ecx
mov dword [ebx + 0x698], eax
mov dword [esp + 0x2c], eax
lea eax, [edi - 1]
cmovl esi, ecx
cdq
idiv dword [esp + 0x2c]
mov dword [esp + 0x28], esi
mov esi, dword [ebx + 0x678]
mov dword [esp + 0x24], esi
jmp 0x100cdbfd
mov dword [ebx + 0x698], eax
mov esi, edx
mov dword [esp + 0x24], esi
mov ecx, eax
cmp eax, 1
jle 0x100cdbc6
mov dword [esp + 0x24], esi
test edx, edx
jg 0x100cdbc6
mov esi, dword [ebx + 0x68c]
mov dword [esp + 0x24], edx
test esi, esi
je 0x100cdbc4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
mov esi, dword [ebx + 0x678]
mov ecx, dword [ebx + 0x698]
mov dword [esp + 0x24], esi
jmp 0x100cdbc6
mov esi, edx
mov edx, dword [ebx + 0x690]
lea eax, [edi - 1]
mov dword [esp + 0x20], eax
cmp edi, ecx
jl 0x100cdbea
lea esi, [ecx - 1]
imul edx, ecx
imul esi, dword [esp + 0x24]
add esi, edx
mov dword [esp + 0x28], esi
jmp 0x100cdbfa
imul eax, esi
imul edx, edi
add eax, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
cdq
idiv ecx
mov edx, dword [ebx + 0x6a4]
lea ecx, [eax + 1]
imul edx, eax
mov eax, dword [ebx + 0x694]
imul eax, ecx
mov dword [ebx + 0x69c], ecx
xor ecx, ecx
mov dword [esp + 0x30], ecx
add edx, eax
mov dword [esp + 0x20], edx
cmp dword [ebx + 0x660], ecx
jle 0x100ce166
mov eax, dword [ebx + 0x65c]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov dword [esp + 0x1c], edi
mov eax, dword [edi]
call dword [eax + 0xdc]
test al, al
je 0x100ce151
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x108]
test al, al
je 0x100cdc70
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x30]
call dword [eax + 0x1dc]
jmp 0x100ce151
mov eax, dword [edi]
lea ecx, [esp + 0xd4]
push ecx
mov ecx, edi
call dword [eax + 0x64]
mov eax, dword [esp + 0xdc]
mov ecx, edi
add eax, dword [esp + 0xd4]
mov edx, dword [ebx + 0x690]
mov esi, dword [ebx + 0x694]
sub edx, eax
mov eax, dword [edi]
sub esi, dword [esp + 0xe0]
sub esi, dword [esp + 0xd8]
mov dword [esp + 0x10], edx
call dword [eax + 0x94]
cmp dword [esp + 0x10], eax
jle 0x100cdccb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
mov dword [esp + 0x10], eax
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xa4]
cmp esi, eax
jle 0x100cdce5
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xa4]
mov esi, eax
mov eax, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov ecx, ebx
mov dword [esp + 0x10], eax
xor eax, eax
test esi, esi
cmovs esi, eax
mov eax, dword [ebx]
mov dword [esp + 0x18], esi
call dword [eax + 0x168]
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x40], eax
call dword [edx + 0x170]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
cdq
idiv dword [ebx + 0x698]
mov esi, dword [ebx + 0x690]
add esi, dword [esp + 0x24]
mov ecx, dword [ebx + 0x68c]
imul esi, edx
mov dword [esp + 0x34], eax
add esi, dword [esp + 0x38]
mov dword [esp + 0x14], esi
test ecx, ecx
je 0x100cdd65
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x100cdd65
mov eax, dword [ebx + 0x68c]
sub esi, dword [eax + 0x660]
mov dword [esp + 0x14], esi
mov esi, dword [ebx + 0x6a4]
add esi, dword [ebx + 0x694]
imul esi, dword [esp + 0x34]
mov ecx, dword [ebx + 0x688]
add esi, dword [esp + 0x3c]
test ecx, ecx
je 0x100cdd9c
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x100cdd9c
mov eax, dword [ebx + 0x688]
sub esi, dword [eax + 0x660]
mov eax, dword [esp + 0x40]
cmp eax, 1
jne 0x100cdede
mov ecx, dword [ebx + 0x690]
mov eax, dword [esp + 0x2c]
sub ecx, dword [esp + 0x10]
cmp eax, 4
jne 0x100cde28
mov edx, ecx
test edx, edx
jns 0x100cddc5
add edx, 1
sar edx, 1
mov eax, dword [esp + 0x14]
add eax, edx
add eax, dword [esp + 0xd4]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x694]
sub eax, dword [esp + 0x18]
mov ecx, eax
test ecx, ecx
jns 0x100cddeb
add ecx, 1
sar ecx, 1
sub edx, dword [esp + 0xdc]
lea eax, [ecx + esi]
sub ecx, dword [esp + 0xe0]
add edx, dword [esp + 0x14]
add ecx, esi
add eax, dword [esp + 0xd8]
lea esi, [esp + 0x44]
add edx, dword [esp + 0x10]
add ecx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
jmp 0x100ce13d
cmp eax, 8
jne 0x100cde8b
mov edx, ecx
test edx, edx
jns 0x100cde36
add edx, 1
sar edx, 1
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x694]
add eax, edx
add eax, dword [esp + 0xd4]
sub edx, dword [esp + 0xdc]
add edx, dword [esp + 0x14]
add edx, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov eax, esi
sub eax, dword [esp + 0x18]
add eax, dword [esp + 0xd8]
sub esi, dword [esp + 0xe0]
add eax, ecx
add esi, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], esi
lea esi, [esp + 0x54]
mov dword [esp + 0x5c], edx
jmp 0x100ce13d
mov ecx, ecx
test ecx, ecx
jns 0x100cde94
add ecx, 1
sar ecx, 1
mov edx, dword [esp + 0x14]
lea eax, [ecx + edx]
sub ecx, dword [esp + 0xdc]
add eax, dword [esp + 0xd4]
add ecx, edx
add ecx, dword [esp + 0x10]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xd8]
add eax, esi
mov dword [esp + 0x6c], ecx
sub esi, dword [esp + 0xe0]
add esi, dword [esp + 0x18]
mov dword [esp + 0x70], esi
lea esi, [esp + 0x64]
mov dword [esp + 0x68], eax
jmp 0x100ce13d
cmp eax, 2
mov eax, dword [esp + 0x2c]
jne 0x100ce024
mov edx, dword [ebx + 0x690]
cmp eax, 4
jne 0x100cdf5c
mov eax, edx
sub eax, dword [esp + 0x10]
add eax, dword [esp + 0x14]
add eax, dword [esp + 0xd4]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x694]
sub eax, dword [esp + 0x18]
mov ecx, eax
test ecx, ecx
jns 0x100cdf1e
add ecx, 1
sar ecx, 1
lea eax, [ecx + esi]
sub ecx, dword [esp + 0xe0]
add eax, dword [esp + 0xd8]
add ecx, esi
mov dword [esp + 0x78], eax
lea esi, [esp + 0x74]
mov eax, edx
sub eax, dword [esp + 0xdc]
add eax, dword [esp + 0x14]
add ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
jmp 0x100ce13d
push 0
sub esp, 0x10
cmp eax, 8
mov eax, edx
jne 0x100cdfce
sub eax, dword [esp + 0x24]
add eax, dword [esp + 0x28]
add eax, dword [esp + 0xe8]
mov ecx, dword [ebx + 0x694]
mov dword [esp + 0x98], eax
mov eax, esi
sub eax, dword [esp + 0x2c]
add eax, dword [esp + 0xec]
sub esi, dword [esp + 0xf4]
add eax, ecx
mov dword [esp + 0x9c], eax
mov eax, dword [ebx + 0x690]
sub eax, dword [esp + 0xf0]
add eax, dword [esp + 0x28]
add esi, ecx
mov dword [esp + 0xa4], esi
lea esi, [esp + 0x98]
mov dword [esp + 0xa0], eax
jmp 0x100ce142
sub eax, dword [esp + 0x24]
add eax, dword [esp + 0x28]
add eax, dword [esp + 0xe8]
sub edx, dword [esp + 0xf0]
add edx, dword [esp + 0x28]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xec]
add eax, esi
mov dword [esp + 0xb0], edx
sub esi, dword [esp + 0xf4]
add esi, dword [esp + 0x2c]
mov dword [esp + 0xb4], esi
lea esi, [esp + 0xa8]
mov dword [esp + 0xac], eax
jmp 0x100ce142
cmp eax, 4
jne 0x100ce095
mov eax, dword [esp + 0xd4]
mov edx, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0xa4], eax
mov eax, dword [ebx + 0x694]
sub eax, dword [esp + 0x18]
mov ecx, eax
test ecx, ecx
jns 0x100ce050
add ecx, 1
sar ecx, 1
sub edx, dword [esp + 0xdc]
lea eax, [ecx + esi]
sub ecx, dword [esp + 0xe0]
add eax, dword [esp + 0xd8]
add ecx, esi
add edx, dword [esp + 0x10]
lea esi, [esp + 0xa4]
add ecx, dword [esp + 0x18]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ecx
jmp 0x100ce13d
cmp eax, 8
mov eax, dword [esp + 0xd4]
jne 0x100ce0f5
mov edx, dword [esp + 0x14]
add eax, edx
sub edx, dword [esp + 0xdc]
mov ecx, dword [ebx + 0x694]
add edx, dword [esp + 0x10]
mov dword [esp + 0xb4], eax
mov eax, esi
sub eax, dword [esp + 0x18]
add eax, dword [esp + 0xd8]
sub esi, dword [esp + 0xe0]
add eax, ecx
add esi, ecx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc0], esi
lea esi, [esp + 0xb4]
mov dword [esp + 0xbc], edx
jmp 0x100ce13d
mov ecx, dword [esp + 0x14]
add eax, ecx
sub ecx, dword [esp + 0xdc]
add ecx, dword [esp + 0x10]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xd8]
add eax, esi
mov dword [esp + 0xcc], ecx
sub esi, dword [esp + 0xe0]
add esi, dword [esp + 0x18]
mov dword [esp + 0xd0], esi
lea esi, [esp + 0xc4]
mov dword [esp + 0xc8], eax
push 0
sub esp, 0x10
mov eax, dword [edi]
mov edi, esp
mov ecx, dword [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x4c]
mov ecx, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x30], ecx
cmp ecx, dword [ebx + 0x660]
jl 0x100cdc30
push dword [esp + 0x20]
push dword [esp + 0x2c]
mov eax, dword [ebx]
lea esi, [ebp + 8]
sub esp, 0x10
mov ecx, ebx
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1e0]
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100ff9df
mov esp, ebp
pop ebp
ret 0x14