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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x14]
mov edx, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ecx
lea eax, [edi + 8]
test eax, eax
je 0x1001255c
mov esi, dword [ebx + 0x18]
cmp esi, ecx
jb 0x1001255c
sub esi, ecx
mov eax, 2
mov ecx, dword [ebx + 8]
cmp esi, eax
cmova esi, eax
add ecx, edx
je 0x10012556
lea eax, [esi - 1]
cmp eax, 0x3e7fffff
ja 0x10012556
cmp esi, 2
ja 0x10012556
lea edx, [edi + 8]
cmp edx, ecx
je 0x10012556
jae 0x10012542
lea eax, [esi + edx]
cmp eax, ecx
ja 0x10012556
cmp edx, ecx
jbe 0x1001254b
lea eax, [ecx + esi]
cmp edx, eax
jb 0x10012556
push esi
push ecx
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add dword [ebx + 0x14], esi
mov edx, dword [ebx + 0x14]
lea eax, [edi + 0xc]
mov ecx, edx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100125de
mov esi, dword [ebx + 0x18]
cmp esi, edx
jb 0x100125de
sub esi, edx
mov eax, 4
cmp esi, 4
cmova esi, eax
mov eax, dword [ebx + 8]
add eax, edx
mov dword [ebp - 0xc], eax
je 0x100125d9
lea eax, [esi - 1]
cmp eax, 0x3e7fffff
ja 0x100125d9
cmp esi, 4
ja 0x100125d9
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x18], eax
je 0x100125d9
lea ecx, [edi + 0xc]
cmp ecx, eax
jae 0x100125b8
lea eax, [edi + 0xc]
mov ecx, edx
add eax, esi
cmp eax, dword [ebp - 0xc]
ja 0x100125d9
mov eax, dword [ebp - 0xc]
lea ecx, [edi + 0xc]
cmp ecx, eax
jbe 0x100125c8
mov ecx, edx
add eax, esi
lea edx, [edi + 0xc]
cmp edx, eax
jb 0x100125d9
mov eax, dword [ebp - 0xc]
push esi
push eax
lea eax, [edi + 0xc]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 0x14]
add esp, 0xc
add ecx, esi
mov dword [ebx + 0x14], ecx
lea eax, [edi + 0x10]
mov edx, ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x10012660
mov esi, dword [ebx + 0x18]
cmp esi, ecx
jb 0x10012660
sub esi, ecx
mov eax, 4
cmp esi, 4
cmova esi, eax
mov eax, dword [ebx + 8]
add eax, ecx
mov dword [ebp - 0xc], eax
je 0x1001265b
lea eax, [esi - 1]
cmp eax, 0x3e7fffff
ja 0x1001265b
cmp esi, 4
ja 0x1001265b
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 8], eax
je 0x1001265b
lea edx, [edi + 0x10]
cmp edx, eax
jae 0x1001263a
lea eax, [edi + 0x10]
mov edx, ecx
add eax, esi
cmp eax, dword [ebp - 0xc]
ja 0x1001265b
mov eax, dword [ebp - 0xc]
lea edx, [edi + 0x10]
cmp edx, eax
jbe 0x1001264a
mov edx, ecx
add eax, esi
lea ecx, [edi + 0x10]
cmp ecx, eax
jb 0x1001265b
mov eax, dword [ebp - 0xc]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebx + 0x14]
add esp, 0xc
add edx, esi
mov dword [ebx + 0x14], edx
lea eax, [edi + 0x14]
mov ecx, edx
mov dword [ebp - 8], eax
test eax, eax
je 0x100126e2
mov esi, dword [ebx + 0x18]
cmp esi, edx
jb 0x100126e2
sub esi, edx
mov eax, 4
cmp esi, 4
cmova esi, eax
mov eax, dword [ebx + 8]
add eax, edx
mov dword [ebp - 0xc], eax
je 0x100126dd
lea eax, [esi - 1]
cmp eax, 0x3e7fffff
ja 0x100126dd
cmp esi, 4
ja 0x100126dd
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 8], eax
je 0x100126dd
lea ecx, [edi + 0x14]
cmp ecx, eax
jae 0x100126bc
lea eax, [edi + 0x14]
mov ecx, edx
add eax, esi
cmp eax, dword [ebp - 0xc]
ja 0x100126dd
mov eax, dword [ebp - 0xc]
lea ecx, [edi + 0x14]
cmp ecx, eax
jbe 0x100126cc
mov ecx, edx
add eax, esi
lea edx, [edi + 0x14]
cmp edx, eax
jb 0x100126dd
mov eax, dword [ebp - 0xc]
push esi
push eax
lea eax, [edi + 0x14]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 0x14]
add esp, 0xc
add ecx, esi
mov dword [ebx + 0x14], ecx
lea edx, [edi + 0x18]
mov eax, ecx
test edx, edx
je 0x10012764
mov esi, dword [ebx + 0x18]
cmp esi, ecx
jb 0x10012764
sub esi, ecx
mov eax, 4
cmp esi, 4
cmova esi, eax
mov eax, dword [ebx + 8]
add eax, ecx
mov dword [ebp - 8], eax
mov eax, ecx
je 0x1001275f
lea eax, [esi - 1]
mov dword [ebp - 0xc], ecx
cmp eax, 0x3e7fffff
ja 0x1001275c
mov eax, ecx
cmp esi, 4
ja 0x1001275f
cmp edx, dword [ebp - 8]
je 0x1001275f
mov eax, dword [ebp - 8]
cmp edx, eax
jae 0x1001273b
lea eax, [esi + edx]
mov dword [ebp - 0xc], ecx
cmp eax, dword [ebp - 8]
ja 0x1001275c
mov eax, dword [ebp - 8]
cmp edx, eax
jbe 0x10012749
add eax, esi
mov dword [ebp - 0xc], ecx
cmp edx, eax
jb 0x1001275c
mov eax, dword [ebp - 8]
push esi
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x14]
lea edx, [edi + 0x18]
add esp, 0xc
jmp 0x1001275f
mov eax, dword [ebp - 0xc]
add eax, esi
mov dword [ebx + 0x14], eax
mov esi, dword [ebp - 0x14]
sub eax, esi
movzx ecx, word [edi + 8]
cmp eax, ecx
jae 0x1001278c
lea eax, [ecx + esi]
mov dword [ebx + 0x14], eax
test eax, eax
jns 0x10012784
mov dword [ebx + 0x14], 0
xor eax, eax
cmp eax, dword [ebx + 0x18]
jle 0x1001278c
mov dword [ebx + 0x18], eax
test byte [edi + 0x14], 1
mov eax, dword [edx]
mov dword [edi - 0xc], eax
je 0x10012814
mov edi, dword [edi + 0x1c]
test edi, edi
je 0x100127bb
mov eax, dword [edi + 4]
dec eax
mov dword [edi + 4], eax
cmp dword [edi + 4], 0
jne 0x100127bb
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x1006f584]
mov ecx, edi
call esi
push 0x24
call fcn.10069221
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, eax
call fcn.100081f0
push 0
push 0x100848d0
push 0x10084914
push 0
push eax
call sub.VCRUNTIME140.dll___RTDynamicCast
mov edi, dword [ebp - 0x10]
add esp, 0x14
mov dword [edi + 0x1c], eax
test eax, eax
je 0x10012814
mov ecx, dword [eax + 4]
inc ecx
mov dword [eax + 4], ecx
mov edi, dword [edi + 0x1c]
push ebx
mov eax, dword [edi + 8]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1006f584]
lea ecx, [edi + 8]
call esi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x1001283c
mov eax, dword [ecx + 4]
dec eax
mov dword [ecx + 4], eax
cmp dword [ecx + 4], 0
jne 0x1001283c
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x1006f584]
mov ecx, dword [ebp - 0xc]
call esi
push 0x38
call fcn.10069221
push 0
push 0x10084d1c
push 0x10084914
mov dword [eax], vtable.CAnnoRefCount.0
mov esi, 0xa
mov dword [eax + 4], 0
mov dword [eax + 8], vtable.CAnnoSeriable.0
push 0
push eax
mov dword [ebp - 0xc], eax
mov dword [eax], vtable.CAnnoLineFormat.0
mov dword [eax + 8], vtable.CAnnoLineFormat.1.0
mov word [eax + 0xc], si
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], 1
call sub.VCRUNTIME140.dll___RTDynamicCast
add esp, 0x18
mov dword [edi + 0x20], eax
test eax, eax
je 0x10012908
mov ecx, dword [eax + 4]
inc ecx
mov dword [eax + 4], ecx
test byte [edi + 0x14], 2
mov ecx, dword [edi + 0x20]
je 0x100128c6
mov eax, dword [ecx + 8]
lea edi, [ecx + 8]
push ebx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1006f584]
mov ecx, edi
call esi
or dword [ebp - 4], eax
mov edi, dword [ebp - 0x10]
jmp 0x10012908
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], 0
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ecx + 0xc], xmm0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ecx + 0x1c], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [ecx + 0x2c], xmm0
mov dword [ecx + 0x34], eax
mov eax, dword [ecx + 0x14]
mov word [ecx + 0xc], si
mov dword [ecx + 0x10], esi
sub eax, 1
jne 0x10012908
mov eax, 0x1e
mov word [ecx + 0x18], ax
mov dword [ecx + 0x1c], eax
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x10012930
mov eax, dword [ecx + 4]
dec eax
mov dword [ecx + 4], eax
cmp dword [ecx + 4], 0
jne 0x10012930
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x1006f584]
mov ecx, dword [ebp - 0xc]
call esi
push 0x28
call fcn.10069221
push 0
push 0x10084d80
push 0x10084914
mov dword [eax], vtable.CAnnoRefCount.0
mov esi, 0xa
mov dword [eax + 4], 0
mov dword [eax + 8], vtable.CAnnoSeriable.0
push 0
push eax
mov dword [ebp - 0xc], eax
mov dword [eax], vtable.CAnnoFillFormat.1.0
mov dword [eax + 8], vtable.CAnnoFillFormat.0
mov word [eax + 0xc], si
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], 0
call sub.VCRUNTIME140.dll___RTDynamicCast
add esp, 0x18
mov dword [edi + 0x24], eax
test eax, eax
je 0x100129f4
mov ecx, dword [eax + 4]
inc ecx
mov dword [eax + 4], ecx
test byte [edi + 0x14], 4
mov ecx, dword [edi + 0x24]
je 0x100129ba
mov eax, dword [ecx + 8]
lea edi, [ecx + 8]
push ebx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1006f584]
mov ecx, edi
call esi
or dword [ebp - 4], eax
mov edi, dword [ebp - 0x10]
jmp 0x100129f4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ecx + 0xc], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [ecx + 0x1c], xmm0
mov dword [ecx + 0x24], eax
mov eax, dword [ecx + 0x14]
mov word [ecx + 0xc], si
mov dword [ecx + 0x10], esi
sub eax, 1
jne 0x100129f4
mov eax, 0xe
mov word [ecx + 0x18], ax
mov dword [ecx + 0x1c], eax
test byte [edi + 0x14], 8
je 0x10012b1d
mov edi, dword [edi + 0x28]
test edi, edi
je 0x10012a22
mov eax, dword [edi + 4]
dec eax
mov dword [edi + 4], eax
cmp dword [edi + 4], 0
jne 0x10012a22
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x1006f584]
mov ecx, edi
call esi
push 0x98
call fcn.10069221
xor ecx, ecx
mov dword [ebp - 0xc], eax
push ecx
push 0x10084d3c
mov dword [eax], vtable.CAnnoRefCount.0
mov dword [eax + 4], 0
mov dword [eax + 8], vtable.CAnnoSeriable.0
mov dword [eax], vtable.CAnnoTextFrame.0
mov dword [eax + 8], vtable.CAnnoTextFrame.1.0
mov dword [eax + 0xc], 0
mov dword [eax + 0x48], vtable.CAnnoRuler.0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x70], 0
mov word [eax + 0x4c], cx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x74], ecx
mov dword [eax + 0x78], ecx
mov dword [eax + 0x7c], ecx
push 0x10084914
push ecx
push eax
mov dword [eax + 0x80], ecx
mov dword [eax + 0x94], ecx
mov word [eax + 0x10], cx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x34], ecx
call sub.VCRUNTIME140.dll___RTDynamicCast
mov edx, eax
add esp, 0x18
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], edx
test edx, edx
je 0x10012b1d
mov ecx, dword [edx + 4]
inc ecx
mov dword [edx + 4], ecx
mov edi, dword [eax + 0x28]
push ebx
mov eax, dword [edi + 8]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1006f584]
lea ecx, [edi + 8]
call esi
mov edx, dword [ebp - 4]
or edx, eax
jmp 0x10012b20
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebx + 0x14]
sub eax, esi
cmp eax, ecx
jae 0x10012b4c
lea eax, [ecx + esi]
mov dword [ebx + 0x14], eax
test eax, eax
jns 0x10012b44
mov dword [ebx + 0x14], 0
xor eax, eax
cmp eax, dword [ebx + 0x18]
jle 0x10012b4c
mov dword [ebx + 0x18], eax
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4