Function at 0x14012d1f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rsi, rcx
mov qword [rsp + 0x60], rcx
xor ebp, ebp
mov r12d, ebp
mov r14, rbp
mov r13, rbp
mov eax, dword [rcx + 0x1a0]
mov edx, dword [rcx + 0x190]
sub rdx, rax
mov eax, dword [rcx + 0x1ac]
imul rdx, rax
test rdx, rdx
jle 0x14012d30e
cmp dword [rcx + 0x84], ebp
je 0x14012d2c0
mov ecx, dword [rcx + 0x188]
mov rax, rdx
cqo
idiv rcx
test rdx, rdx
je 0x14012d288
add eax, 1
lea r12d, [rax + 2]
mov r13d, eax
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x15d
lea rcx, str..._fatresize.cpp
call fcn.140123400
mov r8, rax
lea rdx, str._s:_Extend_FAT32_and_Increase_FAT_Table.
mov rcx, rdi
call qword [rbx + 0x10]
jmp 0x14012d3dc
mov ecx, dword [rcx + 0x188]
mov rax, rdx
cqo
idiv rcx
test rdx, rdx
je 0x14012d2d6
add eax, 1
lea r12d, [rax + 2]
mov r13d, eax
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, reloc.MFC80U.DLL_Ordinal_362
lea rcx, str..._fatresize.cpp
call fcn.140123400
mov r8, rax
lea rdx, str._s:_Shrink_FAT32_and_Increase_FAT_Table.
mov rcx, rdi
call qword [rbx + 0x10]
jmp 0x14012d3dc
test rdx, rdx
jns 0x14012d3b0
neg rdx
cmp dword [rcx + 0x84], ebp
je 0x14012d371
mov edi, dword [rcx + 0x18c]
mov rax, rdx
cqo
idiv rdi
mov rcx, rax
xor edx, edx
mov eax, edi
div dword [rsi + 0x188]
imul eax, ecx
mov r14d, eax
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, Ordinal_376
lea rcx, str..._fatresize.cpp
call fcn.140123400
mov r8, rax
lea rdx, str._s:_Extend_FAT32_and_Decrease_FAT_Table.
mov rcx, rdi
call qword [rbx + 0x10]
jmp 0x14012d3dc
mov ecx, dword [rcx + 0x188]
mov rax, rdx
cqo
idiv rcx
mov r14, rax
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x17b
lea rcx, str..._fatresize.cpp
call fcn.140123400
mov r8, rax
lea rdx, str._s:_Shrink_FAT32_and_Decrease_FAT_Table.
mov rcx, rdi
call qword [rbx + 0x10]
jmp 0x14012d3dc
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x180
lea rcx, str..._fatresize.cpp
call fcn.140123400
mov r8, rax
lea rdx, str._s:_FAT_Table_No_Change.
mov rcx, rdi
call qword [rbx + 0x10]
mov qword [rsi + 0x1b8], 2
mov eax, r12d
mov qword [rsi + 0x1c0], rax
mov qword [rsi + 0x1d8], r14
mov qword [rsi + 0x1e0], r13
lea r13, [rsi + 0x90]
mov qword [rsp + 0x58], r13
mov r8, qword [rsi + 0x40]
mov edx, dword [rsi + 0x38]
mov rcx, r13
call fcn.140145760
test eax, eax
jne 0x14012d526
call fcn.140049470
mov r12, rax
xor edx, edx
mov r8d, 0x80
lea rbx, [0x14043e030]
mov rcx, rbx
call sub.ntdll.dll_memset
mov edx, 0x5c
lea rcx, str..._fatresize.cpp
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
je 0x14012d4f3
mov byte [rsp + 0xb0], bpl
xor eax, eax
mov qword [rsp + 0xb1], rax
mov word [rsp + 0xb9], ax
mov byte [rsp + 0xbb], al
mov r8d, Ordinal_401
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, rbx
sub rcx, rdx
nop
nop
nop
movzx eax, byte [rdx]
mov byte [rcx + rdx], al
add rdx, 1
test al, al
jne 0x14012d4b0
mov rdi, rbx
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x14012d4e0
mov rbp, rbx
mov rax, qword [r12]
mov r8, rbp
lea rdx, str._s:_Failed_to_init_ClusList.
mov rcx, r12
call qword [rax + 0x10]
mov rax, qword [rsi + 0x78]
mov rdi, qword [rax]
mov rcx, r13
call fcn.140144c70
mov edx, eax
mov rcx, qword [rsi + 0x78]
call qword [rdi + 0x40]
xor eax, eax
jmp 0x14012e407
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rbp
mov edx, dword [rsi + 0x1a4]
mov rcx, r13
call fcn.140146400
mov r15d, eax
test eax, eax
jne 0x14012d5a5
mov rax, qword [rsi + 0x78]
mov rdi, qword [rax]
mov rcx, r13
call fcn.140144c70
mov edx, eax
mov rcx, qword [rsi + 0x78]
call qword [rdi + 0x40]
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x197
lea rcx, str..._fatresize.cpp
call fcn.140123400
mov r8, rax
lea rdx, str._s:_Get_cluster_list_error.
mov rcx, rdi
call qword [rbx + 0x10]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14012d59e
call sub.MFC80U.DLL_Ordinal_776
xor eax, eax
jmp 0x14012e407
mov r14d, ebp
test eax, eax
je 0x14012d706
movzx edi, byte [rsp + 0x30]
mov rsi, qword [rsp + 0x58]
nop
nop
mov dword [rsp + 0x70], 1
mov edx, r14d
mov rcx, rsi
call fcn.1401458c0
mov r11d, eax
mov qword [rsp + 0x68], r11
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14012d633
mov rcx, r13
sub rcx, rbx
sar rcx, 4
mov rax, qword [rsp + 0x50]
sub rax, rbx
sar rax, 4
cmp rcx, rax
jae 0x14012d633
xor eax, eax
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], dil
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x68]
lea edx, [rax + 1]
mov rcx, r13
call fcn.14004cd40
lea r11, [r13 + 0x10]
mov qword [rsp + 0x48], r11
jmp 0x14012d6ef
mov r12, r13
cmp rbx, r13
jbe 0x14012d64b
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], r12
test rbx, rbx
je 0x14012d685
mov rax, r13
sub rax, rbx
sar rax, 4
je 0x14012d685
cmp rbx, r13
jbe 0x14012d67c
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
sub r12, rbx
sar r12, 4
jmp 0x14012d688
mov r12, rbp
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0xa0], xmm0
lea r9, [rsp + 0x68]
mov r8d, 1
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x38]
call fcn.14004cda0
mov r11, qword [rsp + 0x40]
mov rbx, r11
mov rax, qword [rsp + 0x48]
cmp r11, rax
jbe 0x14012d6d8
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0x48]
mov r11, qword [rsp + 0x40]
add r12, r12
lea rcx, [rbx + r12*8]
cmp rcx, rax
ja 0x14012d6e9
cmp rcx, r11
jae 0x14012d6ef
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add r14d, 1
cmp r14d, r15d
jb 0x14012d5c0
mov rsi, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.140135aa0
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xf0]
test eax, eax
je 0x14012d82d
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
mov edx, 0x17
call qword [rax + 0x40]
call fcn.140049470
mov rsi, rax
xor edx, edx
mov r8d, 0x80
lea rbx, [0x14043e030]
mov rcx, rbx
call sub.ntdll.dll_memset
mov edx, 0x5c
lea rcx, str..._fatresize.cpp
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
je 0x14012d803
mov byte [rsp + 0xb0], 0
xor eax, eax
mov qword [rsp + 0xb1], rax
mov word [rsp + 0xb9], ax
mov byte [rsp + 0xbb], al
mov r8d, 0x1a9
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, rbx
sub rcx, rdx
nop
nop
movzx eax, byte [rdx]
mov byte [rdx + rcx], al
add rdx, 1
test al, al
jne 0x14012d7c0
mov rdi, rbx
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x14012d7f0
mov rbp, rbx
mov rax, qword [rsi]
mov r8, rbp
lea rdx, str._s:_User_cancel_operations.
mov rcx, rsi
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14012d826
call sub.MFC80U.DLL_Ordinal_776
xor eax, eax
jmp 0x14012e407
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + reloc.MFC80U.DLL_Ordinal_512], eax
movabs r15, 0x3fb999999999999a
mov qword [rsi + 0x1e8], r15
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xe0]
cvtsi2sd xmm6, eax
movsd xmm7, qword [0x1403b85a8]
divsd xmm6, xmm7
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xa0]
cvtsi2sd xmm0, eax
mulsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rsi + 0x1f0], eax
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
lea rdx, str.Filesystem_Scanning...
call qword [rax + 0x70]
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
lea rdx, str.Working...
call qword [rax + 0x78]
mov ecx, 0x28
call sub.MFC80U.DLL_Ordinal_774
mov qword [rsp + 0xb0], rax
test rax, rax
je 0x14012d8ce
xor edx, edx
mov rcx, rax
call fcn.1401465c0
mov rdx, rax
jmp 0x14012d8d1
mov rdx, rbp
mov qword [rsi + 0x88], rdx
mov eax, dword [rsi + 0x1a4]
mov dword [rdx + 0x18], eax
mov r14, qword [rsi + 0x88]
mov r12, qword [r14 + 0x20]
test r12, r12
je 0x14012d989
mov rdi, qword [r12 + 0x10]
cmp qword [r12 + 8], rdi
jbe 0x14012d907
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [r12 + 8]
cmp rbx, qword [r12 + 0x10]
jbe 0x14012d919
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp rbx, rdi
je 0x14012d95e
mov rdx, qword [r12 + 0x10]
mov rcx, rdx
sub rcx, rdi
and rcx, 0xfffffffffffffff0
add rcx, rbx
cmp rdi, rdx
je 0x14012d959
sub rbx, rdi
nop
nop
mov rax, qword [rdi]
mov qword [rbx + rdi], rax
mov rax, qword [rdi + 8]
mov qword [rbx + rdi + 8], rax
add rdi, 0x10
cmp rdi, rdx
jne 0x14012d940
mov qword [r12 + 0x10], rcx
mov rdi, qword [r14 + 0x20]
test rdi, rdi
je 0x14012d989
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14012d975
call sub.MFC80U.DLL_Ordinal_776
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbp
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_776
mov ecx, 0x20
call sub.MFC80U.DLL_Ordinal_774
nop
test rax, rax
je 0x14012d9a7
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rbp
jmp 0x14012d9aa
mov rax, rbp
mov qword [r14 + 0x20], rax
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.140128220
mov rdx, qword [rsi + 0x88]
mov byte [rdx + 0x1c], 1
mov rdx, qword [rsi + 0x88]
mov rcx, rsi
call fcn.14012a630
test eax, eax
jne 0x14012da1c
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, Ordinal_443
lea rcx, str..._fatresize.cpp
call fcn.140123400
mov r8, rax
lea rdx, str._s:_Failed_to_build_fdt_tree.
mov rcx, rdi
call qword [rbx + 0x10]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14012da15
call sub.MFC80U.DLL_Ordinal_776
xor eax, eax
jmp 0x14012e407
movsd xmm1, qword [rsi + 0x1e8]
mulsd xmm1, xmm7
cvtsi2sd xmm0, dword [rsi + 0x1f0]
addsd xmm1, xmm0
cvttsd2si edi, xmm1
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xa0]
cmp eax, edi
jge 0x14012da55
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
mov edx, edi
call qword [rax + 0x10]
mov rcx, r13
call fcn.140144f20
mov rbx, qword [rsi + 0x138]
cmp qword [rsi + 0x130], rbx
jbe 0x14012da73
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdi, qword [rsi + 0x130]
cmp rdi, qword [rsi + 0x138]
jbe 0x14012da89
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp rdi, rbx
je 0x14012dac3
mov rax, qword [rsi + 0x138]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
lea r12, [rdx + rdi]
test rax, rax
jle 0x14012dabc
mov r9, rdx
mov r8, rbx
mov rcx, rdi
call qword [sym.imp.MSVCR80.dll_memmove_s]
mov qword [rsi + 0x138], r12
mov rbx, qword [rsi + 0x158]
cmp qword [rsi + reloc.MFC80U.DLL_Ordinal_336], rbx
jbe 0x14012dad9
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdi, qword [rsi + reloc.MFC80U.DLL_Ordinal_336]
cmp rdi, qword [rsi + 0x158]
jbe 0x14012daef
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp rdi, rbx
je 0x14012db29
mov rax, qword [rsi + 0x158]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
lea r12, [rdx + rdi]
test rax, rax
jle 0x14012db22
mov r9, rdx
mov r8, rbx
mov rcx, rdi
call qword [sym.imp.MSVCR80.dll_memmove_s]
mov qword [rsi + 0x158], r12
mov rdi, qword [rsi + reloc.MFC80U.DLL_Ordinal_376]
cmp qword [rsi + 0x170], rdi
jbe 0x14012db3f
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [rsi + 0x170]
cmp rbx, qword [rsi + reloc.MFC80U.DLL_Ordinal_376]
jbe 0x14012db55
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp rbx, rdi
je 0x14012dba0
mov rdx, qword [rsi + reloc.MFC80U.DLL_Ordinal_376]
mov rcx, rdx
sub rcx, rdi
and rcx, 0xfffffffffffffff0
add rcx, rbx
cmp rdi, rdx
je 0x14012db99
sub rbx, rdi
nop
nop
nop
mov rax, qword [rdi]
mov qword [rbx + rdi], rax
mov rax, qword [rdi + 8]
mov qword [rbx + rdi + 8], rax
add rdi, 0x10
cmp rdi, rdx
jne 0x14012db80
mov qword [rsi + reloc.MFC80U.DLL_Ordinal_376], rcx
mov rax, qword [rsi + 0x1b8]
cmp qword [rsi + 0x1c0], rax
jle 0x14012dbc8
mov r8d, dword [rsi + 0x1c0]
sub r8d, eax
lea rcx, [rsi + 0xf0]
mov edx, eax
call fcn.140147a30
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + reloc.MFC80U.DLL_Ordinal_512], eax
movabs rax, 0x3fb1eb851eb851ec
mov qword [rsi + 0x1e8], rax
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xe0]
cvtsi2sd xmm6, eax
divsd xmm6, xmm7
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xa0]
cvtsi2sd xmm0, eax
mulsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rsi + 0x1f0], eax
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
lea rdx, str.Filesystem_Analysing...
call qword [rax + 0x70]
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
lea rdx, str.Analysing...
call qword [rax + 0x78]
mov rdx, qword [rsi + 0x88]
mov rcx, rsi
call fcn.14012cfd0
test eax, eax
jne 0x14012dc91
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x1e3
lea rcx, str..._fatresize.cpp
call fcn.140123400
mov r8, rax
lea rdx, str._s:_Failed_to_enum_FDT_node.
mov rcx, rdi
call qword [rbx + 0x10]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14012dc8a
call sub.MFC80U.DLL_Ordinal_776
xor eax, eax
jmp 0x14012e407
movsd xmm1, qword [rsi + 0x1e8]
mulsd xmm1, xmm7
cvtsi2sd xmm0, dword [rsi + 0x1f0]
addsd xmm1, xmm0
cvttsd2si edi, xmm1
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xa0]
cmp eax, edi
jge 0x14012dcca
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
mov edx, edi
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x48]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + reloc.MFC80U.DLL_Ordinal_512], eax
movabs rax, 0x3fe3333333333333
mov qword [rsi + 0x1e8], rax
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xe0]
cvtsi2sd xmm6, eax
divsd xmm6, xmm7
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xa0]
cvtsi2sd xmm0, eax
mulsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rsi + 0x1f0], eax
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
lea rdx, str.Data_Moving...
call qword [rax + 0x70]
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
lea rdx, str.Moving_Data
call qword [rax + 0x78]
mov rdi, qword [rsi + reloc.MFC80U.DLL_Ordinal_376]
cmp qword [rsi + 0x170], rdi
jbe 0x14012dd5f
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [rsi + 0x170]
cmp rbx, qword [rsi + reloc.MFC80U.DLL_Ordinal_376]
jbe 0x14012dd75
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp rbx, rdi
je 0x14012ddc0
mov rdx, qword [rsi + reloc.MFC80U.DLL_Ordinal_376]
mov rcx, rdx
sub rcx, rdi
and rcx, 0xfffffffffffffff0
add rcx, rbx
cmp rdi, rdx
je 0x14012ddb9
sub rbx, rdi
nop
nop
nop
mov rax, qword [rdi]
mov qword [rbx + rdi], rax
mov rax, qword [rdi + 8]
mov qword [rbx + rdi + 8], rax
add rdi, 0x10
cmp rdi, rdx
jne 0x14012dda0
mov qword [rsi + reloc.MFC80U.DLL_Ordinal_376], rcx
cmp dword [rsi + 0x84], 0
je 0x14012df1c
mov rcx, rsi
call fcn.140124ad0
test eax, eax
jne 0x14012de1c
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x1f4
lea rcx, str..._fatresize.cpp
call fcn.140123400
mov r8, rax
lea rdx, str._s:_Failed_to_move_data.
mov rcx, rdi
call qword [rbx + 0x10]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14012de15
call sub.MFC80U.DLL_Ordinal_776
xor eax, eax
jmp 0x14012e407
mov r12d, ebp
mov rbx, rbp
mov rax, qword [rsi + 0x130]
test rax, rax
jne 0x14012de33
mov rcx, rbp
jmp 0x14012de41
mov rcx, qword [rsi + 0x138]
sub rcx, rax
sar rcx, 3
mov eax, r12d
cmp rax, rcx
jae 0x14012dead
mov rcx, qword [rsi + 0x130]
test rcx, rcx
je 0x14012de68
mov rax, qword [rsi + 0x138]
sub rax, rcx
sar rax, 3
cmp rbx, rax
jb 0x14012de6e
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsi + 0x130]
mov rdi, qword [rax + rbx*8]
test rdi, rdi
je 0x14012dea0
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14012de8c
call sub.MFC80U.DLL_Ordinal_776
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbp
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_776
add r12d, 1
add rbx, 1
jmp 0x14012de22
mov rbx, qword [rsi + 0x138]
cmp qword [rsi + 0x130], rbx
jbe 0x14012dec3
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdi, qword [rsi + 0x130]
cmp rdi, qword [rsi + 0x138]
jbe 0x14012ded9
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp rdi, rbx
je 0x14012e062
mov rax, qword [rsi + 0x138]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
lea rbp, [rdx + rdi]
test rax, rax
jle 0x14012df10
mov r9, rdx
mov r8, rbx
mov rcx, rdi
call qword [sym.imp.MSVCR80.dll_memmove_s]
mov qword [rsi + 0x138], rbp
jmp 0x14012e062
mov rcx, rsi
call fcn.140125ad0
test eax, eax
jne 0x14012df6b
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x202
lea rcx, str..._fatresize.cpp
call fcn.140123400
mov r8, rax
lea rdx, str._s:_Failed_to_move_data.
mov rcx, rdi
call qword [rbx + 0x10]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14012df64
call sub.MFC80U.DLL_Ordinal_776
xor eax, eax
jmp 0x14012e407
mov r12d, ebp
mov rbx, rbp
mov rax, qword [rsi + reloc.MFC80U.DLL_Ordinal_336]
test rax, rax
jne 0x14012df82
mov rcx, rbp
jmp 0x14012df90
mov rcx, qword [rsi + 0x158]
sub rcx, rax
sar rcx, 3
mov eax, r12d
cmp rax, rcx
jae 0x14012dffc
mov rcx, qword [rsi + reloc.MFC80U.DLL_Ordinal_336]
test rcx, rcx
je 0x14012dfb7
mov rax, qword [rsi + 0x158]
sub rax, rcx
sar rax, 3
cmp rbx, rax
jb 0x14012dfbd
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsi + reloc.MFC80U.DLL_Ordinal_336]
mov rdi, qword [rax + rbx*8]
test rdi, rdi
je 0x14012dfef
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14012dfdb
call sub.MFC80U.DLL_Ordinal_776
mov qword [rdi + 0x18], rbp
mov qword [rdi + 0x20], rbp
mov qword [rdi + 0x28], rbp
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_776
add r12d, 1
add rbx, 1
jmp 0x14012df71
mov rbx, qword [rsi + 0x158]
cmp qword [rsi + reloc.MFC80U.DLL_Ordinal_336], rbx
jbe 0x14012e012
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdi, qword [rsi + reloc.MFC80U.DLL_Ordinal_336]
cmp rdi, qword [rsi + 0x158]
jbe 0x14012e028
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp rdi, rbx
je 0x14012e062
mov rax, qword [rsi + 0x158]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
lea rbp, [rdx + rdi]
test rax, rax
jle 0x14012e05b
mov r9, rdx
mov r8, rbx
mov rcx, rdi
call qword [sym.imp.MSVCR80.dll_memmove_s]
mov qword [rsi + 0x158], rbp
movsd xmm1, qword [rsi + 0x1e8]
mulsd xmm1, xmm7
cvtsi2sd xmm0, dword [rsi + 0x1f0]
addsd xmm1, xmm0
cvttsd2si edi, xmm1
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xa0]
cmp eax, edi
jge 0x14012e09b
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
mov edx, edi
call qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + reloc.MFC80U.DLL_Ordinal_512], eax
movabs rax, 0x3fb47ae147ae147b
mov qword [rsi + 0x1e8], rax
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xe0]
cvtsi2sd xmm6, eax
divsd xmm6, xmm7
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xa0]
cvtsi2sd xmm0, eax
mulsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rsi + 0x1f0], eax
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
lea rdx, str.File_Items_Updating...
call qword [rax + 0x70]
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
lea rdx, str.Updating_Files
call qword [rax + 0x78]
mov rdx, qword [rsi + 0x88]
mov rcx, rsi
call fcn.140127f20
test eax, eax
jne 0x14012e164
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x216
lea rcx, str..._fatresize.cpp
call fcn.140123400
mov r8, rax
lea rdx, str._s:_Update_1st_Cluster_Number_on_each_file_fail.
mov rcx, rdi
call qword [rbx + 0x10]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14012e15d
call sub.MFC80U.DLL_Ordinal_776
xor eax, eax
jmp 0x14012e407
movsd xmm1, qword [rsi + 0x1e8]
mulsd xmm1, xmm7
cvtsi2sd xmm0, dword [rsi + 0x1f0]
addsd xmm1, xmm0
cvttsd2si edi, xmm1
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xa0]
cmp eax, edi
jge 0x14012e19d
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
mov edx, edi
call qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + reloc.MFC80U.DLL_Ordinal_512], eax
movabs rax, 0x3f947ae147ae147b
mov qword [rsi + 0x1e8], rax
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xe0]
cvtsi2sd xmm6, eax
divsd xmm6, xmm7
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xa0]
cvtsi2sd xmm0, eax
mulsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rsi + 0x1f0], eax
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
lea rdx, str.FAT_Table_Rewriting...
call qword [rax + 0x70]
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
lea rdx, str.Writing_FAT
call qword [rax + 0x78]
mov rdx, qword [rsi + 0x88]
mov rcx, rsi
call fcn.140128a50
test eax, eax
jne 0x14012e266
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, reloc.MFC80U.DLL_Ordinal_555
lea rcx, str..._fatresize.cpp
call fcn.140123400
mov r8, rax
lea rdx, str._s:_Combine_and_Split_FATable_error.
mov rcx, rdi
call qword [rbx + 0x10]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14012e25f
call sub.MFC80U.DLL_Ordinal_776
xor eax, eax
jmp 0x14012e407
movsd xmm1, qword [rsi + 0x1e8]
mulsd xmm1, xmm7
cvtsi2sd xmm0, dword [rsi + 0x1f0]
addsd xmm1, xmm0
cvttsd2si edi, xmm1
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xa0]
cmp eax, edi
jge 0x14012e29f
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
mov edx, edi
call qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + reloc.MFC80U.DLL_Ordinal_512], eax
mov qword [rsi + 0x1e8], r15
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xe0]
cvtsi2sd xmm6, eax
divsd xmm6, xmm7
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xa0]
cvtsi2sd xmm0, eax
mulsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rsi + 0x1f0], eax
mov rdx, qword [rsi + 0x88]
mov rcx, rsi
call fcn.140124160
test eax, eax
jne 0x14012e33c
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, reloc.MFC80U.DLL_Ordinal_564
lea rcx, str..._fatresize.cpp
call fcn.140123400
mov r8, rax
lea rdx, str._s:_Failed_to_write_FAT_table.
mov rcx, rdi
call qword [rbx + 0x10]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14012e335
call sub.MFC80U.DLL_Ordinal_776
xor eax, eax
jmp 0x14012e407
movsd xmm1, qword [rsi + 0x1e8]
mulsd xmm1, xmm7
cvtsi2sd xmm0, dword [rsi + 0x1f0]
addsd xmm1, xmm0
cvttsd2si edi, xmm1
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xa0]
cmp eax, edi
jge 0x14012e375
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
mov edx, edi
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
lea rdx, str.DBR_Rewriting...
call qword [rax + 0x70]
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
lea rdx, str.Writing_DBR
call qword [rax + 0x78]
mov rcx, rsi
call fcn.1401239e0
test eax, eax
jne 0x14012e3e3
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, Ordinal_577
lea rcx, str..._fatresize.cpp
call fcn.140123400
mov r8, rax
lea rdx, str._s:_Failed_to_write_Reserved_Sector.
mov rcx, rdi
call qword [rbx + 0x10]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14012e3df
call sub.MFC80U.DLL_Ordinal_776
xor eax, eax
jmp 0x14012e407
mov rcx, qword [rsi + 0x78]
mov rax, qword [rcx]
mov edx, 0x64
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14012e402
call sub.MFC80U.DLL_Ordinal_776
mov eax, 1
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret