Function at 0x412cc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581c72
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5ea000]
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 ebx, ecx
mov eax, dword [ebp + 0xc]
mov edx, 0x400
mov ecx, dword [ebx + 0x14]
test eax, eax
mov esi, dword [ebp + 8]
cmovne edx, eax
mov dword [ebp - 0xd4], esi
test ecx, ecx
jne 0x412d11
xor ebx, ebx
jmp 0x412d14
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0xd8], ebx
test edx, edx
jns 0x412d38
push ecx
lea edi, [ecx + ebx]
push 0x5c85bc
push esi
mov dword [ebp - 0xdc], edi
call fcn.00415160
add esp, 0xc
jmp 0x412d70
cmp ecx, edx
cmovl edx, ecx
lea edi, [edx + ebx]
mov dword [ebp - 0xdc], edi
cmp ecx, edx
jne 0x412d5b
push ecx
push 0x5c85bc
push esi
call fcn.00415160
add esp, 0xc
jmp 0x412d70
mov eax, ecx
sub eax, edx
push eax
push edx
push ecx
push 0x5c85e0
push esi
call fcn.00415160
add esp, 0x14
mov dword [ebp - 0x110], 0
cmp ebx, edi
jae 0x413383
lea edi, [esi + 0x10]
mov dword [ebp - 0x114], edi
nop dword [eax + eax]
mov ecx, esi
call fcn.00414a80
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x412db4
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x412db4
add eax, 0xfffffffe
mov dword [edx + 0x14], eax
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x14]
sub eax, esi
cmp eax, 8
jl 0x412dd9
mov eax, dword [edi + 0xc]
mov dword [esi + eax], 0xa000d
mov dword [esi + eax + 4], 0x5b
add dword [edi + 0x14], 8
jmp 0x412df3
lea eax, [esi + 8]
mov ecx, edi
push eax
call fcn.00413410
mov dword [eax + esi], 0xa000d
mov dword [eax + esi + 4], 0x5b
push ecx
mov ecx, dword [ebp - 0x110]
lea eax, [ebp - 0xd0]
push eax
call fcn.00413a80
mov ecx, dword [ebp - 0xd4]
add esp, 8
push eax
call fcn.00414ec0
mov ecx, dword [ebp - 0xd4]
call fcn.00414a80
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x412e3d
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x412e3d
add eax, 0xfffffffe
mov dword [edx + 0x14], eax
mov esi, dword [edi + 0x14]
mov ecx, edi
lea eax, [esi + 6]
push eax
call fcn.00413410
mov ecx, dword [0x5c862c]
mov dword [eax + esi], ecx
mov cx, word [0x5c8630]
mov word [eax + esi + 4], cx
mov dword [ebp - method.CVolBaseInputStream.virtual_0], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - method.CVolBaseInputStream.virtual_0], vtable.CVolObject.0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xfc]
mov dword [ebp - 0xfc], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - method.CVolBaseInputStream.virtual_0], vtable.CWString.0
mov dword [ebp - 0x128], eax
mov dword [ebp - 0xfc], vtable.CVolObject.0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0xfc], vtable.CVolMem.0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe4], 0x40
mov byte [ebp - 4], 2
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xe4], 0xfe
mov dword [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0xe0], ecx
cmp ebx, dword [ebp - 0xdc]
jae 0x4131d9
cmp ecx, 0x10
jge 0x4131d9
mov ecx, dword [ebp - 0xd4]
call fcn.00414a80
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x412f67
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x412f67
add eax, 0xfffffffe
mov dword [edx + 0x14], eax
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x14]
sub eax, esi
mov dword [ebp - 0x11c], 0x20
cmp eax, 4
jl 0x412f90
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0x11c]
mov dword [esi + ecx], eax
add dword [edi + 0x14], 4
jmp 0x412fa4
lea eax, [esi + 4]
mov ecx, edi
push eax
call fcn.00413410
mov ecx, dword [ebp - 0x11c]
mov dword [eax + esi], ecx
movzx ecx, byte [ebx]
mov eax, ecx
and ecx, 0xf
shr eax, 4
test eax, eax
je 0x412fcc
movzx eax, word [eax*2 + 0x5c8640]
lea edx, [ebp - 0x50]
mov word [ebp - 0x50], ax
movzx eax, word [ecx*2 + 0x5c8640]
jmp 0x412fe7
mov ax, word [eax*2 + 0x5c8640]
mov word [ebp - 0x50], ax
mov ax, word [ecx*2 + 0x5c8640]
test ecx, ecx
je 0x412ffd
lea edx, [ebp - 0x4e]
mov word [ebp - 0x4e], ax
lea ecx, [ebp - 0x50]
xor eax, eax
cmp edx, ecx
mov word [ebp - 0x4c], ax
mov eax, ecx
cmovb eax, edx
jmp 0x41300a
mov word [ebp - 0x4e], ax
xor eax, eax
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x50]
lea edx, [ebp - 0xd0]
sub edx, eax
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [eax + edx - 2], cx
test cx, cx
jne 0x413012
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
push eax
call fcn.00414ec0
movzx eax, byte [ebx]
push eax
call fcn.0056d5f0
add esp, 4
test eax, eax
je 0x413054
movzx eax, byte [ebx]
mov esi, eax
test ax, ax
je 0x4131b3
jmp 0x413059
mov esi, 0x2e
lea ecx, [ebp - 0x10c]
movzx ebx, si
call fcn.00414a80
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x413086
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x413086
add eax, 0xfffffffe
mov esi, ebx
mov dword [edx + 0x14], eax
mov edx, dword [ebp - 0xec]
xor eax, eax
mov ebx, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xf0]
mov word [ebp - 0x122], ax
mov eax, edx
sub eax, ebx
mov word [ebp - 0x124], si
cmp eax, 4
jl 0x4130c6
mov eax, dword [ebp - 0x124]
mov dword [ecx + ebx], eax
add dword [ebp - 0xe8], 4
jmp 0x4131ad
lea edi, [ebx + 4]
cmp edi, ebx
je 0x41319e
test edi, edi
jne 0x413123
test ecx, ecx
je 0x4130fe
mov eax, dword [ebp - 0xfc]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolBaseInputStream.virtual_12
jne 0x4130f6
mov ecx, 0x5f3968
call fcn.00413fb0
jmp 0x4130fe
lea ecx, [ebp - 0xfc]
call eax
mov dword [ebp - 0xf0], 0
xor ecx, ecx
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xec], 0
jmp 0x41319e
test ecx, ecx
jne 0x413137
push edi
lea ecx, [ebp - 0xfc]
call fcn.004133b0
mov ecx, eax
jmp 0x41319e
mov esi, dword [ebp - 0xe4]
mov eax, 0x40
test esi, esi
cmovle esi, eax
cmp edx, edi
jl 0x413151
sub edx, edi
cmp edx, esi
jle 0x413198
mov eax, edi
cdq
idiv esi
mov eax, dword [ebp - 0xfc]
sub esi, edx
add esi, edi
push esi
mov eax, dword [eax + 8]
push ecx
cmp eax, method.CVolBaseInputStream.virtual_8
jne 0x413182
mov ecx, 0x5f3968
call fcn.00413f20
mov ecx, eax
test ecx, ecx
je 0x4133a1
jmp 0x41318c
lea ecx, [ebp - 0xfc]
call eax
mov ecx, eax
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xe8], edi
mov eax, dword [ebp - 0x124]
mov edi, dword [ebp - 0x114]
mov dword [ecx + ebx], eax
mov ebx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xe0]
inc ebx
inc dword [ebp - 0x110]
inc ecx
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xd8], ebx
cmp ebx, dword [ebp - 0xdc]
jb 0x412f36
mov eax, 0x10
sub eax, ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xe0], eax
test eax, eax
jle 0x413252
mov ebx, dword [ebp - 0xd4]
mov ecx, ebx
call fcn.00414a80
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x413217
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x413217
add eax, 0xfffffffe
mov dword [edx + 0x14], eax
mov esi, dword [ebx + 0x24]
mov ecx, edi
mov ebx, dword [ebp - 0xe0]
add ebx, ebx
lea eax, [esi + 2]
add eax, ebx
push eax
call fcn.00413410
mov ecx, ebx
shr ecx, 1
shr ecx, 1
lea edx, [esi + eax]
mov eax, 0x200020
mov edi, edx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor eax, eax
mov word [edx + ebx], ax
mov ebx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd4]
call fcn.00414a80
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x41327a
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x41327a
add eax, 0xfffffffe
mov dword [edx + 0x14], eax
mov edi, dword [ebp - 0x114]
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x14]
sub eax, esi
cmp eax, 8
jl 0x4132a5
mov eax, dword [edi + 0xc]
mov dword [esi + eax], 0x7c0020
mov dword [esi + eax + 4], 0x20
add dword [edi + 0x14], 8
jmp 0x4132bf
lea eax, [esi + 8]
mov ecx, edi
push eax
call fcn.00413410
mov dword [eax + esi], 0x7c0020
mov dword [eax + esi + 4], 0x20
mov eax, dword [ebp - 0x100]
test eax, eax
jne 0x4132dc
cmp dword [ebp - 0xe8], 0
mov eax, 0x5c501c
cmovne eax, dword [ebp - 0xf0]
mov esi, dword [ebp - 0xd4]
mov ecx, esi
push eax
call fcn.00414ec0
mov dword [ebp - 4], 4
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0xfc], vtable.CVolMem.0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xf0]
test ecx, ecx
je 0x41333a
mov eax, dword [ebp - 0xfc]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolBaseInputStream.virtual_12
jne 0x413332
mov ecx, 0x5f3968
call fcn.00413fb0
jmp 0x41333a
lea ecx, [ebp - 0xfc]
call eax
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xec], 0
mov byte [ebp - 4], 4
mov dword [ebp - 0xfc], vtable.CVolObject.0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.CVolBaseInputStream.virtual_0], vtable.CVolObject.0
cmp ebx, dword [ebp - 0xdc]
jb 0x412d90
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.00561ec6
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffffff
call fcn.0056733b
int3