Function at 0x1000feb0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100243eb
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x10030008]
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.10010370
mov dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0
jne 0x1000ff00
mov byte [ebp - 0xc5], 0
jmp 0x100101d1
xorps xmm0, xmm0
mov byte [ebp - 0xc5], 1
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
call fcn.10010980
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000ff2d
cmp dword [ebp - 0x14], 0
jne 0x1000ff2d
lea ecx, [ebp - 0x14]
push ecx
call eax
lea ecx, [ebp - 0x50]
call fcn.10018790
test al, al
je 0x1001017d
lea ecx, [ebp - 0x80]
call fcn.10010700
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.10019e60
mov byte [ebp - 4], 3
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x38]
call fcn.100196b0
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.10012460
mov byte [ebp - 4], 5
sub esp, 0x10
call fcn.10012570
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 0x1000ffcf
test eax, eax
je 0x1000ffcf
push esi
push 1
push 0
push 0
push edx
push edi
call eax
jmp 0x1000ffd9
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 0x1001000c
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x1001000c
push esi
push 4
push 0
push 0
push 0
push eax
call ecx
jmp 0x1001001c
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 0x10010056
test esi, esi
je 0x10010072
push esi
call dword [ebp - 0xac]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x1001004f
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 0x10010072
test esi, esi
je 0x10010072
push esi
call dword [ebp - 0xb0]
test eax, eax
je 0x10010072
push esi
call edi
mov dword [ebp - 0xc4], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc4]
call fcn.100124e0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x100100c1
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100100b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100100b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002167a
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 0x10010115
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001010b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001010b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002167a
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 0x10010169
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001015f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001015f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002167a
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 0x10010189
push dword [ebp - 0x14]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10010199
push dword [ebp - 0x14]
call eax
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x100101b6
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 0x100101d1
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 0x10010214
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001020a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001020a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002167a
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.10021639
mov esp, ebp
pop ebp
ret