Function at 0x4135ec
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc44
xor ecx, ecx
mov dword [ebp - 0x3b8], ecx
mov dword [ebp - 0x3bc], ecx
mov dword [ebp - 0x1dc], ecx
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
call fcn.004038a4
mov eax, dword [ebp - 4]
call fcn.004038a4
xor eax, eax
push ebp
push 0x413963
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3b8]
mov eax, dword [ebp - 0x1d4]
call fcn.00406bb8
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x1d4]
call fcn.00403530
lea edx, [ebp - 0x3b8]
mov eax, dword [ebp - 4]
call fcn.00406bb8
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 4]
call fcn.00403530
mov eax, dword [ebp - 0x1d4]
call fcn.00406898
test al, al
je 0x413922
mov eax, dword [0x41a5bc]
cmp dword [eax], 2
jne 0x4136ed
cmp dword [ebp - 4], 0
je 0x4136d3
push 4
push 0
mov eax, dword [ebp - 4]
call fcn.004038b4
push eax
call sub.kernel32.dll_MoveFileExA
push 4
mov eax, dword [ebp - 4]
call fcn.004038b4
push eax
mov eax, dword [ebp - 0x1d4]
call fcn.004038b4
push eax
call sub.kernel32.dll_MoveFileExA
jmp 0x413922
push 4
push 0
mov eax, dword [ebp - 0x1d4]
call fcn.004038b4
push eax
call sub.kernel32.dll_MoveFileExA
jmp 0x413922
lea eax, [ebp - 0x3bc]
call fcn.004148c0
mov eax, dword [ebp - 0x3bc]
lea edx, [ebp - 0x3b8]
call fcn.00412fbc
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x1dc]
mov ecx, 0x413978
call fcn.0040373c
lea ecx, [ebp - 0x1e0]
mov edx, 0x41398c
mov eax, dword [ebp - 0x1dc]
call fcn.00406a70
mov eax, dword [ebp - 0x1e0]
call fcn.004132cc
mov byte [ebp - 0x1e5], 0
mov eax, dword [ebp - 0x1dc]
call fcn.00406898
test al, al
je 0x41376e
mov byte [ebp - 0x1e5], 1
mov edx, dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x1dc]
call fcn.004069cc
mov edx, dword [ebp - 0x1dc]
lea eax, [ebp - 0x1d0]
call fcn.00404a9a
lea eax, [ebp - 0x1d0]
call fcn.00404d22
call fcn.00402628
mov byte [ebp - 0x1e6], 0
cmp byte [ebp - 0x1e5], 0
je 0x4138c4
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x3b4]
call fcn.00404a9a
lea eax, [ebp - 0x3b4]
call fcn.00404d1b
call fcn.00402628
mov byte [ebp - 0x1d5], 0
jmp 0x4138ac
lea edx, [ebp - 0x1e4]
lea eax, [ebp - 0x3b4]
call fcn.00403a7c
lea eax, [ebp - 0x3b4]
call fcn.00404cb8
call fcn.00402628
lea edx, [ebp - 0x3b8]
mov eax, dword [ebp - 0x1e4]
call fcn.0040650c
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x1e4]
call fcn.00403530
cmp dword [ebp - 0x1e4], 0
je 0x413837
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d0]
call fcn.00403a54
call fcn.00404dfb
call fcn.00402628
mov edx, 0x41399c
mov eax, dword [ebp - 0x1e4]
call fcn.00406418
test eax, eax
jne 0x413852
mov byte [ebp - 0x1e6], 1
cmp byte [ebp - 0x1e6], 0
je 0x413888
cmp dword [ebp - 0x1e4], 0
je 0x413878
lea eax, [ebp - 0x3b4]
call fcn.00404b78
call fcn.00402628
test al, al
je 0x413888
cmp byte [ebp - 0x1d5], 0
jne 0x413888
push ebp
call fcn.00413310
pop ecx
cmp dword [ebp - 0x1e4], 0
jne 0x4138ac
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d0]
call fcn.00403a54
call fcn.00404dfb
call fcn.00402628
lea eax, [ebp - 0x3b4]
call fcn.00404b78
call fcn.00402628
test al, al
je 0x4137d0
cmp byte [ebp - 0x1e6], 0
jne 0x4138ee
mov edx, 0x41399c
lea eax, [ebp - 0x1d0]
call fcn.00403a54
call fcn.00404dfb
call fcn.00402628
push ebp
call fcn.00413310
pop ecx
cmp byte [ebp - 0x1e5], 0
je 0x413907
lea eax, [ebp - 0x3b4]
call fcn.00404b3c
call fcn.00402628
lea eax, [ebp - 0x1d0]
call fcn.00404b3c
call fcn.00402628
mov eax, dword [ebp - 0x1e0]
call fcn.004132cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41396a
lea eax, [ebp - 0x3bc]
mov edx, 2
call fcn.004034bc
lea eax, [ebp - 0x1e4]
mov edx, 3
call fcn.004034bc
lea eax, [ebp - 0x1d4]
call fcn.00403498
lea eax, [ebp - 4]
call fcn.00403498
ret