Function at 0x1000dbc0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021f2b
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x1002e008]
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.1000e080
mov dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0
jne 0x1000dc10
mov byte [ebp - 0xc5], 0
jmp 0x1000dee1
xorps xmm0, xmm0
mov byte [ebp - 0xc5], 1
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
call fcn.1000e690
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000dc3d
cmp dword [ebp - 0x14], 0
jne 0x1000dc3d
lea ecx, [ebp - 0x14]
push ecx
call eax
lea ecx, [ebp - 0x50]
call fcn.100164b0
test al, al
je 0x1000de8d
lea ecx, [ebp - 0x80]
call fcn.1000e410
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.10017b80
mov byte [ebp - 4], 3
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x38]
call fcn.100173d0
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.10010170
mov byte [ebp - 4], 5
sub esp, 0x10
call fcn.10010280
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 0x1000dcdf
test eax, eax
je 0x1000dcdf
push esi
push 1
push 0
push 0
push edx
push edi
call eax
jmp 0x1000dce9
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 0x1000dd1c
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x1000dd1c
push esi
push 4
push 0
push 0
push 0
push eax
call ecx
jmp 0x1000dd2c
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 0x1000dd66
test esi, esi
je 0x1000dd82
push esi
call dword [ebp - 0xac]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x1000dd5f
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 0x1000dd82
test esi, esi
je 0x1000dd82
push esi
call dword [ebp - 0xb0]
test eax, eax
je 0x1000dd82
push esi
call edi
mov dword [ebp - 0xc4], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc4]
call fcn.100101f0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x1000ddd1
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ddc7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000ddc7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
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 0x1000de25
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000de1b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000de1b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
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 0x1000de79
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000de6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000de6f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
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 0x1000de99
push dword [ebp - 0x14]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1000dea9
push dword [ebp - 0x14]
call eax
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x1000dec6
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 0x1000dee1
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 0x1000df24
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000df1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000df1a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
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.1001f349
mov esp, ebp
pop ebp
ret