Function at 0x5770cc
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 0x577658
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [edi + 0xb], 1
je 0x577135
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov edx, dword [edx + 8]
mov eax, 0x57766c
call fcn.0061f938
mov byte [ebp - 0x2f9], 0
jmp 0x577621
mov byte [ebp - 0x2f9], 1
call fcn.0064dfa0
mov dword [ebp - 0x238], eax
call fcn.0064dfa0
mov dword [ebp - 0x23c], eax
call fcn.0064d970
mov dword [ebp - 0x200], eax
call fcn.0064d970
mov dword [ebp - 0x204], eax
xor eax, eax
mov dword [ebp - 0x264], eax
xor eax, eax
mov dword [ebp - 0x274], eax
call fcn.0064dfa0
mov dword [ebp - 0x24c], eax
call fcn.0064dfa0
mov dword [ebp - 0x2ec], eax
call fcn.0064dfa0
mov dword [ebp - 0x2e8], eax
call fcn.0064dfa0
mov dword [ebp - 0x2f4], eax
mov bl, 9
lea esi, [ebp - 0x234]
call fcn.0064d970
mov dword [esi], eax
add esi, 4
dec bl
jne 0x5771ac
mov dword [ebp - 0x250], 0x80000000
xor eax, eax
mov dword [ebp - 0x210], eax
xor eax, eax
push ebp
push 0x577525
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 0x57727c
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 [0x66929c]
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 0x577251
call fcn.0065612c
lea eax, [ebp - 0x248]
call fcn.004043d0
push eax
push 0
push 0x10
push 0
mov eax, dword [0x669b6c]
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 0x5772a1
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.0056c520
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0x47b], 0
je 0x5772c3
push ebp
call fcn.0056d4c8
pop ecx
jmp 0x57751b
push ebp
call fcn.0056cecc
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0xae]
mov eax, dword [edi + 0x6c]
call fcn.0056c510
pop ecx
push eax
push ebp
mov edx, dword [edi + 0xaa]
mov eax, dword [edi + 0x68]
call fcn.0056c510
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x22c]
pop ecx
call fcn.0056c4e4
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0xb6]
mov eax, dword [edi + 0x74]
call fcn.0056c510
pop ecx
push eax
push ebp
mov edx, dword [edi + 0xb2]
mov eax, dword [edi + 0x70]
call fcn.0056c510
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x228]
pop ecx
call fcn.0056c4e4
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x20e]
mov eax, dword [edi + 0x1d6]
call fcn.0056c510
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x20a]
mov eax, dword [edi + 0x1d2]
call fcn.0056c510
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x224]
pop ecx
call fcn.0056c4e4
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x216]
mov eax, dword [edi + 0x1de]
call fcn.0056c510
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x212]
mov eax, dword [edi + 0x1da]
call fcn.0056c510
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x220]
pop ecx
call fcn.0056c4e4
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0xf6]
mov eax, dword [edi + 0xb4]
call fcn.0056c510
pop ecx
push eax
push ebp
mov edx, dword [edi + 0xf2]
mov eax, dword [edi + 0xb0]
call fcn.0056c510
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x21c]
pop ecx
call fcn.0056c4e4
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x25e]
mov eax, dword [edi + 0x226]
call fcn.0056c510
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x25a]
mov eax, dword [edi + 0x222]
call fcn.0056c510
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x218]
pop ecx
call fcn.0056c4e4
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x26e]
mov eax, dword [edi + 0x236]
call fcn.0056c510
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x26a]
mov eax, dword [edi + 0x232]
call fcn.0056c510
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x214]
pop ecx
call fcn.0056c4e4
pop ecx
push ebp
call fcn.0056d470
pop ecx
cmp byte [ebp - 5], 0
je 0x577453
push ebp
call fcn.0056c828
pop ecx
push ebp
call fcn.0056d4c8
pop ecx
push ebp
call fcn.00571ae4
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0x106]
mov eax, dword [edi + 0xc4]
call fcn.0056c510
pop ecx
push eax
push ebp
mov edx, dword [edi + 0x102]
mov eax, dword [edi + 0xc0]
call fcn.0056c510
pop ecx
mov edx, eax
lea eax, [ebp - 0x264]
pop ecx
call fcn.00571cb4
pop ecx
push ebp
push ebp
mov edx, dword [edi + 0xfe]
mov eax, dword [edi + 0xbc]
call fcn.0056c510
pop ecx
push eax
push ebp
mov edx, dword [edi + 0xfa]
mov eax, dword [edi + 0xb8]
call fcn.0056c510
pop ecx
mov edx, eax
lea eax, [ebp - 0x274]
pop ecx
call fcn.00571cb4
pop ecx
cmp byte [0x66506c], 0
je 0x577514
cmp byte [ebp - 5], 0
je 0x5774fa
mov eax, dword [edi + 0x4c]
add eax, dword [edi + 0x50]
add eax, dword [edi + 0x54]
add eax, dword [edi + 0x60]
mov edx, dword [0x6698c0]
mov edx, dword [edx]
mov dword [edx + 0x25c], eax
jmp 0x577514
mov eax, dword [edi + 0x34]
add eax, dword [edi + 0x38]
add eax, dword [edi + 0x3c]
add eax, dword [edi + 0x48]
mov edx, dword [0x6698c0]
mov edx, dword [edx]
mov dword [edx + 0x25c], eax
push ebp
call fcn.00576654
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x577536
mov eax, dword [ebp - 0x24c]
call fcn.0064e5c0
mov eax, dword [ebp - 0x2f4]
call fcn.0064e5c0
mov eax, dword [ebp - 0x2ec]
call fcn.0064e5c0
mov eax, dword [ebp - 0x2e8]
call fcn.0064e5c0
mov eax, dword [ebp + 8]
push eax
call fcn.00561c08
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.0064e5c0
mov eax, dword [ebp - 0x238]
call fcn.0064e5c0
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 0x5775c1
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 0x577600
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 0x577621
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
mov ecx, 1
mov edx, 0xc0000000
call fcn.006585a4
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 0x57765f
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