Function at 0x40a6f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b21b0
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x639210]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x80], ebx
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.004176a0
mov edi, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0
mov eax, 0x2aaaaaab
mov ecx, dword [ebx + 4]
sub ecx, dword [ebx]
xor ebx, ebx
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x84], eax
test eax, eax
jle 0x40a86b
xor esi, esi
jmp 0x40a780
xor eax, eax
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x64], al
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x34], al
push eax
push 0x6079a0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.0041d070
sub esp, 0xc
mov byte [ebp - 4], 5
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x80]
push ecx
mov eax, dword [eax]
add eax, esi
push eax
call fcn.00404c80
cmp dword [ebp - 0x68], 8
lea ecx, [ebp - 0x7c]
cmovae ecx, dword [ebp - 0x7c]
test ecx, ecx
jne 0x40a80f
xorps xmm0, xmm0
movlpd qword [ebp - 0x8c], xmm0
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x8c]
jmp 0x40a814
call fcn.0040ffd0
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x98], edx
push eax
mov dword [ebp - 0x94], ebx
call fcn.00419840
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00419880
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0
call fcn.00402220
mov eax, dword [ebp - 0x84]
inc ebx
add esi, 0x60
cmp ebx, eax
jl 0x40a780
mov edi, dword [ebp - 0x1c]
sub eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [edi]
mov dword [ebp - 0x84], eax
cmp esi, edi
je 0x40a8f4
lea esp, [esp]
cmp ebx, eax
jge 0x40a8f4
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 0x80]
lea eax, [eax + eax*2]
shl eax, 5
add eax, dword [ecx]
cmp dword [eax + 0x14], 8
jb 0x40a89a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc ebx
cmp byte [esi + 0xd], 0
jne 0x40a8e7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x40a8cc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x40a8e7
jmp 0x40a8c0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x40a8c0
jmp 0x40a8e7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x40a8e5
cmp esi, dword [eax + 8]
jne 0x40a8e5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x40a8d5
mov esi, eax
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x84]
cmp esi, edi
jne 0x40a880
push edi
push dword [edi]
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00415410
push dword [ebp - 0x1c]
call fcn.0043f3a3
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00567455
mov esp, ebp
pop ebp
ret 4