Function at 0x5466ec
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x69
push 0
push 0
dec ecx
jne 0x5466f4
push ebx
push esi
push edi
mov ebx, edx
mov byte [ebp - 0x11], al
mov esi, dword [0x5a2f34]
xor eax, eax
push ebp
push 0x546dc5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a884c]
mov eax, dword [eax + 0x360]
mov edx, dword [eax]
call dword [edx + 0xdc]
lea eax, [ebp - 0xc]
mov edx, 0x546ddc
call fcn.0040594c
test bl, bl
jne 0x5467de
lea edx, [ebp - 0x2e4]
mov eax, dword [0x5a2e78]
mov eax, dword [eax]
call fcn.0040b358
mov eax, dword [ebp - 0x2e4]
mov edx, 0x546dec
call fcn.00405cd4
jne 0x546769
cmp byte [ebp - 0x11], 0
je 0x5467de
mov eax, dword [0x5a2e78]
mov eax, dword [eax]
mov edx, 0x546e00
call fcn.00405cd4
je 0x5467a0
lea edx, [ebp - 0x2e8]
mov eax, dword [0x5a2e78]
mov eax, dword [eax]
call fcn.0040b358
mov eax, dword [ebp - 0x2e8]
mov edx, 0x546ddc
call fcn.00405cd4
je 0x5467de
mov eax, dword [0x5a884c]
mov eax, dword [eax + 0x378]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
je 0x546d6f
lea edx, [ebp - 0x2ec]
mov eax, dword [0x5a884c]
mov eax, dword [eax + 0x378]
call fcn.004495d0
mov edx, dword [ebp - 0x2ec]
mov eax, dword [0x5a2e78]
call fcn.00405908
lea eax, [ebp - 4]
mov edx, dword [0x5a2e78]
mov edx, dword [edx]
call fcn.0040594c
mov eax, dword [0x5a2834]
push dword [eax]
push 0x546e10
lea edx, [ebp - 0x2f4]
mov eax, dword [ebp - 4]
call fcn.0040b320
push dword [ebp - 0x2f4]
push 0x546e20
lea eax, [ebp - 0x2f0]
mov edx, 4
call fcn.00405c48
mov edx, dword [ebp - 0x2f0]
mov eax, dword [0x5a30e4]
mov eax, dword [eax]
call fcn.0045a1f0
test bl, bl
je 0x546859
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040b1e0
lea eax, [ebp - 4]
mov ecx, 0x546e2c
mov edx, dword [ebp - 8]
call fcn.00405bd4
jmp 0x546c71
mov eax, dword [ebp - 4]
call fcn.0040ae30
test al, al
je 0x54686b
mov byte [ebp - 0x1f], 1
jmp 0x54686f
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x11]
xor al, 1
and al, byte [ebp - 0x1f]
je 0x5468b6
push 0
push 0x546e40
push dword [ebp - 4]
push 0x546e54
lea eax, [ebp - 0x2f8]
mov edx, 3
call fcn.00405c48
mov eax, dword [ebp - 0x2f8]
movzx ecx, word [0x546e58]
mov dl, 3
call fcn.0044afa8
cmp eax, 7
je 0x546d6f
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040594c
mov eax, dword [0x5a2cac]
cmp byte [eax], 0
je 0x546c71
mov eax, dword [0x5a2ec8]
cmp dword [eax], 0
jle 0x546bbd
mov eax, dword [0x5a2ba0]
cmp byte [eax], 0
je 0x546bbd
lea ecx, [ebp - 0x2fc]
mov edx, 0x546e64
mov eax, dword [ebp - 8]
call fcn.0040b14c
mov edi, dword [ebp - 0x2fc]
mov dword [ebp - 0x300], edi
mov eax, dword [ebp - 0x300]
call fcn.00405d88
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
lea ecx, [ebp - 0x304]
mov edx, 0x546e74
mov eax, dword [ebp - 8]
call fcn.0040b14c
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x308]
mov edx, 0x546e64
mov eax, dword [ebp - 8]
call fcn.0040b14c
mov edi, dword [ebp - 0x308]
mov dword [ebp - 0x300], edi
mov eax, dword [ebp - 0x300]
call fcn.00405d88
push eax
mov eax, dword [ebp - 0x24]
call fcn.00405d88
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
lea ecx, [ebp - 0x30c]
mov edx, 0x546e74
mov eax, dword [ebp - 8]
call fcn.0040b14c
mov edi, dword [ebp - 0x30c]
mov dword [ebp - 0x300], edi
mov eax, dword [ebp - 0x300]
call fcn.00405d88
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
lea ecx, [ebp - 0x310]
mov edx, 0x546e84
mov eax, dword [ebp - 8]
call fcn.0040b14c
mov eax, dword [ebp - 0x310]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x314]
mov edx, 0x546e74
mov eax, dword [ebp - 8]
call fcn.0040b14c
mov edi, dword [ebp - 0x314]
mov dword [ebp - 0x300], edi
mov eax, dword [ebp - 0x300]
call fcn.00405d88
push eax
mov eax, dword [ebp - 0x28]
call fcn.00405d88
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
lea ecx, [ebp - 0x318]
mov edx, 0x546e84
mov eax, dword [ebp - 8]
call fcn.0040b14c
mov edi, dword [ebp - 0x318]
mov dword [ebp - 0x300], edi
mov eax, dword [ebp - 0x300]
call fcn.00405d88
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
lea ecx, [ebp - 0x31c]
mov edx, 0x546e94
mov eax, dword [ebp - 8]
call fcn.0040b14c
mov eax, dword [ebp - 0x31c]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x320]
mov edx, 0x546e84
mov eax, dword [ebp - 8]
call fcn.0040b14c
mov edi, dword [ebp - 0x320]
mov dword [ebp - 0x300], edi
mov eax, dword [ebp - 0x300]
call fcn.00405d88
push eax
mov eax, dword [ebp - 0x2c]
call fcn.00405d88
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
lea ecx, [ebp - 0x324]
mov edx, 0x546e94
mov eax, dword [ebp - 8]
call fcn.0040b14c
mov edi, dword [ebp - 0x324]
mov dword [ebp - 0x300], edi
mov eax, dword [ebp - 0x300]
call fcn.00405d88
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
lea ecx, [ebp - 0x328]
mov edx, 0x546ea4
mov eax, dword [ebp - 8]
call fcn.0040b14c
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x32c]
mov edx, 0x546e94
mov eax, dword [ebp - 8]
call fcn.0040b14c
mov edi, dword [ebp - 0x32c]
mov dword [ebp - 0x300], edi
mov eax, dword [ebp - 0x300]
call fcn.00405d88
push eax
mov eax, dword [ebp - 0x30]
call fcn.00405d88
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x31], al
lea ecx, [ebp - 0x330]
mov edx, 0x546ea4
mov eax, dword [ebp - 8]
call fcn.0040b14c
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
call fcn.00405d88
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x39], al
lea ecx, [ebp - 0x334]
mov edx, 0x546eb4
mov eax, dword [ebp - 8]
call fcn.0040b14c
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x338]
mov edx, 0x546ea4
mov eax, dword [ebp - 8]
call fcn.0040b14c
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
call fcn.00405d88
push eax
mov eax, dword [ebp - 0x40]
call fcn.00405d88
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x45], al
lea ecx, [ebp - 0x33c]
mov edx, 0x546eb4
mov eax, dword [ebp - 8]
call fcn.0040b14c
mov edi, dword [ebp - 0x33c]
mov dword [ebp - 0x300], edi
mov eax, dword [ebp - 0x300]
call fcn.00405d88
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
lea ecx, [ebp - 0x340]
mov edx, 0x546eb4
mov eax, dword [ebp - 8]
call fcn.0040b14c
mov edi, dword [ebp - 0x340]
mov dword [ebp - 0x300], edi
mov eax, dword [ebp - 0x300]
call fcn.00405d88
push eax
mov eax, dword [ebp - 4]
call fcn.00405d88
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x546c71
cmp byte [ebp - 0x1f], 0
je 0x546c71
push 0x546ec4
push dword [ebp - 4]
push 0x546efc
push 0x546efc
push 0x546f08
push dword [ebp - 8]
lea eax, [ebp - 0x344]
mov edx, 6
call fcn.00405c48
mov eax, dword [ebp - 0x344]
call fcn.0044b124
test bl, bl
jne 0x546ca3
lea edx, [ebp - 0x348]
mov eax, dword [0x5a2e78]
mov eax, dword [eax]
call fcn.0040b358
mov eax, dword [ebp - 0x348]
mov edx, 0x546dec
call fcn.00405cd4
jne 0x546ca3
call fcn.0057b884
jmp 0x546d6f
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x2e0]
call fcn.0040367c
mov edx, 0xb5b
lea eax, [ebp - 0x2e0]
call fcn.00403d18
call fcn.00402f48
mov ebx, dword [0x5a3004]
movzx ebx, word [ebx]
inc word [esi]
mov eax, 0xb5b
call fcn.00402dec
movzx edx, word [esi]
mov ecx, dword [0x5a27d0]
mov dword [ecx + edx*4 - 4], eax
movzx eax, word [esi]
mov edx, dword [0x5a3004]
mov word [edx], ax
call fcn.00544d6c
movzx eax, word [esi]
mov edx, dword [0x5a27d0]
mov edx, dword [edx + eax*4 - 4]
lea eax, [ebp - 0x2e0]
call fcn.00403e58
call fcn.00402f48
movzx eax, word [esi]
mov edx, dword [0x5a27d0]
mov eax, dword [edx + eax*4 - 4]
mov edx, 0xb5b
call fcn.00402e08
mov eax, dword [0x5a3004]
mov word [eax], bx
dec word [esi]
mov ebx, 1
mov eax, dword [0x5a27d0]
mov edx, dword [eax + ebx*4 - 4]
lea eax, [ebp - 0x2e0]
call fcn.00403e58
call fcn.00402f48
inc ebx
movzx eax, word [esi]
cmp ebx, eax
jle 0x546d3e
lea eax, [ebp - 0x2e0]
call fcn.004037fc
call fcn.00402f48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x546dcc
lea eax, [ebp - 0x348]
mov edx, 0x12
call fcn.004058d8
lea eax, [ebp - 0x2fc]
mov edx, 4
call fcn.004058d8
lea eax, [ebp - 0x2ec]
call fcn.004058b4
lea eax, [ebp - 0x2e8]
mov edx, 2
call fcn.004058d8
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004058d8
ret