Function at 0x404db0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42afb5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x43800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 3
mov bl, 1
mov esi, dword [ebp + 8]
mov byte [ebp - 0x2a], bl
cmp esi, dword [ebp + 0xc]
je 0x404f39
mov edi, dword [ebp + 0x14]
xor dl, dl
mov byte [ebp - 0x29], dl
cmp edi, dword [ebp + 0x18]
je 0x404e5b
mov ecx, dword [esi + 0x10]
add edi, 0x18
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x404e10
mov eax, dword [edi]
cmp dword [esi + 0x14], 8
mov ebx, esi
jb 0x404e1a
mov ebx, dword [esi]
cmp ecx, dword [edi + 0x10]
jne 0x404e42
mov edx, ecx
test ecx, ecx
je 0x404e38
sub ebx, eax
mov cx, word [ebx + eax]
cmp cx, word [eax]
jne 0x404e3f
add eax, 2
sub edx, 1
jne 0x404e27
mov dl, 1
mov byte [ebp - 0x29], dl
jmp 0x404e42
mov dl, byte [ebp - 0x29]
mov ecx, dword [esi + 0x10]
add edi, 0xc0
lea eax, [edi - 0x18]
cmp eax, dword [ebp + 0x18]
jne 0x404e06
test dl, dl
jne 0x404f2a
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
mov edi, esi
cmovae ecx, dword [ebp + 0x20]
cmp dword [esi + 0x14], 8
jb 0x404e70
mov edi, dword [esi]
mov ebx, dword [esi + 0x10]
cmp ebx, dword [ebp + 0x30]
jne 0x404e95
mov edx, ebx
test ebx, ebx
je 0x404e91
sub edi, ecx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x404e95
add ecx, 2
sub edx, 1
jne 0x404e80
mov al, 1
jmp 0x404e97
xor al, al
test al, al
jne 0x404f2a
mov edx, dword [ebp + 0x48]
mov eax, 0x7ffffffe
sub eax, edx
cmp eax, ebx
jb 0x405035
cmp dword [ebp + 0x4c], 8
lea eax, [ebp + 0x38]
mov ecx, esi
cmovae eax, dword [ebp + 0x38]
cmp dword [esi + 0x14], 8
jb 0x404ec6
mov ecx, dword [esi]
push ebx
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x2e]
lea ecx, [ebp - 0x28]
call fcn.00409530
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x14]
test eax, eax
je 0x404fc5
cmp edx, 8
jb 0x404f2a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404f20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405030
push edx
push ecx
call fcn.004165af
add esp, 8
add esi, 0x18
cmp esi, dword [ebp + 0xc]
jne 0x404df3
mov bl, byte [ebp - 0x2a]
lea ecx, [ebp + 8]
call fcn.00408760
lea ecx, [ebp + 0x14]
call fcn.004087e0
mov edx, dword [ebp + 0x34]
cmp edx, 8
jb 0x404f83
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404f79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40502b
push edx
push ecx
call fcn.004165af
add esp, 8
mov edx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp edx, 8
jb 0x40500d
mov ecx, dword [ebp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405003
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40502b
jmp 0x405003
xor bl, bl
cmp edx, 8
jb 0x404f39
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404ff4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405030
push edx
push ecx
call fcn.004165af
add esp, 8
jmp 0x404f39
push edx
push ecx
call fcn.004165af
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004165a1
mov esp, ebp
pop ebp
ret
call fcn.00419a7c
call fcn.00419a7c
call fcn.00409d80
int3