Function at 0x4845a8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x3d
push 0
push 0
dec ecx
jne 0x4845b0
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405054
lea eax, [ebp - 0x168]
mov edx, dword [0x407d20]
call fcn.00405618
xor eax, eax
push ebp
push 0x484dec
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4845f1
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x178]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004050cc
mov eax, dword [ebp - 0x178]
mov edx, 0x484e08
call fcn.00404ffc
jne 0x484626
lea eax, [ebp - 4]
mov edx, 0x484e14
call fcn.00404ea0
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x484632
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x17c]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004050cc
mov eax, dword [ebp - 0x17c]
mov edx, 0x484e20
call fcn.00404ffc
je 0x484667
lea eax, [ebp - 4]
mov edx, 0x484e20
call fcn.00404ea0
lea eax, [ebp - 0x180]
mov ecx, 0x484e2c
mov edx, dword [ebp - 4]
call fcn.00404eec
mov eax, dword [ebp - 0x180]
lea ecx, [ebp - 0x168]
mov edx, 0x3f
call fcn.0040967c
mov esi, eax
test esi, esi
jne 0x484bda
mov eax, dword [0x48c9cc]
mov eax, dword [eax]
call fcn.00461610
mov eax, dword [ebp - 0x154]
mov edx, 0x484e08
call fcn.00404ffc
je 0x484bc5
mov eax, dword [ebp - 0x154]
mov edx, 0x484e38
call fcn.00404ffc
je 0x484bc5
xor eax, eax
push ebp
push 0x484bbb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x184]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.00404eec
mov eax, dword [ebp - 0x184]
call fcn.00484514
mov eax, dword [ebp - 0x158]
and eax, 0x10
cmp eax, 0x10
jne 0x484883
xor eax, eax
push ebp
push 0x4847dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, dword [ebp - 0x154]
test edi, edi
je 0x48472e
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x188]
push eax
mov ecx, 1
mov edx, edi
mov eax, dword [ebp - 0x154]
call fcn.004050cc
mov eax, dword [ebp - 0x188]
mov edx, 0x484e08
call fcn.00404ffc
jne 0x4847d2
push dword [ebp - 4]
push dword [ebp - 0x154]
push 0x484e14
lea eax, [ebp - 0x18c]
mov edx, 3
call fcn.00404f68
mov eax, dword [ebp - 0x18c]
call fcn.00484514
xor eax, eax
push ebp
push 0x4847c8
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push dword [ebp - 0x154]
push 0x484e14
lea eax, [ebp - 0x190]
mov edx, 3
call fcn.00404f68
mov eax, dword [ebp - 0x190]
call fcn.00403360
call fcn.00402fec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4847d2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4847e6
push dword [ebp - 4]
push dword [ebp - 0x154]
push 0x484e20
lea eax, [ebp - 0x194]
mov edx, 3
call fcn.00404f68
mov eax, dword [ebp - 0x194]
call fcn.00484514
xor eax, eax
push ebp
push 0x484855
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push dword [ebp - 0x154]
push 0x484e20
lea eax, [ebp - 0x198]
mov edx, 3
call fcn.00404f68
mov eax, dword [ebp - 0x198]
call fcn.00403360
call fcn.00402fec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48485f
lea eax, [ebp - 0x19c]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.00404eec
mov eax, dword [ebp - 0x19c]
call fcn.004845a8
jmp 0x484bb1
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
je 0x4848a9
mov eax, dword [ebp - 0x16c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x1a0]
push eax
mov ecx, 1
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x154]
call fcn.004050cc
mov eax, dword [ebp - 0x1a0]
mov edx, 0x484e08
call fcn.00404ffc
jne 0x484996
push dword [ebp - 4]
push dword [ebp - 0x154]
push 0x484e14
lea eax, [ebp - 0x1a4]
mov edx, 3
call fcn.00404f68
mov eax, dword [ebp - 0x1a4]
call fcn.00484514
push 0x484e44
push dword [ebp - 4]
push dword [ebp - 0x154]
push 0x484e14
lea eax, [ebp - 0x1a8]
mov edx, 4
call fcn.00404f68
mov eax, dword [ebp - 0x1a8]
call fcn.00484514
push dword [ebp - 4]
push dword [ebp - 0x154]
push 0x484e14
lea eax, [ebp - 0x1ac]
mov edx, 3
call fcn.00404f68
mov eax, dword [ebp - 0x1ac]
call fcn.00405064
push eax
call sub.kernel32.dll_DeleteFileA
push 0x484e44
push dword [ebp - 4]
push dword [ebp - 0x154]
push 0x484e14
lea eax, [ebp - 0x1b0]
mov edx, 4
call fcn.00404f68
mov eax, dword [ebp - 0x1b0]
call fcn.00405064
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x4849bc
mov eax, dword [ebp - 0x170]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x1b4]
push eax
mov ecx, 1
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x154]
call fcn.004050cc
mov eax, dword [ebp - 0x1b4]
mov edx, 0x484e54
call fcn.00404ffc
jne 0x4849ef
mov bl, 1
jmp 0x484a13
lea edx, [ebp - 0x1b8]
mov eax, dword [ebp - 0x154]
call fcn.00408a5c
mov eax, dword [ebp - 0x1b8]
mov edx, 0x484e60
call fcn.00404ffc
sete bl
test bl, bl
je 0x484a20
mov byte [ebp - 0x171], 1
jmp 0x484a48
lea edx, [ebp - 0x1bc]
mov eax, dword [ebp - 0x154]
call fcn.00408a5c
mov eax, dword [ebp - 0x1bc]
mov edx, 0x484e6c
call fcn.00404ffc
sete byte [ebp - 0x171]
cmp byte [ebp - 0x171], 0
je 0x484b0f
push dword [ebp - 4]
push dword [ebp - 0x154]
push 0x484e20
lea eax, [ebp - 0x1c0]
mov edx, 3
call fcn.00404f68
mov eax, dword [ebp - 0x1c0]
call fcn.00484514
push 0x484e78
push dword [ebp - 4]
push dword [ebp - 0x154]
push 0x484e20
lea eax, [ebp - 0x1c4]
mov edx, 4
call fcn.00404f68
mov eax, dword [ebp - 0x1c4]
call fcn.00484514
push dword [ebp - 4]
push dword [ebp - 0x154]
push 0x484e20
lea eax, [ebp - 0x1c8]
mov edx, 3
call fcn.00404f68
mov eax, dword [ebp - 0x1c8]
call fcn.00405064
push eax
call sub.kernel32.dll_DeleteFileA
push 0x484e44
push dword [ebp - 4]
push dword [ebp - 0x154]
push 0x484e20
lea eax, [ebp - 0x1cc]
mov edx, 4
call fcn.00404f68
mov eax, dword [ebp - 0x1cc]
call fcn.00405064
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x1d0]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.00404eec
mov eax, dword [ebp - 0x1d0]
call fcn.00484514
lea eax, [ebp - 0x1d4]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.00404eec
mov eax, dword [ebp - 0x1d4]
call fcn.00405064
push eax
call sub.kernel32.dll_DeleteFileA
push 0x484e44
push dword [ebp - 4]
push dword [ebp - 0x154]
lea eax, [ebp - 0x1d8]
mov edx, 3
call fcn.00404f68
mov eax, dword [ebp - 0x1d8]
call fcn.00405064
push eax
call sub.kernel32.dll_DeleteFileA
push 0x484e84
push dword [ebp - 4]
push dword [ebp - 0x154]
lea eax, [ebp - 0x1dc]
mov edx, 3
call fcn.00404f68
mov eax, dword [ebp - 0x1dc]
call fcn.00405064
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x484bc5
lea eax, [ebp - 0x168]
call fcn.004096cc
mov esi, eax
test esi, esi
je 0x48469a
lea eax, [ebp - 0x168]
call fcn.004096f0
xor eax, eax
push ebp
push 0x484ca0
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebp - 4]
mov ebx, esi
test ebx, ebx
je 0x484c01
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x1e0]
push eax
mov edx, ebx
dec edx
mov ecx, 2
mov eax, dword [ebp - 4]
call fcn.004050cc
mov eax, dword [ebp - 0x1e0]
mov edx, 0x484e14
call fcn.00404ffc
jne 0x484c96
mov ebx, esi
test ebx, ebx
je 0x484c35
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x1e4]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004050cc
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 4]
mov ecx, 0x484e20
call fcn.00404eec
mov eax, dword [ebp - 4]
call fcn.00484514
xor eax, eax
push ebp
push 0x484c8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403360
call fcn.00402fec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x484c96
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x484caa
push dword [ebp - 4]
push dword [ebp - 0x154]
push 0x484e20
lea eax, [ebp - 0x1e8]
mov edx, 3
call fcn.00404f68
mov eax, dword [ebp - 0x1e8]
call fcn.00484514
xor eax, eax
push ebp
push 0x484d19
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push dword [ebp - 0x154]
push 0x484e20
lea eax, [ebp - 0x1ec]
mov edx, 3
call fcn.00404f68
mov eax, dword [ebp - 0x1ec]
call fcn.00403360
call fcn.00402fec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x484d23
xor eax, eax
push ebp
push 0x484d48
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403360
call fcn.00402fec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x484d52
mov eax, dword [ebp - 4]
call fcn.004095ac
test al, al
je 0x484d62
xor ebx, ebx
jmp 0x484d64
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484df6
lea eax, [ebp - 0x1ec]
mov edx, 0xe
call fcn.00404bf8
lea eax, [ebp - 0x1b4]
call fcn.00404bd4
lea eax, [ebp - 0x1b0]
mov edx, 4
call fcn.00404bf8
lea eax, [ebp - 0x1a0]
call fcn.00404bd4
lea eax, [ebp - 0x19c]
mov edx, 5
call fcn.00404bf8
lea eax, [ebp - 0x188]
call fcn.00404bd4
lea eax, [ebp - 0x184]
mov edx, 4
call fcn.00404bf8
lea eax, [ebp - 0x168]
mov edx, dword [0x407d20]
call fcn.004056e8
lea eax, [ebp - 4]
call fcn.00404bd4
ret