Function at 0x45fec0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca2dd
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x671580]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x45fef8
mov ecx, dword [esi]
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x45ff02
mov eax, dword [edi]
push 0xb
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x45ff17
mov al, 1
jmp 0x4600ef
mov dword [ebp - 4], 2
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 3
lea edx, [ebp - 0x40]
mov ecx, edi
call fcn.00460750
mov byte [ebp - 0x59], al
mov byte [ebp - 4], 6
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 7
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00460750
test al, al
jne 0x45ffa7
cmp byte [ebp - 0x59], al
je 0x45ffd1
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
push 0xb
cmova ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
push ecx
cmova eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x45ffd1
mov byte [ebp - 0x59], 1
jmp 0x460042
mov ecx, esi
call fcn.0045fb00
cmp eax, 0xffffffff
je 0x46003e
push esi
lea ecx, [ebp - 0x58]
call fcn.0044de10
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x58]
call fcn.004603d0
test al, al
je 0x460032
lea edx, [ebp - 0x58]
mov ecx, esi
call fcn.0045fc40
test al, al
je 0x460032
mov edx, esi
mov ecx, edi
call fcn.0045fc40
lea ecx, [ebp - 0x58]
test al, al
je 0x46002b
call fcn.00460110
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
call fcn.0044dd70
mov byte [ebp - 0x59], 1
jmp 0x460042
mov edx, esi
call fcn.0045fc40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
call fcn.0044dd70
mov byte [ebp - 0x59], 0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x460080
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x460076
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46010a
push ecx
push edx
call fcn.004c46ad
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xe
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4600d1
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4600c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46010a
push ecx
push edx
call fcn.004c46ad
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x59]
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.004c4309
mov esp, ebp
pop ebp
ret
call fcn.004d91aa
int3