Function at 0x644e44
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x644e4c
push ebx
xor eax, eax
push ebp
push 0x645121
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, dword [0x6fa0f4]
call fcn.00407198
mov eax, dword [ebp - 4]
call fcn.0054130c
cmp edx, 0
jne 0x644e8a
cmp eax, 0x500000
jbe 0x6450d4
jmp 0x644e90
jle 0x6450d4
lea eax, [ebp - 8]
mov ecx, 0x64513c
mov edx, dword [0x6fa0f4]
call fcn.00407dc0
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00407198
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.00407198
mov eax, dword [ebp - 0x18]
call fcn.00407b54
push eax
mov eax, dword [ebp - 0x14]
call fcn.00407b54
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
jne 0x644f18
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
lea edx, [ebp - 0x30]
mov ecx, 1
mov eax, 0x645154
call fcn.004230e0
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x41b514]
call fcn.0042862c
xor eax, eax
mov dword [ebp - 0x10], eax
push 0xff00
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x440a08]
call fcn.0044ef50
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x645095
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x20
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x440a08]
call fcn.0044ef50
mov dword [ebp - 0x10], eax
mov cx, 2
mov edx, 0xfff00000
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x14]
push 0
push 0
mov dl, 2
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, 0x6451d8
mov eax, dword [ebp - 0xc]
call fcn.00644ce8
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x3c], 0x500000
mov byte [ebp - 0x38], 0
lea edx, [ebp - 0x3c]
xor ecx, ecx
mov eax, 0x645200
call fcn.004230e0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00644ce8
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x3c], 0x100000
mov byte [ebp - 0x38], 0
lea edx, [ebp - 0x3c]
xor ecx, ecx
mov eax, 0x645254
call fcn.004230e0
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0xc]
call fcn.00644ce8
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
call fcn.00541254
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0x11
lea edx, [ebp - 0x3c]
xor ecx, ecx
mov eax, 0x6452a0
call fcn.004230e0
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0xc]
call fcn.00644ce8
mov edx, 0x6451d8
mov eax, dword [ebp - 0xc]
call fcn.00644ce8
push 0
push 0x100000
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0044e874
cmp edx, 0
jne 0x645031
cmp eax, 0x100000
jae 0x645077
jmp 0x645033
jge 0x645077
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x64], 0x100000
mov byte [ebp - 0x60], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0x11
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0x11
lea edx, [ebp - 0x64]
mov ecx, 2
mov eax, 0x6452d8
call fcn.004230e0
mov ecx, dword [ebp - 0x4c]
mov dl, 1
mov eax, dword [0x41b514]
call fcn.0042862c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64509c
mov eax, dword [ebp - 0x10]
call fcn.004050c8
mov eax, dword [ebp - 0xc]
call fcn.004050c8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x645128
lea eax, [ebp - 0x68]
call fcn.00406d70
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.00406dd0
lea eax, [ebp - 0x34]
call fcn.00406d70
lea eax, [ebp - 0x20]
call fcn.00406d70
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00406dd0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406dd0
ret