Function at 0x416c50
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590c5d
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x5fcff4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0x5dcd98
lea edx, [ebp + 8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00406540
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x416d25
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x416cf1
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x416ce7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417040
push ecx
push edx
call fcn.00561389
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x416d59
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x416d4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417040
push ecx
push edx
call fcn.00561389
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x180]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call fcn.00570716
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
add esp, 8
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], esi
cmp eax, 0xffffffff
je 0x416fa5
lea ecx, [ebp - 0x180]
push ecx
push eax
call fcn.00570731
add esp, 8
test eax, eax
jne 0x416f97
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x194], eax
mov ecx, 0x5dcd9c
lea eax, [ebp - 0x15c]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x416de0
test dl, dl
je 0x416ddc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x416de0
add eax, 2
add ecx, 2
test dl, dl
jne 0x416dc0
xor eax, eax
jmp 0x416de5
sbb eax, eax
or eax, 1
test eax, eax
je 0x416f7a
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
lea edx, [ebp + 8]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push 0x5dcda0
mov byte [eax], 0
call fcn.00406540
mov ecx, eax
add esp, 4
mov dword [ebp - 0x184], ecx
lea edi, [ebp - 0x15c]
mov byte [ebp - 4], 2
lea edx, [edi + 1]
nop word [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x416e30
mov esi, dword [ecx + 0x14]
sub edi, edx
mov edx, dword [ecx + 0x10]
mov eax, esi
sub eax, edx
cmp edi, eax
ja 0x416e76
lea eax, [edx + edi]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x416e56
mov eax, dword [ecx]
lea esi, [eax + edx]
push edi
lea eax, [ebp - 0x15c]
push eax
push esi
call fcn.005641f0
mov eax, dword [ebp - 0x184]
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x416e8a
push edi
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x184]
push edi
call fcn.00407050
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
movups xmmword [ebp - 0x38], xmm0
movq qword [ebp - 0x188], xmm1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x416eef
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x416ed9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417040
push ecx
push edx
call fcn.00561389
movups xmm0, xmmword [ebp - 0x38]
add esp, 8
movq xmm1, qword [ebp - 0x188]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
movq qword [ebp - 0x18], xmm1
movups xmmword [ebp - 0x28], xmm0
cmp ecx, 0x10
jb 0x416f30
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x416f26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417040
push ecx
push edx
call fcn.00561389
add esp, 8
test byte [ebp - 0x180], 0x10
lea eax, [ebp - 0x28]
je 0x416f65
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00406f50
call fcn.00416c50
mov esi, dword [ebp - 0x18c]
lea eax, [ebp - 0x28]
add esp, 0x18
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
call esi
jmp 0x416f7a
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
call dword [ebp - 0x194]
mov esi, dword [ebp - 0x18c]
lea eax, [ebp - 0x180]
push eax
push dword [ebp - 0x190]
call fcn.00570731
add esp, 8
test eax, eax
je 0x416db2
push dword [ebp - 0x190]
call fcn.005706f0
add esp, 4
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x416fe3
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x416fd9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417045
push ecx
push edx
call fcn.00561389
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x417025
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41701b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417045
push ecx
push edx
call fcn.00561389
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00560f1e
mov esp, ebp
pop ebp
ret
call fcn.00567a6f
call fcn.00567a6f
int3