Function at 0x41d3f2
Capabilities:
Delete file

Disassembly:
push 0x20
mov eax, 0x4636a4
call fcn.004613fe
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, esi
cmp dword [ebx + 0xac], eax
je 0x41d42d
mov dword [ebx + 0x88], 0x3f3
mov dword [ebx + 0x8c], esi
mov dword [ebx + 0x90], esi
xor eax, eax
jmp 0x41d6d7
cmp dword [ebx + 0x94], esi
je 0x41d426
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.0041cb57
mov dword [ebx + 0x48], esi
lea edi, [ebx + 0x54]
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.0041c9ad
push eax
push dword [esi]
mov ecx, edi
call fcn.0041ca39
mov ecx, edi
call fcn.0041ce81
push str.MEMORY_
push dword [edi]
call fcn.0044472f
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
lea ecx, [ebp - 0x2c]
mov dword [ebx + 0x9c], eax
call fcn.0041c949
xor esi, esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.0041c949
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0041cec7
pop ecx
mov ecx, edi
call fcn.0041c9ad
cmp eax, 3
jb 0x41d6ab
lea ecx, [ebp - 0x2c]
call fcn.0041c9ad
cmp eax, 2
jb 0x41d6ab
lea ecx, [ebp - 0x24]
call fcn.0041c9ad
cmp eax, 2
jb 0x41d6ab
mov eax, dword [ebx + 0x5c]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x1c]
call fcn.0041c826
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041c826
push dword [ebp + 0x10]
xor edi, edi
mov byte [ebp - 4], 3
push edi
push 0x41d960
push edi
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.0041c903
push eax
push dword [ebp - 0x24]
jmp 0x41d5c4
lea esi, [ebx + 0x5c]
mov ecx, esi
call fcn.0041c9ad
test eax, eax
je 0x41d5ee
mov ecx, esi
call fcn.0041c9ad
mov esi, dword [esi]
lea ecx, [ebp - 0x24]
mov edi, eax
push edi
call fcn.0041c9da
push edi
push esi
mov esi, dword [ebp - 0x24]
push esi
call fcn.0044521a
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
push dword [ebp - 0x14]
call fcn.0041d7e0
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
call fcn.0041d7e0
mov eax, dword [ebx + 0x5c]
pop ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x1c]
call fcn.0041c826
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041c826
push dword [ebp + 0x10]
xor edi, edi
mov byte [ebp - 4], 3
push edi
push 0x41d960
push edi
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.0041c903
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.0041c903
mov esi, dword [ebx + 0xb8]
mov ecx, esi
push eax
push dword [ebx + 0x94]
call dword [0x467454]
call esi
add esp, 0x1c
test eax, eax
jne 0x41d53b
push dword [ebp - 0x14]
call fcn.0041d7e0
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
call fcn.0041d7e0
pop ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x41d677
mov eax, dword [ebx]
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x467454]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebx + 4]
jne 0x41d642
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 0x41d677
mov eax, dword [ebx + 0x4c]
cmp dword [eax], ecx
je 0x41d65c
inc edx
add eax, 4
cmp edx, esi
jl 0x41d64e
jmp 0x41d677
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 0x41d68d
cmp dword [ebx + 4], edi
je 0x41d68d
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x78], edi
jne 0x41d6a7
cmp dword [ebx + 0x8c], edi
jne 0x41d6a7
cmp dword [ebx + 0x88], edi
jne 0x41d6a7
xor ebx, ebx
inc ebx
jmp 0x41d6c3
mov ebx, edi
jmp 0x41d6c3
mov dword [ebx + 0x88], 0x3ea
mov dword [ebx + 0x8c], esi
mov dword [ebx + 0x90], esi
mov ebx, esi
push dword [ebp - 0x24]
call fcn.0041d7e0
pop ecx
push dword [ebp - 0x2c]
call fcn.0041d7e0
pop ecx
mov eax, ebx
call fcn.004613d8
ret 0xc