Function at 0x100503c0
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100630dd
mov eax, dword fs:[0]
push eax
mov eax, 0xca54
call sub.ntdll.dll__chkstk
mov eax, dword [0x100dd9d4]
xor eax, esp
mov dword [esp + 0xca50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100dd9d4]
xor eax, esp
push eax
lea eax, [esp + 0xca68]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xca78]
mov ebx, dword [esp + 0xca7c]
xor edi, edi
push 0x7fe
lea eax, [esp + 0x426a]
push edi
push eax
mov esi, ecx
mov dword [esp + 0x98], ebp
mov word [esp + 0x4270], di
call sub.ntdll.dll_memset
lea ecx, [esp + 0x4270]
push str.The_partition_has_too_much_file_fragment__please_defragment_at_first_or_reserve_free_space_of_2GB_or_more_for_the_partition__and_retry_
push ecx
call dword [sym.imp.MSVCR80.dll__swprintf]
add esp, 0x14
mov dword [esp + 0x84], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov edx, dword [esi + 0x4198]
push edx
push edi
mov ecx, ebx
mov dword [esp + 0xca78], edi
call fcn.100568d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, ebp
mov dword [esp + 0x98], eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
call fcn.1002eb20
test eax, eax
jbe 0x10051266
cmp dword [esi + 0x34], edi
je 0x100505a5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x98]
cmp eax, 0x3e8
jb 0x100505a5
mov ecx, dword [esp + 0x8c]
call fcn.1002eb20
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
add edi, 1
adc ebx, 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xec], edi
mov dword [esp + 0xf0], ebx
fild qword [esp + 0xec]
mov dword [esp + 0xb0], 0
fild qword [esp + 0xac]
fdivp st(1)
fmul qword [0x10064600]
call fcn.100594f0
push 0xc6
mov ebp, eax
lea eax, [esp + 0x41a2]
push 0
push eax
mov word [esp + 0x41a8], 0
call sub.ntdll.dll_memset
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
push ebp
push ecx
push edx
push ebx
push edi
mov edi, dword [sym.imp.MSVCR80.dll__swprintf]
lea eax, [esp + 0x41bc]
push str.Analyzing_partition:__I64d__I64d___d__.
push eax
call edi
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
add esp, 0x28
lea eax, [esp + 0x419c]
push eax
call edx
push ebp
lea eax, [esp + 0x41a0]
push str.Status:_d
push eax
call edi
add esp, 0xc
push ebp
mov ecx, esi
call fcn.1004b0b0
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x419c]
push eax
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x98], eax
xor edi, edi
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
mov edx, dword [eax + 0x74]
call edx
test eax, eax
jne 0x100512f1
mov ebx, dword [esp + 0x8c]
mov ecx, dword [ebx + 4]
cmp ecx, edi
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x90], edi
je 0x100505dc
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 3
cmp ebp, eax
jb 0x100505e2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 4]
mov ebx, dword [eax + ebp*8]
cmp ebx, 6
mov ebp, dword [eax + ebp*8 + 4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
jne 0x10050601
cmp ebp, edi
je 0x10051235
cmp ebx, 1
jne 0x10050616
cmp ebp, edi
je 0x10051235
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
push edi
push edi
push edi
push edi
push edi
lea ecx, [esp + 0x158]
call fcn.1002edf0
push edi
lea eax, [esp + 0x148]
push eax
push ebp
push ebx
lea ecx, [esi + 0xb8]
mov byte [esp + 0xca80], 1
call fcn.100329c0
test eax, eax
je 0x10051359
push 0x3fff
lea ecx, [esp + 0x4a69]
push edi
push ecx
mov byte [esp + 0x4a70], 0
call sub.ntdll.dll_memset
push 0x3fff
lea edx, [esp + 0x8a75]
push edi
push edx
mov byte [esp + 0x8a7c], 0
call sub.ntdll.dll_memset
mov eax, dword [esi + 0x41a4]
add esp, 0x18
push eax
lea ecx, [esp + 0x148]
call fcn.1002ea60
push eax
lea ecx, [esp + 0x4a6c]
push ecx
call sub.ntdll.dll_memcpy
mov edx, dword [esi + 0x41a4]
push edx
lea eax, [esp + 0x4a74]
push eax
lea ecx, [esp + 0x8a78]
push ecx
call sub.ntdll.dll_memcpy
movzx ebp, word [esp + 0x4a90]
push ebp
lea edx, [esp + 0x4a80]
push edx
lea eax, [esp + 0x8a84]
push eax
mov dword [esp + 0xa4], ebp
call sub.ntdll.dll_memcpy
add esp, 0x24
mov dword [esp + 0x8a7c], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x144]
mov byte [esp + 0xca70], 2
mov dword [esp + 0x94], edi
call fcn.1002ea30
lea ecx, [esp + 0x144]
call fcn.1002fa70
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x48], ebx
je 0x10050f51
cmp byte [ebx + 8], 0
jne 0x10050778
mov ecx, dword [ebx + 4]
push ecx
lea eax, [esp + ebp + 0x8a68]
push ebx
push eax
call sub.ntdll.dll_memcpy
mov ebx, dword [ebx + 4]
add dword [esp + 0x8a88], ebx
add ebp, ebx
add esp, 0xc
lea ecx, [esp + 0x144]
mov dword [esp + 0x80], ebp
call fcn.1002f6d0
mov ebx, eax
mov dword [esp + 0x48], ebx
jmp 0x10050f40
lea ecx, [esp + 0xb4]
call fcn.100306a0
push ebx
lea ecx, [esp + 0xb8]
mov byte [esp + 0xca74], 3
call fcn.10030760
test eax, eax
je 0x100513c5
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
lea ecx, [esp + 0xb4]
mov byte [esp + 0xca70], 4
call fcn.10030d80
cmp eax, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], edi
jbe 0x10050ddd
mov edx, dword [esp + 0x4c]
push edx
lea ecx, [esp + 0xb8]
call fcn.100305b0
mov edi, eax
mov ebx, dword [edi]
mov ebp, dword [edi + 4]
mov eax, ebx
and eax, ebp
cmp eax, 0xffffffff
jne 0x10050822
mov ecx, dword [edi + 0x10]
or eax, eax
lea edx, [esp + 0xfc]
mov dword [esp + 0x104], ecx
push edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
call fcn.1003bda0
jmp 0x10050dbd
push edi
mov ecx, esi
call fcn.1004b400
test eax, eax
jne 0x10050879
cmp dword [esp + 0x28], 7
jne 0x1005083b
cmp dword [esp + 0x2c], eax
je 0x10050879
mov eax, dword [esi + 0x4190]
mov ecx, dword [esi + 0x4194]
mov edx, dword [edi + 0x10]
add eax, ebx
adc ecx, ebp
mov dword [esp + 0x134], eax
lea eax, [esp + 0x134]
mov dword [esp + 0x138], ecx
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x140], edx
call fcn.1003bda0
jmp 0x10050dbd
xor eax, eax
cmp dword [esp + 0x28], 7
mov dword [esp + 0x90], 1
mov dword [esp + 0x88], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
jne 0x100508c5
cmp dword [esp + 0x2c], eax
jne 0x100508c5
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
jmp 0x10050b36
cmp dword [esi + 0x4184], ebp
jg 0x100509a1
jl 0x100508db
cmp dword [esi + 0x4180], ebx
ja 0x1005091c
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov ecx, edx
add ecx, ebx
mov dword [esp + 0xf8], eax
adc eax, ebp
cmp eax, dword [esi + 0x418c]
jg 0x1005091c
jl 0x10050900
cmp ecx, dword [esi + 0x4188]
ja 0x1005091c
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebp
jmp 0x10050b36
cmp dword [esi + 0x4184], ebp
jg 0x100509a1
jl 0x10050932
cmp dword [esi + 0x4180], ebx
ja 0x100509a1
mov eax, dword [esi + 0x418c]
cmp ebp, eax
mov ecx, dword [esi + 0x4188]
jg 0x100509a1
jl 0x10050948
cmp ebx, ecx
jae 0x100509a1
mov ecx, ebx
add ecx, dword [edi + 0x10]
mov edx, ebp
adc edx, dword [edi + 0x14]
cmp edx, eax
jl 0x100509a1
jg 0x10050960
cmp ecx, dword [esi + 0x4188]
jbe 0x100509a1
mov ecx, dword [esi + 0x4188]
sub ecx, ebx
mov edx, eax
sbb edx, ebp
mov dword [esp + 0x34], edx
mov edx, dword [esi + 0x4188]
mov dword [esp + 0x9c], edx
mov edx, dword [edi + 0x10]
sub edx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
jmp 0x10050b2b
mov edx, dword [esi + 0x4184]
cmp ebp, edx
jg 0x10050b36
jl 0x100509bd
cmp ebx, dword [esi + 0x4180]
jae 0x10050a57
mov ecx, ebx
add ecx, dword [edi + 0x10]
mov eax, ebp
adc eax, dword [edi + 0x14]
cmp edx, eax
jg 0x10050a57
jl 0x100509dd
cmp dword [esi + 0x4180], ecx
jae 0x10050a57
cmp eax, dword [esi + 0x418c]
jg 0x10050a57
jl 0x100509ef
cmp ecx, dword [esi + 0x4188]
ja 0x10050a57
mov eax, ebx
sub eax, dword [esi + 0x4180]
mov ecx, ebp
sbb ecx, edx
add eax, dword [edi + 0x10]
mov dword [esp + 0x6c], edx
adc ecx, dword [edi + 0x14]
mov edx, dword [esi + 0x4194]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x4180]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 0x4190]
add ecx, ebx
mov dword [esp + 0x124], ecx
mov ecx, dword [edi + 0x10]
adc edx, ebp
sub ecx, eax
mov dword [esp + 0x128], edx
lea edx, [esp + 0x124]
mov dword [esp + 0x12c], ecx
push edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x34], eax
call fcn.1003bda0
jmp 0x10050b36
cmp ebp, edx
jg 0x10050b36
jl 0x10050a6d
cmp ebx, dword [esi + 0x4180]
jae 0x10050b36
mov eax, dword [esi + 0x418c]
mov ecx, dword [esi + 0x4188]
mov edx, ebx
add edx, dword [edi + 0x10]
mov dword [esp + 0x10c], edx
mov edx, ebp
adc edx, dword [edi + 0x14]
cmp edx, eax
jl 0x10050b36
jg 0x10050aa1
cmp dword [esp + 0x10c], ecx
jbe 0x10050b36
sub ecx, dword [esi + 0x4180]
mov edx, dword [esi + 0x4184]
sbb eax, edx
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x4180]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x4190]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x4194]
add eax, ebx
mov dword [esp + 0x6c], edx
mov edx, dword [esi + 0x4180]
adc ecx, ebp
mov dword [esp + 0x114], eax
lea eax, [esp + 0x114]
mov dword [esp + 0x118], ecx
sub edx, ebx
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x120], edx
call fcn.1003bda0
mov ecx, dword [esi + 0x4188]
mov eax, dword [edi + 0x10]
mov edx, dword [esi + 0x418c]
sub eax, ecx
add eax, dword [edi]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0x88], 1
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
cmp dword [esp + 0x84], eax
mov byte [esp + 0xca70], 5
jne 0x10050c39
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x74]
push ecx
push edx
push eax
lea ecx, [esi + 0x40]
call fcn.10057690
test eax, eax
jne 0x10050c8d
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
lea edx, [esp + 0x4264]
push edx
call eax
call fcn.10059c60
mov ebx, eax
mov edi, dword [ebx]
push 0x41b
mov ecx, str...quickmoventfs.cpp
add edi, 8
call fcn.1004a630
mov ecx, dword [edi]
push eax
push str._s:_Too_much_file_fragment__please_defragment.
push ebx
call ecx
mov esi, dword [esi + 0x30]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
add esp, 0x10
push 0xd7
mov ecx, esi
call eax
mov eax, dword [esp + 0x74]
test eax, eax
je 0x10050bd6
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x5c]
test eax, eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
je 0x10050bff
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea ecx, [esp + 0xb4]
mov byte [esp + 0xca70], 2
call fcn.100309d0
lea ecx, [esp + 0x14]
call fcn.1003e200
jmp 0x100513a1
mov ecx, dword [esp + 0x5c]
cmp ecx, eax
je 0x10050c6c
mov eax, dword [esp + 0x60]
sub eax, ecx
sar eax, 4
je 0x10050c6c
lea edi, [eax - 1]
cmp edi, eax
jb 0x10050c5d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x5c]
shl edi, 4
add edi, ecx
push edi
lea ecx, [esp + 0x74]
call fcn.1003bda0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push 1
lea ecx, [esp + 0x74]
push ecx
push edx
push eax
lea ecx, [esi + 0x40]
call fcn.10057690
test eax, eax
je 0x100514a5
xor edi, edi
xor ebx, ebx
xor ebp, ebp
mov ecx, dword [esp + 0x74]
cmp ecx, edi
je 0x10050cd0
mov eax, dword [esp + 0x78]
sub eax, ecx
sar eax, 4
cmp ebx, eax
jae 0x10050cd0
lea edi, [ecx + ebp]
push edi
lea ecx, [esp + 0x5c]
call fcn.1003bda0
mov ecx, dword [esi + 0x4190]
sub dword [edi], ecx
mov edx, dword [esi + 0x4194]
sbb dword [edi + 4], edx
add ebx, 1
add ebp, 0x10
xor edi, edi
jmp 0x10050c93
cmp dword [esp + 0x88], edi
je 0x10050d04
mov eax, dword [esi + 0x4190]
add dword [esp + 0x9c], eax
mov ecx, dword [esi + 0x4194]
lea edx, [esp + 0x9c]
adc dword [esp + 0xa0], ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.1003bda0
mov dword [esp + 0xe0], edi
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], edi
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
mov dword [esp + 0xd0], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0xe0]
mov byte [esp + 0xca74], 6
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], eax
call fcn.1003bc60
lea edx, [esp + 0xcc]
push edx
lea ecx, [esp + 0x18]
call fcn.1003e580
mov eax, dword [esp + 0xe0]
cmp eax, edi
je 0x10050d83
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x74]
cmp eax, edi
mov dword [esp + 0xe0], edi
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], edi
mov byte [esp + 0xca70], 4
je 0x10050db1
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov eax, dword [esp + 0x4c]
add eax, 1
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
jb 0x100507d1
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x80]
cmp dword [esi + 0x4130], 0xffffffff
jne 0x10050e41
cmp dword [esi + 0x4134], 0xfeffffff
jne 0x10050e41
mov eax, dword [esp + 0x28]
or eax, dword [esp + 0x2c]
jne 0x10050e41
cmp dword [ebx], 0x80
jne 0x10050e41
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x10050e41
mov ecx, dword [esp + 0x60]
sub ecx, eax
sar ecx, 4
je 0x10050e41
test ecx, ecx
ja 0x10050e25
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov dword [esi + 0x4130], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x4134], edx
mov dword [esp + 0x94], 1
push 0x80000
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
push 0x80000
mov edi, eax
push 0
push edi
call sub.ntdll.dll_memset
add esp, 0x10
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call fcn.1003cc50
push edi
lea ecx, [esp + 0x5c]
push ecx
push ebx
mov ecx, esi
call fcn.1004bb20
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x8a7c]
add edx, eax
cmp edx, dword [esi + 0x41a4]
lea ecx, [esp + ebp + 0x8a64]
ja 0x10050e9f
push eax
push edi
push ecx
call sub.ntdll.dll_memcpy
add esp, 0xc
jmp 0x10050edd
call fcn.10059c60
mov ecx, dword [esp + 0x28]
mov ebp, eax
mov eax, dword [esp + 0x2c]
mov ebx, dword [ebp]
push eax
push ecx
push 0x463
mov ecx, str...quickmoventfs.cpp
add ebx, 8
call fcn.1004a630
mov edx, dword [ebx]
add esp, 4
push eax
push str._s:_File_fragments__FrNumber:_I64d.
push ebp
call edx
mov ebp, dword [esp + 0x94]
add esp, 0x14
mov eax, dword [edi + 4]
add dword [esp + 0x8a7c], eax
add ebp, eax
push edi
mov dword [esp + 0x84], ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0x144]
call fcn.1002f6d0
mov ebx, eax
mov eax, dword [esp + 0x5c]
test eax, eax
mov dword [esp + 0x48], ebx
je 0x10050f1c
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
lea ecx, [esp + 0xb4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov byte [esp + 0xca70], 2
call fcn.100309d0
xor edi, edi
cmp ebx, edi
jne 0x10050733
cmp dword [esp + 0x90], edi
jne 0x10050f7c
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x10051215
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.1003e1a0
mov edx, dword [esp + 0x28]
push edx
jmp 0x1005120d
mov eax, dword [esp + 0x8a7c]
lea ecx, [eax + 8]
cmp ecx, dword [esi + 0x41a4]
lea ebp, [esp + ebp + 0x8a64]
ja 0x10050fa7
or ecx, 0xffffffff
mov dword [ebp], ecx
mov dword [ebp + 4], edi
mov eax, dword [esp + 0x8a7c]
jmp 0x10050faa
or ecx, 0xffffffff
mov ebx, dword [esi + 0x41a4]
add eax, 8
cmp eax, ebx
mov dword [esp + 0x8a7c], eax
ja 0x100510da
cmp dword [esi + 0x34], edi
mov dword [esp + 0x84], edi
jne 0x100511eb
push 0x3fff
lea ecx, [esp + 0x4a69]
push edi
push ecx
mov byte [esp + 0x4a70], 0
call sub.ntdll.dll_memset
push ebx
lea edx, [esp + 0x8a74]
push edx
lea eax, [esp + 0x4a78]
push eax
call sub.ntdll.dll_memcpy
movzx ecx, word [esp + 0x4a82]
sub ecx, 1
add esp, 0x18
xor eax, eax
test ecx, ecx
jle 0x10051061
lea ecx, [esp + 0x4c62]
mov edi, edi
movzx edx, word [esp + 0x4a68]
mov bx, word [ecx]
lea edx, [esp + edx + 0x4a66]
mov word [edx + eax*2], bx
movzx edx, word [esp + 0x4a68]
mov dx, word [esp + edx + 0x4a64]
mov word [ecx], dx
movzx edx, word [esp + 0x4a6a]
add eax, 1
sub edx, 1
add ecx, 0x200
cmp eax, edx
jl 0x10051020
mov eax, dword [esi + 0x41a4]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x4a68]
push ecx
push edx
push eax
lea ecx, [esi + 0xb8]
call fcn.10031c90
test eax, eax
je 0x1005159a
cmp dword [esp + 0xca80], edi
jne 0x100512ba
xor edi, edi
xor ebp, ebp
mov edi, edi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x100511d5
mov eax, dword [esp + 0x1c]
sub eax, ecx
sar eax, 5
cmp edi, eax
jae 0x100511d5
lea eax, [ecx + ebp]
push eax
mov ecx, esi
call fcn.1004b710
mov ebx, eax
test ebx, ebx
jne 0x10051654
add edi, 1
add ebp, 0x20
jmp 0x100510a0
cmp dword [esp + 0x84], edi
jne 0x10051532
cmp dword [esp + 0x94], edi
je 0x10051100
mov dword [esi + 0x4130], ecx
mov dword [esi + 0x4134], 0xfeffffff
add dword [esp + 0x50], ecx
mov dword [esp + 0x84], 1
mov dword [esp + 0x48], edi
adc dword [esp + 0x54], ecx
xor edx, edx
mov dword [esp + 0x4c], edx
lea ecx, [ecx]
mov ecx, dword [esp + 0x18]
cmp ecx, edi
je 0x10051215
mov ebx, dword [esp + 0x1c]
mov eax, ebx
sub eax, ecx
sar eax, 5
cmp edx, eax
jae 0x100511c8
mov edx, dword [esp + 0x48]
xor ebx, ebx
lea edi, [ecx + edx + 0x10]
xor ebp, ebp
jmp 0x10051150
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x100511b3
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 4
cmp ebx, eax
jae 0x100511b3
test ecx, ecx
je 0x10051173
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 4
cmp ebx, eax
jb 0x10051179
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 4]
mov edx, dword [eax + ebp + 4]
mov ecx, dword [eax + ebp]
add eax, ebp
mov dword [esp + 0xb8], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push edx
mov edx, dword [esi + 0x4190]
add edx, ecx
push edx
lea ecx, [esi + 0x40]
mov dword [esp + 0xc8], eax
call fcn.10056b90
add ebx, 1
add ebp, 0x10
jmp 0x10051150
add dword [esp + 0x4c], 1
add dword [esp + 0x48], 0x20
mov edx, dword [esp + 0x4c]
xor edi, edi
jmp 0x10051120
mov eax, dword [esp + 0x24]
push eax
lea edx, [esp + 0x18]
push edx
push ebx
jmp 0x10051202
push 0
push 0
push 0xfeffffff
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.1004a700
xor edi, edi
mov ecx, dword [esp + 0x18]
cmp ecx, edi
je 0x10051215
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
push edx
push ecx
call fcn.1003e1a0
mov eax, dword [esp + 0x28]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x14
lea ecx, [esp + 0x144]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov byte [esp + 0xca70], 0
call fcn.1002f120
add dword [esp + 0x50], 1
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x8c]
adc ebx, edi
mov dword [esp + 0x54], ebx
call fcn.1002eb20
xor ecx, ecx
cmp ebx, ecx
jl 0x10050496
jg 0x10051266
cmp dword [esp + 0x50], eax
jb 0x10050496
cmp dword [esi + 0x34], edi
jne 0x1005178a
cmp dword [esp + 0xca80], edi
je 0x1005178a
xor edi, edi
xor ebx, ebx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x10051774
mov eax, dword [esp + 0x40]
sub eax, ecx
sar eax, 5
cmp edi, eax
jae 0x10051774
lea eax, [ecx + ebx]
push eax
mov ecx, esi
call fcn.1004b710
mov ebp, eax
test ebp, ebp
jne 0x1005170c
add edi, 1
add ebx, 0x20
jmp 0x10051280
xor ebx, ebx
xor ebp, ebp
mov edi, edi
mov ecx, dword [esp + 0x18]
cmp ecx, edi
je 0x10051215
mov eax, dword [esp + 0x1c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jae 0x100511ef
add ecx, ebp
push ecx
lea ecx, [esp + 0x3c]
call fcn.1003e580
add ebx, 1
add ebp, 0x20
jmp 0x100512c0
mov esi, dword [esi + 0x30]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
push 0x17
mov ecx, esi
call eax
call fcn.10059c60
mov ebx, eax
mov esi, dword [ebx]
push 0x385
mov ecx, str...quickmoventfs.cpp
add esi, 8
call fcn.1004a630
mov ecx, dword [esi]
push eax
push 0x10064608
push ebx
call ecx
mov eax, dword [esp + 0x4c]
add esp, 0x10
cmp eax, edi
je 0x10051352
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x3c]
push ecx
push edx
push eax
call fcn.1003e1a0
mov eax, dword [esp + 0x4c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x14
xor eax, eax
jmp 0x100517d3
call fcn.10059c60
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
mov ebp, eax
mov ebx, dword [ebp]
push edx
push 0x39a
mov ecx, str...quickmoventfs.cpp
add ebx, 8
call fcn.1004a630
add esp, 4
push eax
mov eax, dword [ebx]
push str._s:_Failed_to_read_the_file_record__FrNumber:_I64d.
push ebp
call eax
mov esi, dword [esi + 0x30]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
add esp, 0x14
push 0xd2
mov ecx, esi
call eax
lea ecx, [esp + 0x144]
mov byte [esp + 0xca70], 0
call fcn.1002f120
lea ecx, [esp + 0x38]
call fcn.1003e200
xor eax, eax
jmp 0x100517d3
call fcn.10059c60
mov ecx, dword [ebx]
mov edx, dword [esp + 0x2c]
push ecx
mov edi, eax
mov eax, dword [esp + 0x2c]
mov ebp, dword [edi]
push edx
push eax
push 0x3c1
mov ecx, str...quickmoventfs.cpp
add ebp, 8
call fcn.1004a630
mov ecx, dword [ebp]
add esp, 4
push eax
push str._s:_Failed_to_initialize_DataRun_List__FrNumber:_I64d__AttrCode:0x_X.
push edi
call ecx
mov esi, dword [esi + 0x30]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
add esp, 0x18
push 0xd3
mov ecx, esi
call eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xca70], 2
call fcn.100309d0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1005144e
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.1003e1a0
mov edx, dword [esp + 0x28]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x14
xor esi, esi
lea ecx, [esp + 0x144]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov byte [esp + 0xca70], 0
call fcn.1002f120
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x10051352
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
call fcn.1003e1a0
mov edx, dword [esp + 0x4c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x14
xor eax, eax
jmp 0x100517d3
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x4264]
push eax
call edx
call fcn.10059c60
mov ebx, eax
mov edi, dword [ebx]
push 0x42a
mov ecx, str...quickmoventfs.cpp
add edi, 8
call fcn.1004a630
push eax
mov eax, dword [edi]
push str._s:_Too_much_file_fragment__please_defragment.
push ebx
call eax
mov esi, dword [esi + 0x30]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
add esp, 0x10
push 0xd7
mov ecx, esi
call eax
mov eax, dword [esp + 0x74]
xor esi, esi
cmp eax, esi
je 0x10051504
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
je 0x10051521
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
jmp 0x10050c17
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x4264]
push eax
call edx
call fcn.10059c60
mov ecx, dword [esp + 0x28]
mov ebp, eax
mov eax, dword [esp + 0x2c]
mov ebx, dword [ebp]
push eax
push ecx
push 0x486
mov ecx, str...quickmoventfs.cpp
add ebx, 8
call fcn.1004a630
mov edx, dword [ebx]
add esp, 4
push eax
push str._s:_Too_much_file_fragment__please_defragment__FrNumber:_I64d.
push ebp
call edx
mov esi, dword [esi + 0x30]
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
add esp, 0x14
push 0xd7
mov ecx, esi
call edx
lea ecx, [esp + 0x14]
call fcn.1003e200
jmp 0x100513a1
call fcn.10059c60
mov ebp, eax
mov ebx, dword [ebp]
push 0x4b5
mov ecx, str...quickmoventfs.cpp
add ebx, 8
call fcn.1004a630
push eax
mov eax, dword [ebx]
push str._s:_Write_mft_file_failed.
push ebp
call eax
mov esi, dword [esi + 0x30]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
add esp, 0x10
push 0xd2
mov ecx, esi
call eax
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x100515ff
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.1003e1a0
mov edx, dword [esp + 0x28]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x14
lea ecx, [esp + 0x144]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov byte [esp + 0xca70], 0
call fcn.1002f120
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x10051352
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
call fcn.1003e1a0
mov edx, dword [esp + 0x4c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x14
xor eax, eax
jmp 0x100517d3
call fcn.10059c60
mov edi, eax
mov ebp, dword [edi]
push 0x4c3
mov ecx, str...quickmoventfs.cpp
add ebp, 8
call fcn.1004a630
push eax
mov eax, dword [ebp]
push str._s:_Move_file_data_error.
push edi
call eax
mov esi, dword [esi + 0x30]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
add esp, 0x10
push ebx
mov ecx, esi
call eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100516b5
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.1003e1a0
mov edx, dword [esp + 0x28]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x14
xor esi, esi
lea ecx, [esp + 0x144]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov byte [esp + 0xca70], 0
call fcn.1002f120
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x10051352
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
call fcn.1003e1a0
mov edx, dword [esp + 0x4c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x14
xor eax, eax
jmp 0x100517d3
call fcn.10059c60
mov edi, eax
mov ebx, dword [edi]
push 0x4e2
mov ecx, str...quickmoventfs.cpp
add ebx, 8
call fcn.1004a630
push eax
mov eax, dword [ebx]
push str._s:_Move_file_data_error.
push edi
call eax
mov esi, dword [esi + 0x30]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
add esp, 0x10
push ebp
mov ecx, esi
call eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10051352
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
call fcn.1003e1a0
mov edx, dword [esp + 0x4c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x14
xor eax, eax
jmp 0x100517d3
push 0
push 0
push 0xfeffffff
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.1004a700
xor edi, edi
mov esi, dword [esp + 0x3c]
cmp esi, edi
je 0x100517ce
mov eax, dword [esp + 0x40]
cmp esi, eax
mov ebx, eax
je 0x100517c5
add esi, 0x14
nop
mov eax, dword [esi]
cmp eax, edi
je 0x100517af
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
add esi, 0x20
lea eax, [esi - 0x14]
cmp eax, ebx
jne 0x100517a0
mov esi, dword [esp + 0x3c]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xca68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xca50]
xor ecx, esp
call fcn.10059076
add esp, 0xca60
ret 0xc