Function at 0x4235a0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43faf8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4620f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], cx
push ecx
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi - 8]
call fcn.0041f5c0
test al, al
je 0x42379b
push 0
push ebx
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi - 8]
call fcn.0041f5c0
test al, al
je 0x42379b
mov eax, dword [edi - 4]
lea ecx, [ebp - 0x64]
mov eax, dword [eax + 4]
add eax, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042c260
mov eax, dword [edi - 4]
mov byte [ebp - 4], 3
mov eax, dword [eax + 4]
mov eax, dword [eax + edi]
test eax, eax
je 0x423660
cmp dword [eax + 4], 0
jne 0x42378a
lea ecx, [ebp - 0x6c]
call fcn.00436e20
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x42376c
push str.Error_occurred_while_renaming_the_file.
call fcn.004029e0
add esp, 4
push eax
push 0x40009
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push 0x44f2cc
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fa2a
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44f5d8
mov dword [ecx + 0xc], str.winnt_dir::Rename
mov dword [ecx + 0x10], 0x321
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0041d0b0
add esp, 0x2c
push eax
mov eax, dword [edi - 4]
mov byte [ebp - 4], 5
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.004030c0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.00402f20
push 0x40013
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [edi - 4]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.0041e360
mov ebx, dword [eax]
test ebx, ebx
je 0x423726
mov ebx, dword [ebx + 4]
jmp 0x423728
xor ebx, ebx
lea ecx, [ebp - 0x5c]
call fcn.00402f20
test ebx, ebx
je 0x42377e
push dword [ebp - 0x60]
lea ecx, [ebp - 0x58]
call fcn.00401480
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [edi - 8]
call fcn.00424f20
test al, al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
sete bl
call fcn.00401510
test bl, bl
jne 0x42377e
mov eax, dword [edi - 4]
push 0x465148
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.004030c0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.00436eb0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0042c690
jmp 0x42382c
push str.Error_occurred_while_renaming_the_file.
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x44]
push 0x40009
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fa1e
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44f570
mov dword [ecx + 0xc], 0x44f26c
mov dword [ecx + 0x10], 0x315
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0x60]
call fcn.00412b70
push eax
mov eax, dword [edi - 4]
mov byte [ebp - 4], 2
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.004030c0
mov eax, dword [ebp - 0x60]
mov byte [ebp - 4], 1
test eax, eax
je 0x42381d
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42381d
mov ecx, dword [eax + 0xc]
mov esi, dword [eax + 8]
push eax
mov eax, dword [ecx]
call eax
add esp, 4
mov eax, esi
test esi, esi
jne 0x423800
mov eax, dword [edi - 4]
push 0x7b
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00413170
cmp dword [ebp - 0x14], 8
jb 0x42383d
push dword [ebp - 0x28]
call fcn.00404a15
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x423862
push dword [ebp - 0x40]
call fcn.00404a15
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004051a4
mov esp, ebp
pop ebp
ret 8