Function at 0x1000d890
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001f2fb
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x1002a008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
lea ecx, [ebp - 0x50]
call fcn.1000dd50
mov dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0
jne 0x1000d8e0
mov byte [ebp - 0xc5], 0
jmp 0x1000dbb1
xorps xmm0, xmm0
mov byte [ebp - 0xc5], 1
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
call fcn.1000e360
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000d90d
cmp dword [ebp - 0x14], 0
jne 0x1000d90d
lea ecx, [ebp - 0x14]
push ecx
call eax
lea ecx, [ebp - 0x50]
call fcn.10013f20
test al, al
je 0x1000db5d
lea ecx, [ebp - 0x80]
call fcn.1000e0e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.100155e0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x38]
call fcn.10014e40
mov byte [ebp - 4], 4
lea eax, [ebp - 0xc4]
push 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea ecx, [ebp - 0xc4]
call fcn.1000e7d0
mov byte [ebp - 4], 5
sub esp, 0x10
call fcn.1000e8e0
cmp dword [ebp - 0x24], 8
lea edx, [ebp - 0x38]
mov esi, dword [ebp - 0xc4]
lea edi, [ebp - 0x50]
cmovae edx, dword [ebp - 0x38]
cmp dword [ebp - 0x3c], 8
mov ecx, dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
cmovae edi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x90]
test esi, esi
je 0x1000d9af
test eax, eax
je 0x1000d9af
push esi
push 1
push 0
push 0
push edx
push edi
call eax
jmp 0x1000d9b9
push 1
push 0
push 0
push edx
push edi
call ecx
mov edi, eax
lea eax, [ebp - 0x38]
cmp edi, 1
sete byte [ebp - 0xc5]
cmp dword [ebp - 0x24], 8
cmovae eax, dword [ebp - 0x38]
test esi, esi
je 0x1000d9ec
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x1000d9ec
push esi
push 4
push 0
push 0
push 0
push eax
call ecx
jmp 0x1000d9fc
push 4
push 0
push 0
push 0
push eax
mov eax, dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
call eax
cmp edi, 1
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x1000da36
test esi, esi
je 0x1000da52
push esi
call dword [ebp - 0xac]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x1000da2f
push esi
call edi
mov eax, dword [ebp - 0xcc]
xor esi, esi
mov dword [ebp - 0xc4], esi
test eax, eax
setne al
test al, al
jne 0x1000da52
test esi, esi
je 0x1000da52
push esi
call dword [ebp - 0xb0]
test eax, eax
je 0x1000da52
push esi
call edi
mov dword [ebp - 0xc4], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc4]
call fcn.1000e850
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x1000daa1
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000da97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000da97
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x1000daf5
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000daeb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000daeb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x1000db49
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000db3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000db3f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1000db69
push dword [ebp - 0x14]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1000db79
push dword [ebp - 0x14]
call eax
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x1000db96
push eax
call esi
mov ecx, dword [ebp - 0x20]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1000dbb1
push eax
call esi
mov ecx, dword [ebp - 0x20]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x1000dbf4
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000dbea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000dbea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
mov al, byte [ebp - 0xc5]
mov dword [ebp - 0x3c], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ca39
mov esp, ebp
pop ebp
ret