Function at 0x4cddd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538290
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x93ac]
xor ebx, ebx
mov cl, 1
mov byte [ebp - 0xd], cl
cmp eax, ebx
je 0x4ce253
lea esi, [ebp - 0x7c]
call fcn.00519b30
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x78], ebx
jle 0x4ce222
mov eax, dword [edi + 0x93ac]
mov dword [ebp - 0x1c], ebx
cmp dword [eax + 0xc], ebx
jle 0x4cde56
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp ecx, eax
je 0x4cde56
sub eax, ecx
mov ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x1c], ebx
jle 0x4ce0d6
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp - 0x7c]
mov eax, edi
cmp edi, ebx
jne 0x4cde92
mov eax, 0x54ee24
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005074a0
add esp, 8
cmp dword [ebp - 0x3c], ebx
jle 0x4cdeb8
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
push ecx
push ebx
push edx
call fcn.00522610
add esp, 0xc
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x93ac]
cmp dword [eax + 0xc], ebx
jle 0x4cdfbd
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp esi, eax
je 0x4cdfbd
sub eax, esi
mov ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x14], ebx
jl 0x4cdfbd
cmp dword [ebp - 0x14], eax
jge 0x4cdfbd
mov ecx, dword [ebp - 0x18]
lea eax, [esi + ecx]
lea ecx, [ebp - 0x40]
call fcn.00508010
cmp dword [ebp - 0x3c], ebx
jle 0x4cdfc0
mov ecx, dword [ebp - 0x24]
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x4cdf30
cmp eax, ecx
jge 0x4cdf30
mov edx, dword [ebp - 0x28]
cmp word [edx + eax*2], 0x5c
je 0x4cdf69
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.005083b0
add esp, 8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00508010
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x4cdf69
push eax
call fcn.0051eadb
add esp, 4
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.005081a0
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00508010
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x4cdfa6
push eax
call fcn.0051eadb
add esp, 4
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov eax, dword [ebp - 0x28]
cmp eax, ebx
jne 0x4cdfb2
mov eax, 0x54ee24
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4cdfc0
mov byte [ebp - 0xd], bl
mov eax, edi
cmp edi, ebx
jne 0x4cdfcb
mov eax, 0x54ee24
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.005074a0
add esp, 8
cmp dword [ebp - 0x30], ebx
jle 0x4cdff1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
push eax
push ebx
push ecx
call fcn.00522610
add esp, 0xc
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x93ac]
mov esi, dword [ebp - 0x14]
lea edx, [ebp - 0x34]
push edx
push ecx
mov ecx, esi
call fcn.004d3ec0
test al, al
je 0x4ce0bf
cmp dword [ebp - 0x30], ebx
jle 0x4ce0c2
mov ecx, dword [ebp - 0x24]
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x4ce032
cmp eax, ecx
jge 0x4ce032
mov edx, dword [ebp - 0x28]
cmp word [edx + eax*2], 0x5c
je 0x4ce06b
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.005083b0
add esp, 8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00508010
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x64]
cmp eax, ebx
je 0x4ce06b
push eax
call fcn.0051eadb
add esp, 4
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.005081a0
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00508010
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x70]
cmp eax, ebx
je 0x4ce0a8
push eax
call fcn.0051eadb
add esp, 4
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov eax, dword [ebp - 0x28]
cmp eax, ebx
jne 0x4ce0b4
mov eax, 0x54ee24
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4ce0c2
mov byte [ebp - 0xd], bl
add dword [ebp - 0x18], 0x1c
inc esi
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x1c]
jl 0x4cde84
mov edi, dword [ebp + 8]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 8
mov eax, dword [edi + 0x93ac]
push edx
push eax
xor ecx, ecx
call fcn.004d3ec0
cmp al, bl
jne 0x4ce13f
mov eax, dword [edi + 0x93ac]
cmp dword [eax + 0xc], ebx
jle 0x4ce1d1
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp esi, eax
je 0x4ce1d1
sub eax, esi
mov ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
jle 0x4ce1d1
mov eax, esi
lea ecx, [ebp - 0x4c]
call fcn.00508010
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
jne 0x4ce14b
mov eax, 0x54ee24
sub esp, 0x1c
mov ecx, esp
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
mov word [ecx], dx
mov edx, eax
mov dword [ebp + 8], esp
lea edi, [edx + 2]
mov si, word [edx]
add edx, 2
cmp si, bx
jne 0x4ce167
sub edx, edi
sar edx, 1
push edx
call fcn.004020a0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x7c]
cmp eax, ebx
jne 0x4ce18c
mov eax, 0x54ee24
sub esp, 0x1c
mov ecx, esp
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
mov word [ecx], dx
mov edx, eax
mov dword [ebp - 0x1c], esp
lea edi, [edx + 2]
jmp 0x4ce1b0
mov si, word [edx]
add edx, 2
cmp si, bx
jne 0x4ce1b0
sub edx, edi
sar edx, 1
push edx
call fcn.004020a0
mov byte [ebp - 4], 8
call fcn.00401710
add esp, 0x38
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x4ce1e5
push eax
call fcn.0051eadb
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x4ce1f9
push eax
call fcn.0051eadb
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x4ce20d
push eax
call fcn.0051eadb
add esp, 4
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x4ce225
push eax
call fcn.0051eadb
add esp, 4
jmp 0x4ce225
mov byte [ebp - 0xd], bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x7c]
cmp eax, ebx
je 0x4ce23c
push eax
call fcn.0051eadb
add esp, 4
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4