Function at 0x41fc70
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x78
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x452450
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
lea ebx, [ebp - 0x2c]
mov esi, dword fs:[0]
mov dword [ebp - 0x18], esi
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
xor ecx, ecx
mov dword [ebp - 0x80], edx
mov eax, dword [edi]
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x70], eax
jmp 0x41fcd2
push esi
push 0
push dword [0x4634c8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0x54]
lea eax, [ecx + 1]
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0x70]
lea edi, [ebp - 0x6c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0x417ed0
mov dword [ebp - 0x6c], 0x4599f8
mov dword [ebp - 0x68], 3
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x48], 0x4599e0
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 0x45c5f8
mov dword [ebp - 0x60], 2
mov dword [ebp - 0x3c], 0x459870
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0x40a900
mov edx, dword [eax + 4]
mov ecx, dword [eax]
add eax, 8
mov esi, dword [edx + 8]
dec esi
and esi, 0xfffffff8
lea ecx, [esi + ecx + 8]
push eax
lea eax, [ebp - 0x48]
push eax
push ecx
call dword [edx + 0xc]
add esp, 0xc
mov esi, dword [ebp + 8]
mov ecx, edi
mov edx, dword [esi + 8]
call fcn.00447450
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x6c]
mov ecx, ebx
mov esi, dword [eax]
mov edi, dword [eax + 8]
push dword [ebp - 0x64]
call fcn.004406d0
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
test ecx, ecx
je 0x41fe50
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
lea ecx, [ebp - 0x48]
mov edx, ebx
mov dword [ebp - 0x24], eax
call fcn.004465c0
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
test eax, eax
je 0x41fe60
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0
mov ecx, ebx
mov edx, esi
push edi
call fcn.004406d0
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
test ecx, ecx
je 0x41fe6b
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x24], ebx
call fcn.004465c0
mov esi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
test esi, esi
je 0x41ffd9
mov edi, edx
push 1
push esi
push dword [ebp - 0x30]
call dword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
je 0x41fff1
test edi, edi
mov edi, dword [ebp - 0x50]
je 0x41fe26
push esi
push 0
push dword [0x4634c8]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [ebp - 0x4c], 0
mov ebx, dword [ebp - 0x78]
mov dl, 4
je 0x41fe90
push dword [ebp - 0x30]
push 0
push dword [0x4634c8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov dl, 4
jmp 0x41fe90
mov edi, edx
mov ebx, eax
shrd edi, eax, 8
jmp 0x41fe90
mov ebx, dword [ebp - 0x40]
mov edi, ebx
shld edi, edx, 0x18
jmp 0x41fe90
mov edi, edx
shrd edi, ebx, 8
cmp dword [ebp - 0x4c], 0
je 0x41fe90
push dword [ebp - 0x30]
push 0
push dword [0x4634c8]
mov esi, edx
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, esi
nop dword [eax]
cmp dword [ebp - 0x68], 0
je 0x41feab
push dword [ebp - 0x6c]
push 0
push dword [0x4634c8]
mov esi, edx
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, esi
cmp dl, 4
je 0x420031
mov dword [ebp - 0x50], edi
mov edi, ebx
mov ebx, edx
movzx eax, byte [0x463514]
mov eax, dword [0x4634c8]
test eax, eax
jne 0x41fede
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x420065
mov dword [0x4634c8], eax
push 8
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x420065
mov ecx, dword [ebp - 0x50]
movzx edx, bl
lea ebx, [ebp - 0x2c]
mov dword [ebp - 0x78], edi
mov dword [eax + 4], edi
shl ecx, 8
or edx, ecx
cmp dword [ebp - 0x7c], 9
mov dword [eax], edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0x4594dc
jbe 0x41ffa1
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x45990c
mov dword [ebp - 0x68], 3
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], 2
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x43b3e0
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x20], 0x430330
call fcn.0040a470
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov ecx, esi
push 1
push str.Visual_Studio_Codesrcutil.rs
call fcn.00423080
add esp, 8
cmp al, 7
jne 0x420035
test ebx, ebx
mov dword [ebp - 0x54], 0
je 0x41ff9e
push esi
push 0
push dword [0x4634c8]
call dword [sym.imp.kernel32.dll_HeapFree]
lea ebx, [ebp - 0x2c]
mov eax, dword [ebp - 0x54]
imul eax, eax
imul eax, eax, 0x32
push eax
call dword [sym.imp.kernel32.dll_Sleep]
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
push esi
call dword [edi]
add esp, 4
cmp dword [edi + 4], 0
je 0x41fccf
cmp dword [edi + 8], 9
jb 0x41fcc0
mov esi, dword [esi - 4]
jmp 0x41fcc0
mov ebx, dword [ebp - 0x40]
mov edi, ebx
shld edi, edx, 0x18
cmp dword [ebp - 0x4c], 0
jne 0x41fe77
jmp 0x41fe90
call dword [sym.imp.kernel32.dll_GetLastError]
test edi, edi
mov edi, dword [ebp - 0x50]
mov ebx, eax
je 0x420020
push esi
push 0
push dword [0x4634c8]
call dword [sym.imp.kernel32.dll_HeapFree]
xor edx, edx
cmp dword [ebp - 0x4c], 0
jne 0x41fe77
jmp 0x41fe90
xor edx, edx
cmp dword [ebp - 0x4c], 0
jne 0x41fe77
jmp 0x41fe90
xor edi, edi
jmp 0x420052
mov edi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
test ebx, ebx
je 0x420052
push esi
push 0
push dword [0x4634c8]
mov esi, edx
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, esi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x78
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 4
mov edx, 8
call fcn.004537a0
ud2