Function at 0x1001f520
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015f37e
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x1024ed04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x20], ebx
push edx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x1c], 0
call fcn.10005ad0
mov dword [ebp - 4], 1
mov dword [ebp - 0x3c], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x3c], vtable.CVolObject.0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x3c], vtable.CVolMem.0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0x40
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
sub eax, esi
cmp eax, 4
jl 0x1001f5cd
mov eax, dword [ebp - 0x4c]
mov dword [eax + esi], 0
mov eax, dword [ebp - 0x44]
add eax, 4
mov dword [ebp - 0x44], eax
jmp 0x1001f5e3
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x58]
call fcn.10030fe0
mov dword [eax + esi], 0
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1001f6b7
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x1001f6b7
cmp byte [edi], 0
je 0x1001f6b7
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001f604
push 0
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push edi
push 0
push 0
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
mov dword [ebp - 0x10], esi
add esi, esi
cmp dword [ebp - 0x30], 0
je 0x1001f640
push esi
lea ecx, [ebp - 0x3c]
call fcn.10030fe0
mov ecx, dword [ebp - 0x10]
mov esi, eax
jmp 0x1001f69e
test esi, esi
jne 0x1001f649
mov ecx, dword [ebp - 0x10]
jmp 0x1001f69e
mov ecx, dword [ebp - 0x24]
mov eax, 0x40
test ecx, ecx
cmovle ecx, eax
mov eax, esi
cdq
idiv ecx
mov eax, dword [ebp - 0x3c]
sub ecx, edx
add ecx, esi
mov dword [ebp - 0x14], ecx
mov eax, dword [eax]
push ecx
cmp eax, method.CVolWrapperObject.virtual_0
jne 0x1001f685
mov ecx, 0x10254168
call fcn.10031a60
mov esi, eax
test esi, esi
je 0x1001f7a4
jmp 0x1001f68c
lea ecx, [ebp - 0x3c]
call eax
mov esi, eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esi
lea eax, [ecx + ecx]
mov dword [ebp - 0x28], eax
push ecx
push esi
push dword [ebp - 0x18]
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x1001f6b7
lea edx, [eax - 1]
jmp 0x1001f6be
mov esi, 0x1023ae0c
xor edx, edx
mov ecx, ebx
call fcn.10005200
mov byte [ebp - 4], 4
mov ecx, ebx
push edx
push esi
mov dword [ebx], vtable.CWString.0
call fcn.10032500
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], vtable.CVolMem.0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x1001f718
mov eax, dword [ebp - 0x3c]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolWrapperObject.virtual_12
jne 0x1001f713
mov ecx, 0x10254168
call fcn.10031b50
jmp 0x1001f718
lea ecx, [ebp - 0x3c]
call eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], vtable.CVolObject.0
mov byte [ebp - 4], 0
mov dword [ebp - 0x58], vtable.CVolMem.0
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x1001f770
mov eax, dword [ebp - 0x58]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolWrapperObject.virtual_12
jne 0x1001f76b
mov ecx, 0x10254168
call fcn.10031b50
jmp 0x1001f770
lea ecx, [ebp - 0x58]
call eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov dword [ebp - 0x58], vtable.CVolObject.0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.1013aa09
int3