Function at 0x1008246d
Capabilities:
Move file

Disassembly:
push 0x24
mov eax, 0x100b3748
call fcn.100a4ea8
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov ecx, dword [edi + 0x10]
xor ebx, ebx
call fcn.10056580
test al, al
jne 0x10082715
cmp byte [ebp + 8], bl
jne 0x10082715
cmp byte [edi + 0x14], bl
jne 0x1008251d
push 3
push dword [edi + 8]
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x10082715
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
jle 0x100824cf
movzx ebx, bx
or ebx, 0x80070000
mov dword [ebp - 0x10], ebx
call fcn.1008e1f3
push eax
lea ecx, [ebp - 0x14]
call fcn.1008df96
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push ebx
push 0x1001d160
push eax
call fcn.1008dbf3
mov ebx, dword [edi + 0x18]
add esp, 0xc
mov esi, dword [ebp - 0x14]
mov eax, dword [ebx]
push esi
push 0
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x100cf608]
mov ecx, ebx
call edi
lea ecx, [esi - 0x10]
call fcn.1008e3f5
mov ebx, dword [ebp - 0x10]
jmp 0x10082715
push dword [edi + 0x18]
lea esi, [edi + 0xc]
push esi
lea ecx, [ebp - 0x30]
call fcn.1006095f
push 0x1001d208
mov edx, esi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.1006e98e
xor esi, esi
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0x1c]
push esi
push 7
push 2
push dword [edi + 4]
call fcn.1007fe0b
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
call fcn.1006f1e0
lea ecx, [ebp - 0x30]
call fcn.10060c90
mov ebx, eax
lea ecx, [ebp - 0x14]
push 0x1002152c
mov dword [ebp - 0x10], ebx
call fcn.1006f372
push esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
mov ecx, dword [edi + 0x1c]
push eax
push ebx
push esi
push esi
push dword [edi + 4]
call fcn.1006cf94
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
test ebx, ebx
jne 0x100826b7
lea esi, [edi + 8]
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.1008e35d
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.10060b70
mov edi, dword [ebp - 0x14]
test al, al
je 0x10082662
push 3
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x10082652
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
jle 0x10082605
movzx ebx, bx
or ebx, 0x80070000
mov dword [ebp - 0x10], ebx
call fcn.1008e1f3
push eax
lea ecx, [ebp - 0x18]
call fcn.1008df96
push ebx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push 0x1001d160
push eax
call fcn.1008dbf3
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov esi, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x1c], eax
push esi
push 0
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x100cf608]
mov ecx, dword [ebp - 0x1c]
call ebx
lea ecx, [esi - 0x10]
call fcn.1008e3f5
mov ebx, dword [ebp - 0x10]
lea ecx, [edi - 0x10]
call fcn.1008e3f5
jmp 0x10082702
call fcn.1008e1f3
push eax
lea ecx, [ebp - 0x18]
call fcn.1008df96
mov byte [ebp - 4], 6
lea eax, [ebp - 0x18]
push dword [esi]
push 0x1001d218
push eax
call fcn.1008dbf3
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov esi, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x1c], eax
push esi
push 0
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x100cf608]
mov ecx, dword [ebp - 0x1c]
call ebx
lea ecx, [esi - 0x10]
mov ebx, 0x80070002
call fcn.1008e3f5
jmp 0x10082655
call fcn.1008e1f3
push eax
lea ecx, [ebp - 0x1c]
call fcn.1008df96
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1c]
push dword [edi + 8]
push 0x1001d278
push eax
call fcn.1008dbf3
mov ebx, dword [edi + 0x18]
add esp, 0xc
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebx]
push esi
push 0
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x100cf608]
mov ecx, ebx
call edi
lea ecx, [esi - 0x10]
call fcn.1008e3f5
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
lea ecx, [ebp - 0x30]
call fcn.100609af
mov eax, ebx
call fcn.100a4e71
ret 4