Function at 0x45d150
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d47cf
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x5080f4]
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 - 0x2c4], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2b8], ebx
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x45d78a
mov eax, 0x7ffffffe
sub eax, edx
cmp eax, 2
jb 0x45d7e0
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x45d1bc
mov eax, dword [ebx]
push 2
push 0x4eb90c
push edx
push eax
push ecx
push dword [ebp - 0x2bc]
lea ecx, [ebp - 0x2f0]
call fcn.00413420
cmp dword [ebp - 0x2dc], 8
lea ecx, [ebp - 0x29c]
lea eax, [ebp - 0x2f0]
mov edi, 1
cmovae eax, dword [ebp - 0x2f0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 4], 0
call fcn.004127e0
cmp esi, 0xffffffff
je 0x45d50b
nop
mov ecx, 0x4eb4c8
lea eax, [ebp - 0x270]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45d256
test dx, dx
je 0x45d252
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45d256
add eax, 4
add ecx, 4
test dx, dx
jne 0x45d230
xor eax, eax
jmp 0x45d25b
sbb eax, eax
or eax, 1
test eax, eax
je 0x45d4f5
mov ecx, 0x4eb914
lea eax, [ebp - 0x270]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45d296
test dx, dx
je 0x45d292
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45d296
add eax, 4
add ecx, 4
test dx, dx
jne 0x45d270
xor eax, eax
jmp 0x45d29b
sbb eax, eax
or eax, 1
test eax, eax
je 0x45d4f5
mov dword [ebp - 0x40], 0
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebx + 0x10]
lea ecx, [ebp - 0x270]
or edi, 2
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2bc], edi
mov dword [ebp - 0x2c0], edi
lea edi, [ecx + 2]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d2e0
sub ecx, edi
sar ecx, 1
lea eax, [ecx + edx]
xor ecx, ecx
add eax, 2
setb cl
neg ecx
or ecx, eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.0040edc0
cmp dword [ebx + 0x14], 8
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov eax, ebx
jb 0x45d320
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0045dab0
lea eax, [ebp - 0x270]
sub esp, 8
mov edx, esp
mov ecx, eax
mov dword [edx], eax
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d340
sub ecx, edi
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x1c]
call fcn.0045dab0
test byte [ebp - 0x29c], 0x10
je 0x45d3e4
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
mov dword [ebp - 0x2b4], 0
cmovae edx, dword [ebp - 0x40]
mov ecx, edx
mov dword [ebp - 0x2a4], 0
xor eax, eax
mov dword [ebp - 0x2a0], 7
mov word [ebp - 0x2b4], ax
mov byte [ebp - 4], 1
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d3a2
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2b4]
call fcn.004123e0
mov ecx, dword [ebp - 0x2c4]
lea eax, [ebp - 0x2b4]
push eax
mov byte [ebp - 4], 4
call fcn.0045d150
lea ecx, [ebp - 0x2b4]
call fcn.004127e0
jmp 0x45d4e0
lea ecx, [ebp - 0x40]
call fcn.00436b60
test al, al
jne 0x45d4e0
cmp dword [ebp - 0x30], 0
je 0x45d415
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 4
cmovae eax, dword [ebp - 0x40]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne al
test al, al
jne 0x45d4e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x2c], 8
lea edi, [ebp - 0x40]
lea ecx, [ebp - 0x2d0]
mov ebx, eax
cmovae edi, dword [ebp - 0x40]
call fcn.00412370
lea ecx, [ebp - 0x24]
movq xmm0, qword [eax]
movq qword [ebp - 0x2b4], xmm0
xorps xmm0, xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x2a8], 0x46414341
mov dword [ebp - 0x2a4], 0x31424330
mov dword [ebp - 0x2a0], 0x67
movlpd qword [ebp - 0x24], xmm0
call fcn.00411780
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x45d49e
push ebx
push edi
push str.Could_not_delete_file__s___u_
lea eax, [ebp - 0x2b4]
push eax
push 2
call fcn.00450e80
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x45d4da
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x45d4da
mov eax, dword [ebx]
mov edi, dword [eax]
mov ecx, edi
call dword [0x4d9444]
mov ecx, ebx
call edi
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x45d4da
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4d9444]
mov ecx, ebx
call edi
mov ebx, dword [ebp - 0x2b8]
mov edi, dword [ebp - 0x2bc]
lea ecx, [ebp - 0x40]
and edi, 0xfffffffd
mov byte [ebp - 4], 0
call fcn.004127e0
lea eax, [ebp - 0x29c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45d220
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x45d515
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45d760
test al, 0x10
je 0x45d760
sub esp, 8
mov ecx, ebx
call fcn.004361c0
add esp, 8
test al, al
je 0x45d5a9
cmp dword [ebx + 0x14], 8
jb 0x45d546
mov ebx, dword [ebx]
lea ecx, [ebp - 0x2d0]
mov dword [ebp - 0x2bc], ebx
call fcn.00412370
mov edx, str.SFX_temp_folder__s_deleted.
lea ecx, [ebp - 0x2b4]
movq xmm0, qword [eax]
movq qword [ebp - 0x2b4], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x2bc]
push eax
mov dword [ebp - 0x2a8], 0x46414341
mov dword [ebp - 0x2a4], 0x31424330
mov dword [ebp - 0x2a0], 0x70
call fcn.0045a980
add esp, 4
jmp 0x45d760
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebx + 0x14], 8
mov edi, ebx
mov dword [ebp - 0x2bc], eax
jb 0x45d5bf
mov edi, dword [ebx]
lea ecx, [ebp - 0x2d0]
call fcn.00412370
lea ecx, [ebp - 0x1c]
movq xmm0, qword [eax]
movq qword [ebp - 0x2b4], xmm0
xorps xmm0, xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x2a8], 0x46414341
mov dword [ebp - 0x2a4], 0x31424330
mov dword [ebp - 0x2a0], 0x72
movlpd qword [ebp - 0x1c], xmm0
call fcn.00411780
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x45d632
push dword [ebp - 0x2bc]
lea eax, [ebp - 0x2b4]
push edi
push str.Could_not_delete_directory__s___u__plan_it_for_restart_
push eax
push 2
call fcn.00450e80
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2b8], ecx
test ecx, ecx
je 0x45d686
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x45d686
mov eax, dword [ecx]
mov edi, dword [eax]
mov ecx, edi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x2b8]
call edi
mov ecx, dword [ebp - 0x2b8]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x45d686
mov eax, dword [ecx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4d9444]
mov ecx, dword [ebp - 0x2b8]
call edi
cmp dword [ebx + 0x10], 0
je 0x45d6a9
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x45d696
mov eax, dword [ebx]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x45d760
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebx + 0x14], 8
mov edi, eax
jb 0x45d6b9
mov ebx, dword [ebx]
lea ecx, [ebp - 0x34]
call fcn.00412370
lea ecx, [ebp - 0x1c]
movq xmm0, qword [eax]
movq qword [ebp - 0x2b4], xmm0
xorps xmm0, xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x2a8], 0x46414341
mov dword [ebp - 0x2a4], 0x31424330
mov dword [ebp - 0x2a0], 0x74
movlpd qword [ebp - 0x1c], xmm0
call fcn.00411780
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x45d724
push edi
push ebx
push str.Folder__s_delete_after_reboot_fail___u_
lea eax, [ebp - 0x2b4]
push eax
push 7
call fcn.00450e80
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x45d760
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x45d760
mov eax, dword [ebx]
mov edi, dword [eax]
mov ecx, edi
call dword [0x4d9444]
mov ecx, ebx
call edi
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x45d760
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4d9444]
mov ecx, ebx
call edi
cmp esi, 0xffffffff
je 0x45d76c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
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.00484d55
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x46414341
push eax
lea ecx, [ebp - 0x2d0]
mov dword [ebp - 0x24], 0x31424330
mov dword [ebp - 0x20], 0x54
call fcn.00412370
push eax
lea ecx, [ebp - 0x2f0]
call fcn.004123a0
call fcn.0045d990
push str.Cannot_remove_empty_directory
lea ecx, [ebp - 0x2d8]
call fcn.0043e080
push 0x5057bc
lea eax, [ebp - 0x2d8]
push eax
call fcn.004a0209
call fcn.004123d0
int3