Function at 0x100406f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10147d4e
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x1019646c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 8]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push dword [edi + 0xc]
lea eax, [edi + 0xc]
mov dword [ebp - 0x18], eax
call esi
call fcn.10017640
mov ecx, eax
test ecx, ecx
je 0x1004099d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
call fcn.10017640
mov ecx, eax
test ecx, ecx
je 0x100409a7
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
dec eax
mov byte [ebp - 4], 1
cmp eax, 3
ja case.default.0x1004077b
jmp dword [eax*4 + 0x100409b4]
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
add eax, 0x10
push eax
call fcn.10018af0
mov eax, dword [edi]
add eax, 0x14
jmp 0x100407bf
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
add eax, 0x20
push eax
call fcn.10018af0
mov eax, dword [edi]
add eax, 0x24
jmp 0x100407bf
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
add eax, 0x30
push eax
call fcn.10018af0
mov eax, dword [edi]
add eax, 0x40
push eax
lea ecx, [ebp - 0x10]
call fcn.10018af0
mov eax, dword [ebp - 0x14]
or esi, 0xffffffff
cmp dword [eax - 0xc], 0
je 0x10040949
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x10040949
mov eax, dword [edi + 0x10]
xorps xmm0, xmm0
push 0x20
mov dword [ebp + 8], eax
movlpd qword [ebp - 0x24], xmm0
call fcn.100f5bec
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1004081b
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
call fcn.100188e0
jmp 0x1004081d
xor eax, eax
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.10018230
push dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
lea eax, [edi + 8]
push 0x7530
push eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10019720
test eax, eax
je 0x10040923
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10040887
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x10040887
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x10040887
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [edi + 0x10]
xorps xmm0, xmm0
push 0x20
movlpd qword [ebp - 0x24], xmm0
call fcn.100f5bec
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x100408ba
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
call fcn.100188e0
jmp 0x100408bc
xor eax, eax
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.10018230
mov ecx, dword [ebp - 0x24]
push edi
push 0x7530
push dword [ebp - 0x18]
mov byte [ebp - 4], 5
push dword [ebp - 0x10]
call fcn.10019720
mov edi, dword [ebp - 0x20]
test eax, eax
je 0x10040926
test edi, edi
je 0x1004091c
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x1004091c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x1004091c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, 1
jmp 0x1004094b
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x10040949
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10040949
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10040949
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
xor edi, edi
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10040969
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10040988
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10013b40
push 0x80004005
call fcn.10013b40
nop dword [eax]
add byte [edi], 4
adc byte [edi - 1408236537], dl
pop es
add al, 0x10
lodsb al, byte [esi]
pop es
add al, 0x10
int3