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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100624e1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x43fc
call sub.ntdll.dll__chkstk
mov eax, dword [0x100dd9d4]
xor eax, esp
mov dword [esp + 0x43f8], eax
push ebx
push esi
push edi
mov eax, dword [0x100dd9d4]
xor eax, esp
push eax
lea eax, [esp + 0x4410]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
mov esi, ecx
cmp dword [esi + 0x138], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
je 0x10039ff2
push 0x3fff
lea eax, [esp + 0x409]
push edi
push eax
mov byte [esp + 0x410], 0
call sub.ntdll.dll_memset
add esp, 0xc
push edi
push 1
push edi
push edi
lea ecx, [esp + 0x414]
push ecx
mov ecx, dword [esi]
call fcn.10055f70
test eax, eax
jne 0x10039f81
call fcn.10059c60
mov ebx, eax
mov edi, dword [ebx]
push 0x805
mov ecx, str..._ntfsresize.cpp
add edi, 8
call fcn.100386c0
mov edx, dword [edi]
push eax
push str._s:_Read_DBR_failed.
push ebx
call edx
mov ecx, dword [esi + 0x130]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
add esp, 0x10
push 0x21
call edx
xor eax, eax
jmp 0x1003a6cf
movzx eax, word [esi + 0x24]
mov ecx, dword [esp + 0x42c]
cdq
push edx
push eax
mov eax, dword [esp + 0x438]
push eax
push ecx
call sub.ntdll.dll__aulldiv
mov dword [esp + 0x44], eax
mov eax, edx
and edx, 0x7fffffff
mov dword [esp + 0x48], edx
and eax, 0x80000000
fild qword [esp + 0x44]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], edi
fild qword [esp + 0x44]
fchs
faddp st(1)
fadd qword [0x10065768]
call fcn.10059526
mov ecx, dword [esi + 0x1d8]
sub eax, 1
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0x1dc]
sbb edx, edi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call fcn.1005c7d0
test eax, eax
jbe 0x1003a076
xor ebx, ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1003a028
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 4
cmp edi, eax
jb 0x1003a02e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ebx]
add eax, ebx
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x80], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x88], eax
movzx eax, word [esi + 0x24]
imul eax, ecx
add dword [esp + 0x1c], eax
mov ecx, edx
adc dword [esp + 0x20], 0
add edi, 1
add ebx, 0x10
call fcn.1005c7d0
cmp edi, eax
jb 0x1003a011
xor edx, edx
mov eax, 0x20000000
div dword [esi + 0x42b0]
lea ecx, [esp + 0xbc]
xor edi, edi
mov ebx, eax
call fcn.10055850
mov eax, dword [esp + 0x20]
cmp eax, edi
mov dword [esp + 0x4418], edi
jg 0x1003a6f5
jl 0x1003a0b2
cmp dword [esp + 0x1c], ebx
ja 0x1003a6f5
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x42b0]
push eax
push edx
push 0
push ecx
call sub.ntdll.dll__allmul
push 0
push 8
push edx
push eax
call sub.ntdll.dll__allmul
push edx
push eax
lea ecx, [esp + 0xc4]
call fcn.10055b80
test eax, eax
je 0x1003a6f5
lea ecx, [esi + 0x140]
call fcn.1002afe0
mov edi, eax
xor eax, eax
push 0xfe
push eax
mov dword [esp + 0x20], eax
mov word [esp + 0x10c], ax
lea eax, [esp + 0x10e]
push eax
mov dword [esp + 0x4c], edi
call sub.ntdll.dll_memset
mov eax, dword [edi + 4]
mov ebx, dword [eax]
add esp, 0xc
mov eax, dword [edi + 4]
cmp ebx, eax
je 0x1003a246
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
push 0
push ecx
push edx
push eax
lea ecx, [esp + 0xcc]
call fcn.10055890
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x14]
cmp eax, 0xbb8
jb 0x1003a22f
mov ecx, dword [esp + 0x18]
fild dword [esp + 0x18]
test ecx, ecx
jge 0x1003a16d
fadd qword [0x100644a0]
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 8]
fild dword [edx + 8]
test eax, eax
jge 0x1003a181
fadd qword [0x100644a0]
fdivp st(1)
fmul qword [0x100681f8]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
cmp dword [esi + 0x42a4], 0
mov dword [esp + 0x58], eax
fldcw word [esp + 0x58]
fistp qword [esp + 0x9c]
mov edi, dword [esp + 0x9c]
push edi
fldcw word [esp + 0x18]
je 0x1003a1ca
push str.Extending_volume__Process_volume_bitmap:__d___
lea ecx, [esp + 0x10c]
push ecx
jmp 0x1003a1d7
push str.Shrinking_volume__Process_volume_bitmap:__d___
lea edx, [esp + 0x10c]
push edx
call dword [sym.imp.MSVCR80.dll__swprintf]
mov ecx, dword [esi + 0x130]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
add esp, 0xc
lea edx, [esp + 0x104]
push edx
call eax
push edi
lea ecx, [esp + 0x108]
push str.Status:_d
push ecx
call dword [sym.imp.MSVCR80.dll__swprintf]
mov ecx, dword [esi + 0x130]
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
add esp, 0xc
lea eax, [esp + 0x104]
push eax
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x14], eax
add dword [esp + 0x18], 1
cmp ebx, dword [edi + 4]
jne 0x1003a23f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [ebx]
jmp 0x1003a121
lea ebx, [esi + 0x140]
mov ecx, ebx
call fcn.10029be0
lea ecx, [esp + 0xbc]
mov edi, eax
call fcn.1002ea40
sub eax, edi
mov ecx, 0
sbb edx, ecx
mov dword [esp + 0xa0], edx
js 0x1003a2b1
jg 0x1003a279
test eax, eax
jbe 0x1003a2b1
mov ecx, ebx
call fcn.10029be0
lea ecx, [esp + 0xbc]
mov edi, eax
call fcn.1002ea40
mov ecx, eax
sub ecx, edi
mov eax, 0
sbb edx, eax
push edx
push ecx
mov ecx, ebx
call fcn.10029be0
push 0
push eax
lea ecx, [esp + 0xcc]
call fcn.10055890
lea ecx, [esp + 0xbc]
call fcn.1002ea60
mov ecx, dword [esp + 0x3c]
xor edi, edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], edi
call fcn.1005c7d0
test eax, eax
jbe 0x1003a5c4
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1003a2fd
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0x18], eax
jb 0x1003a303
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
add eax, dword [esp + 0x14]
xor ebx, ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x88], eax
mov dword [esp + 0x80], edx
xor edx, edx
mov eax, 0x800000
div dword [esi + 0x42b0]
push ebx
push ecx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x50], ebx
mov edi, eax
movzx eax, word [esi + 0x24]
cdq
push edx
push eax
call sub.ntdll.dll__allmul
push ebx
push edi
push edx
push eax
call fcn.100595b0
mov dword [esp + 0x4c], eax
xor eax, eax
cmp edx, eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
jl 0x1003a4a0
jg 0x1003a390
cmp dword [esp + 0x4c], eax
jbe 0x1003a4a0
lea esp, [esp]
mov ecx, dword [esp + 0x80]
movzx eax, word [esi + 0x24]
push ecx
mov ecx, dword [esp + 0x80]
cdq
push ecx
push edx
push eax
call sub.ntdll.dll__allmul
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x48]
push edx
mov ebx, eax
mov eax, dword [esp + 0x24]
push edi
push eax
push ecx
call sub.ntdll.dll__allmul
add ebx, eax
mov eax, dword [esp + 0xa8]
adc eax, edx
cmp dword [esi + 0x134], 0
mov dword [esp + 0xb8], eax
jne 0x1003a45a
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x44]
push edi
mov edx, eax
mov eax, dword [esp + 0x2c]
push edx
add eax, ecx
mov ecx, dword [esi]
push ebx
push eax
call fcn.10055fa0
test eax, eax
je 0x1003a5e9
add dword [esi + 0x4298], edi
mov edx, dword [esp + 0x48]
movzx eax, word [esi + 0x24]
adc dword [esi + 0x429c], edx
mov ecx, dword [esi + 0x250]
fild qword [esi + 0x4298]
cdq
push edx
push eax
mov eax, dword [esi + 0x254]
push eax
push ecx
call sub.ntdll.dll__allmul
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
fild qword [esp + 0x74]
fdivp st(1)
fmul qword [0x10064600]
call fcn.100594f0
push eax
mov ecx, esi
call fcn.100391d0
mov eax, dword [esp + 0x48]
mov edx, dword [esi + 0x42b0]
push eax
push edi
push 0
push edx
call sub.ntdll.dll__allmul
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
adc dword [esp + 0x28], edx
add dword [esp + 0x1c], 1
adc eax, 0
cmp eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
jl 0x1003a390
jg 0x1003a4a0
mov ecx, dword [esp + 0x4c]
cmp dword [esp + 0x1c], ecx
jb 0x1003a390
cmp dword [esp + 0x30], 0
jl 0x1003a5a3
jg 0x1003a4b8
cmp dword [esp + 0x2c], 0
jbe 0x1003a5a3
mov ecx, dword [esp + 0x80]
movzx eax, word [esi + 0x24]
push ecx
mov ecx, dword [esp + 0x80]
cdq
push ecx
push edx
push eax
call sub.ntdll.dll__allmul
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x48]
push edx
mov ebx, eax
mov eax, dword [esp + 0x54]
push edi
push eax
push ecx
call sub.ntdll.dll__allmul
add ebx, eax
mov eax, dword [esp + 0xb0]
adc eax, edx
cmp dword [esi + 0x134], 0
mov dword [esp + 0x70], eax
jne 0x1003a583
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x28]
push edi
mov edx, eax
mov eax, dword [esp + 0x48]
push edx
add ecx, eax
push ebx
push ecx
mov ecx, dword [esi]
call fcn.10055fa0
test eax, eax
je 0x1003a626
add dword [esi + 0x4298], edi
mov edx, dword [esp + 0x30]
movzx eax, word [esi + 0x24]
adc dword [esi + 0x429c], edx
mov ecx, dword [esi + 0x250]
fild qword [esi + 0x4298]
cdq
push edx
push eax
mov eax, dword [esi + 0x254]
push eax
push ecx
call sub.ntdll.dll__allmul
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
fild qword [esp + 0x64]
fdivp st(1)
fmul qword [0x10064600]
call fcn.100594f0
push eax
mov ecx, esi
call fcn.100391d0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x42b0]
push eax
push ecx
push 0
push edx
call sub.ntdll.dll__allmul
add dword [esp + 0x24], eax
adc dword [esp + 0x28], edx
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x14], 0x10
add edi, 1
mov dword [esp + 0x18], edi
call fcn.1005c7d0
cmp edi, eax
jb 0x1003a2e4
cmp dword [esi + 0x42a4], 0
mov edi, dword [sym.imp.MSVCR80.dll__swprintf]
je 0x1003a663
push str.Extending_volume__Process_volume_bitmap:_100___
lea ecx, [esp + 0x108]
push ecx
jmp 0x1003a670
call fcn.10059c60
mov ebx, eax
mov edi, dword [ebx]
push 0x8f5
mov ecx, str..._ntfsresize.cpp
add edi, 8
call fcn.100386c0
mov edx, dword [edi]
push eax
push str._s:_Failed_to_write_sector.
push ebx
call edx
mov ecx, dword [esi + 0x130]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
add esp, 0x10
push 0x22
call edx
jmp 0x1003b001
call fcn.10059c60
mov ebx, eax
mov edi, dword [ebx]
push 0x909
mov ecx, str..._ntfsresize.cpp
add edi, 8
call fcn.100386c0
push eax
mov eax, dword [edi]
push str._s:_Failed_to_write_sector.
push ebx
call eax
mov ecx, dword [esi + 0x130]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
add esp, 0x10
push 0x22
call eax
jmp 0x1003b001
push str.Shrinking_volume__Process_volume_bitmap:_100___
lea edx, [esp + 0x108]
push edx
call edi
mov ecx, dword [esi + 0x130]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
add esp, 8
lea edx, [esp + 0x104]
push edx
call eax
lea ecx, [esp + 0x104]
push str.Status:100
push ecx
call edi
mov esi, dword [esi + 0x130]
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
add esp, 8
lea eax, [esp + 0x104]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0xbc]
mov dword [esp + 0x4418], 0xffffffff
call fcn.10055870
mov eax, 1
mov ecx, dword [esp + 0x4410]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x43f8]
xor ecx, esp
call fcn.10059076
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0xbc]
call fcn.10055870
mov ecx, dword [esp + 0x3c]
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x58], edi
call fcn.1005c7d0
test eax, eax
jbe 0x1003a6b3
mov dword [esp + 0x40], edi
mov ebx, edi
mov edi, dword [esp + 0x3c]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1003a739
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 4
cmp ebx, eax
jb 0x1003a73f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 4]
add eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x88], eax
mov dword [esp + 0x80], edx
xor edx, edx
mov eax, 0x800000
div dword [esi + 0x42b0]
mov dword [esp + 0x7c], ecx
xor ecx, ecx
push ecx
push edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x40], ecx
mov ebx, eax
movzx eax, word [esi + 0x24]
cdq
push edx
push eax
mov dword [esp + 0x44], ebx
call sub.ntdll.dll__allmul
mov ecx, dword [esp + 0x38]
push ecx
push ebx
push edx
push eax
call fcn.100595b0
mov dword [esp + 0x94], ecx
xor ecx, ecx
cmp edx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
jl 0x1003ab95
jg 0x1003a7d0
cmp eax, ecx
jbe 0x1003ab95
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x42b0]
push eax
push ecx
push 0
push edx
call sub.ntdll.dll__allmul
push 0
push 8
push edx
push eax
call sub.ntdll.dll__allmul
mov edi, eax
mov ebx, edx
lea ecx, [esp + 0xec]
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], ebx
call fcn.10055850
push ebx
push edi
lea ecx, [esp + 0xf4]
mov byte [esp + 0x4420], 1
call fcn.10055b80
xor edi, edi
cmp ebx, edi
mov dword [esp + 0x6c], edi
jl 0x1003aa87
jg 0x1003a840
cmp dword [esp + 0x74], edi
jbe 0x1003aa87
jmp 0x1003a840
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x42b0]
push eax
push ecx
push 0
push edx
call sub.ntdll.dll__allmul
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push edx
push eax
call sub.ntdll.dll__allmul
push 0
push 8
push edx
push eax
call sub.ntdll.dll__allmul
mov ecx, dword [esp + 0x6c]
mov ebx, eax
add ebx, ecx
adc edx, edi
add ebx, dword [esp + 0x2c]
mov eax, edi
adc edx, dword [esp + 0x30]
add ecx, 0x40
adc eax, 0
cmp eax, dword [esp + 0x78]
mov dword [esp + 0x60], edx
jg 0x1003a8d2
jl 0x1003a8a0
cmp ecx, dword [esp + 0x74]
jae 0x1003a8d2
push 0x40
push ebx
lea ecx, [esi + 0x140]
call fcn.10056430
test eax, eax
je 0x1003a8d2
mov ebx, dword [esp + 0x6c]
push 0
push 0x40
push edi
push ebx
lea ecx, [esp + 0xfc]
call fcn.10055890
mov dword [esp + 0x18], 0x40
jmp 0x1003a906
push 1
push ebx
lea ecx, [esi + 0x140]
call fcn.10056430
test eax, eax
je 0x1003a8fa
mov edx, dword [esp + 0x6c]
push 0
push 1
push edi
push edx
lea ecx, [esp + 0xfc]
call fcn.10055890
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x18], 1
cmp dword [esi + 0x138], 0
je 0x1003a94c
mov ecx, ebx
add ecx, dword [esp + 0x2c]
mov eax, edi
adc eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x68]
jl 0x1003a94c
jg 0x1003a929
cmp ecx, dword [esp + 0x64]
jb 0x1003a94c
cmp eax, dword [esp + 0x50]
jg 0x1003a94c
jl 0x1003a937
cmp ecx, dword [esp + 0x4c]
ja 0x1003a94c
mov eax, dword [esp + 0x18]
cdq
push edx
push eax
push edi
push ebx
lea ecx, [esp + 0xfc]
call fcn.100559c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x14]
cmp eax, 0xbb8
jb 0x1003aa64
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
call sub.ntdll.dll__allmul
fnstcw word [esp + 0x14]
add eax, dword [esp + 0x6c]
push 0xfe
adc edx, edi
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
fild qword [esp + 0xb0]
movzx eax, word [esp + 0x18]
fild qword [esi + 0x1d8]
or eax, 0xc00
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x20a]
fdivp st(1)
push 0
push ecx
mov word [esp + 0x210], 0
fmul qword [0x10064600]
fldcw word [esp + 0x68]
fistp qword [esp + 0x68]
mov ebx, dword [esp + 0x68]
fldcw word [esp + 0x20]
call sub.ntdll.dll_memset
add esp, 0xc
cmp dword [esi + 0x42a4], 0
push ebx
je 0x1003a9ff
push str.Extending_volume__Process_volume_bitmap:__d___
lea edx, [esp + 0x20c]
push edx
jmp 0x1003aa0c
push str.Shrinking_volume__Process_volume_bitmap:__d___
lea eax, [esp + 0x20c]
push eax
call dword [sym.imp.MSVCR80.dll__swprintf]
mov ecx, dword [esi + 0x130]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
add esp, 0xc
lea eax, [esp + 0x204]
push eax
call edx
push ebx
lea eax, [esp + 0x208]
push str.Status:_d
push eax
call dword [sym.imp.MSVCR80.dll__swprintf]
mov ecx, dword [esi + 0x130]
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
add esp, 0xc
lea eax, [esp + 0x204]
push eax
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
cdq
add ebx, eax
adc edi, edx
cmp edi, dword [esp + 0x78]
mov dword [esp + 0x6c], ebx
jl 0x1003a840
jg 0x1003aa87
cmp ebx, dword [esp + 0x74]
jb 0x1003a840
mov ecx, dword [esp + 0x80]
movzx eax, word [esi + 0x24]
push ecx
mov ecx, dword [esp + 0x80]
cdq
push ecx
push edx
push eax
call sub.ntdll.dll__allmul
mov ecx, dword [esp + 0x28]
mov ebx, edx
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [esp + 0x38]
push eax
push ecx
push edx
call sub.ntdll.dll__allmul
add edi, eax
adc ebx, edx
cmp dword [esi + 0x134], 0
jne 0x1003ab57
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
push ebx
push edi
lea ecx, [esp + 0xfc]
call fcn.1002ea60
mov ecx, dword [esi]
push eax
call fcn.10055fa0
test eax, eax
je 0x1003afb5
mov edx, dword [esp + 0x34]
add dword [esi + 0x4298], edx
mov eax, dword [esp + 0x38]
mov ecx, dword [esi + 0x254]
adc dword [esi + 0x429c], eax
fild qword [esi + 0x4298]
movzx eax, word [esi + 0x24]
cdq
push edx
mov edx, dword [esi + 0x250]
push eax
push ecx
push edx
call sub.ntdll.dll__allmul
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edx
fild qword [esp + 0xb4]
fdivp st(1)
fmul qword [0x10064600]
call fcn.100594f0
push eax
mov ecx, esi
call fcn.100391d0
lea ecx, [esp + 0xec]
mov byte [esp + 0x4418], 0
call fcn.10055870
add dword [esp + 0x24], 1
mov eax, dword [esp + 0x28]
adc eax, 0
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
jl 0x1003a7d0
jg 0x1003ab95
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x24], eax
jb 0x1003a7d0
mov eax, dword [esp + 0x98]
test eax, eax
jl 0x1003af6b
jg 0x1003abb4
cmp dword [esp + 0x94], 0
jbe 0x1003af6b
mov edx, dword [esp + 0x94]
mov ecx, dword [esi + 0x42b0]
push eax
push edx
push 0
push ecx
call sub.ntdll.dll__allmul
push 0
push 8
push edx
push eax
call sub.ntdll.dll__allmul
mov ebx, eax
mov edi, edx
lea ecx, [esp + 0xd4]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], edi
call fcn.10055850
push edi
push ebx
lea ecx, [esp + 0xdc]
mov byte [esp + 0x4420], 2
call fcn.10055b80
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x8c], ebx
jl 0x1003ae7b
jg 0x1003ac21
cmp dword [esp + 0x44], ebx
jbe 0x1003ae7b
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x42b0]
push ecx
push edx
push 0
push eax
call sub.ntdll.dll__allmul
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push edx
push eax
call sub.ntdll.dll__allmul
push 0
push 8
push edx
push eax
call sub.ntdll.dll__allmul
mov ecx, dword [esp + 0x8c]
mov edi, eax
add edi, ecx
adc edx, ebx
add edi, dword [esp + 0x2c]
mov eax, ebx
adc edx, dword [esp + 0x30]
add ecx, 0x40
adc eax, 0
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x60], edx
jg 0x1003acb9
jl 0x1003ac84
cmp ecx, dword [esp + 0x44]
jae 0x1003acb9
push 0x40
push edi
lea ecx, [esi + 0x140]
call fcn.10056430
test eax, eax
je 0x1003acb9
mov edx, dword [esp + 0x8c]
push 0
push 0x40
push ebx
push edx
lea ecx, [esp + 0xe4]
call fcn.10055890
mov dword [esp + 0x18], 0x40
jmp 0x1003acec
push 1
push edi
lea ecx, [esi + 0x140]
call fcn.10056430
test eax, eax
je 0x1003ace4
mov eax, dword [esp + 0x8c]
push 0
push 1
push ebx
push eax
lea ecx, [esp + 0xe4]
call fcn.10055890
mov dword [esp + 0x18], 1
cmp dword [esi + 0x138], 0
je 0x1003ad39
mov edi, dword [esp + 0x8c]
mov ecx, edi
add ecx, dword [esp + 0x2c]
mov eax, ebx
adc eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x68]
jl 0x1003ad39
jg 0x1003ad16
cmp ecx, dword [esp + 0x64]
jb 0x1003ad39
cmp eax, dword [esp + 0x50]
jg 0x1003ad39
jl 0x1003ad24
cmp ecx, dword [esp + 0x4c]
ja 0x1003ad39
mov eax, dword [esp + 0x18]
cdq
push edx
push eax
push ebx
push edi
lea ecx, [esp + 0xe4]
call fcn.100559c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x14]
cmp eax, 0xbb8
jb 0x1003ae50
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
call sub.ntdll.dll__allmul
fnstcw word [esp + 0x14]
add eax, dword [esp + 0x8c]
push 0xfe
adc edx, ebx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
fild qword [esp + 0xa8]
movzx eax, word [esp + 0x18]
fild qword [esi + 0x1d8]
or eax, 0xc00
mov dword [esp + 0x60], eax
lea edx, [esp + 0x30a]
fdivp st(1)
push 0
push edx
mov word [esp + 0x310], 0
fmul qword [0x10064600]
fldcw word [esp + 0x68]
fistp qword [esp + 0x68]
mov edi, dword [esp + 0x68]
fldcw word [esp + 0x20]
call sub.ntdll.dll_memset
add esp, 0xc
cmp dword [esi + 0x42a4], 0
push edi
je 0x1003adef
push str.Extending_volume__Process_volume_bitmap:__d___
lea eax, [esp + 0x30c]
push eax
jmp 0x1003adfc
push str.Shrinking_volume__Process_volume_bitmap:__d___
lea ecx, [esp + 0x30c]
push ecx
call dword [sym.imp.MSVCR80.dll__swprintf]
mov ecx, dword [esi + 0x130]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
add esp, 0xc
lea eax, [esp + 0x304]
push eax
call edx
push edi
lea eax, [esp + 0x308]
push str.Status:_d
push eax
call dword [sym.imp.MSVCR80.dll__swprintf]
mov ecx, dword [esi + 0x130]
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
add esp, 0xc
lea eax, [esp + 0x304]
push eax
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
cdq
add dword [esp + 0x8c], eax
adc ebx, edx
cmp ebx, dword [esp + 0x48]
jl 0x1003ac21
jg 0x1003ae7b
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x8c], eax
jb 0x1003ac21
mov ecx, dword [esp + 0x80]
movzx eax, word [esi + 0x24]
push ecx
mov ecx, dword [esp + 0x80]
cdq
push ecx
push edx
push eax
call sub.ntdll.dll__allmul
mov ecx, dword [esp + 0x20]
mov ebx, edx
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x38]
push eax
push ecx
push edx
call sub.ntdll.dll__allmul
add edi, eax
adc ebx, edx
cmp dword [esi + 0x134], 0
jne 0x1003af57
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
push eax
push ecx
push ebx
push edi
lea ecx, [esp + 0xe4]
call fcn.1002ea60
mov ecx, dword [esi]
push eax
call fcn.10055fa0
test eax, eax
je 0x1003b01f
mov edx, dword [esp + 0x94]
add dword [esi + 0x4298], edx
mov eax, dword [esp + 0x98]
mov ecx, dword [esi + 0x254]
adc dword [esi + 0x429c], eax
fild qword [esi + 0x4298]
movzx eax, word [esi + 0x24]
cdq
push edx
mov edx, dword [esi + 0x250]
push eax
push ecx
push edx
call sub.ntdll.dll__allmul
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
fild qword [esp + 0x9c]
fdivp st(1)
fmul qword [0x10064600]
call fcn.100594f0
push eax
mov ecx, esi
call fcn.100391d0
lea ecx, [esp + 0xd4]
mov byte [esp + 0x4418], 0
call fcn.10055870
movzx eax, word [esi + 0x24]
imul eax, dword [esp + 0x84]
imul eax, dword [esi + 0x42b0]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x3c]
add eax, eax
add eax, eax
add eax, eax
add dword [esp + 0x2c], eax
mov ecx, edi
adc dword [esp + 0x30], 0
add dword [esp + 0x40], 0x10
add ebx, 1
mov dword [esp + 0x58], ebx
call fcn.1005c7d0
cmp ebx, eax
jb 0x1003a726
jmp 0x1003a6b3
call fcn.10059c60
mov ebx, eax
mov edi, dword [ebx]
push 0x867
mov ecx, str..._ntfsresize.cpp
add edi, 8
call fcn.100386c0
mov ecx, dword [edi]
push eax
push str._s:_Failed_to_write_sector.
push ebx
call ecx
mov ecx, dword [esi + 0x130]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
add esp, 0x10
push 0x22
call eax
lea ecx, [esp + 0xec]
mov byte [esp + 0x4418], 0
call fcn.10055870
lea ecx, [esp + 0xbc]
mov dword [esp + 0x4418], 0xffffffff
call fcn.10055870
xor eax, eax
jmp 0x1003a6cf
call fcn.10059c60
mov ebx, eax
mov edi, dword [ebx]
push 0x8ad
mov ecx, str..._ntfsresize.cpp
add edi, 8
call fcn.100386c0
mov ecx, dword [edi]
push eax
push str._s:_Failed_to_write_sector.
push ebx
call ecx
mov esi, dword [esi + 0x130]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
add esp, 0x10
push 0x22
mov ecx, esi
call eax
lea ecx, [esp + 0xd4]
jmp 0x1003aff4