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

Disassembly:
push 0xffffffffffffffff
push 0x10062cae
mov eax, dword fs:[0]
push eax
mov eax, 0xca4c
call sub.ntdll.dll__chkstk
mov eax, dword [0x100dd9d4]
xor eax, esp
mov dword [esp + 0xca48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100dd9d4]
xor eax, esp
push eax
lea eax, [esp + 0xca60]
mov dword fs:[0], eax
mov edi, dword [esp + 0xca70]
xor ebp, ebp
push 0x7fe
lea eax, [esp + 0x4262]
push ebp
push eax
mov esi, ecx
mov dword [esp + 0x80], edi
mov word [esp + 0x4268], bp
call sub.ntdll.dll_memset
lea ecx, [esi + 0x2a]
push ecx
lea edx, [esp + 0x426c]
push str.The__s_has_too_much_file_fragment__please_defragment_at_first_or_reserve_free_space_of_2GB_or_more_for_the_partition__and_retry_
push edx
call dword [sym.imp.MSVCR80.dll__swprintf]
add esp, 0x18
mov dword [esp + 0x70], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0xca68], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
call fcn.1002eb20
test eax, eax
jbe 0x10047aae
cmp dword [esi + 0x134], ebp
je 0x10046d56
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x80]
cmp eax, 0x3e8
jb 0x10046d56
mov ecx, dword [esp + 0x74]
call fcn.1002eb20
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
add edi, 1
adc ebx, 0
mov dword [esp + 0xbc], eax
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], ebx
fild qword [esp + 0x104]
mov dword [esp + 0xc0], 0
fild qword [esp + 0xbc]
fdivp st(1)
fmul qword [0x10064600]
call fcn.100594f0
push 0xc6
mov ebp, eax
lea eax, [esp + 0x419a]
push 0
push eax
mov word [esp + 0x41a0], 0
call sub.ntdll.dll_memset
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xc8]
push ebp
push ecx
push edx
push ebx
push edi
mov edi, dword [sym.imp.MSVCR80.dll__swprintf]
lea eax, [esp + 0x41b4]
push str.Analyzing_partition:__I64d__I64d___d__.
push eax
call edi
mov ecx, dword [esi + 0x130]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
add esp, 0x28
lea eax, [esp + 0x4194]
push eax
call edx
push ebp
lea eax, [esp + 0x4198]
push str.Status:_d
push eax
call edi
add esp, 0xc
push ebp
mov ecx, esi
call fcn.10040f10
mov ecx, dword [esi + 0x130]
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x4194]
push eax
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x80], eax
xor ebp, ebp
mov ecx, dword [esi + 0x130]
mov eax, dword [ecx]
mov edx, dword [eax + 0x74]
call edx
test eax, eax
jne 0x10047b42
mov edi, dword [esp + 0x74]
mov ecx, dword [edi + 4]
cmp ecx, ebp
mov ebx, dword [esp + 0x48]
mov dword [esp + 0xb0], ebp
je 0x10046d8d
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 3
cmp ebx, eax
jb 0x10046d93
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 4]
mov edi, dword [eax + ebx*8]
cmp edi, 7
mov ebx, dword [eax + ebx*8 + 4]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
jne 0x10046db2
cmp ebx, ebp
je 0x10047a80
cmp edi, 1
jne 0x10046dc7
cmp ebx, ebp
je 0x10047a80
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
push ebp
push ebp
push ebp
push ebp
push ebp
lea ecx, [esp + 0x150]
call fcn.1002edf0
push ebp
lea eax, [esp + 0x140]
push eax
push ebx
push edi
lea ecx, [esi + 0x1e0]
mov byte [esp + 0xca78], 1
call fcn.100329c0
test eax, eax
je 0x10047bad
push 0x3fff
lea ecx, [esp + 0x4a61]
push ebp
push ecx
mov byte [esp + 0x4a68], 0
call sub.ntdll.dll_memset
push 0x3fff
lea edx, [esp + 0x8a6d]
push ebp
push edx
mov byte [esp + 0x8a74], 0
call sub.ntdll.dll_memset
mov eax, dword [esi + 0x4320]
add esp, 0x18
push eax
lea ecx, [esp + 0x140]
call fcn.1002ea60
push eax
lea ecx, [esp + 0x4a64]
push ecx
call sub.ntdll.dll_memcpy
mov edx, dword [esi + 0x4320]
push edx
lea eax, [esp + 0x4a6c]
push eax
lea ecx, [esp + 0x8a70]
push ecx
call sub.ntdll.dll_memcpy
movzx ebx, word [esp + 0x4a88]
push ebx
lea edx, [esp + 0x4a78]
push edx
lea eax, [esp + 0x8a7c]
push eax
mov dword [esp + 0x4c], ebx
call sub.ntdll.dll_memcpy
add esp, 0x24
mov dword [esp + 0x8a74], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
lea ecx, [esp + 0x13c]
mov byte [esp + 0xca68], 2
mov dword [esp + 0x8c], ebp
call fcn.1002ea30
lea ecx, [esp + 0x13c]
call fcn.1002fa70
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x14], edi
je 0x10047734
cmp byte [edi + 8], 0
jne 0x10046f23
mov ecx, dword [edi + 4]
push ecx
lea eax, [esp + ebx + 0x8a60]
push edi
push eax
call sub.ntdll.dll_memcpy
mov edi, dword [edi + 4]
add dword [esp + 0x8a80], edi
add ebx, edi
add esp, 0xc
lea ecx, [esp + 0x13c]
mov dword [esp + 0x28], ebx
call fcn.1002f6d0
mov edi, eax
mov dword [esp + 0x14], edi
jmp 0x10047723
lea ecx, [esp + 0xec]
call fcn.100306a0
push edi
lea ecx, [esp + 0xf0]
mov byte [esp + 0xca6c], 3
call fcn.10030760
test eax, eax
je 0x10047c1b
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
lea ecx, [esp + 0xec]
mov byte [esp + 0xca68], 4
mov dword [esp + 0x88], ebp
call fcn.10030d80
xor ecx, ecx
cmp eax, ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x84], ecx
jbe 0x1004758f
jmp 0x10046f90
push ecx
lea ecx, [esp + 0xf0]
or ebx, 0xffffffff
call fcn.100305b0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ebp, edx
and ebp, ecx
cmp ebp, ebx
jne 0x10047079
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x110], ebx
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], edx
call fcn.1003bda0
xor eax, eax
cmp dword [esi + 0x42a8], eax
je 0x10047570
cmp dword [edi], 0x80
jne 0x10047570
cmp dword [esp + 0xca78], eax
je 0x10047570
cmp dword [esi + 0x134], eax
je 0x10047570
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
lea ecx, [esp + 0x10c]
push ecx
lea ecx, [esp + 0xa4]
mov byte [esp + 0xca6c], 5
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
call fcn.1003bda0
lea edx, [esp + 0x90]
push edx
lea ecx, [esi + 0x42b0]
call fcn.1003e580
lea ecx, [esp + 0x90]
jmp 0x10047563
mov ebx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov ebp, dword [esi + 0x1dc]
mov dword [esp + 0xe4], ebx
add ebx, edx
mov dword [esp + 0xe8], edi
adc edi, ecx
cmp edi, ebp
jl 0x1004749a
jg 0x100470ad
cmp ebx, dword [esi + 0x1d8]
jbe 0x1004749a
cmp ecx, ebp
mov edi, 1
mov dword [esp + 0x88], edi
mov dword [esp + 0xb0], edi
jl 0x100471e3
jg 0x100470d6
cmp edx, dword [esi + 0x1d8]
jb 0x100471e3
mov eax, dword [esp + 0xe8]
mov edi, dword [esp + 0xe4]
mov dword [esp + 0xb8], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
xor ebp, ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
cmp dword [esp + 0x70], ebp
mov byte [esp + 0xca68], 7
jne 0x100472e4
mov ecx, dword [esp + 0xb8]
push ebp
lea eax, [esp + 0x64]
push eax
push ecx
push edi
lea ecx, [esi + 0x140]
call fcn.10057690
test eax, eax
jne 0x10047331
mov ecx, dword [esi + 0x130]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
lea edx, [esp + 0x425c]
push edx
call eax
call fcn.10059c60
mov ebx, eax
mov edi, dword [ebx]
push 0x466
mov ecx, str..._ntfscpyex.cpp
add edi, 8
call fcn.100403e0
mov ecx, dword [edi]
push eax
push str._s:_Too_much_file_fragment__please_defragment.
push ebx
call ecx
mov esi, dword [esi + 0x130]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
add esp, 0x10
push 0xd7
mov ecx, esi
call eax
mov eax, dword [esp + 0x64]
cmp eax, ebp
je 0x10047198
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x54]
cmp eax, ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebp
je 0x100471b5
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0xec]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov byte [esp + 0xca68], 2
call fcn.100309d0
lea ecx, [esp + 0x18]
call fcn.1003e200
jmp 0x10047bf7
mov edi, edx
sub edi, dword [esi + 0x1d8]
mov ebx, ecx
sbb ebx, ebp
add edi, dword [eax + 0x10]
mov dword [esp + 0x120], ecx
adc ebx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
sub ecx, edi
mov dword [esp + 0x11c], edx
lea edx, [esp + 0x11c]
mov dword [esp + 0xb8], ebx
mov ebx, dword [esi + 0x1d8]
mov dword [esp + 0x124], ecx
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebp
call fcn.1003bda0
cmp dword [esi + 0x42a8], 0
je 0x100470f3
mov eax, dword [esp + 0x14]
cmp dword [eax], 0x80
jne 0x100470f3
xor ebp, ebp
cmp dword [esp + 0xca78], ebp
je 0x100470f5
cmp dword [esi + 0x134], ebp
je 0x100470f5
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xe0], ebp
or eax, 0xffffffff
lea ecx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0xd8]
mov byte [esp + 0xca6c], 6
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
call fcn.1003bda0
lea edx, [esp + 0xc4]
push edx
lea ecx, [esi + 0x42b0]
call fcn.1003e580
lea ecx, [esp + 0xc4]
call fcn.1004d290
jmp 0x100470f5
mov ecx, dword [esp + 0x54]
cmp ecx, ebp
je 0x1004730e
mov eax, dword [esp + 0x58]
sub eax, ecx
sar eax, 4
je 0x1004730e
add eax, 0xffffffff
push eax
lea ecx, [esp + 0x54]
call fcn.10039570
push eax
lea ecx, [esp + 0x64]
call fcn.1003bda0
mov eax, dword [esp + 0xb8]
push 1
lea edx, [esp + 0x64]
push edx
push eax
push edi
lea ecx, [esi + 0x140]
call fcn.10057690
test eax, eax
je 0x10047cfe
lea ecx, [esp + 0x60]
call fcn.1005c7d0
test eax, eax
jbe 0x1004737e
xor ebx, ebx
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x10047355
mov eax, dword [esp + 0x68]
sub eax, ecx
sar eax, 4
cmp ebp, eax
jb 0x1004735f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x64]
add ecx, ebx
push ecx
lea ecx, [esp + 0x54]
call fcn.1003bda0
lea ecx, [esp + 0x60]
add ebp, 1
add ebx, 0x10
call fcn.1005c7d0
cmp ebp, eax
jb 0x10047340
xor ebx, ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0xa4]
mov byte [esp + 0xca6c], 8
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], eax
call fcn.1003bc60
cmp dword [esi + 0x42a8], ebx
je 0x100473fe
cmp dword [esi + 0x134], ebx
jne 0x100473fe
cmp dword [esp + 0xca78], ebx
je 0x100473fe
mov edx, dword [esp + 0x14]
cmp dword [edx], 0x80
je 0x1004740f
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x1c]
call fcn.1003e580
cmp dword [esi + 0x42a8], ebx
je 0x10047447
mov ecx, dword [esp + 0x14]
cmp dword [ecx], 0x80
jne 0x10047447
cmp dword [esp + 0xca78], ebx
je 0x10047447
cmp dword [esi + 0x134], ebx
je 0x10047447
lea edx, [esp + 0x90]
push edx
lea ecx, [esi + 0x42b0]
call fcn.1003e580
mov eax, dword [esp + 0xa4]
cmp eax, ebx
je 0x1004745b
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x64]
cmp eax, ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov byte [esp + 0xca68], 4
je 0x10047489
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
jmp 0x10047570
mov eax, dword [eax + 0x10]
mov dword [esp + 0x130], ecx
lea ecx, [esp + 0x12c]
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x130], edx
mov dword [esp + 0x138], eax
call fcn.1003bda0
cmp dword [esi + 0x42a8], 0
je 0x10047570
mov edx, dword [esp + 0x14]
cmp dword [edx], 0x80
jne 0x10047570
cmp dword [esp + 0xca78], 0
je 0x10047570
cmp dword [esi + 0x134], 0
je 0x10047570
xor eax, eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
or eax, 0xffffffff
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0xca6c], 9
call fcn.1003bda0
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esi + 0x42b0]
call fcn.1003e580
lea ecx, [esp + 0xc4]
mov byte [esp + 0xca68], 4
call fcn.1004d290
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x14]
add ecx, 1
cmp ecx, dword [esp + 0x2c]
mov dword [esp + 0x84], ecx
jb 0x10046f90
xor ebp, ebp
cmp dword [esi + 0x425c], ebp
jg 0x100475f2
jl 0x100475a3
cmp dword [esi + 0x4258], ebp
jae 0x100475f2
mov edx, dword [esp + 0x30]
or edx, dword [esp + 0x34]
jne 0x100475f2
cmp dword [edi], 0x80
jne 0x100475f2
mov eax, dword [esp + 0x54]
cmp eax, ebp
je 0x100475f2
mov ecx, dword [esp + 0x58]
sub ecx, eax
sar ecx, 4
je 0x100475f2
cmp ecx, ebp
ja 0x100475d6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov dword [esi + 0x4258], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x425c], edx
mov dword [esp + 0x8c], 1
cmp dword [esp + 0x88], ebp
jne 0x10047629
mov ecx, dword [edi + 4]
mov ebx, dword [esp + 0x28]
push ecx
lea eax, [esp + ebx + 0x8a60]
push edi
push eax
call sub.ntdll.dll_memcpy
mov edi, dword [edi + 4]
add ebx, edi
add esp, 0xc
add dword [esp + 0x8a74], edi
mov dword [esp + 0x28], ebx
jmp 0x100476da
push 0x80000
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
push 0x80000
mov ebx, eax
push ebp
push ebx
call sub.ntdll.dll_memset
add esp, 0x10
lea edx, [esp + 0x50]
push edx
mov ecx, esi
call fcn.1003cc50
push ebx
lea eax, [esp + 0x54]
push eax
push edi
mov ecx, esi
call fcn.10041750
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x8a74]
mov ecx, dword [esp + 0x28]
add edx, eax
cmp edx, dword [esi + 0x4320]
lea ecx, [esp + ecx + 0x8a5c]
ja 0x1004768a
push eax
push ebx
push ecx
call sub.ntdll.dll_memcpy
add esp, 0xc
jmp 0x100476c3
call fcn.10059c60
mov ecx, dword [esp + 0x30]
mov ebp, eax
mov eax, dword [esp + 0x34]
mov edi, dword [ebp]
push eax
push ecx
push 0x4c1
mov ecx, str..._ntfscpyex.cpp
add edi, 8
call fcn.100403e0
mov edx, dword [edi]
add esp, 4
push eax
push str._s:_File_fragments__FrNumber:_I64d.
push ebp
call edx
add esp, 0x14
xor ebp, ebp
mov eax, dword [ebx + 4]
add dword [esp + 0x28], eax
add dword [esp + 0x8a74], eax
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0x13c]
call fcn.1002f6d0
mov edi, eax
mov eax, dword [esp + 0x54]
cmp eax, ebp
mov dword [esp + 0x14], edi
je 0x100476fd
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0xec]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov byte [esp + 0xca68], 2
call fcn.100309d0
mov ebx, dword [esp + 0x28]
xor ebp, ebp
cmp edi, ebp
jne 0x10046ee1
cmp dword [esp + 0xb0], ebp
jne 0x1004775f
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x10047a60
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
call fcn.1003e1a0
mov edx, dword [esp + 0x2c]
push edx
jmp 0x10047a58
mov eax, dword [esp + 0x8a74]
lea ecx, [eax + 8]
cmp ecx, dword [esi + 0x4320]
lea ebx, [esp + ebx + 0x8a5c]
ja 0x10047789
or ecx, 0xffffffff
mov dword [ebx], ecx
mov dword [ebx + 4], ebp
mov eax, dword [esp + 0x8a74]
jmp 0x1004778c
or ecx, 0xffffffff
mov edi, dword [esi + 0x4320]
add eax, 8
cmp eax, edi
mov dword [esp + 0x8a74], eax
ja 0x100478c4
cmp dword [esi + 0x134], ebp
mov dword [esp + 0x70], ebp
jne 0x10047a36
push 0x3fff
lea edx, [esp + 0x4a61]
push ebp
push edx
mov byte [esp + 0x4a68], 0
call sub.ntdll.dll_memset
push edi
lea eax, [esp + 0x8a6c]
push eax
lea ecx, [esp + 0x4a70]
push ecx
call sub.ntdll.dll_memcpy
movzx edx, word [esp + 0x4a7a]
sub edx, 1
add esp, 0x18
xor eax, eax
test edx, edx
jle 0x10047841
lea ecx, [esp + 0x4c5a]
movzx edx, word [esp + 0x4a60]
mov di, word [ecx]
lea edx, [esp + edx + 0x4a5e]
mov word [edx + eax*2], di
movzx edx, word [esp + 0x4a60]
mov dx, word [esp + edx + 0x4a5c]
mov word [ecx], dx
movzx edx, word [esp + 0x4a62]
add eax, 1
sub edx, 1
add ecx, 0x200
cmp eax, edx
jl 0x10047800
cmp dword [esi + 0x42a8], ebp
je 0x100479b4
mov eax, dword [esi + 0x4320]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x4a60]
push ecx
push edx
push eax
lea ecx, [esi + 0x42c0]
call fcn.100317d0
test eax, eax
jne 0x100479e0
call fcn.10059c60
mov ebx, eax
mov edi, dword [ebx]
push 0x514
mov ecx, str..._ntfscpyex.cpp
add edi, 8
call fcn.100403e0
push eax
mov eax, dword [edi]
push str._s:_Write_mft_file_failed.
push ebx
call eax
mov esi, dword [esi + 0x130]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
add esp, 0x10
push 0xd2
mov ecx, esi
call eax
lea ecx, [esp + 0x18]
call fcn.1003e200
jmp 0x10047bf7
cmp dword [esp + 0x70], ebp
jne 0x10047d3e
cmp dword [esp + 0x8c], ebp
je 0x100478e3
mov dword [esi + 0x4258], ecx
mov dword [esi + 0x425c], ecx
add dword [esp + 0x48], ecx
mov dword [esp + 0x70], 1
mov dword [esp + 0x28], ebp
adc dword [esp + 0x4c], ecx
xor ecx, ecx
mov dword [esp + 0x14], ecx
lea ecx, [ecx]
mov edi, dword [esp + 0x1c]
cmp edi, ebp
je 0x10047a60
mov edx, dword [esp + 0x20]
mov eax, edx
sub eax, edi
sar eax, 5
cmp ecx, eax
jae 0x100479a3
mov edx, dword [esp + 0x28]
xor ebx, ebx
lea edi, [edi + edx + 0x10]
xor ebp, ebp
jmp 0x10047930
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1004798e
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 4
cmp ebx, eax
jae 0x1004798e
test ecx, ecx
je 0x10047953
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 4
cmp ebx, eax
jb 0x10047959
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 + 0xf0], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push edx
push ecx
lea ecx, [esi + 0x140]
mov dword [esp + 0x100], eax
call fcn.10056b90
add ebx, 1
add ebp, 0x10
jmp 0x10047930
add dword [esp + 0x14], 1
add dword [esp + 0x28], 0x20
mov ecx, dword [esp + 0x14]
xor ebp, ebp
jmp 0x10047900
mov ecx, dword [esp + 0x2c]
push ecx
lea eax, [esp + 0x1c]
push eax
push edx
push edi
jmp 0x10047a4e
mov ecx, dword [esi + 0x4320]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x4a60]
push edx
push eax
push ecx
lea ecx, [esi + 0x1e0]
call fcn.10031c90
test eax, eax
je 0x10047dab
cmp dword [esp + 0xca78], ebp
jne 0x10047b0a
xor ebp, ebp
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10047a23
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 5
cmp ebp, eax
jae 0x10047a23
lea eax, [ebx + ecx]
push eax
mov ecx, esi
call fcn.10041320
mov edi, eax
test edi, edi
jne 0x10047dd6
add ebp, 1
add ebx, 0x20
jmp 0x100479f1
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.100404b0
xor ebp, ebp
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
je 0x10047a60
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push eax
push ecx
call fcn.1003e1a0
mov ecx, dword [esp + 0x2c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x14
lea ecx, [esp + 0x13c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov byte [esp + 0xca68], 0
call fcn.1002f120
add dword [esp + 0x48], 1
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x74]
adc edi, ebp
mov dword [esp + 0x4c], edi
call fcn.1002eb20
xor ecx, ecx
cmp edi, ecx
jl 0x10046c41
jg 0x10047aae
cmp dword [esp + 0x48], eax
jb 0x10046c41
cmp dword [esi + 0x134], ebp
jne 0x10047f10
cmp dword [esp + 0xca78], ebp
je 0x10047f10
xor ebp, ebp
xor edi, edi
jmp 0x10047ad0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x10047efd
mov eax, dword [esp + 0x40]
sub eax, ecx
sar eax, 5
cmp ebp, eax
jae 0x10047efd
lea eax, [edi + ecx]
push eax
mov ecx, esi
call fcn.10041320
mov ebx, eax
test ebx, ebx
jne 0x10047e91
add ebp, 1
add edi, 0x20
jmp 0x10047ad0
xor edi, edi
xor ebx, ebx
mov edi, edi
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
je 0x10047a60
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 5
cmp edi, eax
jae 0x10047a3a
lea edx, [ebx + ecx]
push edx
lea ecx, [esp + 0x3c]
call fcn.1003e580
add edi, 1
add ebx, 0x20
jmp 0x10047b10
mov esi, dword [esi + 0x130]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
push 0x17
mov ecx, esi
call eax
call fcn.10059c60
mov edi, eax
mov esi, dword [edi]
push 0x3ed
mov ecx, str..._ntfscpyex.cpp
add esi, 8
call fcn.100403e0
mov ecx, dword [esi]
push eax
push 0x10064608
push edi
call ecx
mov eax, dword [esp + 0x4c]
add esp, 0x10
cmp eax, ebp
je 0x10047ba6
mov edx, dword [esp + 0x2c]
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 0x10047f58
call fcn.10059c60
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
mov ebx, eax
mov edi, dword [ebx]
push edx
push 0x3fd
mov ecx, str..._ntfscpyex.cpp
add edi, 8
call fcn.100403e0
add esp, 4
push eax
mov eax, dword [edi]
push str._s:_Failed_to_read_the_file_record__FrNumber:_I64d.
push ebx
call eax
mov esi, dword [esi + 0x130]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
add esp, 0x14
push 0xd2
mov ecx, esi
call eax
lea ecx, [esp + 0x13c]
mov byte [esp + 0xca68], 0
call fcn.1002f120
lea ecx, [esp + 0x38]
call fcn.1003e200
xor eax, eax
jmp 0x10047f58
call fcn.10059c60
mov ecx, dword [edi]
mov edx, dword [esp + 0x34]
push ecx
mov ebp, eax
mov eax, dword [esp + 0x34]
mov ebx, dword [ebp]
push edx
push eax
push 0x424
mov ecx, str..._ntfscpyex.cpp
add ebx, 8
call fcn.100403e0
mov ecx, dword [ebx]
add esp, 4
push eax
push str._s:_Failed_to_initialize_DataRun_List__FrNumber:_I64d__AttrCode:0x_X.
push ebp
call ecx
mov esi, dword [esi + 0x130]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
add esp, 0x18
push 0xd3
mov ecx, esi
call eax
lea ecx, [esp + 0xec]
mov byte [esp + 0xca68], 2
call fcn.100309d0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10047ca7
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
call fcn.1003e1a0
mov edx, dword [esp + 0x2c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x14
xor esi, esi
lea ecx, [esp + 0x13c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov byte [esp + 0xca68], 0
call fcn.1002f120
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x10047ba6
mov ecx, dword [esp + 0x2c]
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 0x10047f58
mov ecx, dword [esi + 0x130]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x425c]
push eax
call edx
call fcn.10059c60
mov ebx, eax
mov edi, dword [ebx]
push 0x475
mov ecx, str..._ntfscpyex.cpp
add edi, 8
call fcn.100403e0
push eax
mov eax, dword [edi]
push str._s:_Too_much_file_fragment__please_defragment.
push ebx
call eax
jmp 0x10047170
mov ecx, dword [esi + 0x130]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x425c]
push eax
call edx
call fcn.10059c60
mov ecx, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x34]
mov edi, dword [ebx]
push eax
push ecx
push 0x4e3
mov ecx, str..._ntfscpyex.cpp
add edi, 8
call fcn.100403e0
mov edx, dword [edi]
add esp, 4
push eax
push str._s:_Too_much_file_fragment__please_defragment__FrNumber:_I64d.
push ebx
call edx
mov esi, dword [esi + 0x130]
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
add esp, 0x14
push 0xd7
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
call fcn.1003e200
jmp 0x10047bf7
call fcn.10059c60
mov ebx, eax
mov edi, dword [ebx]
push 0x51d
mov ecx, str..._ntfscpyex.cpp
add edi, 8
call fcn.100403e0
mov ecx, dword [edi]
push eax
push str._s:_Write_mft_file_failed.
push ebx
call ecx
jmp 0x1004789f
call fcn.10059c60
mov ebp, eax
mov ebx, dword [ebp]
push 0x52c
mov ecx, str..._ntfscpyex.cpp
add ebx, 8
call fcn.100403e0
mov ecx, dword [ebx]
push eax
push str._s:_Move_file_data_error.
push ebp
call ecx
mov esi, dword [esi + 0x130]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
add esp, 0x10
push edi
mov ecx, esi
call eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10047e3a
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
call fcn.1003e1a0
mov edx, dword [esp + 0x2c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x14
xor esi, esi
lea ecx, [esp + 0x13c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov byte [esp + 0xca68], 0
call fcn.1002f120
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x10047ba6
mov ecx, dword [esp + 0x2c]
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 0x10047f58
call fcn.10059c60
mov ebp, eax
mov edi, dword [ebp]
push 0x54b
mov ecx, str..._ntfscpyex.cpp
add edi, 8
call fcn.100403e0
push eax
mov eax, dword [edi]
push str._s:_Move_file_data_error.
push ebp
call eax
mov esi, dword [esi + 0x130]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
add esp, 0x10
push ebx
mov ecx, esi
call eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10047ba6
mov ecx, dword [esp + 0x2c]
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 0x10047f58
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.100404b0
xor ebp, ebp
mov esi, dword [esp + 0x3c]
cmp esi, ebp
je 0x10047f53
mov eax, dword [esp + 0x40]
cmp esi, eax
mov edi, eax
je 0x10047f4a
add esi, 0x14
mov eax, dword [esi]
cmp eax, ebp
je 0x10047f34
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
add esi, 0x20
lea eax, [esi - 0x14]
cmp eax, edi
jne 0x10047f25
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 + 0xca60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xca48]
xor ecx, esp
call fcn.10059076
add esp, 0xca58
ret 0xc