Function at 0x4212b0
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x46fc18
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490d1c]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
lea ecx, [esp + 0x3c]
call fcn.0043d765
xor ebx, ebx
mov dword [esp + 0x5c], ebx
cmp byte [0x492128], bl
je 0x4212fb
push 0xffffffffffffffff
push ebx
mov ecx, 0x4924c0
call fcn.0043b60f
mov esi, dword [esp + 0x64]
mov ebp, dword [0x4924c8]
push ebx
push esi
lea ecx, [esp + 0x44]
call fcn.0043d7fd
lea ecx, [esp + 0x3c]
mov edi, eax
call fcn.0043d361
cmp edi, ebx
jne 0x4213bc
cmp ebp, ebx
jne 0x421395
lea ecx, [esp + 0x2c]
call fcn.0043ee62
push ebx
push 0x1000
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 1
call fcn.0043f2c0
test eax, eax
je 0x42135b
lea ecx, [esp + 0x2c]
call fcn.0043edfc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x421388
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x421388
call fcn.004034d0
test eax, eax
je 0x421388
cmp byte [0x492128], bl
jne 0x421388
mov eax, dword [0x4924c8]
push esi
push eax
mov ecx, 0x4924c0
call fcn.0043b890
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], bl
call fcn.0043ef6a
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0043d78e
mov al, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
lea ecx, [esp + 0x1c]
call fcn.0043ee62
push ebx
push 1
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 2
call fcn.0043f2c0
test eax, eax
je 0x4213ea
lea ecx, [esp + 0x1c]
call fcn.0043edfc
lea ecx, [esp + 0x1c]
jmp 0x42138c
push esi
lea ecx, [esp + 0x18]
call fcn.00401e60
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 3
call fcn.00404110
push str.06
lea ecx, [esp + 0x18]
call fcn.00403030
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebx
jl 0x42145c
push str..exe06
push ecx
call fcn.00455a19
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, ebx
je 0x42143b
sub eax, ecx
sar eax, 1
cmp eax, ebx
jg 0x4214d8
cmp dword [ecx - 0xc], ebx
jl 0x42145c
push str..dll06
push ecx
call fcn.00455a19
add esp, 8
cmp eax, ebx
je 0x42145c
sub eax, dword [esp + 0x14]
sar eax, 1
cmp eax, ebx
jg 0x4214d8
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push 1
push esi
lea ecx, [esp + 0x28]
call fcn.0043f2c0
test eax, eax
je 0x421494
lea ecx, [esp + 0x1c]
call fcn.0043edfc
lea ecx, [esp + 0x14]
call fcn.00401990
lea ecx, [esp + 0x1c]
jmp 0x42138c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4215bf
call fcn.004034d0
test eax, eax
je 0x4214c6
cmp byte [0x492128], bl
jne 0x4214c6
mov ecx, dword [0x4924c8]
push esi
push ecx
mov ecx, 0x4924c0
call fcn.0043b890
lea ecx, [esp + 0x14]
call fcn.00401990
lea ecx, [esp + 0x1c]
jmp 0x42138c
push esi
lea ecx, [esp + 0x1c]
call fcn.00401e60
push str..__test
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 4
call fcn.00403030
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push eax
push esi
call edi
test eax, eax
je 0x42156d
mov ecx, dword [esp + 0x18]
push esi
push ecx
call edi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42153f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421564
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
jmp 0x42138c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4215b6
call fcn.004034d0
test eax, eax
je 0x42159b
cmp byte [0x492128], bl
jne 0x42159b
mov ecx, dword [0x4924c8]
push esi
push ecx
mov ecx, 0x4924c0
call fcn.0043b890
lea ecx, [esp + 0x18]
call fcn.00401990
lea ecx, [esp + 0x14]
call fcn.00401990
lea ecx, [esp + 0x1c]
jmp 0x42138c
lea ecx, [esp + 0x18]
call fcn.00401990
lea ecx, [esp + 0x14]
call fcn.00401990
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], bl
call fcn.0043ef6a
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0043d78e
xor al, al
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret