Function at 0x5470d4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1c
push 0
push 0
dec ecx
jne 0x5470dc
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405c0c
mov edi, dword [0x597584]
xor eax, eax
push ebp
push 0x547700
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405c1c
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [0x597418]
movzx eax, word [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [0x59734c]
movzx eax, word [eax]
test eax, eax
jle 0x547694
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 1
mov eax, dword [0x596c00]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x10]
dec edx
mov eax, dword [0x597250]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov ecx, dword [eax]
call dword [ecx + 0xe0]
call fcn.0057b93c
lea eax, [ebp - 0x20]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0x440]
call fcn.004e28bc
cmp dword [ebp - 0x20], 0
je 0x5473be
mov edx, 0x547710
lea eax, [ebp - 0x58]
call fcn.00403884
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov edx, eax
lea eax, [ebp - 0x58]
mov cl, 0x37
call fcn.00403854
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x94]
call fcn.00403884
mov edx, 0x547720
lea eax, [ebp - 0x94]
mov cl, 0x38
call fcn.00403854
lea edx, [ebp - 0x94]
lea eax, [ebp - 8]
call fcn.004059bc
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0053c518
lea eax, [ebp - 8]
mov edx, 0x54772c
call fcn.004057e0
xor ebx, ebx
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x98]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [esi + 0x40c]
call fcn.004e28bc
mov eax, dword [ebp - 0x98]
movzx ecx, byte [edi]
mov dl, 0x2e
call fcn.00510c18
push dword [ebp - 8]
push 0x547744
push dword [ebp - 0xc]
push 0x547750
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405adc
inc ebx
cmp ebx, 8
jne 0x5471e6
lea eax, [ebp - 0x9c]
mov ecx, 0x54775c
mov edx, dword [ebp - 8]
call fcn.00405a68
mov edx, dword [ebp - 0x9c]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0053c518
mov eax, dword [esi + 0x414]
cmp dword [eax + 0x260], 0
jne 0x547317
push 0x54776c
mov eax, dword [esi + 0x420]
call fcn.004d906c
lea edx, [ebp - 0xa0]
call fcn.0040a6d4
push dword [ebp - 0xa0]
push 0x547750
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405adc
xor ebx, ebx
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xa4]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [esi + 0x418]
call fcn.004e28bc
mov eax, dword [ebp - 0xa4]
movzx ecx, byte [edi]
mov dl, 0x2e
call fcn.00510c18
push dword [ebp - 8]
push 0x547744
push dword [ebp - 0xc]
push 0x547750
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405adc
inc ebx
cmp ebx, 8
jne 0x5472a0
lea eax, [ebp - 0xa8]
mov ecx, 0x54775c
mov edx, dword [ebp - 8]
call fcn.00405a68
mov edx, dword [ebp - 0xa8]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0053c518
jmp 0x5473be
push 0x54778c
mov eax, dword [esi + 0x420]
call fcn.004d906c
lea edx, [ebp - 0xac]
call fcn.0040a6d4
push dword [ebp - 0xac]
push 0x547750
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405adc
xor ebx, ebx
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xb0]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [esi + 0x41c]
call fcn.004e28bc
mov eax, dword [ebp - 0xb0]
movzx ecx, byte [edi]
mov dl, 0x2e
call fcn.00510c18
push dword [ebp - 8]
push 0x547744
push dword [ebp - 0xc]
push 0x547750
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405adc
inc ebx
cmp ebx, 8
jne 0x54734c
lea eax, [ebp - 0xb4]
mov ecx, 0x5477ac
mov edx, dword [ebp - 8]
call fcn.00405a68
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0053c518
lea eax, [ebp - 8]
mov edx, 0x5477bc
call fcn.004057e0
xor ebx, ebx
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xb8]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [esi + 0x42c]
call fcn.004e28bc
mov eax, dword [ebp - 0xb8]
movzx ecx, byte [edi]
mov dl, 0x2e
call fcn.00510c18
push dword [ebp - 8]
push 0x547744
push dword [ebp - 0xc]
push 0x547750
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405adc
inc ebx
cmp ebx, 8
jne 0x5473cd
lea eax, [ebp - 0xbc]
mov ecx, 0x54775c
mov edx, dword [ebp - 8]
call fcn.00405a68
mov edx, dword [ebp - 0xbc]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0053c518
lea eax, [ebp - 8]
mov edx, 0x5477dc
call fcn.004057e0
xor ebx, ebx
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xc0]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [esi + 0x440]
call fcn.004e28bc
mov eax, dword [ebp - 0xc0]
movzx ecx, byte [edi]
mov dl, 0x2e
call fcn.00510c18
push dword [ebp - 8]
push 0x547744
push dword [ebp - 0xc]
push 0x547750
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405adc
inc ebx
cmp ebx, 8
jne 0x54744e
lea eax, [ebp - 0xc4]
mov ecx, 0x54775c
mov edx, dword [ebp - 8]
call fcn.00405a68
mov edx, dword [ebp - 0xc4]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0053c518
lea eax, [ebp - 8]
mov edx, 0x5477fc
call fcn.004057e0
xor ebx, ebx
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xc8]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [esi + 0x44c]
call fcn.004e28bc
mov eax, dword [ebp - 0xc8]
movzx ecx, byte [edi]
mov dl, 0x2e
call fcn.00510c18
push dword [ebp - 8]
push 0x547744
push dword [ebp - 0xc]
push 0x547750
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405adc
inc ebx
cmp ebx, 8
jne 0x5474cf
lea eax, [ebp - 0xcc]
mov ecx, 0x54775c
mov edx, dword [ebp - 8]
call fcn.00405a68
mov edx, dword [ebp - 0xcc]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0053c518
lea eax, [ebp - 8]
mov edx, 0x5477fc
call fcn.004057e0
xor ebx, ebx
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xd0]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [esi + 0x45c]
call fcn.004e28bc
mov eax, dword [ebp - 0xd0]
movzx ecx, byte [edi]
mov dl, 0x2e
call fcn.00510c18
push dword [ebp - 8]
push 0x547744
push dword [ebp - 0xc]
push 0x547750
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405adc
inc ebx
cmp ebx, 8
jne 0x547550
lea eax, [ebp - 0xd4]
mov ecx, 0x5477ac
mov edx, dword [ebp - 8]
call fcn.00405a68
mov edx, dword [ebp - 0xd4]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0053c518
push 0x54781c
lea edx, [ebp - 0xdc]
mov eax, dword [esi + 0x454]
call fcn.00459fe8
push dword [ebp - 0xdc]
push 0x547844
lea eax, [ebp - 0xd8]
mov edx, 3
call fcn.00405adc
mov edx, dword [ebp - 0xd8]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0053c518
lea eax, [ebp - 8]
mov edx, 0x547854
call fcn.004057e0
xor ebx, ebx
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xe0]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [esi + 0x4d0]
call fcn.004e28bc
mov eax, dword [ebp - 0xe0]
movzx ecx, byte [edi]
mov dl, 0x2e
call fcn.00510c18
push dword [ebp - 8]
push 0x547744
push dword [ebp - 0xc]
push 0x547750
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405adc
inc ebx
cmp ebx, 8
jne 0x547612
lea eax, [ebp - 0xe4]
mov ecx, 0x54775c
mov edx, dword [ebp - 8]
call fcn.00405a68
mov edx, dword [ebp - 0xe4]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0053c518
inc dword [ebp - 0x10]
add dword [ebp - 0x1c], 4
dec dword [ebp - 0x18]
jne 0x547143
mov edx, dword [ebp - 0x14]
dec edx
mov eax, dword [0x597250]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov ecx, dword [eax]
call dword [ecx + 0xe0]
call fcn.0057b93c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x547707
lea eax, [ebp - 0xe4]
mov edx, 2
call fcn.0040576c
lea eax, [ebp - 0xdc]
call fcn.00405748
lea eax, [ebp - 0xd8]
mov edx, 0x11
call fcn.0040576c
lea eax, [ebp - 0x20]
call fcn.00405748
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040576c
ret