Function at 0x40dc50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
push esi
mov esi, dword [esp + 0x94]
test byte [esi + 0x16], 1
jne 0x40dc8a
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [edx + 0x22c]
push ecx
push str.Inode__I64u_is_not_in_use.
push 0
push 6
call eax
add esp, 0x14
xor eax, eax
pop esi
add esp, 0x60
ret
movzx eax, word [esi + 0x24]
push ebx
push edi
push 1
cdq
xor ebx, ebx
push ebx
push edx
push eax
call fcn.00412be0
mov ecx, dword [esi + 0x20]
xor edi, edi
add eax, ecx
adc edx, edi
mov ecx, eax
or ecx, edx
je 0x40dcdf
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
push edx
mov edx, dword [ecx + 0x22c]
push eax
push str.Ignoring_Inode__I64u__its_an_extension_of_Inode__I64u
push ebx
push 6
call edx
add esp, 0x1c
pop edi
lea eax, [ebx + 1]
pop ebx
pop esi
add esp, 0x60
ret
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x70]
mov ecx, dword [edi + 0x22c]
push ebp
mov ebp, dword [esp + 0x80]
push eax
push ebp
push str.Processing_Inode__I64u...
push ebx
push 6
call ecx
movzx eax, word [esi + 0x16]
add esp, 0x14
test al, 0xfc
je 0x40dd2f
mov ecx, dword [edi + 0x22c]
movzx edx, ax
mov eax, dword [esp + 0x84]
push edx
push eax
push ebp
push str.__Inode__I64u_has_Flags___u
push ebx
push 6
call ecx
add esp, 0x18
mov eax, dword [esi + 0x2c]
cmp eax, ebp
jne 0x40dd3f
cmp ebx, dword [esp + 0x84]
je 0x40dd5c
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [edi + 0x22c]
push edx
push ebp
push str.__Warning:_Inode__I64u_contains_a_different_MFTRecordNumber__lu
push ebx
push 6
call eax
add esp, 0x18
movzx eax, word [esi + 0x14]
mov ebp, dword [esp + 0xa8]
cdq
cmp edx, ebp
jb 0x40dd8e
ja 0x40dd77
cmp eax, dword [esp + 0xa4]
jb 0x40dd8e
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
push ecx
push edx
push str.Error:_attributes_in_Inode__I64u_are_outside_the_FILE_record__the_MFT_may_be_corrupt.
jmp 0x40ddb5
mov eax, dword [esi + 0x18]
cmp ebx, ebp
jb 0x40ddcd
ja 0x40dda0
cmp eax, dword [esp + 0xa4]
jbe 0x40ddcd
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
push ecx
push edx
push str.Error:_in_Inode__I64u_the_record_is_bigger_than_the_size_of_the_buffer__the_MFT_may_be_corrupt.
mov eax, dword [edi + 0x22c]
push ebx
push 2
call eax
add esp, 0x14
pop ebp
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x60
ret
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
xor eax, eax
test byte [esi + 0x16], 2
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 5
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
je 0x40de04
mov eax, 1
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x54], edx
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
cmp eax, 1
jne 0x40de80
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xa0
push 0x42602c
lea edx, [esp + 0x30]
push edx
push edi
call fcn.0040c9f0
add esp, 0x28
movzx ecx, word [esi + 0x14]
push ebx
mov ebx, dword [esp + 0xa8]
mov eax, ecx
cdq
push 0xffff
sub ebx, eax
sbb ebp, edx
push ebp
push ebx
add ecx, esi
push ecx
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0x24]
push eax
push ecx
push edi
call fcn.0040d770
mov edx, dword [esp + 0xa0]
add esp, 0x20
or edx, dword [esp + 0x84]
jne 0x40df05
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x58]
mov dword [ecx], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x5c]
mov dword [eax], edx
mov edx, dword [esp + 0x98]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
mov dword [edx], eax
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x6c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x50]
xor ebp, ebp
jmp 0x40df10
push 0x70
call fcn.00412a5f
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x40e17e
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push ebx
push eax
push ecx
call fcn.0040cf20
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebp
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ebx
push edx
push eax
call fcn.0040cf20
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebp
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x20], ecx
mov edx, dword [esp + 0x4c]
add esp, 0x18
mov dword [esi + 0x24], edx
cmp ebx, ebp
je 0x40df71
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x20], eax
mov ecx, dword [ebx + 0x1c]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
cmp ebx, ebp
je 0x40df87
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x28], edx
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x30], ecx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x34], edx
mov eax, dword [esp + 0x40]
mov dword [esi + 0x38], eax
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x3c], ecx
mov edx, dword [esp + 0x48]
mov dword [esi + 0x40], edx
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], ebp
cmp ebx, ebp
je 0x40dfbe
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x48], ecx
mov edx, dword [esp + 0x18]
mov dword [esi + 0x50], edx
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x54], eax
mov ecx, dword [esp + 0x20]
mov eax, 1
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], ebp
mov dword [esi + 0x64], ebp
mov dword [esi + 0x68], ebp
cmp ecx, eax
jne 0x40dff1
add dword [edi + 0x1b0], eax
adc dword [edi + 0x1b4], ebp
add dword [edi + 0x1b8], eax
adc dword [edi + 0x1bc], ebp
cmp ebx, ebp
je 0x40e030
cmp dword [ebx + 8], 0x80
jne 0x40e01e
mov edx, dword [esp + 0x30]
add dword [edi + 0x1c8], edx
mov eax, dword [esp + 0x34]
adc dword [edi + 0x1cc], eax
mov ecx, dword [ebx + 0x10]
add dword [edi + 0x1d8], ecx
mov edx, dword [ebx + 0x14]
adc dword [edi + 0x1dc], edx
push esi
call sym.JkDefrag.exe_FragmentCount
add esp, 4
cmp eax, 1
jle 0x40e075
add dword [edi + 0x1c0], 1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
adc dword [edi + 0x1c4], ebp
add dword [edi + 0x1d0], eax
adc dword [edi + 0x1d4], ecx
cmp ebx, ebp
je 0x40e075
mov edx, dword [ebx + 0x10]
add dword [edi + 0x1e0], edx
mov eax, dword [ebx + 0x14]
adc dword [edi + 0x1e4], eax
push esi
push edi
call sym.JkDefrag.exe_TreeInsert
mov ecx, dword [esp + 0x84]
add esp, 8
cmp ecx, ebp
je 0x40e105
mov edx, dword [esp + 0x8c]
cmp dword [esp + 0x84], edx
ja 0x40e105
jb 0x40e0ac
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x88]
jae 0x40e105
mov edx, dword [esp + 0x80]
mov eax, dword [ecx + edx*4]
cmp eax, ebp
je 0x40e0fb
mov eax, dword [eax + 0xc]
cmp eax, ebp
je 0x40e105
mov ecx, dword [esi + 0xc]
cmp ecx, ebp
je 0x40e105
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40e0ee
cmp dx, bp
je 0x40e0ea
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40e0ee
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x40e0c8
xor eax, eax
jmp 0x40e0f3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jle 0x40e105
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov dword [ecx + eax*4], esi
mov ecx, dword [edi + 0x228]
push esi
push edi
call ecx
mov edx, dword [edi + 0xc]
add esp, 8
cmp dword [edx], ebp
jne 0x40e12a
push ebp
push ebp
push ebp
push ebp
push ebp
push esi
push edi
call sym.JkDefrag.exe_ColorizeItem
add esp, 0x1c
jmp 0x40e133
push edi
call sym.JkDefrag.exe_ShowDiskmap
add esp, 4
cmp ebx, ebp
je 0x40e141
mov ebx, dword [ebx]
cmp ebx, ebp
jne 0x40df10
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x40e152
push eax
call fcn.00412c14
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x40e163
push eax
call fcn.00412c14
add esp, 4
lea edx, [esp + 0x10]
push ebp
push edx
call fcn.0040ceb0
add esp, 8
pop ebp
pop edi
pop ebx
mov eax, 1
pop esi
add esp, 0x60
ret
mov eax, dword [edi + 0x22c]
push str.Error:_malloc___returned_NULL.
push ebp
push 2
call eax
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp eax, ebp
je 0x40e1a2
push eax
call fcn.00412c14
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x40e1b3
push eax
call fcn.00412c14
add esp, 4
lea ecx, [esp + 0x10]
push 1
push ecx
call fcn.0040ceb0
add esp, 8
pop ebp
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x60
ret