Function at 0x40e3b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413562
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x41a008]
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 0x40e401
xor ebx, ebx
jmp 0x40e404
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0xd8], ebx
test edx, edx
jns 0x40e428
push ecx
lea edi, [ecx + ebx]
push 0x414f60
push esi
mov dword [ebp - 0xdc], edi
call fcn.0040fe30
add esp, 0xc
jmp 0x40e460
cmp ecx, edx
cmovl edx, ecx
lea edi, [edx + ebx]
mov dword [ebp - 0xdc], edi
cmp ecx, edx
jne 0x40e44b
push ecx
push 0x414f60
push esi
call fcn.0040fe30
add esp, 0xc
jmp 0x40e460
mov eax, ecx
sub eax, edx
push eax
push edx
push ecx
push 0x414f88
push esi
call fcn.0040fe30
add esp, 0x14
mov dword [ebp - 0x110], 0
cmp ebx, edi
jae 0x40ea76
lea edi, [esi + 0x10]
mov dword [ebp - 0x114], edi
nop dword [eax + eax]
mov ecx, esi
call fcn.0040f8b0
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x40e4a4
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x40e4a4
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 0x40e4c9
mov eax, dword [edi + 0xc]
mov dword [esi + eax], 0xa000d
mov dword [esi + eax + 4], 0x5b
add dword [edi + 0x14], 8
jmp 0x40e4e3
lea eax, [esi + 8]
mov ecx, edi
push eax
call fcn.0040eb00
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.0040f040
mov ecx, dword [ebp - 0xd4]
add esp, 8
push eax
call fcn.0040fcd0
mov ecx, dword [ebp - 0xd4]
call fcn.0040f8b0
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x40e52d
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x40e52d
add eax, 0xfffffffe
mov dword [edx + 0x14], eax
mov esi, dword [edi + 0x14]
mov ecx, edi
lea eax, [esi + 6]
push eax
call fcn.0040eb00
mov ecx, dword [0x414fd4]
mov dword [eax + esi], ecx
mov cx, word [0x414fd8]
mov word [eax + esi + 4], cx
mov dword [ebp - method.CVolMem.virtual_0], 0x4144b4
mov dword [ebp - method.CVolMem.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], 0x4144b4
mov dword [ebp - method.CVolMem.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 0x40e8cc
cmp ecx, 0x10
jge 0x40e8cc
mov ecx, dword [ebp - 0xd4]
call fcn.0040f8b0
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x40e657
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x40e657
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 0x40e680
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0x11c]
mov dword [esi + ecx], eax
add dword [edi + 0x14], 4
jmp 0x40e694
lea eax, [esi + 4]
mov ecx, edi
push eax
call fcn.0040eb00
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 0x40e6bc
movzx eax, word [eax*2 + str.0123456789ABCDEF_]
lea edx, [ebp - 0x50]
mov word [ebp - 0x50], ax
movzx eax, word [ecx*2 + str.0123456789ABCDEF_]
jmp 0x40e6d7
mov ax, word [eax*2 + str.0123456789ABCDEF_]
mov word [ebp - 0x50], ax
mov ax, word [ecx*2 + str.0123456789ABCDEF_]
test ecx, ecx
je 0x40e6ed
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 0x40e6fa
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 0x40e702
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
push eax
call fcn.0040fcd0
movzx eax, byte [ebx]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isprint]
add esp, 4
test eax, eax
je 0x40e745
movzx eax, byte [ebx]
mov esi, eax
test ax, ax
je 0x40e8a6
jmp 0x40e74a
mov esi, 0x2e
lea ecx, [ebp - 0x10c]
movzx ebx, si
call fcn.0040f8b0
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x40e777
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x40e777
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 0x40e7b7
mov eax, dword [ebp - 0x124]
mov dword [ecx + ebx], eax
add dword [ebp - 0xe8], 4
jmp 0x40e8a0
lea edi, [ebx + 4]
cmp edi, ebx
je 0x40e891
test edi, edi
jne 0x40e814
test ecx, ecx
je 0x40e7ef
mov eax, dword [ebp - 0xfc]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolMem.virtual_12
jne 0x40e7e7
mov ecx, 0x41a998
call fcn.0040f570
jmp 0x40e7ef
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 0x40e891
test ecx, ecx
jne 0x40e828
push edi
lea ecx, [ebp - 0xfc]
call fcn.0040eaa0
mov ecx, eax
jmp 0x40e891
mov esi, dword [ebp - 0xe4]
mov eax, 0x40
test esi, esi
cmovle esi, eax
cmp edx, edi
jl 0x40e842
sub edx, edi
cmp edx, esi
jle 0x40e88b
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.CVolMem.virtual_8
jne 0x40e875
mov ecx, 0x41a998
call fcn.0040f4e0
mov ecx, eax
test ecx, ecx
jne 0x40e87f
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
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 0x40e626
mov eax, 0x10
sub eax, ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xe0], eax
test eax, eax
jle 0x40e945
mov ebx, dword [ebp - 0xd4]
mov ecx, ebx
call fcn.0040f8b0
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x40e90a
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x40e90a
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.0040eb00
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.0040f8b0
mov edx, eax
mov eax, dword [edx + 0x14]
cmp eax, 2
jb 0x40e96d
mov ecx, dword [edx + 0xc]
movzx ecx, word [ecx + eax - 2]
test cx, cx
jne 0x40e96d
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 0x40e998
mov eax, dword [edi + 0xc]
mov dword [esi + eax], 0x7c0020
mov dword [esi + eax + 4], 0x20
add dword [edi + 0x14], 8
jmp 0x40e9b2
lea eax, [esi + 8]
mov ecx, edi
push eax
call fcn.0040eb00
mov dword [eax + esi], 0x7c0020
mov dword [eax + esi + 4], 0x20
mov eax, dword [ebp - 0x100]
test eax, eax
jne 0x40e9cf
cmp dword [ebp - 0xe8], 0
mov eax, 0x414680
cmovne eax, dword [ebp - 0xf0]
mov esi, dword [ebp - 0xd4]
mov ecx, esi
push eax
call fcn.0040fcd0
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 0x40ea2d
mov eax, dword [ebp - 0xfc]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolMem.virtual_12
jne 0x40ea25
mov ecx, 0x41a998
call fcn.0040f570
jmp 0x40ea2d
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.CVolMem.virtual_0], vtable.CVolObject.0
cmp ebx, dword [ebp - 0xdc]
jb 0x40e480
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.0041052e
mov esp, ebp
pop ebp
ret 8