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

Disassembly:
push 0xffffffffffffffff
push 0x10061964
mov eax, dword fs:[0]
push eax
sub esp, 0x85c
mov eax, dword [0x100dd9d4]
xor eax, esp
mov dword [esp + 0x858], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100dd9d4]
xor eax, esp
push eax
lea eax, [esp + 0x870]
mov dword fs:[0], eax
mov edi, dword [esp + 0x880]
mov esi, dword [edi + 0x14]
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
mov ebp, ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], esi
je 0x10021c65
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 4
je 0x10021c65
mov dword [esp + 0x30], 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov ecx, esi
mov dword [esp + 0x878], ebx
mov dword [esp + 0x48], ebx
call fcn.1005c7d0
test eax, eax
jbe 0x10021c26
mov dword [esp + 0x34], ebx
jmp 0x10021856
mov esi, dword [esp + 0x5c]
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x1002186b
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0x48], eax
jb 0x10021871
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x34]
mov ebx, dword [eax + edx + 8]
mov ecx, dword [eax + edx]
mov edi, dword [eax + edx + 4]
add eax, edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x2c], edx
xor esi, esi
mov edx, ebx
add edx, ecx
mov dword [esp + 0x20], ecx
mov ecx, esi
adc ecx, edi
cmp ecx, dword [ebp + 0x164]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
jg 0x10021a51
jl 0x100218bc
cmp edx, dword [ebp + 0x160]
jae 0x10021a51
xor edi, edi
cmp dword [ebp + 0x17c], edi
jl 0x100219a1
jg 0x100218d8
cmp dword [ebp + 0x178], edi
jbe 0x100219a1
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [ecx + 4], edx
mov edx, ebx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, ebp
call fcn.1001e0d0
test eax, eax
jne 0x10021a53
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x50]
call fcn.1003bda0
cmp dword [ebp + 0x68], edi
mov dword [esp + 0x30], edi
je 0x10021bff
add dword [ebp + 0x1ac], ebx
mov eax, dword [ebp + 0x1b8]
cmp eax, edi
lea esi, [ebp + 0x1b4]
je 0x1002193c
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 4
jne 0x1002194d
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.1003bda0
jmp 0x10021bff
mov ecx, eax
cmp ecx, edi
jne 0x10021957
xor eax, eax
jmp 0x1002195f
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 4
add eax, 0xffffffff
push eax
mov ecx, esi
call fcn.10039570
mov edi, dword [eax + 8]
xor edx, edx
mov ecx, edi
add ecx, dword [eax]
adc edx, dword [eax + 4]
cmp ecx, dword [esp + 0x20]
jne 0x10021990
cmp edx, dword [esp + 0x24]
jne 0x10021990
mov ecx, dword [esp + 0x28]
add edi, ecx
mov dword [eax + 8], edi
jmp 0x10021bff
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.1003bda0
jmp 0x10021bff
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x50]
call fcn.1003bda0
cmp dword [ebp + 0x68], edi
mov dword [esp + 0x30], edi
je 0x10021bff
add dword [ebp + 0x1ac], ebx
mov eax, dword [ebp + 0x1b8]
test eax, eax
lea edi, [ebp + 0x1b4]
je 0x100219dc
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 4
jne 0x100219ed
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.1003bda0
jmp 0x10021bff
mov ecx, eax
test ecx, ecx
je 0x100219fb
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 4
test ecx, ecx
lea esi, [eax - 1]
je 0x10021a0e
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 4
cmp esi, eax
jb 0x10021a14
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
shl esi, 4
add esi, dword [edi + 4]
xor ecx, ecx
mov edx, dword [esi + 8]
mov eax, edx
add eax, dword [esi]
adc ecx, dword [esi + 4]
cmp eax, dword [esp + 0x20]
jne 0x10021a40
cmp ecx, dword [esp + 0x24]
jne 0x10021a40
mov eax, dword [esp + 0x28]
add edx, eax
mov dword [esi + 8], edx
jmp 0x10021bff
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.1003bda0
jmp 0x10021bff
xor edi, edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
push edi
lea edx, [esp + 0x3c]
push edx
push esi
push ebx
lea ecx, [ebp + 0xc8]
mov byte [esp + 0x888], 1
call fcn.1002bf20
test eax, eax
je 0x10021c94
xor edx, edx
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x3c]
cmp ecx, edi
mov dword [esp + 0x18], edx
je 0x10021b20
mov eax, dword [esp + 0x40]
sub eax, ecx
sar eax, 4
cmp edx, eax
jae 0x10021b20
mov eax, dword [esp + 0x1c]
lea edi, [ecx + eax]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x10021b03
mov ecx, dword [esp + 0x54]
sub ecx, eax
sar ecx, 4
je 0x10021b03
lea esi, [ecx - 1]
cmp esi, ecx
jb 0x10021ad0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x50]
shl esi, 4
mov edx, dword [esi + eax + 8]
add esi, eax
xor ecx, ecx
mov eax, edx
add eax, dword [esi]
adc ecx, dword [esi + 4]
cmp eax, dword [edi]
jne 0x10021b03
cmp ecx, dword [edi + 4]
jne 0x10021b03
mov ecx, dword [edi + 8]
add dword [esp + 0x1c], 0x10
add ecx, edx
mov edx, dword [esp + 0x18]
add edx, 1
mov dword [esi + 8], ecx
xor edi, edi
jmp 0x10021a88
push edi
lea ecx, [esp + 0x50]
call fcn.1003bda0
mov edx, dword [esp + 0x18]
add dword [esp + 0x1c], 0x10
add edx, 1
xor edi, edi
jmp 0x10021a88
push 0x28
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, edi
je 0x10021b3b
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov esi, eax
jmp 0x10021b3d
xor esi, esi
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword [esi], edx
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
lea edx, [esp + 0x38]
mov dword [esi + 0xc], ecx
push edx
lea ecx, [esi + 0x10]
mov byte [esp + 0x87c], 1
mov dword [esp + 0x1c], esi
call fcn.1003bc60
mov eax, dword [esp + 0x60]
lea edi, [ebp + 0x100]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 4]
test eax, eax
jne 0x10021b85
xor edx, edx
jmp 0x10021b8d
mov edx, dword [edi + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x10021baa
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x10021baa
mov eax, dword [edi + 8]
mov dword [eax], esi
add eax, 4
mov dword [edi + 8], eax
jmp 0x10021bca
mov esi, dword [edi + 8]
cmp eax, esi
jbe 0x10021bb7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea ecx, [esp + 0x18]
push ecx
push esi
push edi
lea edx, [esp + 0x70]
push edx
mov ecx, edi
call fcn.10030a00
mov eax, dword [esp + 0x3c]
add dword [ebp + 0x1ac], ebx
xor esi, esi
cmp eax, esi
mov dword [esp + 0x18], 1
mov byte [esp + 0x878], 0
je 0x10021bf3
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
add dword [esp + 0x34], 0x10
add esi, 1
mov dword [esp + 0x48], esi
call fcn.1005c7d0
xor ebx, ebx
cmp esi, eax
jb 0x10021852
mov edi, dword [esp + 0x60]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
call fcn.1001a7e0
lea edx, [esp + 0x4c]
push edx
mov ecx, edi
call fcn.1001a190
cmp byte [edi + 0x10], 1
jne 0x10021c54
cmp dword [esp + 0x18], ebx
je 0x10021c54
cmp dword [esp + 0x30], ebx
je 0x10021c54
mov byte [edi + 0x11], 1
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x10021c65
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x870]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x858]
xor ecx, esp
call fcn.10059076
add esp, 0x868
ret 4
push 0x7fe
lea eax, [esp + 0x72]
push edi
push eax
mov word [esp + 0x78], di
call sub.ntdll.dll_memset
lea ecx, [esp + 0x78]
push str.The_drive_has_too_much_file_fragment__please_defrag_at_first_or_reserve_free_space_of_2GB_or_more_for_the_partition__and_retry_
push ecx
call dword [sym.imp.MSVCR80.dll__swprintf]
mov ecx, dword [ebp + 0x70]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
add esp, 0x14
lea eax, [esp + 0x6c]
push eax
call edx
call fcn.10059c60
mov esi, eax
mov ebx, dword [esi]
push 0x4b2
mov ecx, str..._fatcpyex.cpp
call fcn.1001dc10
push eax
mov eax, dword [ebx + 8]
push str._s:_Too_much_file_fragment__please_defrag.
push esi
call eax
mov ecx, dword [ebp + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
add esp, 0x10
push 0xd7
call eax
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x10021d12
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x50]
cmp eax, edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
je 0x10021d2f
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
jmp 0x10021c6a