Function at 0x4cddb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537ec0
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 0x4ce233
lea esi, [ebp - 0x7c]
call fcn.00519c50
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x78], ebx
jle 0x4ce202
mov eax, dword [edi + 0x93ac]
mov dword [ebp - 0x1c], ebx
cmp dword [eax + 0xc], ebx
jle 0x4cde36
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp ecx, eax
je 0x4cde36
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 0x4ce0b6
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp - 0x7c]
mov eax, edi
cmp edi, ebx
jne 0x4cde72
mov eax, 0x54ee24
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005074a0
add esp, 8
cmp dword [ebp - 0x3c], ebx
jle 0x4cde98
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
push ecx
push ebx
push edx
call fcn.005226e0
add esp, 0xc
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x93ac]
cmp dword [eax + 0xc], ebx
jle 0x4cdf9d
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp esi, eax
je 0x4cdf9d
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 0x4cdf9d
cmp dword [ebp - 0x14], eax
jge 0x4cdf9d
mov ecx, dword [ebp - 0x18]
lea eax, [esi + ecx]
lea ecx, [ebp - 0x40]
call fcn.00508010
cmp dword [ebp - 0x3c], ebx
jle 0x4cdfa0
mov ecx, dword [ebp - 0x24]
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x4cdf10
cmp eax, ecx
jge 0x4cdf10
mov edx, dword [ebp - 0x28]
cmp word [edx + eax*2], 0x5c
je 0x4cdf49
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 0x4cdf49
push eax
call fcn.0051ebab
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 0x4cdf86
push eax
call fcn.0051ebab
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 0x4cdf92
mov eax, 0x54ee24
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4cdfa0
mov byte [ebp - 0xd], bl
mov eax, edi
cmp edi, ebx
jne 0x4cdfab
mov eax, 0x54ee24
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.005074a0
add esp, 8
cmp dword [ebp - 0x30], ebx
jle 0x4cdfd1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
push eax
push ebx
push ecx
call fcn.005226e0
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.004d3e30
test al, al
je 0x4ce09f
cmp dword [ebp - 0x30], ebx
jle 0x4ce0a2
mov ecx, dword [ebp - 0x24]
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x4ce012
cmp eax, ecx
jge 0x4ce012
mov edx, dword [ebp - 0x28]
cmp word [edx + eax*2], 0x5c
je 0x4ce04b
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 0x4ce04b
push eax
call fcn.0051ebab
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 0x4ce088
push eax
call fcn.0051ebab
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 0x4ce094
mov eax, 0x54ee24
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4ce0a2
mov byte [ebp - 0xd], bl
add dword [ebp - 0x18], 0x1c
inc esi
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x1c]
jl 0x4cde64
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.004d3e30
cmp al, bl
jne 0x4ce11f
mov eax, dword [edi + 0x93ac]
cmp dword [eax + 0xc], ebx
jle 0x4ce1b1
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp esi, eax
je 0x4ce1b1
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 0x4ce1b1
mov eax, esi
lea ecx, [ebp - 0x4c]
call fcn.00508010
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
jne 0x4ce12b
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 0x4ce147
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 0x4ce16c
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 0x4ce190
mov si, word [edx]
add edx, 2
cmp si, bx
jne 0x4ce190
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 0x4ce1c5
push eax
call fcn.0051ebab
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x4ce1d9
push eax
call fcn.0051ebab
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x4ce1ed
push eax
call fcn.0051ebab
add esp, 4
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x4ce205
push eax
call fcn.0051ebab
add esp, 4
jmp 0x4ce205
mov byte [ebp - 0xd], bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x7c]
cmp eax, ebx
je 0x4ce21c
push eax
call fcn.0051ebab
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