Function at 0x41bb9b
Capabilities:
Delete file

Disassembly:
push 0x24
mov eax, 0x4aefe9
call fcn.004711ef
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [ebp + 8]
cmp dword [edi + 0x1108], eax
je 0x41bbd2
lea eax, [edi + 0x10cc]
and dword [eax + 0x1c], 0
and dword [eax + 0x20], 0
mov dword [eax + 0x18], 0x3f3
jmp 0x41be05
xor esi, esi
cmp dword [edi + 0x10f0], esi
je 0x41be05
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.004184a4
mov dword [edi + 0x4c], esi
mov esi, dword [ebp + 0x10]
lea ebx, [edi + 0x58]
push ebx
call fcn.00417f2f
mov esi, ebx
call fcn.00418170
push str.MEMORY_
push dword [ebx]
call fcn.00470456
neg eax
sbb eax, eax
inc eax
pop ecx
mov dword [edi + 0x10f8], eax
pop ecx
lea eax, [ebp - 0x20]
call fcn.00417df5
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
call fcn.00417df5
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 0xc]
lea ebx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0041819e
pop ecx
push dword [edi + 0x58]
call fcn.00470c3e
pop ecx
cmp eax, dword [edi + 0x5c]
jb 0x41bc81
call fcn.00417e57
cmp eax, 3
jb 0x41bde1
push dword [ebp - 0x20]
call fcn.00470c3e
pop ecx
cmp eax, dword [ebp - 0x1c]
jb 0x41bc9d
call fcn.00417e57
cmp eax, 2
jb 0x41bde1
push dword [ebp - 0x18]
call fcn.00470c3e
pop ecx
cmp eax, dword [ebp - 0x14]
jb 0x41bcb9
call fcn.00417e57
cmp eax, 2
jb 0x41bde1
lea esi, [edi + 0x60]
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x30]
call fcn.00417d21
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00417d21
mov ebx, 0x41c010
jmp 0x41bd37
push dword [esi]
call fcn.00470c3e
pop ecx
cmp eax, dword [esi + 4]
jb 0x41bcf9
call fcn.00417e57
test eax, eax
je 0x41bd72
lea eax, [ebp - 0x18]
push eax
call fcn.00417f2f
push dword [ebp - 0x28]
call fcn.00471864
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x30]
call fcn.00471864
mov eax, dword [esi]
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x30]
call fcn.00417d21
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00417d21
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.00417db4
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x30]
call fcn.00417db4
push eax
push dword [edi + 0x10f0]
call dword [edi + 0x1114]
add esp, 0x1c
test eax, eax
jne 0x41bce7
push dword [ebp - 0x28]
call fcn.00471864
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x30]
call fcn.00471864
mov esi, dword [ebp + 8]
mov edi, dword [edi + 8]
pop ecx
mov eax, esi
call fcn.0041c33a
xor edi, edi
cmp dword [esi + 0x10f4], edi
je 0x41bdad
cmp dword [esi + 8], edi
je 0x41bdad
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], edi
jne 0x41bdc3
cmp dword [eax + 0x1c], edi
jne 0x41bdc3
cmp dword [eax + 0x18], edi
jne 0x41bdc3
xor esi, esi
jmp 0x41bdc6
xor esi, esi
inc esi
push dword [ebp - 0x18]
call fcn.00471864
pop ecx
push dword [ebp - 0x20]
call fcn.00471864
xor eax, eax
cmp esi, edi
pop ecx
sete al
jmp 0x41be07
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.00471864
pop ecx
push dword [ebp - 0x20]
call fcn.00471864
pop ecx
xor eax, eax
call fcn.004712c7
ret 0x10