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

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x450
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
mov rsi, rcx
mov rcx, qword [rcx + 0x130]
test rcx, rcx
je 0x140125ac3
mov rax, qword [rsi + 0x138]
sub rax, rcx
sar rax, 3
je 0x140125ac3
mov ecx, dword [rsi + 0x38]
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x28], r15
call fcn.140114fb0
cmp rax, 0xffffffffffffffff
mov r15, rax
mov qword [rsp + 0x40], rax
jne 0x140124ba3
call fcn.140049470
lea rcx, str..._fatresize.cpp
mov edx, Ordinal_1412
mov rbx, qword [rax]
mov rdi, rax
call fcn.140123400
lea rdx, [0x1402e94e0]
mov rcx, rdi
mov r8, rax
call qword [rbx + 0x10]
mov rcx, qword [rsi + 0x78]
lea edx, [r15 + 0x17]
mov rax, qword [rcx]
call qword [rax + 0x40]
xor eax, eax
mov rdi, qword [rsp + 0x478]
mov rbx, qword [rsp + 0x468]
mov r15, qword [rsp + 0x430]
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.140161080
add rsp, 0x450
pop rsi
ret
mov qword [rsp + Ordinal_1137], rbp
mov qword [rsp + Ordinal_1102], r12
mov qword [rsp + Ordinal_1095], r13
mov qword [rsp + 0x438], r14
xor edx, edx
xor edi, edi
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x50], rdi
movaps xmmword [rsp + Ordinal_1062], xmm6
movsd xmm6, qword [0x1403b85a8]
movaps xmmword [rsp + reloc.MFC80U.DLL_Ordinal_1040], xmm7
movsd xmm7, qword [0x1403b8888]
movaps xmmword [rsp + 0x400], xmm8
movsd xmm8, qword [0x1402e1808]
movaps xmmword [rsp + Ordinal_1015], xmm9
movsd xmm9, qword [0x1402e17f0]
movaps xmmword [rsp + 0x3e0], xmm10
movsd xmm10, qword [0x1402e17d8]
movaps xmmword [rsp + 0x3d0], xmm11
movsd xmm11, qword [0x1403b93e8]
nop
nop
mov rax, qword [rsi + 0x130]
test rax, rax
jne 0x140124c50
xor ecx, ecx
jmp 0x140124c5e
mov rcx, qword [rsi + 0x138]
sub rcx, rax
sar rcx, 3
mov eax, edx
cmp rax, rcx
jae 0x1401259b8
mov rcx, qword [rsi + 0x130]
test rcx, rcx
je 0x140124c88
mov rax, qword [rsi + 0x138]
sub rax, rcx
sar rax, 3
cmp rdi, rax
jb 0x140124c8e
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsi + 0x130]
xor r12d, r12d
xor ebp, ebp
mov r14, qword [rax + rdi*8]
xor edi, edi
mov rcx, r14
call fcn.1400e79c0
test rax, rax
je 0x140124d02
xor ebx, ebx
nop
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x140124cc9
mov rax, qword [r14 + 0x10]
sub rax, rcx
sar rax, 4
cmp rdi, rax
jb 0x140124ccf
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [r14 + 8]
add ebp, 1
add rdi, 1
mov ecx, dword [rbx + rax + 8]
add rbx, 0x10
imul ecx, dword [rsi + 0x230]
imul ecx, dword [rsi + 0x188]
add r12d, ecx
mov rcx, r14
call fcn.1400e79c0
mov ecx, ebp
cmp rcx, rax
jb 0x140124cb0
mov eax, dword [rsi + 0x230]
imul eax, dword [rsi + 0x18c]
cmp r12d, eax
cmovb r12d, eax
mov ebp, r12d
mov ecx, r12d
mov dword [rsp + 0x3c], r12d
mov qword [rsp + 0x48], rbp
call sub.MFC80U.DLL_Ordinal_265
mov r8d, r12d
mov rcx, rax
xor edx, edx
mov r13, rax
mov qword [rsp + 0x58], rax
call sub.ntdll.dll_memset
xor ebx, ebx
xor edi, edi
mov rcx, r14
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x60], rdi
call fcn.1400e79c0
test rax, rax
je 0x14012568c
xor r15d, r15d
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x140124d7e
mov rax, qword [r14 + 0x10]
sub rax, rcx
sar rax, 4
cmp rdi, rax
jb 0x140124d84
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [rsi + 0x188]
mov r13, qword [r14 + 8]
xor edx, edx
mov rbp, qword [r15 + r13]
mov r12d, dword [r15 + r13 + 8]
mov edi, ebx
add rdi, qword [rsp + 0x58]
sub rbp, 2
imul r12d, eax
imul rbp, rax
mov eax, 0x200000
div dword [rsi + 0x230]
add rbp, qword [rsi + 0x1b0]
cmp r12d, eax
mov ebx, eax
jbe 0x140124ec5
mov rcx, qword [rsp + 0x40]
mov r9d, r12d
mov r8, rbp
mov rdx, rdi
call fcn.140123680
test eax, eax
jne 0x14012511f
call fcn.140049470
lea rcx, [0x14043e030]
xor edx, edx
mov r8d, 0x80
mov rbx, rax
call sub.ntdll.dll_memset
lea rcx, str..._fatresize.cpp
mov edx, 0x5c
call qword [sym.imp.ntdll.dll_strrchr]
test rax, rax
mov rdi, rax
jne 0x140124e22
xor r8d, r8d
jmp 0x140124eb0
xor eax, eax
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0x98]
mov r8d, Ordinal_1315
mov byte [rsp + 0x98], 0
mov qword [rsp + 0x99], rax
mov word [rsp + 0xa1], ax
mov byte [rsp + 0xa3], al
call qword [sym.imp.ntdll.dll_sprintf]
lea r8, [0x14043e030]
lea rdx, [rdi + 1]
mov rcx, r8
sub rcx, rdx
nop
movzx eax, byte [rdx]
add rdx, 1
test al, al
mov byte [rcx + rdx - 1], al
jne 0x140124e70
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r8
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x98]
nop
nop
nop
movzx eax, byte [rdx + rcx]
add rcx, 1
test al, al
mov byte [rdi + rcx - 2], al
jne 0x140124ea0
mov rax, qword [rbx]
lea rdx, str._s:_Failed_to_read_sector.
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x140125030
cmp qword [rsi], 0
jne 0x140124ee8
mov ecx, 0x200000
call sub.MFC80U.DLL_Ordinal_265
xor edx, edx
mov r8d, 0x200000
mov rcx, rax
mov qword [rsi], rax
call sub.ntdll.dll_memset
mov rax, qword [rsi + 0x10]
test rax, rax
js 0x140124f2a
cmp rbp, rax
jl 0x140124f2a
lea rcx, [rax + rbx]
mov eax, r12d
add rax, rbp
cmp rax, rcx
jg 0x140124f2a
mov ecx, dword [rsi + 0x230]
sub ebp, dword [rsi + 0x10]
mov r8d, ecx
imul ebp, ecx
mov edx, ebp
mov rcx, rdi
add rdx, qword [rsi]
imul r8d, r12d
call sub.ntdll.dll_memcpy
jmp 0x14012511f
mov rcx, qword [rsi]
xor edx, edx
mov r8d, 0x200000
call sub.ntdll.dll_memset
mov rdx, qword [rsi]
mov rcx, qword [rsp + 0x40]
mov r9, rbx
mov r8, rbp
call fcn.140123680
test eax, eax
jne 0x140125105
call fcn.140049470
lea rcx, [0x14043e030]
xor edx, edx
mov r8d, 0x80
mov rbx, rax
call sub.ntdll.dll_memset
lea rcx, str..._fatresize.cpp
mov edx, 0x5c
call qword [sym.imp.ntdll.dll_strrchr]
test rax, rax
mov rdi, rax
jne 0x140124f93
xor r8d, r8d
jmp 0x140125020
xor eax, eax
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0xa8]
mov r8d, 0x539
mov byte [rsp + 0xa8], 0
mov qword [rsp + 0xa9], rax
mov word [rsp + 0xb1], ax
mov byte [rsp + 0xb3], al
call qword [sym.imp.ntdll.dll_sprintf]
lea r8, [0x14043e030]
lea rdx, [rdi + 1]
mov rcx, r8
sub rcx, rdx
movzx eax, byte [rdx]
add rdx, 1
test al, al
mov byte [rcx + rdx - 1], al
jne 0x140124fe0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r8
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0xa8]
nop
nop
nop
movzx eax, byte [rdx + rcx]
add rcx, 1
test al, al
mov byte [rdi + rcx - 2], al
jne 0x140125010
mov rax, qword [rbx]
lea rdx, str._s:_Failed_to_read_sector.
mov rcx, rbx
call qword [rax + 0x10]
call fcn.140049470
lea rcx, [0x14043e030]
xor edx, edx
mov r8d, 0x80
mov rbx, rax
call sub.ntdll.dll_memset
lea rcx, str..._fatresize.cpp
mov edx, 0x5c
call qword [sym.imp.ntdll.dll_strrchr]
test rax, rax
mov rdi, rax
jne 0x14012506e
xor r8d, r8d
jmp 0x1401250f0
xor eax, eax
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0x68]
mov r8d, 0x5a5
mov byte [rsp + 0x68], 0
mov qword [rsp + 0x69], rax
mov word [rsp + 0x71], ax
mov byte [rsp + 0x73], al
call qword [sym.imp.ntdll.dll_sprintf]
lea r8, [0x14043e030]
lea rdx, [rdi + 1]
mov rcx, r8
sub rcx, rdx
nop
movzx eax, byte [rdx]
add rdx, 1
test al, al
mov byte [rcx + rdx - 1], al
jne 0x1401250b0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r8
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x68]
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
add rcx, 1
test al, al
mov byte [rdi + rcx - 2], al
jne 0x1401250e0
mov rax, qword [rbx]
lea rdx, str._s:_Failed_to_read_sector___u_
mov r9, rbp
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x14012511f
mov r8d, dword [rsi + 0x230]
mov rdx, qword [rsi]
mov rcx, rdi
mov qword [rsi + 0x10], rbp
imul r8d, r12d
call sub.ntdll.dll_memcpy
mov eax, dword [rsi + 0x230]
imul eax, r12d
add dword [rsp + 0x30], eax
mov eax, dword [r15 + r13 + 8]
add dword [rsi + 0x228], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsi + reloc.MFC80U.DLL_Ordinal_512]
cmp eax, 0x3e8
jb 0x140125644
lea rcx, [rsp + 0x1c2]
xor edx, edx
mov r8d, Ordinal_512
mov word [rsp + 0x1c0], 0
call sub.ntdll.dll_memset
mov edx, dword [rsi + 0x228]
mov eax, dword [rsi + 0x224]
mov edi, dword [rsi + 0x230]
cvtsi2sd xmm1, rdx
mov r13d, 0x64
lea rcx, [rsp + 0x142]
mov word [rsp + 0x100], 0
cvtsi2sd xmm0, rax
lea r8d, [r13 + 0x1a]
mov word [rsp + reloc.MFC80U.DLL_Ordinal_320], 0
divsd xmm1, xmm0
mulsd xmm1, xmm6
cvttsd2si rbp, xmm1
cmp ebp, 0x64
cmova ebp, r13d
xor eax, eax
imul rdi, rdx
mov qword [rsp + 0x102], rax
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_266], rax
mov qword [rsp + 0x112], rax
mov qword [rsp + 0x11a], rax
mov qword [rsp + 0x122], rax
mov qword [rsp + 0x12a], rax
mov qword [rsp + 0x132], rax
mov dword [rsp + 0x13a], eax
mov word [rsp + 0x13e], ax
mov word [rsp + 0xc0], ax
mov qword [rsp + 0xc2], rax
mov qword [rsp + 0xca], rax
mov qword [rsp + 0xd2], rax
mov qword [rsp + 0xda], rax
mov qword [rsp + 0xe2], rax
mov qword [rsp + 0xea], rax
mov qword [rsp + 0xf2], rax
mov dword [rsp + 0xfa], eax
mov word [rsp + 0xfe], ax
movzx eax, word [rsi + 0x58]
xor edx, edx
imul rdi, rax
call sub.ntdll.dll_memset
movabs r12, 0x10000000000
cmp rdi, r12
jl 0x1401252af
cvtsi2sd xmm0, rdi
lea rdx, [0x1402e1810]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
mulsd xmm0, xmm8
mulsd xmm0, xmm6
addsd xmm0, xmm7
cvttsd2si r8d, xmm0
call qword [sym.imp.MSVCR80.dll__swprintf]
jmp 0x140125349
cmp rdi, 0x40000000
jl 0x1401252e6
cvtsi2sd xmm0, rdi
lea rdx, [0x1402e17f8]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
mulsd xmm0, xmm9
mulsd xmm0, xmm6
addsd xmm0, xmm7
cvttsd2si r8d, xmm0
call qword [sym.imp.MSVCR80.dll__swprintf]
jmp 0x140125349
cmp rdi, 0x100000
jl 0x14012531d
cvtsi2sd xmm0, rdi
lea rdx, [0x1402e17e0]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
mulsd xmm0, xmm10
mulsd xmm0, xmm6
addsd xmm0, xmm7
cvttsd2si r8d, xmm0
call qword [sym.imp.MSVCR80.dll__swprintf]
jmp 0x140125349
cvtsi2sd xmm0, rdi
lea rdx, [0x1402e17c8]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
mulsd xmm0, xmm11
mulsd xmm0, xmm6
addsd xmm0, xmm7
cvttsd2si r8d, xmm0
call qword [sym.imp.MSVCR80.dll__swprintf]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + reloc.MFC80U.DLL_Ordinal_320]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
cmp ecx, 4
mov rbx, rcx
jge 0x140125384
movsxd r8, ecx
lea rdx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
lea rcx, [rsp + 0x100]
call qword [sym.imp.ntdll.dll_wcsncpy]
jmp 0x1401253e2
lea eax, [rcx - 4]
lea rdx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
lea rcx, [rsp + 0x100]
movsxd rdi, eax
mov r8, rdi
call qword [sym.imp.ntdll.dll_wcsncpy]
movsxd rdx, ebx
xor eax, eax
mov word [rsp + rdx*2 + 0xf8], 0x2e
lea rdx, [rsp + rdi*2 + reloc.MFC80U.DLL_Ordinal_320]
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x100]
repne scasw ax, word [rdi]
xor ecx, ecx
nop
nop
movzx eax, word [rdx + rcx]
add rcx, 2
test ax, ax
mov word [rdi + rcx - 4], ax
jne 0x1401253d0
mov eax, dword [rsi + 0x224]
mov edi, dword [rsi + 0x230]
xor edx, edx
lea r8d, [rdx + 0x7e]
lea rcx, [rsp + 0x142]
mov word [rsp + reloc.MFC80U.DLL_Ordinal_320], 0
imul rdi, rax
movzx eax, word [rsi + 0x58]
imul rdi, rax
call sub.ntdll.dll_memset
cmp rdi, r12
jl 0x14012544d
cvtsi2sd xmm0, rdi
lea rdx, [0x1402e1810]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
mulsd xmm0, xmm8
mulsd xmm0, xmm6
addsd xmm0, xmm7
cvttsd2si r8d, xmm0
call qword [sym.imp.MSVCR80.dll__swprintf]
jmp 0x1401254e7
cmp rdi, 0x40000000
jl 0x140125484
cvtsi2sd xmm0, rdi
lea rdx, [0x1402e17f8]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
mulsd xmm0, xmm9
mulsd xmm0, xmm6
addsd xmm0, xmm7
cvttsd2si r8d, xmm0
call qword [sym.imp.MSVCR80.dll__swprintf]
jmp 0x1401254e7
cmp rdi, 0x100000
jl 0x1401254bb
cvtsi2sd xmm0, rdi
lea rdx, [0x1402e17e0]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
mulsd xmm0, xmm10
mulsd xmm0, xmm6
addsd xmm0, xmm7
cvttsd2si r8d, xmm0
call qword [sym.imp.MSVCR80.dll__swprintf]
jmp 0x1401254e7
cvtsi2sd xmm0, rdi
lea rdx, [0x1402e17c8]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
mulsd xmm0, xmm11
mulsd xmm0, xmm6
addsd xmm0, xmm7
cvttsd2si r8d, xmm0
call qword [sym.imp.MSVCR80.dll__swprintf]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + reloc.MFC80U.DLL_Ordinal_320]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
cmp ecx, 4
mov rbx, rcx
jge 0x140125522
movsxd r8, ecx
lea rdx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.ntdll.dll_wcsncpy]
jmp 0x140125582
lea eax, [rcx - 4]
lea rdx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
lea rcx, [rsp + 0xc0]
movsxd rdi, eax
mov r8, rdi
call qword [sym.imp.ntdll.dll_wcsncpy]
movsxd rdx, ebx
xor eax, eax
mov word [rsp + rdx*2 + 0xb8], 0x2e
lea rdx, [rsp + rdi*2 + reloc.MFC80U.DLL_Ordinal_320]
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xc0]
repne scasw ax, word [rdi]
xor ecx, ecx
nop
nop
movzx eax, word [rdx + rcx]
add rcx, 2
test ax, ax
mov word [rdi + rcx - 4], ax
jne 0x140125570
lea rax, [rsp + 0xc0]
lea r9, [rsp + 0x100]
lea rdx, str.Data_Moving___d_____s__s_...
lea rcx, [rsp + 0x1c0]
mov r8d, ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCR80.dll__swprintf]
mov rcx, qword [rsi + 0x78]
lea rdx, [rsp + 0x1c0]
mov rax, qword [rcx]
call qword [rax + 0x70]
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0x100]
lea rdx, [0x1402f0718]
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.MSVCR80.dll__swprintf]
mov rcx, qword [rsi + 0x78]
lea rdx, [rsp + 0x1c0]
mov rax, qword [rcx]
call qword [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cvtsi2sd xmm0, dword [rsi + 0x1f0]
mov rcx, qword [rsi + 0x78]
mov dword [rsi + reloc.MFC80U.DLL_Ordinal_512], eax
cmp ebp, r13d
mov rax, qword [rcx]
cmovg ebp, r13d
cvtsi2sd xmm1, ebp
mulsd xmm1, qword [rsi + 0x1e8]
addsd xmm1, xmm0
cvttsd2si edi, xmm1
call qword [rax + 0xa0]
cmp eax, edi
jge 0x140125644
mov rcx, qword [rsi + 0x78]
mov edx, edi
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ebx, dword [rsp + 0x38]
mov rdi, qword [rsp + 0x60]
mov rcx, r14
add ebx, 1
add rdi, 1
add r15, 0x10
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x60], rdi
call fcn.1400e79c0
mov ecx, ebx
mov ebx, dword [rsp + 0x30]
cmp rcx, rax
jb 0x140124d65
mov r12d, dword [rsp + 0x3c]
mov r13, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov rdx, qword [r14 + 0x28]
cmp byte [rdx + 0x1c], 1
jne 0x14012570b
cmp byte [rdx + 0x1d], 1
jne 0x14012570b
mov r9d, r12d
mov r8, r13
mov rcx, rsi
call fcn.1401308b0
mov ecx, dword [rsi + 0x230]
xor edx, edx
mov eax, r12d
div ecx
xor edx, edx
mov ebx, eax
div dword [rsi + 0x18c]
test edx, edx
je 0x14012570b
add ebx, edx
imul ecx, ebx
call sub.MFC80U.DLL_Ordinal_265
mov r8d, dword [rsi + 0x230]
xor edx, edx
mov rcx, rax
mov rdi, rax
imul r8d, ebx
call sub.ntdll.dll_memset
mov r8, rbp
mov rdx, r13
mov rcx, rdi
call sub.ntdll.dll_memcpy
mov rcx, r13
call sub.MFC80U.DLL_Ordinal_266
mov r12d, dword [rsi + 0x230]
mov r13, rdi
imul r12d, ebx
mov ebx, dword [r14 + 0x20]
mov r8d, dword [rsi + 0x230]
xor edx, edx
sub ebx, 2
mov eax, r12d
div r8d
imul ebx, dword [rsi + 0x188]
add rbx, qword [rsi + 0x1b0]
cmp qword [rsi + 0x20], 0
mov edi, eax
jge 0x140125748
mov qword [rsi + 0x20], rbx
mov qword [rsi + 0x28], rbx
mov qword [rsi + 0x18], 0
mov rax, qword [rsi + 0x18]
test rax, rax
jle 0x140125966
mov edx, edi
imul edx, r8d
add rdx, rax
cmp rdx, 0x800000
jg 0x140125771
cmp qword [rsi + 0x20], rbx
je 0x140125966
cqo
mov rcx, r15
idiv r8
mov r8, qword [rsi + 0x28]
mov rdx, qword [rsi + 8]
mov r9, rax
call fcn.140123830
test eax, eax
jne 0x140125949
call fcn.140049470
lea r12, [0x14043e030]
xor edx, edx
mov rcx, r12
mov r8d, 0x80
mov rbp, rax
call sub.ntdll.dll_memset
lea rcx, str..._fatresize.cpp
mov edx, 0x5c
call qword [sym.imp.ntdll.dll_strrchr]
test rax, rax
mov rdi, rax
jne 0x1401257d2
xor r8d, r8d
jmp 0x140125863
xor eax, eax
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0x88]
mov r8d, Ordinal_1370
mov byte [rsp + 0x88], 0
mov qword [rsp + 0x89], rax
mov word [rsp + 0x91], ax
mov byte [rsp + 0x93], al
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, r12
sub rcx, rdx
nop
nop
movzx eax, byte [rdx]
add rdx, 1
test al, al
mov byte [rdx + rcx - 1], al
jne 0x140125820
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x88]
nop
nop
nop
movzx eax, byte [rdx + rcx]
add rcx, 1
test al, al
mov byte [rdi + rcx - 2], al
jne 0x140125850
mov r8, r12
mov rax, qword [rbp]
lea rdx, str._s:_Failed_to_write_sector.
mov rcx, rbp
call qword [rax + 0x10]
call fcn.140049470
xor edx, edx
mov r8d, 0x80
mov rcx, r12
mov rbp, rax
call sub.ntdll.dll_memset
lea rcx, str..._fatresize.cpp
mov edx, 0x5c
call qword [sym.imp.ntdll.dll_strrchr]
test rax, rax
mov rdi, rax
jne 0x1401258ae
xor r8d, r8d
jmp 0x140125933
xor eax, eax
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0x78]
mov r8d, 0x5df
mov byte [rsp + 0x78], 0
mov qword [rsp + 0x79], rax
mov word [rsp + 0x81], ax
mov byte [rsp + 0x83], al
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, r12
sub rcx, rdx
nop
nop
movzx eax, byte [rdx]
add rdx, 1
test al, al
mov byte [rdx + rcx - 1], al
jne 0x1401258f0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x78]
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
add rcx, 1
test al, al
mov byte [rdi + rcx - 2], al
jne 0x140125920
mov r8, r12
mov rax, qword [rbp]
lea rdx, str._s:_Failed_to_write_sector.__u
mov r9, rbx
mov rcx, rbp
call qword [rax + 0x10]
jmp 0x140125992
test r13, r13
mov qword [rsi + 0x20], 0xffffffffffffffff
je 0x140125992
mov qword [rsi + 0x20], rbx
mov qword [rsi + 0x28], rbx
mov qword [rsi + 0x18], 0
mov rcx, qword [rsi + 8]
mov r8d, dword [rsi + 0x230]
mov rdx, r13
add rcx, qword [rsi + 0x18]
imul r8d, edi
call sub.ntdll.dll_memcpy
mov eax, dword [rsi + 0x230]
imul eax, edi
add qword [rsi + 0x18], rax
add qword [rsi + 0x20], rdi
mov rcx, r13
call sub.MFC80U.DLL_Ordinal_266
mov edx, dword [rsp + 0x34]
mov rdi, qword [rsp + 0x50]
add edx, 1
add rdi, 1
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x34], edx
jmp 0x140124c40
cmp qword [rsi + 0x20], 0
movaps xmm11, xmmword [rsp + 0x3d0]
movaps xmm10, xmmword [rsp + 0x3e0]
mov r14, qword [rsp + 0x438]
mov r13, qword [rsp + 0x440]
mov r12, qword [rsp + 0x448]
movaps xmm9, xmmword [rsp + 0x3f0]
movaps xmm8, xmmword [rsp + 0x400]
movaps xmm7, xmmword [rsp + reloc.MFC80U.DLL_Ordinal_1040]
mov rbp, qword [rsp + 0x470]
movaps xmm6, xmmword [rsp + 0x420]
jge 0x140125a2b
mov qword [rsi + 0x20], 0xffffffffffffffff
mov qword [rsi + 0x28], 0xffffffffffffffff
mov qword [rsi + 0x18], 0
mov rdx, qword [rsi + 0x18]
test rdx, rdx
jle 0x140125ab0
cmp rdx, 0x800000
jg 0x140125a44
cmp qword [rsi + 0x20], 0xffffffffffffffff
je 0x140125ab0
mov ecx, dword [rsi + 0x230]
mov r8, qword [rsi + 0x28]
mov rax, rdx
cqo
idiv rcx
mov rdx, qword [rsi + 8]
mov rcx, r15
mov r9, rax
call fcn.140123830
test eax, eax
jne 0x140125aa8
call fcn.140049470
lea rcx, str..._fatresize.cpp
mov edx, Ordinal_1370
mov rbx, qword [rax]
mov rdi, rax
call fcn.140123400
lea rdx, str._s:_Failed_to_write_sector.
mov rcx, rdi
mov r8, rax
call qword [rbx + 0x10]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140124b72
mov qword [rsi + 0x20], 0xffffffffffffffff
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140124b72
mov eax, 1
jmp 0x140124b8a