Function at 0x463700
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4844c8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4b700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
mov al, 1
mov byte [ebp - 0x11], al
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, eax
lea ecx, [ebp - 0x18]
call fcn.00402820
mov byte [ebp - 4], 3
push esi
push 0x487808
lea eax, [ebp - 0x18]
push eax
call fcn.0045d3c0
add esp, 0xc
push 0x496d94
lea ecx, [ebp - 0x20]
call fcn.0045d100
mov byte [ebp - 4], 4
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x24]
call fcn.0045c7c0
add esp, 4
mov byte [ebp - 4], 5
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov edi, dword [ebp - 0x18]
add edi, 0xfffffff0
cmp ecx, edi
je 0x4637da
lea ebx, [edi + 0xc]
cmp dword [ebx], 0
jl 0x4637ce
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4637ce
call fcn.00403060
mov dword [ebp - 0x28], eax
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4637c3
mov ecx, dword [edi]
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp - 0x18], eax
jmp 0x4637dd
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x18]
call fcn.004030c0
or esi, 0xffffffff
mov byte [ebp - 4], 6
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4637ff
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 7
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x463821
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
lea ecx, [ebp + 0xc]
call fcn.0045cbc0
lea ecx, [ebp - 0x1c]
call fcn.00402820
mov byte [ebp - 4], 8
lea ecx, [ebp + 8]
call fcn.0045ea00
mov edi, eax
mov dword [ebp - 0x24], edi
mov ecx, edi
call fcn.0045ebe0
test eax, eax
je 0x463a52
cmp dword [eax + 0xc], 0x4000
je 0x463842
add eax, 0x10
push eax
lea ecx, [ebp - 0x20]
call fcn.0045d100
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x20]
call fcn.0045cbc0
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x28]
call fcn.004026c0
mov byte [ebp - 4], 0xa
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x28]
call fcn.0045d240
test al, al
je 0x463a05
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x30]
call fcn.0045c7c0
add esp, 4
mov byte [ebp - 4], 0xb
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov edi, dword [ebp - 0x1c]
add edi, 0xfffffff0
cmp ecx, edi
je 0x463900
lea ebx, [edi + 0xc]
cmp dword [ebx], 0
jl 0x4638f4
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4638f4
call fcn.00403060
mov dword [ebp - 0x2c], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4638e9
mov ecx, dword [edi]
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
add eax, 0x10
mov dword [ebp - 0x1c], eax
jmp 0x463900
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004030c0
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x463922
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x34]
call fcn.0045c7c0
add esp, 4
mov byte [ebp - 4], 0xd
push dword [eax]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edi, eax
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x463967
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
test edi, edi
jne 0x463a02
mov byte [ebp - 0x11], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
push ecx
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x38], esp
mov edi, dword [ebp - 0x20]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [edi - 4]
cmp dword [eax], 0
jl 0x4639a5
cmp ecx, dword [edi - 0x10]
jne 0x4639a5
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x4639cf
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x463bda
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov edx, dword [edi - 0xc]
inc edx
push edx
push edi
lea ecx, [ebx + 0x10]
call fcn.004031c0
add esp, 8
lea eax, [ebx + 0x10]
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push str.renameFile_ERROR_Code_for_file
call fcn.0045d100
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2c]
call fcn.0045f800
add esp, 8
mov edi, dword [ebp - 0x24]
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x463a27
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x463842
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
jmp 0x463842
mov ecx, edi
call fcn.0045ed10
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x463a7b
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x463a9d
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x463abf
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 0x17
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x463ae5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004031b0
int3