Function at 0x10012c60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d37d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1003e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
lea esi, [ebx + 0x10]
mov dword [ebx + 0xc], 0
mov edx, dword [esi + 0xc]
test edx, edx
je 0x10012ca6
mov eax, dword [esi]
mov ecx, esi
push edx
call dword [eax + 0xc]
mov dword [ebp - 0x28], vtable.CVolCommonBaseWithMemManager.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [ebp - 0x28], vtable.CVolObject.0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], vtable.CVolMem.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0x40
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
mov eax, dword [edi]
push ecx
push dword [ebp + 8]
mov ecx, edi
call dword [eax + 0x20]
test eax, eax
jne 0x10012d21
xor esi, esi
jmp 0x10012e7e
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x14]
sub eax, ecx
mov dword [ebp + 8], ecx
cmp eax, 4
jl 0x10012d4b
mov eax, dword [ebp - 0x1c]
mov dword [eax + ecx], 0
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov dword [ebp - 0x14], ecx
jmp 0x10012e0f
lea ebx, [ecx + 4]
cmp ebx, ecx
mov ecx, dword [ebp - 0x1c]
je 0x10012dff
test ebx, ebx
jne 0x10012d99
test ecx, ecx
je 0x10012d80
mov eax, dword [ebp - 0x28]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.rg_n10418::rg_n20798.virtual_12
jne 0x10012d7b
mov ecx, 0x1003ff58
call fcn.10014ea0
jmp 0x10012d80
lea ecx, [ebp - 0x28]
call eax
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
jmp 0x10012dff
test ecx, ecx
jne 0x10012daa
push ebx
lea ecx, [ebp - 0x28]
call fcn.100144d0
mov ecx, eax
jmp 0x10012dff
mov edi, dword [ebp - 0x10]
mov eax, 0x40
test edi, edi
cmovle edi, eax
cmp edx, ebx
jl 0x10012dc1
sub edx, ebx
cmp edx, edi
jle 0x10012dfc
mov eax, ebx
cdq
idiv edi
mov eax, dword [ebp - 0x28]
sub edi, edx
add edi, ebx
push edi
mov eax, dword [eax + 8]
push ecx
cmp eax, method.rg_n10418::rg_n20798.virtual_8
jne 0x10012def
mov ecx, 0x1003ff58
call fcn.10014e10
mov ecx, eax
test ecx, ecx
je 0x10012ef2
jmp 0x10012df6
lea ecx, [ebp - 0x28]
call eax
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ecx + eax], 0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
xor edx, edx
cmp ecx, 2
mov ecx, 0xfeff
cmovb eax, edx
cmp word [eax], cx
lea edi, [eax + 2]
cmovne edi, eax
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x10012e3c
mov eax, 0x10033c34
cmp dword [ebx + 0x24], edx
je 0x10012e3c
mov eax, dword [ebx + 0x1c]
cmp edi, eax
je 0x10012e79
mov dword [ebx + 0xc], edx
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10012e52
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
test edi, edi
je 0x10012e79
cmp word [edi], 0
je 0x10012e79
push edi
mov ecx, esi
call fcn.100145e0
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], vtable.CVolMem.0
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x10012eb9
mov eax, dword [ebp - 0x28]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.rg_n10418::rg_n20798.virtual_12
jne 0x10012eb4
mov ecx, 0x1003ff58
call fcn.10014ea0
jmp 0x10012eb9
lea ecx, [ebp - 0x28]
call eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [ebp - 0x28], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffffff
call fcn.1001e26a
int3