Function at 0x4423f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5168c9
mov eax, dword fs:[0]
push eax
sub esp, 0x4b4
mov eax, dword [0x56d06c]
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
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 0
call fcn.00443500
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 - 0x14], 7
push 0x55b790
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0041dd00
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea edx, [esi + 4]
lea ecx, [ebp - 0x40]
call fcn.0043b220
add esp, 4
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4424a6
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x4a8]
call fcn.00440db0
mov ecx, dword [ebp - 0x2c]
mov esi, eax
cmp ecx, 8
jb 0x4424c9
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.0041e1c0
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x4424f6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0041e1c0
test esi, esi
je 0x442638
mov ecx, dword [ebp - 0x48]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, dword [ebp - 0x4b4]
test ecx, ecx
je 0x44254f
mov eax, dword [ebp - 0x4a8]
shr eax, 4
and eax, 1
je 0x442551
cmp word [ebp - 0x47c], 0x2e
jne 0x442551
mov dx, word [ebp - 0x47a]
test dx, dx
je 0x442616
cmp dx, 0x2e
jne 0x442551
cmp word [ebp - 0x478], 0
je 0x442616
jmp 0x442551
xor eax, eax
test eax, eax
jne 0x442616
lea eax, [ebp - 0x4b4]
push eax
lea ecx, [ebp - 0x4a8]
call fcn.00441cd0
mov byte [ebp - 4], 4
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x44258e
xor ecx, ecx
jmp 0x4425a2
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442593
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041dd00
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
push ecx
lea eax, [ebp - 0x4c0]
push eax
lea ecx, [ebp - 0x4b0]
call fcn.00443630
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4425dd
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0041e1c0
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4b4]
mov word [ebp - 0x28], ax
add edx, 0xfffffff0
mov dword [ebp - 0x14], 7
or eax, 0xffffffff
mov dword [ebp - 0x18], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x442613
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 0x44263b
test ecx, ecx
je 0x44263b
lea eax, [ebp - 0x4a8]
push eax
push edx
call edi
mov ecx, eax
mov dword [ebp - 0x48], ecx
test ecx, ecx
jne 0x442511
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x4b0]
xor edi, edi
mov eax, dword [ebp - 0x4ac]
add eax, 0xfffffffb
mov esi, dword [ecx]
test eax, eax
jle 0x4426c9
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [eax + eax]
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x44266b
mov eax, dword [eax]
push eax
call ebx
cmp byte [esi + 0xd], 0
jne 0x4426b2
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x442693
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4426b2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x442687
jmp 0x4426b2
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4426b0
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x4426b0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4426a0
mov esi, eax
mov eax, dword [ebp - 0x4ac]
inc edi
add eax, 0xfffffffb
cmp edi, eax
jl 0x442660
mov ecx, dword [ebp - 0x4b0]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], 0
test edx, edx
je 0x4426ed
cmp edx, 0xffffffff
je 0x4426ed
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x4b0]
mov dword [ebp - 0x4c], 0
push ecx
push dword [ecx]
lea eax, [ebp - 0x4b8]
push eax
lea ecx, [ebp - 0x4b0]
call fcn.00442fb0
push dword [ebp - 0x4b0]
call fcn.004ed0af
add esp, 4
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.00471876
mov esp, ebp
pop ebp
ret