Function at 0x402e10
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x44f568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, dword [0x46bb84]
push edi
xor edi, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
cmp dword [esi + 0x14], edi
mov dword [esp + 0x10], edi
jg 0x402e74
jl 0x402e4c
cmp dword [esi + 0x10], edi
ja 0x402e74
push str.Vcb__TotalClusters___0
push 0x361
push str.E:_srcundelete_ntfs.cpp
call fcn.004025a0
add esp, 0xc
cmp eax, 1
jne 0x402e6e
push eax
call fcn.0041c4fb
mov esi, dword [0x46bb84]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
push edi
add eax, 0x3f
push 0x40
adc ecx, edi
push ecx
push eax
call fcn.0041c8a0
mov ebx, dword [esp + 0x60]
mov ebp, eax
shl ebp, 3
mov dword [0x46bd74], ebp
cmp dword [ebx], edi
mov dword [esp + 0x14], ebp
jne 0x402ece
push 4
push 0x1000
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, ebp
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [ebx], edi
mov eax, 0xabababab
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov esi, dword [0x46bb84]
mov al, byte [0x4634ec]
test al, al
jne 0x402eee
mov al, byte [0x4634ed]
test al, al
jne 0x402eee
mov al, byte [esi + 0x140]
test al, al
je 0x402f73
cmp dword [0x46b14c], 4
jb 0x402f65
mov al, byte [esi + 0x141]
test al, al
jne 0x402f65
cmp dword [0x46b158], 2
jne 0x402f65
lea edi, [ebp + 0x10]
push edi
call fcn.004353c7
mov edx, dword [esp + 0x60]
add esp, 4
push edi
mov esi, eax
push esi
push 8
lea eax, [esp + 0x30]
push eax
push 0x9006f
lea ecx, [esp + 0x40]
push ecx
push 0
push 0
push 0
push edx
mov dword [esp + 0x38], esi
call fcn.00402360
test eax, eax
je 0x402f4a
call fcn.004028e0
jmp 0x402f5f
mov edi, dword [ebx]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
add esi, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [0x46bb84]
mov al, byte [esi + 0x140]
test al, al
jne 0x40310c
xor edi, edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov esi, dword [esp + 0x5c]
push edi
push 6
push esi
mov dword [esp + 0x60], edi
call fcn.004046e0
push edi
push edi
push 0x80
push eax
push esi
mov dword [0x46bba0], eax
call fcn.00404100
xor esi, esi
mov ebp, eax
push esi
push ebp
call fcn.00403d50
push ebp
mov dword [esp + 0x48], eax
mov dword [0x46bb80], esi
call fcn.00403700
mov dword [esp + 0x44], eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov cl, byte [eax]
add esp, 0x2c
test cl, cl
je 0x403064
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebp
call fcn.00403480
add esp, 0xc
test al, al
je 0x403064
mov ebx, dword [0x46bb80]
lea eax, [ebx + ebx*2]
lea edi, [eax*8 + 0x46b220]
mov eax, dword [esp + 0x48]
test eax, eax
mov ecx, 6
lea esi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
jne 0x403046
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
cdq
inc ebx
add esi, eax
adc ecx, edx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x18]
mov dword [0x46bb80], ebx
mov dword [esp + 0x34], esi
cmp byte [ecx], 0
jne 0x402fe1
jmp 0x40306a
push 0x10000
push str.Fatal_Error
push str.Volume_Bitmap_not_understood__has_skipped_clusters
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0041c4fb
mov ebx, dword [0x46bb80]
cmp dword [esp + 0x1c], ebx
je 0x40308e
push 0x10000
push str.Fatal_Error
push str.Volume_Bitmap_is_strange_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0041c4fb
xor ecx, ecx
cmp ebp, ecx
jne 0x40309c
xor eax, eax
mov dword [esp + 0x20], ecx
jmp 0x4030b6
mov al, byte [ebp + 8]
test al, al
jne 0x4030ac
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], ecx
jmp 0x4030b6
mov edx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x20], edx
cmp dword [0x46bd74], eax
je 0x4030d0
push ecx
push str.Info
push str.I_calced_the_VolumeBitmapBytes_wrong
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x60]
mov edi, dword [edx]
mov esi, ecx
shr ecx, 2
mov eax, 0xabababab
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [edx]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
call fcn.00402cc0
mov esi, dword [0x46bb84]
mov ebx, dword [esp + 0x68]
add esp, 8
jmp 0x40331c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x403134
cmp dword [0x46b14c], 4
jb 0x403134
mov al, byte [esi + 0x141]
test al, al
jne 0x403134
cmp dword [0x46b158], 2
je 0x403320
mov esi, dword [esi + 0x68]
mov ax, word [esi + 0xe]
test ax, ax
jne 0x40314d
mov eax, dword [esi + 0x1c]
xor edx, edx
mov dx, word [esi]
imul eax, edx
jmp 0x40315a
xor ecx, ecx
mov cx, word [esi]
and eax, 0xffff
imul eax, ecx
push 4
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, dword [0x46bb84]
mov ecx, dword [edi + 0x68]
mov esi, eax
xor eax, eax
mov ax, word [ecx + 0xe]
test ax, ax
mov dword [esp + 0x5c], esi
jne 0x403189
mov eax, dword [ecx + 0x1c]
jmp 0x40318e
and eax, 0xffff
push eax
xor eax, eax
mov ax, word [ecx + 4]
push esi
cdq
push edx
mov edx, dword [edi + 0x60]
push eax
push edx
call fcn.00405950
mov eax, dword [0x46bb84]
mov ecx, dword [eax + 0x78]
add esp, 0x14
cmp ecx, 1
ja 0x4031d4
push str._Vcb___AllocationSupport.NumberOfClusters___1
push 0x415
push str.E:_srcundelete_ntfs.cpp
call fcn.004025a0
add esp, 0xc
cmp eax, 1
jne 0x4031d4
push eax
call fcn.0041c4fb
mov ecx, dword [0x46bb84]
push esi
push 2
push ecx
call fcn.00406340
mov edi, eax
mov eax, dword [0x46bb84]
mov ecx, dword [eax + 0x78]
add esp, 0xc
neg edi
sbb edi, edi
neg edi
xor esi, esi
xor ebp, ebp
test ecx, ecx
jbe 0x4032a9
mov edx, dword [esp + 0x5c]
push edx
lea ecx, [ebp + 2]
push ecx
push eax
call fcn.00406340
add esp, 0xc
test edi, edi
mov dword [esp + 0x60], eax
jne 0x40325d
test eax, eax
je 0x403298
mov ecx, ebp
sub ecx, esi
lea edi, [ecx + esi]
cmp esi, edi
mov edx, esi
jae 0x403254
mov ecx, dword [ebx]
mov eax, edx
shr eax, 5
lea esi, [ecx + eax*4]
mov ecx, edx
and ecx, 0x1f
mov eax, 1
shl eax, cl
mov ecx, dword [esi]
not eax
and ecx, eax
inc edx
cmp edx, edi
mov dword [esi], ecx
jb 0x40322d
mov eax, dword [esp + 0x60]
mov edi, 1
mov esi, ebp
jmp 0x403262
cmp edi, 1
jne 0x403298
test eax, eax
jne 0x403298
mov ecx, ebp
sub ecx, esi
lea edi, [ecx + esi]
cmp esi, edi
mov eax, esi
jae 0x403294
mov edx, dword [ebx]
mov ecx, eax
shr ecx, 5
lea edx, [edx + ecx*4]
mov ecx, eax
and ecx, 0x1f
mov esi, 1
shl esi, cl
mov ecx, dword [edx]
or ecx, esi
inc eax
cmp eax, edi
mov dword [edx], ecx
jb 0x403273
xor edi, edi
mov esi, ebp
mov eax, dword [0x46bb84]
mov ecx, dword [eax + 0x78]
inc ebp
cmp ebp, ecx
jb 0x403202
sub ebp, esi
test edi, edi
mov eax, esi
lea edi, [esi + ebp]
jne 0x4032de
cmp esi, edi
jae 0x403304
mov edx, dword [ebx]
mov ecx, eax
shr ecx, 5
mov ebp, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
mov ecx, eax
and ecx, 0x1f
mov esi, 1
shl esi, cl
not esi
and ebp, esi
inc eax
cmp eax, edi
mov dword [edx], ebp
jb 0x4032b8
jmp 0x403304
cmp esi, edi
jae 0x403304
mov edx, dword [ebx]
mov ecx, eax
shr ecx, 5
mov ebp, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
mov ecx, eax
and ecx, 0x1f
mov esi, 1
shl esi, cl
or ebp, esi
inc eax
cmp eax, edi
mov dword [edx], ebp
jb 0x4032e2
mov eax, dword [esp + 0x5c]
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov esi, dword [0x46bb84]
mov ebp, dword [esp + 0x14]
mov al, byte [0x4634ec]
test al, al
jne 0x403332
mov al, byte [0x4634ed]
test al, al
je 0x40336b
cmp dword [0x46b14c], 4
jb 0x40336b
mov al, byte [esi + 0x141]
test al, al
jne 0x40336b
cmp dword [0x46b158], 2
jne 0x40336b
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40337c
mov edi, dword [ebx]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
lea esi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40337c
push eax
call fcn.004353f0
add esp, 4
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret