Function at 0x1000ae50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001fbe0
mov eax, dword fs:[0]
push eax
mov eax, 0x2034
call fcn.1001ed60
mov eax, dword [0x1002b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x201c], eax
mov dword [eax + 0xc], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1000aea6
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
test ebx, ebx
je 0x1000b0f4
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
push 0x1004
lea ecx, [ebp - 0x2018]
mov dword [ebp - 0x2040], eax
push ecx
push ebx
push eax
call dword [0x1002118c]
mov ecx, eax
test ecx, ecx
jle 0x1000b0f4
mov eax, 0x1004
sub eax, ecx
cmp eax, 1
jle 0x1000af4e
mov eax, dword [ebp - 0x201c]
mov dword [eax + 0xc], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1000af18
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
cmp word [ebp - 0x2018], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
je 0x1000b0f4
lea eax, [ebp - 0x2018]
mov ecx, esi
push eax
call fcn.1000ca40
jmp 0x1000b0f4
xor eax, eax
mov dword [ebp - 0x2034], 0
mov ecx, 0x40
mov dword [ebp - 0x2030], 0
mov dword [ebp - fcn.1000b710], vtable.CVolMem.0
mov dword [ebp - 0x202c], eax
mov dword [ebp - 0x2024], eax
mov dword [ebp - 0x2028], eax
mov dword [ebp - 0x2020], ecx
mov dword [ebp - 4], eax
mov ebx, 0x1004
mov edi, 0x2008
add ebx, 0x1004
add edi, 0x2008
mov dword [ebp - 0x203c], ebx
mov edx, 0x40
test eax, eax
je 0x1000afc1
push edi
lea ecx, [ebp - 0x2038]
call fcn.1000c980
jmp 0x1000b01d
test edi, edi
jne 0x1000afc9
xor eax, eax
jmp 0x1000b01d
test ecx, ecx
mov eax, edi
mov ebx, edi
cmovle ecx, edx
cdq
idiv ecx
mov eax, dword [ebp - 0x2038]
sub ebx, edx
add ebx, ecx
push ebx
mov eax, dword [eax]
cmp eax, fcn.1000b710
jne 0x1000affd
mov ecx, 0x1002b904
call fcn.1000cff0
test eax, eax
je 0x1000b118
jmp 0x1000b005
lea ecx, [ebp - 0x2038]
call eax
mov dword [ebp - 0x2028], ebx
mov ebx, dword [ebp - 0x203c]
mov dword [ebp - 0x202c], eax
mov dword [ebp - 0x2024], edi
push ebx
push eax
push dword [ebp + 8]
push dword [ebp - 0x2040]
call dword [0x1002118c]
mov ecx, ebx
sub ecx, eax
cmp ecx, 1
jg 0x1000b048
mov ecx, dword [ebp - 0x2020]
mov eax, dword [ebp - 0x202c]
jmp 0x1000af98
mov edx, dword [ebp - 0x202c]
xor eax, eax
cmp dword [ebp - 0x2024], eax
mov edi, edx
cmove edi, eax
mov eax, dword [ebp - 0x201c]
mov dword [eax + 0xc], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1000b07d
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov edx, dword [ebp - 0x202c]
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
test edi, edi
je 0x1000b0d4
cmp word [edi], 0
je 0x1000b0d4
mov ecx, edi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000b0a1
sub ecx, ebx
sar ecx, 1
lea ebx, [ecx*2 + 2]
test ebx, ebx
jle 0x1000b0d4
push ebx
mov ecx, esi
call fcn.1000c980
push ebx
push edi
push eax
call fcn.10011710
mov edx, dword [ebp - 0x202c]
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - fcn.1000b710], vtable.CVolMem.0
test edx, edx
je 0x1000b0f4
push edx
mov ecx, 0x1002b904
call fcn.1000d0e0
mov eax, dword [ebp - 0x201c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000dfdd
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffffff
call fcn.10012757
int3