Function at 0x41e6d2
Capabilities:
Delete file

Disassembly:
push 0x20
mov eax, 0x46661a
call fcn.004640de
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, esi
cmp dword [ebx + 0xac], eax
je 0x41e70d
mov dword [ebx + 0x88], 0x3f3
mov dword [ebx + 0x8c], esi
mov dword [ebx + 0x90], esi
xor eax, eax
jmp 0x41e9b7
cmp dword [ebx + 0x94], esi
je 0x41e706
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebx + 0x98], esi
mov dword [ebx + 0xa8], eax
mov eax, dword [ebx + 8]
mov dword [ebx + 4], esi
mov word [eax], cx
mov eax, dword [ebx + 0x10]
mov word [eax], cx
lea ecx, [ebx + 0x70]
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
call fcn.0041de46
mov dword [ebx + 0x48], esi
lea edi, [ebx + 0x54]
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.0041dc9c
push eax
push dword [esi]
mov ecx, edi
call fcn.0041dd28
mov ecx, edi
call fcn.0041e170
push str.MEMORY_
push dword [edi]
call fcn.0043cb55
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
lea ecx, [ebp - 0x2c]
mov dword [ebx + 0x9c], eax
call fcn.0041dc38
xor esi, esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.0041dc38
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0041e1b6
pop ecx
mov ecx, edi
call fcn.0041dc9c
cmp eax, 3
jb 0x41e98b
lea ecx, [ebp - 0x2c]
call fcn.0041dc9c
cmp eax, 2
jb 0x41e98b
lea ecx, [ebp - 0x24]
call fcn.0041dc9c
cmp eax, 2
jb 0x41e98b
mov eax, dword [ebx + 0x5c]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x1c]
call fcn.0041db15
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041db15
push dword [ebp + 0x10]
xor edi, edi
mov byte [ebp - 4], 3
push edi
push 0x41ec40
push edi
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.0041dbf2
push eax
push dword [ebp - 0x24]
jmp 0x41e8a4
lea esi, [ebx + 0x5c]
mov ecx, esi
call fcn.0041dc9c
test eax, eax
je 0x41e8ce
mov ecx, esi
call fcn.0041dc9c
mov esi, dword [esi]
lea ecx, [ebp - 0x24]
mov edi, eax
push edi
call fcn.0041dcc9
push edi
push esi
mov esi, dword [ebp - 0x24]
push esi
call fcn.00448b5f
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
push dword [ebp - 0x14]
call fcn.0041eac0
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
call fcn.0041eac0
mov eax, dword [ebx + 0x5c]
pop ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x1c]
call fcn.0041db15
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041db15
push dword [ebp + 0x10]
xor edi, edi
mov byte [ebp - 4], 3
push edi
push 0x41ec40
push edi
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.0041dbf2
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.0041dbf2
mov esi, dword [ebx + 0xb8]
mov ecx, esi
push eax
push dword [ebx + 0x94]
call dword [0x46b4a4]
call esi
add esp, 0x1c
test eax, eax
jne 0x41e81b
push dword [ebp - 0x14]
call fcn.0041eac0
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
call fcn.0041eac0
pop ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x41e957
mov eax, dword [ebx]
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x46b4a4]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebx + 4]
jne 0x41e922
mov eax, dword [ebx + 8]
xor edx, edx
mov dword [ebx + 4], edi
mov word [eax], dx
mov eax, dword [ebx + 0x10]
mov word [eax], dx
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov esi, dword [ebx + 0x48]
mov edx, edi
test esi, esi
jle 0x41e957
mov eax, dword [ebx + 0x4c]
cmp dword [eax], ecx
je 0x41e93c
inc edx
add eax, 4
cmp edx, esi
jl 0x41e92e
jmp 0x41e957
mov ecx, dword [ebx + 0x50]
lea eax, [esi - 1]
mov dword [ebx + 0x48], eax
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x48]
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
cmp dword [ebx + 0x98], edi
je 0x41e96d
cmp dword [ebx + 4], edi
je 0x41e96d
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x78], edi
jne 0x41e987
cmp dword [ebx + 0x8c], edi
jne 0x41e987
cmp dword [ebx + 0x88], edi
jne 0x41e987
xor ebx, ebx
inc ebx
jmp 0x41e9a3
mov ebx, edi
jmp 0x41e9a3
mov dword [ebx + 0x88], 0x3ea
mov dword [ebx + 0x8c], esi
mov dword [ebx + 0x90], esi
mov ebx, esi
push dword [ebp - 0x24]
call fcn.0041eac0
pop ecx
push dword [ebp - 0x2c]
call fcn.0041eac0
pop ecx
mov eax, ebx
call fcn.004640b8
ret 0xc