Function at 0x408ab0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415675
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x41f4e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp dword [edi + 0x10], 0
je 0x408f17
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push eax
push edi
call fcn.0040e990
mov esi, dword [ebp - 0x50]
add esp, 8
mov eax, dword [ebp - 0x4c]
mov edx, 0x7ffffffe
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x44], eax
cmp esi, eax
je 0x408c27
nop dword [eax]
cmp dword [edi + 0x14], 8
mov ecx, edi
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
jb 0x408b5b
mov ecx, dword [edi]
mov dword [ebp - 0x2c], ecx
cmp eax, 8
jae 0x408b70
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x408bad
mov esi, eax
lea ecx, [ebp - 0x28]
or esi, 7
cmp esi, 0x7ffffffe
cmova esi, edx
lea eax, [esi + 1]
push eax
call fcn.00404860
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x2c]
push eax
call fcn.00412ef0
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
cmp dword [esi + 0x14], 8
mov eax, esi
mov byte [ebp - 4], 1
jb 0x408bbe
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040b950
lea eax, [ebp - 0x28]
push eax
call fcn.00408ab0
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x408c12
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408c08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f32
push edx
push ecx
call fcn.00411bf3
add esp, 8
add esi, 0x18
mov dword [ebp - 0x34], esi
cmp esi, dword [ebp - 0x44]
je 0x408c27
mov edx, 0x7ffffffe
jmp 0x408b30
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
push edi
call fcn.0040e8c0
mov esi, dword [ebp - 0x40]
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x44], eax
cmp esi, eax
je 0x408d7c
cmp dword [edi + 0x14], 8
mov ecx, edi
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edi
jb 0x408c8c
mov ecx, dword [edi]
mov dword [ebp - 0x34], ecx
cmp eax, 8
jae 0x408ca1
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x408ce3
mov esi, eax
lea ecx, [ebp - 0x28]
or esi, 7
mov eax, 0x7ffffffe
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00404860
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x34]
push eax
call fcn.00412ef0
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
cmp dword [esi + 0x14], 8
mov eax, esi
mov byte [ebp - 4], 3
jb 0x408cf4
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040b950
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__wremove
add esp, 0xc
test eax, eax
jne 0x408d2f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Failed_to_remove_temporary_file___s_.
call fcn.0040b4c0
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x408d6d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408d63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f32
push edx
push ecx
call fcn.00411bf3
add esp, 8
add esi, 0x18
mov dword [ebp - 0x2c], esi
cmp esi, dword [ebp - 0x44]
jne 0x408c61
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x408d86
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x408da7
cmp dword [edi + 0x14], 8
jb 0x408d99
mov edi, dword [edi]
push edi
push str.Failed_to_remove_temporary_directory___s_.
call fcn.0040b4c0
add esp, 8
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x408e6f
mov edi, dword [ebp - 0x3c]
cmp esi, edi
je 0x408e16
nop dword [eax]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x408df9
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x408def
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f32
mov eax, edx
push ecx
push eax
call fcn.00411bf3
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x408dc0
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x408e50
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f32
push ecx
push esi
call fcn.00411bf3
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x408f17
mov edi, dword [ebp - 0x4c]
cmp esi, edi
je 0x408ed7
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x408eba
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x408eb0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f32
mov eax, edx
push ecx
push eax
call fcn.00411bf3
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x408e81
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x408f0d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f32
push ecx
push esi
call fcn.00411bf3
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.00411c01
mov esp, ebp
pop ebp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3