Function at 0x41ec62
Capabilities:
Delete file

Disassembly:
push 0x20
mov eax, 0x466f26
call fcn.0046494e
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, esi
cmp dword [ebx + 0xac], eax
je 0x41ec9d
mov dword [ebx + 0x88], 0x3f3
mov dword [ebx + 0x8c], esi
mov dword [ebx + 0x90], esi
xor eax, eax
jmp 0x41ef47
cmp dword [ebx + 0x94], esi
je 0x41ec96
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.0041e3d6
mov dword [ebx + 0x48], esi
lea edi, [ebx + 0x54]
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.0041e22c
push eax
push dword [esi]
mov ecx, edi
call fcn.0041e2b8
mov ecx, edi
call fcn.0041e700
push str.MEMORY_
push dword [edi]
call fcn.0043d3c5
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
lea ecx, [ebp - 0x2c]
mov dword [ebx + 0x9c], eax
call fcn.0041e1c8
xor esi, esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.0041e1c8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0041e746
pop ecx
mov ecx, edi
call fcn.0041e22c
cmp eax, 3
jb 0x41ef1b
lea ecx, [ebp - 0x2c]
call fcn.0041e22c
cmp eax, 2
jb 0x41ef1b
lea ecx, [ebp - 0x24]
call fcn.0041e22c
cmp eax, 2
jb 0x41ef1b
mov eax, dword [ebx + 0x5c]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x1c]
call fcn.0041e0a5
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041e0a5
push dword [ebp + 0x10]
xor edi, edi
mov byte [ebp - 4], 3
push edi
push 0x41f1d0
push edi
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.0041e182
push eax
push dword [ebp - 0x24]
jmp 0x41ee34
lea esi, [ebx + 0x5c]
mov ecx, esi
call fcn.0041e22c
test eax, eax
je 0x41ee5e
mov ecx, esi
call fcn.0041e22c
mov esi, dword [esi]
lea ecx, [ebp - 0x24]
mov edi, eax
push edi
call fcn.0041e259
push edi
push esi
mov esi, dword [ebp - 0x24]
push esi
call fcn.004493ce
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
push dword [ebp - 0x14]
call fcn.0041f050
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
call fcn.0041f050
mov eax, dword [ebx + 0x5c]
pop ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x1c]
call fcn.0041e0a5
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041e0a5
push dword [ebp + 0x10]
xor edi, edi
mov byte [ebp - 4], 3
push edi
push 0x41f1d0
push edi
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.0041e182
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.0041e182
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 0x41edab
push dword [ebp - 0x14]
call fcn.0041f050
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
call fcn.0041f050
pop ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x41eee7
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 0x41eeb2
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 0x41eee7
mov eax, dword [ebx + 0x4c]
cmp dword [eax], ecx
je 0x41eecc
inc edx
add eax, 4
cmp edx, esi
jl 0x41eebe
jmp 0x41eee7
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 0x41eefd
cmp dword [ebx + 4], edi
je 0x41eefd
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x78], edi
jne 0x41ef17
cmp dword [ebx + 0x8c], edi
jne 0x41ef17
cmp dword [ebx + 0x88], edi
jne 0x41ef17
xor ebx, ebx
inc ebx
jmp 0x41ef33
mov ebx, edi
jmp 0x41ef33
mov dword [ebx + 0x88], 0x3ea
mov dword [ebx + 0x8c], esi
mov dword [ebx + 0x90], esi
mov ebx, esi
push dword [ebp - 0x24]
call fcn.0041f050
pop ecx
push dword [ebp - 0x2c]
call fcn.0041f050
pop ecx
mov eax, ebx
call fcn.00464928
ret 0xc