Function at 0x41e2df
Capabilities:
Delete file

Disassembly:
push 0x20
mov eax, 0x473dcb
call fcn.00470d79
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebx + 0xac], eax
je 0x41e31a
xor esi, esi
mov dword [ebx + 0x88], 0x3f3
mov dword [ebx + 0x8c], esi
mov dword [ebx + 0x90], esi
xor eax, eax
jmp 0x41e5d9
xor ecx, ecx
cmp dword [ebx + 0x94], ecx
je 0x41e313
mov eax, dword [ebp + 0x10]
xor edx, edx
mov dword [ebx + 0x98], ecx
mov dword [ebx + 0xa8], eax
mov eax, dword [ebx + 8]
mov dword [ebx + 4], ecx
push 0xc
mov word [eax], dx
mov eax, dword [ebx + 0x10]
mov word [eax], dx
lea eax, [ebx + 0x70]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
pop edx
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x41e35c
mov esi, dword [ebp + 0xc]
lea edi, [ebx + 0x54]
mov dword [ebx + 0x48], ecx
mov ecx, esi
call fcn.0041d882
push eax
push dword [esi]
mov ecx, edi
call fcn.0041d90e
mov ecx, edi
call fcn.0041dd4d
push str.MEMORY_
push dword [edi]
call fcn.0044e898
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
lea ecx, [ebp - 0x2c]
mov dword [ebx + 0x9c], eax
call fcn.0041d81e
xor esi, esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.0041d81e
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0041dd93
pop ecx
mov ecx, edi
call fcn.0041d882
cmp eax, 3
jb 0x41e5ad
lea ecx, [ebp - 0x2c]
call fcn.0041d882
cmp eax, 2
jb 0x41e5ad
lea ecx, [ebp - 0x24]
call fcn.0041d882
cmp eax, 2
jb 0x41e5ad
mov eax, dword [ebx + 0x5c]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x1c]
call fcn.0041d6ef
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041d6ef
push dword [ebp + 0x10]
xor edi, edi
mov byte [ebp - 4], 3
push edi
push 0x41e870
push edi
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.0041d7d8
push eax
push dword [ebp - 0x24]
jmp 0x41e4c2
lea esi, [ebx + 0x5c]
mov ecx, esi
call fcn.0041d882
test eax, eax
je 0x41e4ec
mov ecx, esi
call fcn.0041d882
mov esi, dword [esi]
lea ecx, [ebp - 0x24]
mov edi, eax
push edi
call fcn.0041d8af
push edi
push esi
mov esi, dword [ebp - 0x24]
push esi
call fcn.0044f383
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
push dword [ebp - 0x14]
call fcn.0041e6f0
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
call fcn.0041e6f0
mov eax, dword [ebx + 0x5c]
pop ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x1c]
call fcn.0041d6ef
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041d6ef
push dword [ebp + 0x10]
xor edi, edi
mov byte [ebp - 4], 3
push edi
push 0x41e870
push edi
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.0041d7d8
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.0041d7d8
mov esi, dword [ebx + 0xb8]
mov ecx, esi
push eax
push dword [ebx + 0x94]
call dword [0x4784fc]
call esi
add esp, 0x1c
test eax, eax
jne 0x41e439
push dword [ebp - 0x14]
call fcn.0041e6f0
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
call fcn.0041e6f0
pop ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x41e579
mov eax, dword [ebx]
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4784fc]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebx + 4]
jne 0x41e540
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 0x41e579
mov eax, dword [ebx + 0x4c]
cmp dword [eax], ecx
je 0x41e55a
inc edx
add eax, 4
cmp edx, esi
jl 0x41e54c
jmp 0x41e579
test edx, edx
js 0x41e579
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 0x41e58f
cmp dword [ebx + 4], edi
je 0x41e58f
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x78], edi
jne 0x41e5a9
cmp dword [ebx + 0x8c], edi
jne 0x41e5a9
cmp dword [ebx + 0x88], edi
jne 0x41e5a9
xor ebx, ebx
inc ebx
jmp 0x41e5c5
mov ebx, edi
jmp 0x41e5c5
mov dword [ebx + 0x88], 0x3ea
mov dword [ebx + 0x8c], esi
mov dword [ebx + 0x90], esi
mov ebx, esi
push dword [ebp - 0x24]
call fcn.0041e6f0
pop ecx
push dword [ebp - 0x2c]
call fcn.0041e6f0
pop ecx
mov eax, ebx
call fcn.00470d47
ret 0xc