Function at 0x57f828
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd04
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x248], eax
mov ecx, 0x10
lea eax, [ebp - 0x2d0]
mov edx, dword [0x40104c]
call fcn.00403e74
mov edi, dword [ebp + 8]
add edi, 0xfffff93c
xor eax, eax
push ebp
push 0x57fdb6
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [edi + 0xb], 1
je 0x57f893
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov edx, dword [edx + 8]
mov eax, dword [0x672bfc]
mov eax, dword [eax]
call fcn.006234a0
mov byte [ebp - 0x2f9], 0
jmp 0x57fd7f
mov byte [ebp - 0x2f9], 1
call fcn.00651de8
mov dword [ebp - 0x238], eax
call fcn.00651de8
mov dword [ebp - 0x23c], eax
call fcn.0065179c
mov dword [ebp - 0x200], eax
call fcn.0065179c
mov dword [ebp - 0x204], eax
xor eax, eax
mov dword [ebp - 0x264], eax
xor eax, eax
mov dword [ebp - 0x274], eax
call fcn.00651de8
mov dword [ebp - 0x24c], eax
call fcn.00651de8
mov dword [ebp - 0x2ec], eax
call fcn.00651de8
mov dword [ebp - 0x2e8], eax
call fcn.00651de8
mov dword [ebp - 0x2f4], eax
mov bl, 9
lea esi, [ebp - 0x234]
call fcn.0065179c
mov dword [esi], eax
add esi, 4
dec bl
jne 0x57f90a
mov dword [ebp - 0x250], 0x80000000
xor eax, eax
mov dword [ebp - 0x210], eax
xor eax, eax
push ebp
push 0x57fc83
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [edi]
cmp eax, 0xa5ec
sete byte [ebp - 5]
mov al, byte [edi + 0xa]
and al, 4
mov byte [ebp - 0x251], al
mov byte [ebp - 0x290], 0
xor eax, eax
mov dword [ebp - 0x280], eax
mov byte [ebp - 0x2d1], 0
mov byte [ebp - 0x242], 0
cmp byte [ebp - 5], 0
je 0x57f9da
lea eax, [ebp - 4]
call fcn.004043d0
push eax
push 0
push 0x10
push 0
test byte [edi + 0xb], 2
setne al
and eax, 0x7f
mov edx, dword [0x671dd8]
mov eax, dword [edx + eax*4]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc0]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
jge 0x57f9af
call fcn.0065a09c
lea eax, [ebp - 0x248]
call fcn.004043d0
push eax
push 0
push 0x10
push 0
mov eax, dword [0x673358]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc0]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
jmp 0x57f9ff
lea eax, [ebp - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc4]
call fcn.004043e8
lea eax, [ebp - 0x248]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc4]
call fcn.004043e8
push ebp
call fcn.00574c7c
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0x47b], 0
je 0x57fa21
push ebp
call fcn.00575c24
pop ecx
jmp 0x57fc79
push ebp
call fcn.00575628
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0xae]
mov eax, dword [edi + 0x6c]
call fcn.00574c6c
pop ecx
push eax
push ebp
mov edx, dword [edi + 0xaa]
mov eax, dword [edi + 0x68]
call fcn.00574c6c
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x22c]
pop ecx
call fcn.00574c40
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0xb6]
mov eax, dword [edi + 0x74]
call fcn.00574c6c
pop ecx
push eax
push ebp
mov edx, dword [edi + 0xb2]
mov eax, dword [edi + 0x70]
call fcn.00574c6c
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x228]
pop ecx
call fcn.00574c40
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x20e]
mov eax, dword [edi + 0x1d6]
call fcn.00574c6c
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x20a]
mov eax, dword [edi + 0x1d2]
call fcn.00574c6c
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x224]
pop ecx
call fcn.00574c40
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x216]
mov eax, dword [edi + 0x1de]
call fcn.00574c6c
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x212]
mov eax, dword [edi + 0x1da]
call fcn.00574c6c
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x220]
pop ecx
call fcn.00574c40
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0xf6]
mov eax, dword [edi + 0xb4]
call fcn.00574c6c
pop ecx
push eax
push ebp
mov edx, dword [edi + 0xf2]
mov eax, dword [edi + 0xb0]
call fcn.00574c6c
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x21c]
pop ecx
call fcn.00574c40
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x25e]
mov eax, dword [edi + 0x226]
call fcn.00574c6c
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x25a]
mov eax, dword [edi + 0x222]
call fcn.00574c6c
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x218]
pop ecx
call fcn.00574c40
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x26e]
mov eax, dword [edi + 0x236]
call fcn.00574c6c
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x26a]
mov eax, dword [edi + 0x232]
call fcn.00574c6c
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x214]
pop ecx
call fcn.00574c40
pop ecx
push ebp
call fcn.00575bcc
pop ecx
cmp byte [ebp - 5], 0
je 0x57fbb1
push ebp
call fcn.00574f84
pop ecx
push ebp
call fcn.00575c24
pop ecx
push ebp
call fcn.0057a240
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x106]
mov eax, dword [edi + 0xc4]
call fcn.00574c6c
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x102]
mov eax, dword [edi + 0xc0]
call fcn.00574c6c
pop ecx
mov edx, eax
lea eax, [ebp - 0x264]
pop ecx
call fcn.0057a410
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0xfe]
mov eax, dword [edi + 0xbc]
call fcn.00574c6c
pop ecx
push eax
push ebp
mov edx, dword [edi + 0xfa]
mov eax, dword [edi + 0xb8]
call fcn.00574c6c
pop ecx
mov edx, eax
lea eax, [ebp - 0x274]
pop ecx
call fcn.0057a410
pop ecx
cmp byte [0x66d860], 0
je 0x57fc72
cmp byte [ebp - 5], 0
je 0x57fc58
mov eax, dword [edi + 0x4c]
add eax, dword [edi + 0x50]
add eax, dword [edi + 0x54]
add eax, dword [edi + 0x60]
mov edx, dword [0x672c9c]
mov edx, dword [edx]
mov dword [edx + 0x25c], eax
jmp 0x57fc72
mov eax, dword [edi + 0x34]
add eax, dword [edi + 0x38]
add eax, dword [edi + 0x3c]
add eax, dword [edi + 0x48]
mov edx, dword [0x672c9c]
mov edx, dword [edx]
mov dword [edx + 0x25c], eax
push ebp
call fcn.0057edb0
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57fc94
mov eax, dword [ebp - 0x24c]
call fcn.00652408
mov eax, dword [ebp - 0x2f4]
call fcn.00652408
mov eax, dword [ebp - 0x2ec]
call fcn.00652408
mov eax, dword [ebp - 0x2e8]
call fcn.00652408
mov eax, dword [ebp + 8]
push eax
call fcn.0056a364
pop ecx
mov eax, dword [ebp - 0x204]
call fcn.004028c0
mov eax, dword [ebp - 0x200]
call fcn.004028c0
mov eax, dword [ebp - 0x23c]
call fcn.00652408
mov eax, dword [ebp - 0x238]
call fcn.00652408
mov eax, dword [ebp - 0x274]
call fcn.00401fac
mov eax, dword [ebp - 0x264]
call fcn.00401fac
mov eax, dword [ebp - 0x210]
call fcn.004028c0
mov bl, 9
lea esi, [ebp - 0x234]
mov eax, dword [esi]
call fcn.004028c0
add esi, 4
dec bl
jne 0x57fd1f
mov eax, dword [ebp + 8]
add eax, 0xffffff40
call fcn.004043d0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0x3f6], 0
je 0x57fd5e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp + 8]
mov byte [eax - 9], 0
jmp 0x57fd7f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
mov ecx, 1
mov edx, 0xc0000000
call fcn.0065c53c
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x10]
mov dword [edx + 0x164], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57fdbd
lea eax, [ebp - 0x2d0]
mov ecx, 0x10
mov edx, dword [0x40104c]
call fcn.00403f3c
lea eax, [ebp - 0x248]
call fcn.004043d0
lea eax, [ebp - 4]
call fcn.004043d0
ret