Function at 0x40b2c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f922
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x42b00c]
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 esi, ecx
mov eax, dword [ebp + 8]
mov edx, 0x400
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0xc]
test eax, eax
cmovne edx, eax
test ecx, ecx
jne 0x40b311
xor ebx, ebx
jmp 0x40b314
mov ebx, dword [esi + 0xc]
mov dword [ebp - 0xd8], ebx
test edx, edx
jns 0x40b329
lea edi, [ecx + ebx]
mov dword [ebp - 0x108], edi
jmp 0x40b33b
cmp ecx, edx
cmovl edx, ecx
lea edi, [edx + ebx]
mov dword [ebp - 0x108], edi
cmp ecx, edx
jne 0x40b352
mov esi, dword [ebp - 0xd4]
push ecx
push 0x426834
push esi
call fcn.0040ce90
add esp, 0xc
jmp 0x40b36d
mov esi, dword [ebp - 0xd4]
mov eax, ecx
sub eax, edx
push eax
push edx
push ecx
push 0x426858
push esi
call fcn.0040ce90
add esp, 0x14
mov dword [ebp - 0x10c], 0
cmp ebx, edi
jae 0x40ba87
lea edi, [esi + 0x10]
mov dword [ebp - 0x118], edi
mov ecx, esi
call fcn.0040c7d0
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x40b3ac
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x40b3ac
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 0x40b3d1
mov eax, dword [edi + 0xc]
mov dword [esi + eax], 0xa000d
mov dword [esi + eax + 4], 0x5b
add dword [edi + 0x14], 8
jmp 0x40b3eb
lea eax, [esi + 8]
mov ecx, edi
push eax
call fcn.0040bb10
mov dword [eax + esi], 0xa000d
mov dword [eax + esi + 4], 0x5b
push ecx
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0xd0]
push eax
call fcn.0040bf50
mov ecx, dword [ebp - 0xd4]
add esp, 8
push eax
call fcn.0040cbf0
mov ecx, dword [ebp - 0xd4]
call fcn.0040c7d0
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x40b435
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x40b435
add eax, 0xfffffffe
mov dword [edx + 0x14], eax
mov esi, dword [edi + 0x14]
mov ecx, edi
lea eax, [esi + 6]
push eax
call fcn.0040bb10
mov ecx, dword [0x4268a4]
mov dword [eax + esi], ecx
mov cx, word [0x4268a8]
mov word [eax + esi + 4], cx
mov dword [ebp - method.rg_n::rg_n2300.virtual_0], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - method.rg_n::rg_n2300.virtual_0], vtable.CVolObject.0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf4], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - method.rg_n::rg_n2300.virtual_0], vtable.CWString.0
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0xf4], vtable.CVolObject.0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0xf4], vtable.CVolMem.0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xdc], 0x40
mov byte [ebp - 4], 2
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xdc], 0xfe
mov dword [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x114], ecx
cmp ebx, dword [ebp - 0x108]
jae 0x40b8e9
nop
cmp ecx, 0x10
jge 0x40b8e9
mov ecx, dword [ebp - 0xd4]
call fcn.0040c7d0
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x40b561
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x40b561
add eax, 0xfffffffe
mov dword [edx + 0x14], eax
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x14]
sub eax, esi
mov dword [ebp - 0x120], 0x20
cmp eax, 4
jl 0x40b58a
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0x120]
mov dword [esi + ecx], eax
add dword [edi + 0x14], 4
jmp 0x40b59e
lea eax, [esi + 4]
mov ecx, edi
push eax
call fcn.0040bb10
mov ecx, dword [ebp - 0x120]
mov dword [eax + esi], ecx
movzx ecx, byte [ebx]
mov eax, ecx
and ecx, 0xf
shr eax, 4
test eax, eax
je 0x40b5c6
movzx eax, word [eax*2 + str.0123456789ABCDEF]
lea edx, [ebp - 0x50]
mov word [ebp - 0x50], ax
movzx eax, word [ecx*2 + str.0123456789ABCDEF]
jmp 0x40b5e1
mov ax, word [eax*2 + str.0123456789ABCDEF]
mov word [ebp - 0x50], ax
mov ax, word [ecx*2 + str.0123456789ABCDEF]
test ecx, ecx
je 0x40b5f7
lea edx, [ebp - 0x4e]
mov word [ebp - 0x4e], ax
xor eax, eax
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x50]
cmp edx, eax
mov ecx, eax
cmovb ecx, edx
jmp 0x40b604
mov word [ebp - 0x4e], ax
lea ecx, [ebp - 0x50]
xor eax, eax
mov word [ebp - 0x4c], ax
lea edx, [ebp - 0xd0]
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x40b610
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
push eax
call fcn.0040cbf0
movzx eax, byte [ebx]
push eax
call fcn.00413620
add esp, 4
test eax, eax
je 0x40b656
movzx eax, byte [ebx]
mov dword [ebp - 0x110], eax
test ax, ax
je 0x40b8bd
jmp 0x40b660
mov dword [ebp - 0x110], 0x2e
mov ebx, dword [ebp - 0xf8]
test ebx, ebx
je 0x40b774
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b673
sub ecx, edx
xor esi, esi
sar ecx, 1
mov dword [ebp - 0xe0], esi
lea edi, [ecx*2 + 2]
cmp dword [ebp - 0xe4], edi
jl 0x40b726
cmp edi, 2
jne 0x40b6cb
mov eax, dword [ebp - 0xe8]
mov cx, word [ebx]
mov word [eax], cx
mov esi, dword [ebp - 0xe0]
add esi, edi
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xf8], 0
jmp 0x40b77a
cmp edi, 4
jne 0x40b6f7
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebx]
mov dword [eax], ecx
mov esi, dword [ebp - 0xe0]
add esi, edi
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xf8], 0
jmp 0x40b77a
cmp edi, 8
jne 0x40b726
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov esi, dword [ebp - 0xe0]
add esi, edi
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xf8], 0
jmp 0x40b77a
test edi, edi
jle 0x40b768
push edi
lea ecx, [ebp - 0xf4]
call fcn.0040bb10
push edi
test ebx, ebx
je 0x40b757
push ebx
push eax
call fcn.00410050
mov esi, dword [ebp - 0xe0]
add esp, 0xc
mov dword [ebp - 0xf8], 0
jmp 0x40b77a
push 0
push eax
call fcn.0040eac0
mov esi, dword [ebp - 0xe0]
add esp, 0xc
mov dword [ebp - 0xf8], 0
jmp 0x40b77a
mov esi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xe8]
cmp esi, 2
jb 0x40b798
movzx eax, word [ecx + esi - 2]
test ax, ax
jne 0x40b798
sub esi, 2
mov dword [ebp - 0xe0], esi
mov eax, dword [ebp - 0x110]
mov word [ebp - 0x128], ax
xor eax, eax
mov word [ebp - 0x126], ax
mov eax, dword [ebp - 0xe4]
sub eax, esi
cmp eax, 4
jl 0x40b7d0
mov eax, dword [ebp - 0x128]
mov dword [ecx + esi], eax
add dword [ebp - 0xe0], 4
jmp 0x40b8b7
lea ebx, [esi + 4]
cmp ebx, esi
je 0x40b8ae
test ebx, ebx
jne 0x40b82d
test ecx, ecx
je 0x40b808
mov eax, dword [ebp - 0xf4]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.rg_n::rg_n2300.virtual_12
jne 0x40b800
mov ecx, 0x42cae8
call fcn.0040c490
jmp 0x40b808
lea ecx, [ebp - 0xf4]
call eax
mov dword [ebp - 0xe8], 0
xor ecx, ecx
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xe4], 0
jmp 0x40b8ae
test ecx, ecx
jne 0x40b841
push ebx
lea ecx, [ebp - 0xf4]
call fcn.0040bab0
mov ecx, eax
jmp 0x40b8ae
mov edi, dword [ebp - 0xdc]
mov eax, 0x40
test edi, edi
cmovle edi, eax
mov eax, dword [ebp - 0xe4]
cmp eax, ebx
jl 0x40b861
sub eax, ebx
cmp eax, edi
jle 0x40b8a8
mov eax, ebx
cdq
idiv edi
mov eax, dword [ebp - 0xf4]
sub edi, edx
add edi, ebx
push edi
mov eax, dword [eax + 8]
push ecx
cmp eax, method.rg_n::rg_n2300.virtual_8
jne 0x40b892
mov ecx, 0x42cae8
call fcn.0040c400
mov ecx, eax
test ecx, ecx
je 0x40baa5
jmp 0x40b89c
lea ecx, [ebp - 0xf4]
call eax
mov ecx, eax
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xe0], ebx
mov eax, dword [ebp - 0x128]
mov dword [ecx + esi], eax
mov ebx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x114]
inc ebx
inc dword [ebp - 0x10c]
inc ecx
mov edi, dword [ebp - 0x118]
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0xd8], ebx
cmp ebx, dword [ebp - 0x108]
jb 0x40b530
mov eax, 0x10
sub eax, ecx
lea ebx, [eax + eax*2]
test ebx, ebx
jle 0x40b950
mov esi, dword [ebp - 0xd4]
mov ecx, esi
call fcn.0040c7d0
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x40b921
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x40b921
add eax, 0xfffffffe
mov dword [edx + 0x14], eax
mov esi, dword [esi + 0x24]
add ebx, ebx
mov ecx, edi
lea eax, [esi + 2]
add eax, ebx
push eax
call fcn.0040bb10
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 [ebx + edx], ax
mov ecx, dword [ebp - 0xd4]
call fcn.0040c7d0
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x40b978
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x40b978
add eax, 0xfffffffe
mov dword [edx + 0x14], eax
mov edi, dword [ebp - 0x118]
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x14]
sub eax, esi
cmp eax, 8
jl 0x40b9a3
mov eax, dword [edi + 0xc]
mov dword [esi + eax], 0x7c0020
mov dword [esi + eax + 4], 0x20
add dword [edi + 0x14], 8
jmp 0x40b9bd
lea eax, [esi + 8]
mov ecx, edi
push eax
call fcn.0040bb10
mov dword [eax + esi], 0x7c0020
mov dword [eax + esi + 4], 0x20
mov eax, dword [ebp - 0xf8]
test eax, eax
jne 0x40b9da
cmp dword [ebp - 0xe0], 0
mov eax, 0x426510
cmovne eax, dword [ebp - 0xe8]
mov esi, dword [ebp - 0xd4]
mov ecx, esi
push eax
call fcn.0040cbf0
mov dword [ebp - 4], 4
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0xf4], vtable.CVolMem.0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x40ba38
mov eax, dword [ebp - 0xf4]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.rg_n::rg_n2300.virtual_12
jne 0x40ba30
mov ecx, 0x42cae8
call fcn.0040c490
jmp 0x40ba38
lea ecx, [ebp - 0xf4]
call eax
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xe4], 0
mov byte [ebp - 4], 4
mov dword [ebp - 0xf4], vtable.CVolObject.0
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0xd8]
mov dword [ebp - method.rg_n::rg_n2300.virtual_0], vtable.CVolObject.0
cmp ebx, dword [ebp - 0x108]
jb 0x40b388
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.0040d18e
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffffff
call fcn.00410943
int3