Function at 0x41bf4c
Capabilities:
Delete file

Disassembly:
push 0x24
mov eax, 0x4b3be9
call fcn.00475a5f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [ebp + 8]
cmp dword [edi + 0x1108], eax
je 0x41bf83
lea eax, [edi + 0x10cc]
and dword [eax + 0x1c], 0
and dword [eax + 0x20], 0
mov dword [eax + 0x18], 0x3f3
jmp 0x41c1b6
xor esi, esi
cmp dword [edi + 0x10f0], esi
je 0x41c1b6
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x1104], eax
mov dword [edi + 0x10f4], esi
mov eax, dword [edi + 0xc]
xor ecx, ecx
mov dword [edi + 8], esi
mov word [eax], cx
mov eax, dword [edi + 0x14]
mov word [eax], cx
lea eax, [edi + 0x10cc]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], esi
mov dword [ebp - 0x10], eax
call fcn.00418855
mov dword [edi + 0x4c], esi
mov esi, dword [ebp + 0x10]
lea ebx, [edi + 0x58]
push ebx
call fcn.004182e0
mov esi, ebx
call fcn.00418521
push str.MEMORY_
push dword [ebx]
call fcn.00474cc6
neg eax
sbb eax, eax
inc eax
pop ecx
mov dword [edi + 0x10f8], eax
pop ecx
lea eax, [ebp - 0x20]
call fcn.004181a6
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
call fcn.004181a6
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 0xc]
lea ebx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0041854f
pop ecx
push dword [edi + 0x58]
call fcn.004754ae
pop ecx
cmp eax, dword [edi + 0x5c]
jb 0x41c032
call fcn.00418208
cmp eax, 3
jb 0x41c192
push dword [ebp - 0x20]
call fcn.004754ae
pop ecx
cmp eax, dword [ebp - 0x1c]
jb 0x41c04e
call fcn.00418208
cmp eax, 2
jb 0x41c192
push dword [ebp - 0x18]
call fcn.004754ae
pop ecx
cmp eax, dword [ebp - 0x14]
jb 0x41c06a
call fcn.00418208
cmp eax, 2
jb 0x41c192
lea esi, [edi + 0x60]
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x30]
call fcn.004180d2
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004180d2
mov ebx, 0x41c3c1
jmp 0x41c0e8
push dword [esi]
call fcn.004754ae
pop ecx
cmp eax, dword [esi + 4]
jb 0x41c0aa
call fcn.00418208
test eax, eax
je 0x41c123
lea eax, [ebp - 0x18]
push eax
call fcn.004182e0
push dword [ebp - 0x28]
call fcn.004760d4
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x30]
call fcn.004760d4
mov eax, dword [esi]
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x30]
call fcn.004180d2
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004180d2
push dword [ebp + 0x14]
mov byte [ebp - 4], 3
push 0
push ebx
push 0
push dword [ebp - 0x20]
lea eax, [ebp - 0x28]
call fcn.00418165
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x30]
call fcn.00418165
push eax
push dword [edi + 0x10f0]
call dword [edi + 0x1114]
add esp, 0x1c
test eax, eax
jne 0x41c098
push dword [ebp - 0x28]
call fcn.004760d4
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x30]
call fcn.004760d4
mov esi, dword [ebp + 8]
mov edi, dword [edi + 8]
pop ecx
mov eax, esi
call fcn.0041c6eb
xor edi, edi
cmp dword [esi + 0x10f4], edi
je 0x41c15e
cmp dword [esi + 8], edi
je 0x41c15e
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], edi
jne 0x41c174
cmp dword [eax + 0x1c], edi
jne 0x41c174
cmp dword [eax + 0x18], edi
jne 0x41c174
xor esi, esi
jmp 0x41c177
xor esi, esi
inc esi
push dword [ebp - 0x18]
call fcn.004760d4
pop ecx
push dword [ebp - 0x20]
call fcn.004760d4
xor eax, eax
cmp esi, edi
pop ecx
sete al
jmp 0x41c1b8
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x18]
and dword [eax + 0x1c], 0
and dword [eax + 0x20], 0
mov dword [eax + 0x18], 0x3ea
call fcn.004760d4
pop ecx
push dword [ebp - 0x20]
call fcn.004760d4
pop ecx
xor eax, eax
call fcn.00475b37
ret 0x10