Function at 0x1000d370
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e80b
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x10029008]
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.1000d830
mov dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0
jne 0x1000d3c0
mov byte [ebp - 0xc5], 0
jmp 0x1000d691
xorps xmm0, xmm0
mov byte [ebp - 0xc5], 1
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
call fcn.1000de40
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000d3ed
cmp dword [ebp - 0x14], 0
jne 0x1000d3ed
lea ecx, [ebp - 0x14]
push ecx
call eax
lea ecx, [ebp - 0x50]
call fcn.10013460
test al, al
je 0x1000d63d
lea ecx, [ebp - 0x80]
call fcn.1000dbc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.10014b20
mov byte [ebp - 4], 3
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x38]
call fcn.10014380
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.1000e130
mov byte [ebp - 4], 5
sub esp, 0x10
call fcn.1000e240
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 0x1000d48f
test eax, eax
je 0x1000d48f
push esi
push 1
push 0
push 0
push edx
push edi
call eax
jmp 0x1000d499
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 0x1000d4cc
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x1000d4cc
push esi
push 4
push 0
push 0
push 0
push eax
call ecx
jmp 0x1000d4dc
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 0x1000d516
test esi, esi
je 0x1000d532
push esi
call dword [ebp - 0xac]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x1000d50f
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 0x1000d532
test esi, esi
je 0x1000d532
push esi
call dword [ebp - 0xb0]
test eax, eax
je 0x1000d532
push esi
call edi
mov dword [ebp - 0xc4], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc4]
call fcn.1000e1b0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x1000d581
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d577
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d577
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001c08d
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 0x1000d5d5
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d5cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d5cb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001c08d
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 0x1000d629
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d61f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d61f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001c08d
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 0x1000d649
push dword [ebp - 0x14]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1000d659
push dword [ebp - 0x14]
call eax
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x1000d676
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 0x1000d691
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 0x1000d6d4
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d6ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d6ca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001c08d
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.1001c04c
mov esp, ebp
pop ebp
ret