Function at 0x10010c60
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002534b
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x10031008]
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.10011120
mov dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0
jne 0x10010cb0
mov byte [ebp - 0xc5], 0
jmp 0x10010f81
xorps xmm0, xmm0
mov byte [ebp - 0xc5], 1
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
call fcn.10011770
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10010cdd
cmp dword [ebp - 0x14], 0
jne 0x10010cdd
lea ecx, [ebp - 0x14]
push ecx
call eax
lea ecx, [ebp - 0x50]
call fcn.100194a0
test al, al
je 0x10010f2d
lea ecx, [ebp - 0x80]
call fcn.100114b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.1001ab90
mov byte [ebp - 4], 3
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x38]
call fcn.1001a3e0
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.10013250
mov byte [ebp - 4], 5
sub esp, 0x10
call fcn.10013360
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 0x10010d7f
test eax, eax
je 0x10010d7f
push esi
push 1
push 0
push 0
push edx
push edi
call eax
jmp 0x10010d89
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 0x10010dbc
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x10010dbc
push esi
push 4
push 0
push 0
push 0
push eax
call ecx
jmp 0x10010dcc
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 0x10010e06
test esi, esi
je 0x10010e22
push esi
call dword [ebp - 0xac]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x10010dff
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 0x10010e22
test esi, esi
je 0x10010e22
push esi
call dword [ebp - 0xb0]
test eax, eax
je 0x10010e22
push esi
call edi
mov dword [ebp - 0xc4], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc4]
call fcn.100132d0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x10010e71
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010e67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010e67
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
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 0x10010ec5
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010ebb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010ebb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
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 0x10010f19
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010f0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010f0f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
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 0x10010f39
push dword [ebp - 0x14]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10010f49
push dword [ebp - 0x14]
call eax
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x10010f66
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 0x10010f81
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 0x10010fc4
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010fba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010fba
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
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.100224d9
mov esp, ebp
pop ebp
ret