Function at 0x42be40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee3ce
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x53e01c]
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 esi, ecx
push 0x28
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 0
call fcn.004c1f39
add esp, 4
test eax, eax
je 0x42c1ee
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x4b0], eax
mov dword [ebp - 4], 0
mov eax, 0x5c
mov word [ebp - 0x50], ax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 6
xor eax, eax
mov dword [ebp - 0x28], 0
push 0x52fca0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407890
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea edx, [esi + 4]
lea ecx, [ebp - 0x40]
call fcn.00425120
add esp, 4
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x42bf18
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x4a8]
call fcn.0042a520
mov byte [ebp - 4], 2
mov esi, eax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x42bf64
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bf5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c1ff
push edx
push ecx
call fcn.0045b5e1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x42bfb6
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bfac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c1ff
push edx
push ecx
call fcn.0045b5e1
add esp, 8
test esi, esi
je 0x42c108
mov ecx, dword [ebp - 0x48]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
test ecx, ecx
je 0x42c009
mov eax, dword [ebp - 0x4a8]
shr eax, 4
and eax, 1
je 0x42c00b
cmp word [ebp - 0x47c], 0x2e
jne 0x42c00b
mov dx, word [ebp - 0x47a]
test dx, dx
je 0x42c0e6
cmp dx, 0x2e
jne 0x42c00b
cmp word [ebp - 0x478], 0
je 0x42c0e6
jmp 0x42c00b
xor eax, eax
test eax, eax
jne 0x42c0e6
lea eax, [ebp - 0x4b8]
push eax
lea ecx, [ebp - 0x4a8]
call fcn.0042b6b0
mov byte [ebp - 4], 4
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c050
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00407890
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0x4b0]
call fcn.0042ccb0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42c0c1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c0b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c1ff
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x4b8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42c0e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x42c10b
test ecx, ecx
je 0x42c10b
lea eax, [ebp - 0x4a8]
push eax
push edx
call edi
mov ecx, eax
mov dword [ebp - 0x48], ecx
test ecx, ecx
jne 0x42bfcb
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x4b0]
xor edi, edi
mov eax, dword [ebp - 0x4ac]
add eax, 0xfffffffb
mov esi, dword [esi]
test eax, eax
jle 0x42c18d
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [eax + eax]
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x42c13b
mov eax, dword [eax]
push eax
call ebx
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x42c164
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x42c160
cmp esi, dword [eax + 8]
jne 0x42c160
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x42c150
mov esi, eax
jmp 0x42c17c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x42c17c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x42c170
mov eax, dword [ebp - 0x4ac]
inc edi
add eax, 0xfffffffb
cmp edi, eax
jl 0x42c130
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], 0
test edx, edx
je 0x42c1ab
cmp edx, 0xffffffff
je 0x42c1ab
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4b0]
push dword [eax + 4]
lea eax, [ebp - 0x4b0]
push eax
mov ecx, eax
call fcn.0042d050
push 0x28
push dword [ebp - 0x4b0]
call fcn.0045b5e1
add esp, 8
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.0045b5b0
mov esp, ebp
pop ebp
ret
push 0x53ab50
lea eax, [ebp - 0x4b1]
push eax
call fcn.004bf594
call fcn.004c1e0f
int3