Function at 0x57d878
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 0x57ddff
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [edi + 0xb], 1
je 0x57d8e1
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov edx, dword [edx + 8]
mov eax, 0x57de14
call fcn.0062967c
mov byte [ebp - 0x2f9], 0
jmp 0x57ddc8
mov byte [ebp - 0x2f9], 1
call fcn.00656a20
mov dword [ebp - 0x238], eax
call fcn.00656a20
mov dword [ebp - 0x23c], eax
call fcn.00656518
mov dword [ebp - 0x200], eax
call fcn.00656518
mov dword [ebp - 0x204], eax
xor eax, eax
mov dword [ebp - 0x264], eax
xor eax, eax
mov dword [ebp - 0x274], eax
call fcn.00656a20
mov dword [ebp - 0x24c], eax
call fcn.00656a20
mov dword [ebp - 0x2ec], eax
call fcn.00656a20
mov dword [ebp - 0x2e8], eax
call fcn.00656a20
mov dword [ebp - 0x2f4], eax
mov bl, 9
lea esi, [ebp - 0x234]
call fcn.00656518
mov dword [esi], eax
add esi, 4
dec bl
jne 0x57d958
mov dword [ebp - 0x250], 0x80000000
xor eax, eax
mov dword [ebp - 0x210], eax
xor edx, edx
push ebp
push 0x57dccc
push dword fs:[edx]
mov dword fs:[edx], 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 0x57da28
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 [0x6721b4]
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 0x57d9fd
call fcn.0065e804
lea eax, [ebp - 0x248]
call fcn.004043d0
push eax
push 0
push 0x10
push 0
mov eax, dword [0x672988]
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 0x57da4d
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.00572c04
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0x473], 0
je 0x57da6f
push ebp
call fcn.00573bcc
pop ecx
jmp 0x57dcc2
push ebp
call fcn.005735c4
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0xae]
mov eax, dword [edi + 0x6c]
call fcn.00572bf4
pop ecx
push eax
push ebp
mov edx, dword [edi + 0xaa]
mov eax, dword [edi + 0x68]
call fcn.00572bf4
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x22c]
pop ecx
call fcn.00572bc8
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0xb6]
mov eax, dword [edi + 0x74]
call fcn.00572bf4
pop ecx
push eax
push ebp
mov edx, dword [edi + 0xb2]
mov eax, dword [edi + 0x70]
call fcn.00572bf4
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x228]
pop ecx
call fcn.00572bc8
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x20e]
mov eax, dword [edi + 0x1d6]
call fcn.00572bf4
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x20a]
mov eax, dword [edi + 0x1d2]
call fcn.00572bf4
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x224]
pop ecx
call fcn.00572bc8
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x216]
mov eax, dword [edi + 0x1de]
call fcn.00572bf4
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x212]
mov eax, dword [edi + 0x1da]
call fcn.00572bf4
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x220]
pop ecx
call fcn.00572bc8
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0xf6]
mov eax, dword [edi + 0xb4]
call fcn.00572bf4
pop ecx
push eax
push ebp
mov edx, dword [edi + 0xf2]
mov eax, dword [edi + 0xb0]
call fcn.00572bf4
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x21c]
pop ecx
call fcn.00572bc8
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x25e]
mov eax, dword [edi + 0x226]
call fcn.00572bf4
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x25a]
mov eax, dword [edi + 0x222]
call fcn.00572bf4
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x218]
pop ecx
call fcn.00572bc8
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x26e]
mov eax, dword [edi + 0x236]
call fcn.00572bf4
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x26a]
mov eax, dword [edi + 0x232]
call fcn.00572bf4
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x214]
pop ecx
call fcn.00572bc8
pop ecx
push ebp
call fcn.00573b74
pop ecx
cmp byte [ebp - 5], 0
je 0x57dbff
push ebp
call fcn.00572f0c
pop ecx
push ebp
call fcn.00573bcc
pop ecx
push ebp
call fcn.00578208
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x106]
mov eax, dword [edi + 0xc4]
call fcn.00572bf4
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x102]
mov eax, dword [edi + 0xc0]
call fcn.00572bf4
pop ecx
mov edx, eax
lea eax, [ebp - 0x264]
pop ecx
call fcn.005783d8
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0xfe]
mov eax, dword [edi + 0xbc]
call fcn.00572bf4
pop ecx
push eax
push ebp
mov edx, dword [edi + 0xfa]
mov eax, dword [edi + 0xb8]
call fcn.00572bf4
pop ecx
mov edx, eax
lea eax, [ebp - 0x274]
pop ecx
call fcn.005783d8
pop ecx
cmp byte [0x66dec4], 0
je 0x57dcbb
call fcn.00501d74
mov eax, dword [eax + 0x268]
cmp byte [ebp - 5], 0
je 0x57dca9
mov edx, dword [edi + 0x4c]
add edx, dword [edi + 0x50]
add edx, dword [edi + 0x54]
add edx, dword [edi + 0x60]
mov dword [eax + 0x240], edx
jmp 0x57dcbb
mov edx, dword [edi + 0x34]
add edx, dword [edi + 0x38]
add edx, dword [edi + 0x3c]
add edx, dword [edi + 0x48]
mov dword [eax + 0x240], edx
push ebp
call fcn.0057cdec
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57dcdd
mov eax, dword [ebp - 0x24c]
call fcn.00656ff0
mov eax, dword [ebp - 0x2f4]
call fcn.00656ff0
mov eax, dword [ebp - 0x2ec]
call fcn.00656ff0
mov eax, dword [ebp - 0x2e8]
call fcn.00656ff0
mov eax, dword [ebp + 8]
push eax
call fcn.0056816c
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.00656ff0
mov eax, dword [ebp - 0x238]
call fcn.00656ff0
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 0x57dd68
mov eax, dword [ebp + 8]
add eax, 0xffffff40
call fcn.004043d0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0x3ee], 0
je 0x57dda7
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 0x57ddc8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
mov ecx, 1
mov edx, 0xc0000000
call fcn.00660d68
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x10]
mov dword [edx + 0x15c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57de06
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