Function at 0x4cddd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x621843
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], ebx
xor esi, esi
mov eax, dword [edi + 0xb0]
mov dword [ebp - 0x20], esi
cmp esi, eax
jge 0x4ce076
mov eax, dword [0x6cc708]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa0], ebx
mov word [ebp - 0xa4], bx
call fcn.0041cad0
lea ecx, [ebp - 0x90]
call fcn.0041cad0
mov eax, dword [0x6cc708]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
call fcn.0041cad0
mov eax, dword [0x6cc708]
mov dword [ebp - 0x104], 0x635674
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
lea eax, [ebp - 0x104]
push ebx
push eax
push esi
lea ecx, [edi + 8]
mov byte [ebp - 4], 1
call fcn.005d70f0
cmp al, bl
je 0x4ce046
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
jne 0x4cdeb5
lea eax, [ebp - 0x68]
push eax
call fcn.005e639f
add esp, 4
test eax, eax
jbe 0x4cded3
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
jne 0x4cdecc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x90]
cmp eax, ebx
jne 0x4cdee3
lea eax, [ebp - 0x8c]
push eax
call fcn.005e639f
add esp, 4
test eax, eax
jbe 0x4ce037
cmp dword [ebp - 0xec], ebx
jne 0x4ce037
xor eax, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], bx
mov ecx, dword [ebp - 0x90]
mov byte [ebp - 4], 2
cmp ecx, ebx
jne 0x4cdf20
lea ecx, [ebp - 0x8c]
mov edx, 0x6a00a0
test edx, edx
je 0x4cdfe5
cmp ecx, ebx
je 0x4cdfe5
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0040e5a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00401070
push 0x6a00a0
lea ecx, [ebp - 0x30]
call fcn.00402380
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00402400
push eax
call fcn.005e639f
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005feedc
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x1c], edx
je 0x4cdfc4
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x3c]
call fcn.00402400
push eax
lea ecx, [ebp - 0x30]
call fcn.00402400
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.005e632f
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005e639f
add esp, 0x14
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00401070
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4cdfec
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1c]
call fcn.00402400
push 0x5c
push eax
call fcn.005e62ef
add esp, 8
cmp eax, ebx
je 0x4ce02b
push 0x6a9cdc
mov word [eax], bx
call fcn.005e7a84
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.00402400
push eax
call fcn.005e8c84
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00401070
lea edx, [ebp - 0x104]
mov ecx, edi
push edx
push esi
call fcn.004cd660
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], bl
call fcn.004764a0
inc esi
jmp 0x4cde00
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret