Function at 0x41be36
Capabilities:
Delete file

Disassembly:
push 0x24
mov eax, 0x4b4699
call fcn.00476610
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [ebp + 8]
cmp dword [edi + 0x1108], eax
je 0x41be6d
lea eax, [edi + 0x10cc]
and dword [eax + 0x1c], 0
and dword [eax + 0x20], 0
mov dword [eax + 0x18], 0x3f3
jmp 0x41c0a0
xor esi, esi
cmp dword [edi + 0x10f0], esi
je 0x41c0a0
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.0041873f
mov dword [edi + 0x4c], esi
mov esi, dword [ebp + 0x10]
lea ebx, [edi + 0x58]
push ebx
call fcn.004181ca
mov esi, ebx
call fcn.0041840b
push str.MEMORY_
push dword [ebx]
call fcn.00475826
neg eax
sbb eax, eax
inc eax
pop ecx
mov dword [edi + 0x10f8], eax
pop ecx
lea eax, [ebp - 0x20]
call fcn.00418090
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
call fcn.00418090
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 0xc]
lea ebx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00418439
pop ecx
push dword [edi + 0x58]
call fcn.0047600e
pop ecx
cmp eax, dword [edi + 0x5c]
jb 0x41bf1c
call fcn.004180f2
cmp eax, 3
jb 0x41c07c
push dword [ebp - 0x20]
call fcn.0047600e
pop ecx
cmp eax, dword [ebp - 0x1c]
jb 0x41bf38
call fcn.004180f2
cmp eax, 2
jb 0x41c07c
push dword [ebp - 0x18]
call fcn.0047600e
pop ecx
cmp eax, dword [ebp - 0x14]
jb 0x41bf54
call fcn.004180f2
cmp eax, 2
jb 0x41c07c
lea esi, [edi + 0x60]
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x30]
call fcn.00417fbc
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00417fbc
mov ebx, 0x41c2ab
jmp 0x41bfd2
push dword [esi]
call fcn.0047600e
pop ecx
cmp eax, dword [esi + 4]
jb 0x41bf94
call fcn.004180f2
test eax, eax
je 0x41c00d
lea eax, [ebp - 0x18]
push eax
call fcn.004181ca
push dword [ebp - 0x28]
call fcn.00476c84
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x30]
call fcn.00476c84
mov eax, dword [esi]
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x30]
call fcn.00417fbc
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00417fbc
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.0041804f
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x30]
call fcn.0041804f
push eax
push dword [edi + 0x10f0]
call dword [edi + 0x1114]
add esp, 0x1c
test eax, eax
jne 0x41bf82
push dword [ebp - 0x28]
call fcn.00476c84
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x30]
call fcn.00476c84
mov esi, dword [ebp + 8]
mov edi, dword [edi + 8]
pop ecx
mov eax, esi
call fcn.0041c5d5
xor edi, edi
cmp dword [esi + 0x10f4], edi
je 0x41c048
cmp dword [esi + 8], edi
je 0x41c048
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], edi
jne 0x41c05e
cmp dword [eax + 0x1c], edi
jne 0x41c05e
cmp dword [eax + 0x18], edi
jne 0x41c05e
xor esi, esi
jmp 0x41c061
xor esi, esi
inc esi
push dword [ebp - 0x18]
call fcn.00476c84
pop ecx
push dword [ebp - 0x20]
call fcn.00476c84
xor eax, eax
cmp esi, edi
pop ecx
sete al
jmp 0x41c0a2
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.00476c84
pop ecx
push dword [ebp - 0x20]
call fcn.00476c84
pop ecx
xor eax, eax
call fcn.004766e8
ret 0x10