Function at 0x10082c4d
Capabilities:
Move file

Disassembly:
push 0x24
mov eax, 0x100b4031
call fcn.100a5688
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov ecx, dword [edi + 0x10]
xor ebx, ebx
call fcn.100566f0
test al, al
jne 0x10082ef5
cmp byte [ebp + 8], bl
jne 0x10082ef5
cmp byte [edi + 0x14], bl
jne 0x10082cfd
push 3
push dword [edi + 8]
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x10082ef5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
jle 0x10082caf
movzx ebx, bx
or ebx, 0x80070000
mov dword [ebp - 0x10], ebx
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x14]
call fcn.1008e796
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push ebx
push 0x1001d308
push eax
call fcn.1008e3f3
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 [0x100d0614]
mov ecx, ebx
call edi
lea ecx, [esi - 0x10]
call fcn.1008ebf5
mov ebx, dword [ebp - 0x10]
jmp 0x10082ef5
push dword [edi + 0x18]
lea esi, [edi + 0xc]
push esi
lea ecx, [ebp - 0x30]
call fcn.10060abf
push 0x1001d3b0
mov edx, esi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.1006eafe
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.100805db
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
call fcn.1006f350
lea ecx, [ebp - 0x30]
call fcn.10060df0
mov ebx, eax
lea ecx, [ebp - 0x14]
push 0x100216b4
mov dword [ebp - 0x10], ebx
call fcn.1006f4e2
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.1006d104
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
test ebx, ebx
jne 0x10082e97
lea esi, [edi + 8]
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.1008eb5d
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.10060cd0
mov edi, dword [ebp - 0x14]
test al, al
je 0x10082e42
push 3
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x10082e32
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
jle 0x10082de5
movzx ebx, bx
or ebx, 0x80070000
mov dword [ebp - 0x10], ebx
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x18]
call fcn.1008e796
push ebx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push 0x1001d308
push eax
call fcn.1008e3f3
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 [0x100d0614]
mov ecx, dword [ebp - 0x1c]
call ebx
lea ecx, [esi - 0x10]
call fcn.1008ebf5
mov ebx, dword [ebp - 0x10]
lea ecx, [edi - 0x10]
call fcn.1008ebf5
jmp 0x10082ee2
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x18]
call fcn.1008e796
mov byte [ebp - 4], 6
lea eax, [ebp - 0x18]
push dword [esi]
push 0x1001d3c0
push eax
call fcn.1008e3f3
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 [0x100d0614]
mov ecx, dword [ebp - 0x1c]
call ebx
lea ecx, [esi - 0x10]
mov ebx, 0x80070002
call fcn.1008ebf5
jmp 0x10082e35
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x1c]
call fcn.1008e796
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1c]
push dword [edi + 8]
push 0x1001d420
push eax
call fcn.1008e3f3
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 [0x100d0614]
mov ecx, ebx
call edi
lea ecx, [esi - 0x10]
call fcn.1008ebf5
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
lea ecx, [ebp - 0x30]
call fcn.10060b0f
mov eax, ebx
call fcn.100a5651
ret 4