Function at 0x4c95e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x4c95e8
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4c9dca
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x18]
mov edx, 0x4c9de4
mov eax, dword [ebp - 8]
call fcn.004c7a90
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
add eax, 0x3b8
call fcn.00406f4c
lea ecx, [ebp - 0x1c]
mov edx, 0x4c9e14
mov eax, dword [ebp - 8]
call fcn.004c7a90
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
add eax, 0x3bc
call fcn.00406f4c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3b8]
call fcn.00413260
test al, al
je 0x4c9669
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3b8]
call fcn.00406fd8
push eax
call sub.KERNEL32.DLL_DeleteFileW
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3bc]
call fcn.00413260
test al, al
je 0x4c968f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3bc]
call fcn.00406fd8
push eax
call sub.KERNEL32.DLL_DeleteFileW
lea eax, [ebp - 0x20]
call fcn.004c71a4
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
add eax, 0x3c0
mov ecx, 0x4c9e50
call fcn.00407408
lea eax, [ebp - 0x24]
call fcn.004c71a4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
add eax, 0x3c4
mov ecx, 0x4c9e80
call fcn.00407408
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004c7c68
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
add eax, 0x3d4
call fcn.00406f4c
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3d4], 0
je 0x4c9716
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3d4]
call fcn.004132a8
test al, al
je 0x4c9716
mov eax, dword [ebp - 8]
add eax, 0x3d4
mov edx, 0x4c9e80
call fcn.00407348
jmp 0x4c9725
mov eax, dword [ebp - 8]
add eax, 0x3d4
xor edx, edx
call fcn.00406f4c
lea eax, [ebp - 0x2c]
call fcn.004c71a4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
add eax, 0x3c8
mov ecx, 0x4c9ec0
call fcn.00407408
lea eax, [ebp - 0x30]
call fcn.004c71a4
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
add eax, 0x3d0
mov ecx, 0x4c9ef4
call fcn.00407408
lea eax, [ebp - 0x34]
call fcn.004c71a4
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
add eax, 0x3cc
mov ecx, 0x4c9f30
call fcn.00407408
lea eax, [ebp - 0x38]
call fcn.004c71a4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
add eax, 0x3d8
mov ecx, 0x4c9f74
call fcn.00407408
lea eax, [ebp - 0x3c]
call fcn.004c71a4
lea eax, [ebp - 0x3c]
mov edx, 0x4c9fb0
call fcn.00407348
mov eax, dword [ebp - 0x3c]
call fcn.004132a8
test al, al
jne 0x4c97d7
lea eax, [ebp - 0x40]
call fcn.004c71a4
lea eax, [ebp - 0x40]
mov edx, 0x4c9fb0
call fcn.00407348
mov eax, dword [ebp - 0x40]
call fcn.00413644
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3f8]
call fcn.004085a8
test eax, eax
jl 0x4c982f
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov ebx, 0x4d58e0
lea eax, [ebp - 0x44]
call fcn.004c71a4
push dword [ebp - 0x44]
push 0x4c9fd4
push dword [ebx]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3f8]
mov edx, dword [ebp - 0xc]
lea eax, [eax + edx*4]
mov edx, 3
call fcn.004074ec
inc dword [ebp - 0xc]
add ebx, 4
dec dword [ebp - 0x14]
jne 0x4c97f9
mov eax, dword [0x4d5c64]
mov eax, dword [eax]
cmp dword [eax + 0xc], 0x20
jne 0x4c9864
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c0]
mov edx, 0x4c9ffc
call fcn.004c6c88
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 8]
add eax, 0x3a0
call fcn.00406f4c
jmp 0x4c988a
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c8]
mov edx, 0x4c9ffc
call fcn.004c6c88
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 8]
add eax, 0x3a0
call fcn.00406f4c
lea edx, [ebp - 0x54]
mov eax, dword [0x4d5c64]
mov eax, dword [eax]
call fcn.004af57c
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
mov edx, 0x4c9ffc
call fcn.004c6c88
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 8]
add eax, 0x3a4
call fcn.00406f4c
call fcn.00404578
xor edx, edx
mov dword [ebp - 0x10], edx
test eax, eax
jle 0x4c99b5
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 1
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0xc]
call fcn.004045d8
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 4]
call fcn.00411f14
mov edx, dword [ebp - 4]
mov eax, 0x4ca020
call fcn.004079dc
test eax, eax
jle 0x4c9973
movzx eax, byte [0x4ca02c]
push eax
lea eax, [ebp - 0x60]
push eax
xor ecx, ecx
mov edx, 0x4ca020
mov eax, dword [ebp - 4]
call fcn.00419378
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.004124cc
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 4]
call fcn.00406fa0
xor eax, eax
push ebp
push 0x4c9969
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4c994e
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x3b4], edx
jmp 0x4c995f
mov eax, dword [ebp - 4]
call fcn.00412d54
mov edx, dword [ebp - 8]
mov dword [edx + 0x3b4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c9973
cmp dword [ebp - 0x10], 0
jne 0x4c99a9
mov edx, dword [ebp - 4]
mov eax, 0x4ca03c
call fcn.004079dc
test eax, eax
jle 0x4c9991
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 4]
mov eax, 0x4ca050
call fcn.004079dc
test eax, eax
jle 0x4c99a9
mov dword [ebp - 0x10], 2
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x4c98d5
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3a0], 0
je 0x4c9a51
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3b0]
dec eax
je 0x4c99d6
dec eax
je 0x4c99ff
jmp 0x4c9a28
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3a0]
lea eax, [ebp - 0x64]
mov edx, 0x4ca064
call fcn.00407408
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x390]
call fcn.0047f134
jmp 0x4c9a61
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3a0]
lea eax, [ebp - 0x68]
mov edx, 0x4ca084
call fcn.00407408
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x390]
call fcn.0047f134
jmp 0x4c9a61
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3a0]
lea eax, [ebp - 0x6c]
mov edx, 0x4ca0a0
call fcn.00407408
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x390]
call fcn.0047f134
jmp 0x4c9a61
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x390]
xor edx, edx
call fcn.0047f134
cmp dword [ebp - 0x10], 0
jne 0x4c9a9e
lea edx, [ebp - 0x74]
mov eax, dword [0x4d5c64]
mov eax, dword [eax]
call fcn.004ae460
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.00411f14
mov edx, dword [ebp - 0x70]
mov eax, 0x4ca0bc
call fcn.004079dc
test eax, eax
setle al
mov edx, dword [ebp - 8]
mov byte [edx + 0x3ac], al
jmp 0x4c9aae
cmp dword [ebp - 0x10], 1
sete al
mov edx, dword [ebp - 8]
mov byte [edx + 0x3ac], al
mov eax, dword [ebp - 8]
cmp byte [eax + 0x3ac], 0
je 0x4c9c71
mov eax, dword [0x4d5c64]
mov eax, dword [eax]
cmp dword [eax + 0xc], 0x20
jne 0x4c9ba3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3b0]
dec eax
je 0x4c9ae3
dec eax
je 0x4c9b23
jmp 0x4c9b63
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c0]
call fcn.00413260
test al, al
je 0x4c9b0c
mov eax, dword [ebp - 8]
add eax, 0x3a8
mov edx, 0x4ca0dc
call fcn.00406f4c
jmp 0x4c9cbc
mov eax, dword [ebp - 8]
add eax, 0x3a8
mov edx, 0x4ca0f8
call fcn.00406f4c
jmp 0x4c9cbc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c0]
call fcn.00413260
test al, al
je 0x4c9b4c
mov eax, dword [ebp - 8]
add eax, 0x3a8
mov edx, 0x4ca114
call fcn.00406f4c
jmp 0x4c9cbc
mov eax, dword [ebp - 8]
add eax, 0x3a8
mov edx, 0x4ca128
call fcn.00406f4c
jmp 0x4c9cbc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c0]
call fcn.00413260
test al, al
je 0x4c9b8c
mov eax, dword [ebp - 8]
add eax, 0x3a8
mov edx, 0x4ca13c
call fcn.00406f4c
jmp 0x4c9cbc
mov eax, dword [ebp - 8]
add eax, 0x3a8
mov edx, 0x4ca150
call fcn.00406f4c
jmp 0x4c9cbc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3b0]
dec eax
je 0x4c9bb7
dec eax
je 0x4c9bf7
jmp 0x4c9c37
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c8]
call fcn.00413260
test al, al
je 0x4c9be0
mov eax, dword [ebp - 8]
add eax, 0x3a8
mov edx, 0x4ca0dc
call fcn.00406f4c
jmp 0x4c9cbc
mov eax, dword [ebp - 8]
add eax, 0x3a8
mov edx, 0x4ca0f8
call fcn.00406f4c
jmp 0x4c9cbc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c8]
call fcn.00413260
test al, al
je 0x4c9c20
mov eax, dword [ebp - 8]
add eax, 0x3a8
mov edx, 0x4ca114
call fcn.00406f4c
jmp 0x4c9cbc
mov eax, dword [ebp - 8]
add eax, 0x3a8
mov edx, 0x4ca128
call fcn.00406f4c
jmp 0x4c9cbc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c8]
call fcn.00413260
test al, al
je 0x4c9c5d
mov eax, dword [ebp - 8]
add eax, 0x3a8
mov edx, 0x4ca13c
call fcn.00406f4c
jmp 0x4c9cbc
mov eax, dword [ebp - 8]
add eax, 0x3a8
mov edx, 0x4ca150
call fcn.00406f4c
jmp 0x4c9cbc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3b0]
dec eax
je 0x4c9c82
dec eax
je 0x4c9c96
jmp 0x4c9caa
mov eax, dword [ebp - 8]
add eax, 0x3a8
mov edx, 0x4ca164
call fcn.00406f4c
jmp 0x4c9cbc
mov eax, dword [ebp - 8]
add eax, 0x3a8
mov edx, 0x4ca184
call fcn.00406f4c
jmp 0x4c9cbc
mov eax, dword [ebp - 8]
add eax, 0x3a8
mov edx, 0x4ca198
call fcn.00406f4c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3b0]
dec eax
je 0x4c9cd0
dec eax
je 0x4c9d2d
jmp 0x4c9d60
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3a8]
mov edx, 0x4ca0dc
call fcn.0040760c
jne 0x4c9cfd
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38c]
mov edx, 0x4ca1ac
call fcn.0047f134
jmp 0x4c9d96
push 0
mov eax, dword [ebp - 8]
push dword [eax + 0x3a8]
push 0x4ca1d8
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.004074ec
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38c]
call fcn.0047f134
jmp 0x4c9d96
push 0x4ca1f8
mov eax, dword [ebp - 8]
push dword [eax + 0x3a8]
push 0x4ca20c
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.004074ec
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38c]
call fcn.0047f134
jmp 0x4c9d96
push 0x4ca1f8
mov eax, dword [ebp - 8]
push dword [eax + 0x3a8]
push 0x4ca230
push 0x4ca248
lea eax, [ebp - 0x80]
mov edx, 4
call fcn.004074ec
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38c]
call fcn.0047f134
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38c]
mov edx, dword [eax]
call dword [edx + 0x9c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9dd1
lea eax, [ebp - 0x80]
mov edx, 0x1b
call fcn.00406f44
lea eax, [ebp - 4]
call fcn.00406f3c
ret