Function at 0x41bf2d
Capabilities:
Delete file

Disassembly:
push 0x24
mov eax, 0x4b45a9
call fcn.004764b0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [ebp + 8]
cmp dword [edi + 0x1108], eax
je 0x41bf64
lea eax, [edi + 0x10cc]
and dword [eax + 0x1c], 0
and dword [eax + 0x20], 0
mov dword [eax + 0x18], 0x3f3
jmp 0x41c197
xor esi, esi
cmp dword [edi + 0x10f0], esi
je 0x41c197
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.00418836
mov dword [edi + 0x4c], esi
mov esi, dword [ebp + 0x10]
lea ebx, [edi + 0x58]
push ebx
call fcn.004182c1
mov esi, ebx
call fcn.00418502
push str.MEMORY_
push dword [ebx]
call fcn.004756c6
neg eax
sbb eax, eax
inc eax
pop ecx
mov dword [edi + 0x10f8], eax
pop ecx
lea eax, [ebp - 0x20]
call fcn.0041817e
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
call fcn.0041817e
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 0xc]
lea ebx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00418530
pop ecx
push dword [edi + 0x58]
call fcn.00475eae
pop ecx
cmp eax, dword [edi + 0x5c]
jb 0x41c013
call fcn.004181e9
cmp eax, 3
jb 0x41c173
push dword [ebp - 0x20]
call fcn.00475eae
pop ecx
cmp eax, dword [ebp - 0x1c]
jb 0x41c02f
call fcn.004181e9
cmp eax, 2
jb 0x41c173
push dword [ebp - 0x18]
call fcn.00475eae
pop ecx
cmp eax, dword [ebp - 0x14]
jb 0x41c04b
call fcn.004181e9
cmp eax, 2
jb 0x41c173
lea esi, [edi + 0x60]
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x30]
call fcn.004180b3
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004180b3
mov ebx, 0x41c3a2
jmp 0x41c0c9
push dword [esi]
call fcn.00475eae
pop ecx
cmp eax, dword [esi + 4]
jb 0x41c08b
call fcn.004181e9
test eax, eax
je 0x41c104
lea eax, [ebp - 0x18]
push eax
call fcn.004182c1
push dword [ebp - 0x28]
call fcn.00476b24
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x30]
call fcn.00476b24
mov eax, dword [esi]
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x30]
call fcn.004180b3
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004180b3
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.0041813d
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x30]
call fcn.0041813d
push eax
push dword [edi + 0x10f0]
call dword [edi + 0x1114]
add esp, 0x1c
test eax, eax
jne 0x41c079
push dword [ebp - 0x28]
call fcn.00476b24
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x30]
call fcn.00476b24
mov esi, dword [ebp + 8]
mov edi, dword [edi + 8]
pop ecx
mov eax, esi
call fcn.0041c6cc
xor edi, edi
cmp dword [esi + 0x10f4], edi
je 0x41c13f
cmp dword [esi + 8], edi
je 0x41c13f
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], edi
jne 0x41c155
cmp dword [eax + 0x1c], edi
jne 0x41c155
cmp dword [eax + 0x18], edi
jne 0x41c155
xor esi, esi
jmp 0x41c158
xor esi, esi
inc esi
push dword [ebp - 0x18]
call fcn.00476b24
pop ecx
push dword [ebp - 0x20]
call fcn.00476b24
xor eax, eax
cmp esi, edi
pop ecx
sete al
jmp 0x41c199
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.00476b24
pop ecx
push dword [ebp - 0x20]
call fcn.00476b24
pop ecx
xor eax, eax
call fcn.00476588
ret 0x10