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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48429c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x10090
call fcn.00463720
mov eax, dword [0x4a57cc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10090], ecx
mov dword [ebp - 0x10050], 1
lea ecx, [ebp - 0x10044]
call fcn.00479d93
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00479d93
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10064]
call fcn.00403c10
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10034]
call fcn.00403c30
mov byte [ebp - 4], 3
push str..new
lea ecx, [ebp - 0x10034]
push ecx
lea edx, [ebp - 0x10058]
push edx
call fcn.00413870
add esp, 0xc
mov byte [ebp - 4], 4
push 0x48ba38
mov eax, dword [ebp + 0xc]
push eax
call fcn.00437fd0
add esp, 8
mov dword [ebp - 0x1005c], eax
cmp dword [ebp - 0x1005c], 0
jne 0x41bd2d
call fcn.00465f0d
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.Cannot_open_delta_file____s__error_code___d
mov eax, dword [ebp - 0x10090]
push eax
call fcn.0041e290
add esp, 0x10
mov dword [ebp - 0x10080], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10058]
call fcn.00403ca0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10034]
call fcn.00403ca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10064]
call fcn.00403ca0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00479dd2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10044]
call fcn.00479dd2
mov eax, dword [ebp - 0x10080]
jmp 0x41c4a9
push 0
push 0x40
lea ecx, [ebp - 0x10034]
call fcn.00420d30
push eax
lea ecx, [ebp - 0x10044]
call fcn.0047a02b
test eax, eax
jne 0x41bde1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x10034]
push ecx
push str.Cannot_open_old_file____s__error_code___d
mov edx, dword [ebp - 0x10090]
push edx
call fcn.0041e290
add esp, 0x10
mov eax, dword [ebp - 0x1005c]
push eax
call fcn.00437d30
add esp, 4
mov dword [ebp - 0x10084], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10058]
call fcn.00403ca0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10034]
call fcn.00403ca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10064]
call fcn.00403ca0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00479dd2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10044]
call fcn.00479dd2
mov eax, dword [ebp - 0x10084]
jmp 0x41c4a9
push 0
push 0x1001
lea ecx, [ebp - 0x10058]
call fcn.00420d30
push eax
lea ecx, [ebp - 0x1c]
call fcn.0047a02b
test eax, eax
jne 0x41be95
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x10058]
push ecx
push str.Cannot_create_new_file____s__error_code___d
mov edx, dword [ebp - 0x10090]
push edx
call fcn.0041e290
add esp, 0x10
mov eax, dword [ebp - 0x1005c]
push eax
call fcn.00437d30
add esp, 4
mov dword [ebp - 0x10088], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10058]
call fcn.00403ca0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10034]
call fcn.00403ca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10064]
call fcn.00403ca0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00479dd2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10044]
call fcn.00479dd2
mov eax, dword [ebp - 0x10088]
jmp 0x41c4a9
push 4
lea ecx, [ebp - 0x10060]
push ecx
mov edx, dword [ebp - 0x1005c]
push edx
call fcn.00437ff0
add esp, 0xc
push 1
lea eax, [ebp - 0x1d]
push eax
mov ecx, dword [ebp - 0x1005c]
push ecx
call fcn.00437ff0
add esp, 0xc
movzx edx, byte [ebp - 0x1d]
test edx, edx
jne 0x41becf
jmp 0x41c382
movzx eax, byte [ebp - 0x1d]
and eax, 0x80
je 0x41c1d2
movzx ecx, byte [ebp - 0x1d]
and ecx, 0x60
sar ecx, 5
mov byte [ebp - 0x1002d], cl
movzx edx, byte [ebp - 0x1d]
and edx, 0x1f
mov dword [ebp - 0x24], edx
push 1
lea eax, [ebp - 0x10045]
push eax
mov ecx, dword [ebp - 0x1005c]
push ecx
call fcn.00437ff0
add esp, 0xc
movzx edx, byte [ebp - 0x10045]
mov dword [ebp - 0x10054], edx
push 1
lea eax, [ebp - 0x10045]
push eax
mov ecx, dword [ebp - 0x1005c]
push ecx
call fcn.00437ff0
add esp, 0xc
movzx edx, byte [ebp - 0x10045]
shl edx, 8
or edx, dword [ebp - 0x10054]
mov dword [ebp - 0x10054], edx
mov al, byte [ebp - 0x1002d]
mov byte [ebp - 0x10094], al
cmp byte [ebp - 0x10094], 1
je 0x41bf7b
cmp byte [ebp - 0x10094], 2
je 0x41bfa8
cmp byte [ebp - 0x10094], 3
je 0x41c003
jmp 0x41c0d7
push 1
lea ecx, [ebp - 0x10045]
push ecx
mov edx, dword [ebp - 0x1005c]
push edx
call fcn.00437ff0
add esp, 0xc
movzx eax, byte [ebp - 0x10045]
shl eax, 5
or eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
jmp 0x41c0d7
push 1
lea ecx, [ebp - 0x10045]
push ecx
mov edx, dword [ebp - 0x1005c]
push edx
call fcn.00437ff0
add esp, 0xc
movzx eax, byte [ebp - 0x10045]
shl eax, 0x10
or eax, dword [ebp - 0x10054]
mov dword [ebp - 0x10054], eax
push 1
lea ecx, [ebp - 0x10045]
push ecx
mov edx, dword [ebp - 0x1005c]
push edx
call fcn.00437ff0
add esp, 0xc
movzx eax, byte [ebp - 0x10045]
shl eax, 5
or eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
jmp 0x41c0d7
push 1
lea ecx, [ebp - 0x10045]
push ecx
mov edx, dword [ebp - 0x1005c]
push edx
call fcn.00437ff0
add esp, 0xc
movzx eax, byte [ebp - 0x10045]
shl eax, 0x10
or eax, dword [ebp - 0x10054]
mov dword [ebp - 0x10054], eax
push 1
lea ecx, [ebp - 0x10045]
push ecx
mov edx, dword [ebp - 0x1005c]
push edx
call fcn.00437ff0
add esp, 0xc
movzx eax, byte [ebp - 0x10045]
shl eax, 0x18
or eax, dword [ebp - 0x10054]
mov dword [ebp - 0x10054], eax
push 1
lea ecx, [ebp - 0x10045]
push ecx
mov edx, dword [ebp - 0x1005c]
push edx
call fcn.00437ff0
add esp, 0xc
movzx eax, byte [ebp - 0x10045]
shl eax, 5
or eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
push 1
lea ecx, [ebp - 0x10045]
push ecx
mov edx, dword [ebp - 0x1005c]
push edx
call fcn.00437ff0
add esp, 0xc
movzx eax, byte [ebp - 0x10045]
shl eax, 0xd
or eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
push 1
lea ecx, [ebp - 0x10045]
push ecx
mov edx, dword [ebp - 0x1005c]
push edx
call fcn.00437ff0
add esp, 0xc
movzx eax, byte [ebp - 0x10045]
shl eax, 0x15
or eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10068], ecx
push 0
mov edx, dword [ebp - 0x10054]
xor eax, eax
push eax
push edx
lea ecx, [ebp - 0x10044]
call fcn.00479b31
cmp dword [ebp - 0x10068], 0
je 0x41c1cd
cmp dword [ebp - 0x10068], 0x10000
jbe 0x41c11c
mov dword [ebp - 0x10098], 0x10000
jmp 0x41c128
mov ecx, dword [ebp - 0x10068]
mov dword [ebp - 0x10098], ecx
mov edx, dword [ebp - 0x10098]
push edx
lea eax, [ebp - 0x1002c]
push eax
lea ecx, [ebp - 0x10044]
call fcn.00479aa6
mov dword [ebp - 0x1006c], eax
mov ecx, dword [ebp - 0x1006c]
push ecx
lea edx, [ebp - 0x1002c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00479ae6
mov eax, dword [ebp - 0x10090]
add eax, 4
push eax
lea ecx, [ebp - 0x10070]
call fcn.0041e3d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10070]
call fcn.0041e420
movzx ecx, al
test ecx, ecx
je 0x41c19c
lea ecx, [ebp - 0x1c]
call fcn.00479b82
mov edx, dword [ebp - 0x10090]
mov dword [edx + 0x524], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10070]
call fcn.0041e400
mov eax, dword [ebp - 0x10068]
sub eax, dword [ebp - 0x1006c]
mov dword [ebp - 0x10068], eax
cmp dword [ebp - 0x1006c], 0
jg 0x41c1c8
jmp 0x41c1cd
jmp 0x41c0f7
jmp 0x41c36b
movzx ecx, byte [ebp - 0x1d]
and ecx, 0x60
sar ecx, 5
mov byte [ebp - 0x1002d], cl
movzx edx, byte [ebp - 0x1d]
and edx, 0x1f
mov dword [ebp - 0x24], edx
movzx eax, byte [ebp - 0x1002d]
cmp eax, 1
jl 0x41c220
push 1
lea ecx, [ebp - 0x10045]
push ecx
mov edx, dword [ebp - 0x1005c]
push edx
call fcn.00437ff0
add esp, 0xc
movzx eax, byte [ebp - 0x10045]
shl eax, 5
or eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
movzx ecx, byte [ebp - 0x1002d]
cmp ecx, 2
jl 0x41c254
push 1
lea edx, [ebp - 0x10045]
push edx
mov eax, dword [ebp - 0x1005c]
push eax
call fcn.00437ff0
add esp, 0xc
movzx ecx, byte [ebp - 0x10045]
shl ecx, 0xd
or ecx, dword [ebp - 0x24]
mov dword [ebp - 0x24], ecx
movzx edx, byte [ebp - 0x1002d]
cmp edx, 3
jl 0x41c288
push 1
lea eax, [ebp - 0x10045]
push eax
mov ecx, dword [ebp - 0x1005c]
push ecx
call fcn.00437ff0
add esp, 0xc
movzx edx, byte [ebp - 0x10045]
shl edx, 0x15
or edx, dword [ebp - 0x24]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10074], eax
cmp dword [ebp - 0x10074], 0
je 0x41c36b
cmp dword [ebp - 0x10074], 0x10000
jbe 0x41c2b6
mov dword [ebp - 0x1009c], 0x10000
jmp 0x41c2c2
mov ecx, dword [ebp - 0x10074]
mov dword [ebp - 0x1009c], ecx
mov edx, dword [ebp - 0x1009c]
push edx
lea eax, [ebp - 0x1002c]
push eax
mov ecx, dword [ebp - 0x1005c]
push ecx
call fcn.00437ff0
add esp, 0xc
mov dword [ebp - 0x10078], eax
mov edx, dword [ebp - 0x10078]
push edx
lea eax, [ebp - 0x1002c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00479ae6
mov ecx, dword [ebp - 0x10090]
add ecx, 4
push ecx
lea ecx, [ebp - 0x1007c]
call fcn.0041e3d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1007c]
call fcn.0041e420
movzx edx, al
test edx, edx
je 0x41c33a
lea ecx, [ebp - 0x1c]
call fcn.00479b82
mov ecx, dword [ebp - 0x10090]
mov dword [ecx + 0x524], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1007c]
call fcn.0041e400
mov edx, dword [ebp - 0x10074]
sub edx, dword [ebp - 0x10078]
mov dword [ebp - 0x10074], edx
cmp dword [ebp - 0x10078], 0
jg 0x41c366
jmp 0x41c36b
jmp 0x41c291
mov eax, dword [ebp - 0x1005c]
push eax
call fcn.00437c90
add esp, 4
test eax, eax
je 0x41bead
lea ecx, [ebp - 0x1c]
call fcn.00479d31
lea ecx, [ebp - 0x10044]
call fcn.00479d31
mov ecx, dword [ebp - 0x1005c]
push ecx
call fcn.00437d30
add esp, 4
push 0x80
lea ecx, [ebp - 0x10034]
call fcn.00420d30
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x10034]
call fcn.00420d30
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x10034]
call fcn.00420d30
push eax
lea ecx, [ebp - 0x10058]
call fcn.00420d30
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x10034]
call fcn.00420d30
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1004c], eax
cmp dword [ebp - 0x1004c], 0xffffffff
je 0x41c44e
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp + 0x14]
push ecx
lea edx, [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x1004c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov ecx, dword [ebp - 0x1004c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1008c], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10058]
call fcn.00403ca0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10034]
call fcn.00403ca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10064]
call fcn.00403ca0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00479dd2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10044]
call fcn.00479dd2
mov eax, dword [ebp - 0x1008c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x28]
call fcn.004635af
mov esp, ebp
pop ebp
ret 0x14