Function at 0x57c870
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.00403e64
mov edi, dword [ebp + 8]
add edi, 0xfffff93c
xor eax, eax
push ebp
push 0x57cdfe
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [edi + 0xb], 1
je 0x57c8db
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov edx, dword [edx + 8]
mov eax, dword [0x66fb98]
mov eax, dword [eax]
call fcn.0061ff68
mov byte [ebp - 0x2f9], 0
jmp 0x57cdc7
mov byte [ebp - 0x2f9], 1
call fcn.0064e78c
mov dword [ebp - 0x238], eax
call fcn.0064e78c
mov dword [ebp - 0x23c], eax
call fcn.0064e140
mov dword [ebp - 0x200], eax
call fcn.0064e140
mov dword [ebp - 0x204], eax
xor eax, eax
mov dword [ebp - 0x264], eax
xor eax, eax
mov dword [ebp - 0x274], eax
call fcn.0064e78c
mov dword [ebp - 0x24c], eax
call fcn.0064e78c
mov dword [ebp - 0x2ec], eax
call fcn.0064e78c
mov dword [ebp - 0x2e8], eax
call fcn.0064e78c
mov dword [ebp - 0x2f4], eax
mov bl, 9
lea esi, [ebp - 0x234]
call fcn.0064e140
mov dword [esi], eax
add esi, 4
dec bl
jne 0x57c952
mov dword [ebp - 0x250], 0x80000000
xor eax, eax
mov dword [ebp - 0x210], eax
xor eax, eax
push ebp
push 0x57cccb
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 0x57ca22
lea eax, [ebp - 4]
call fcn.004043c0
push eax
push 0
push 0x10
push 0
test byte [edi + 0xb], 2
setne al
and eax, 0x7f
mov edx, dword [0x66ed70]
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 0x57c9f7
call fcn.00656a70
lea eax, [ebp - 0x248]
call fcn.004043c0
push eax
push 0
push 0x10
push 0
mov eax, dword [0x6702f8]
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 0x57ca47
lea eax, [ebp - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc4]
call fcn.004043d8
lea eax, [ebp - 0x248]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0xc4]
call fcn.004043d8
push ebp
call fcn.00571cc4
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0x47b], 0
je 0x57ca69
push ebp
call fcn.00572c6c
pop ecx
jmp 0x57ccc1
push ebp
call fcn.00572670
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0xae]
mov eax, dword [edi + 0x6c]
call fcn.00571cb4
pop ecx
push eax
push ebp
mov edx, dword [edi + 0xaa]
mov eax, dword [edi + 0x68]
call fcn.00571cb4
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x22c]
pop ecx
call fcn.00571c88
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0xb6]
mov eax, dword [edi + 0x74]
call fcn.00571cb4
pop ecx
push eax
push ebp
mov edx, dword [edi + 0xb2]
mov eax, dword [edi + 0x70]
call fcn.00571cb4
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x228]
pop ecx
call fcn.00571c88
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x20e]
mov eax, dword [edi + 0x1d6]
call fcn.00571cb4
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x20a]
mov eax, dword [edi + 0x1d2]
call fcn.00571cb4
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x224]
pop ecx
call fcn.00571c88
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x216]
mov eax, dword [edi + 0x1de]
call fcn.00571cb4
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x212]
mov eax, dword [edi + 0x1da]
call fcn.00571cb4
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x220]
pop ecx
call fcn.00571c88
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0xf6]
mov eax, dword [edi + 0xb4]
call fcn.00571cb4
pop ecx
push eax
push ebp
mov edx, dword [edi + 0xf2]
mov eax, dword [edi + 0xb0]
call fcn.00571cb4
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x21c]
pop ecx
call fcn.00571c88
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x25e]
mov eax, dword [edi + 0x226]
call fcn.00571cb4
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x25a]
mov eax, dword [edi + 0x222]
call fcn.00571cb4
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x218]
pop ecx
call fcn.00571c88
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x26e]
mov eax, dword [edi + 0x236]
call fcn.00571cb4
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x26a]
mov eax, dword [edi + 0x232]
call fcn.00571cb4
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x214]
pop ecx
call fcn.00571c88
pop ecx
push ebp
call fcn.00572c14
pop ecx
cmp byte [ebp - 5], 0
je 0x57cbf9
push ebp
call fcn.00571fcc
pop ecx
push ebp
call fcn.00572c6c
pop ecx
push ebp
call fcn.00577288
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x106]
mov eax, dword [edi + 0xc4]
call fcn.00571cb4
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x102]
mov eax, dword [edi + 0xc0]
call fcn.00571cb4
pop ecx
mov edx, eax
lea eax, [ebp - 0x264]
pop ecx
call fcn.00577458
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0xfe]
mov eax, dword [edi + 0xbc]
call fcn.00571cb4
pop ecx
push eax
push ebp
mov edx, dword [edi + 0xfa]
mov eax, dword [edi + 0xb8]
call fcn.00571cb4
pop ecx
mov edx, eax
lea eax, [ebp - 0x274]
pop ecx
call fcn.00577458
pop ecx
cmp byte [0x66a86c], 0
je 0x57ccba
cmp byte [ebp - 5], 0
je 0x57cca0
mov eax, dword [edi + 0x4c]
add eax, dword [edi + 0x50]
add eax, dword [edi + 0x54]
add eax, dword [edi + 0x60]
mov edx, dword [0x66fc38]
mov edx, dword [edx]
mov dword [edx + 0x25c], eax
jmp 0x57ccba
mov eax, dword [edi + 0x34]
add eax, dword [edi + 0x38]
add eax, dword [edi + 0x3c]
add eax, dword [edi + 0x48]
mov edx, dword [0x66fc38]
mov edx, dword [edx]
mov dword [edx + 0x25c], eax
push ebp
call fcn.0057bdf8
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57ccdc
mov eax, dword [ebp - 0x24c]
call fcn.0064edac
mov eax, dword [ebp - 0x2f4]
call fcn.0064edac
mov eax, dword [ebp - 0x2ec]
call fcn.0064edac
mov eax, dword [ebp - 0x2e8]
call fcn.0064edac
mov eax, dword [ebp + 8]
push eax
call fcn.005673ac
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.0064edac
mov eax, dword [ebp - 0x238]
call fcn.0064edac
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 0x57cd67
mov eax, dword [ebp + 8]
add eax, 0xffffff40
call fcn.004043c0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0x3f6], 0
je 0x57cda6
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 0x57cdc7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
mov ecx, 1
mov edx, 0xc0000000
call fcn.00658f04
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 0x57ce05
lea eax, [ebp - 0x2d0]
mov ecx, 0x10
mov edx, dword [0x40104c]
call fcn.00403f2c
lea eax, [ebp - 0x248]
call fcn.004043c0
lea eax, [ebp - 4]
call fcn.004043c0
ret