Function at 0x466e60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3f4d
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x659bc0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x64], 0
call fcn.0045f950
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
push ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.00472190
add esp, 4
test eax, eax
jne 0x46717b
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x466ed8
lock inc dword [ebx + 4]
mov esi, dword [ebp - 0x6c]
mov edi, ebx
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], edi
test ebx, ebx
je 0x466eeb
lock inc dword [ebx + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
test ebx, ebx
je 0x466f28
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x466f28
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [ebx + 8], eax
jne 0x466f28
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov byte [ebp - 4], 5
nop dword [eax]
test esi, esi
je 0x4670d5
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call fcn.0045f3f0
cmp dword [eax], 2
jne 0x4670c2
lea eax, [ebp - 0x44]
lea edi, [esi + 0x20]
push eax
mov ecx, edi
call fcn.0045e5c0
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.00471f70
mov esi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x18]
or esi, 8
cmp dword [ebp - 0x1c], 0xe
mov dword [ebp - 0x64], esi
sete byte [ebp - 0x5d]
cmp ecx, 0xf
jbe 0x466fae
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x466fa4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466ff0
push ecx
push edx
call fcn.005ce99e
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 7
jbe 0x467000
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x466ff6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x466ff6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005ce99e
add esp, 8
cmp byte [ebp - 0x5d], 0
je 0x4670c2
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.0045e5c0
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.00471f70
or esi, 0x400
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
mov dword [ebp - 0x64], esi
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x467070
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x467066
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4670b2
push ecx
push edx
call fcn.005ce99e
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 7
jbe 0x4670c2
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4670b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4670b8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005ce99e
add esp, 8
lea ecx, [ebp - 0x74]
call fcn.0045f7c0
mov edi, dword [ebp - 0x70]
mov esi, dword [ebp - 0x74]
jmp 0x466f30
or esi, 0xffffffff
test edi, edi
je 0x4670fb
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4670fb
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x4670fb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test ebx, ebx
je 0x46711d
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x46711d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x46711d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x46715f
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x467155
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x467155
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, 0x46711d
ret
push ecx
push edx
call fcn.005ce99e
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 - 0x14]
xor ecx, ebp
call fcn.005ce5ea
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x5c]
mov edx, eax
push ecx
mov ecx, str.directory_iterator::directory_iterator
call fcn.0045f120
int3