Function at 0x4260f0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Move file
Persist via lnk shortcut
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508e36
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x556754]
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], 2
call fcn.00437e80
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x426296
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push 0x50
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040bc80
movups xmm0, xmmword [str.D:workWeiDuanGameMicroGameBox_srcmicrogameboxutilsutils.cc]
mov dword [ebp - 0x30], 0x40
mov dword [ebp - 0x2c], 0x4f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x517fe8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x517ff8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x518008]
movups xmmword [eax + 0x30], xmm0
mov byte [eax + 0x40], 0
mov dword [ebp - 0x40], eax
mov ax, word [0x515dac]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x28], ax
mov al, byte [str._install]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 3
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
mov byte [ebp - 4], 4
call fcn.00437e80
mov edi, eax
lea ecx, [ebp - 0xf4]
push 0x335
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040d2d0
mov esi, eax
push str.RemoveInstalledDir
push esi
mov byte [ebp - 4], 5
call fcn.00406fa0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.00408fe0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x42624c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x426242
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4269f5
push edx
push ecx
call fcn.004b592c
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x426296
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42628c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4269f5
push edx
push ecx
call fcn.004b592c
add esp, 8
mov eax, dword [ebp + 0x10]
or edi, 0xffffffff
cmp dword [eax - 0xc], 8
jl 0x4269eb
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4269eb
call fcn.00437e80
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x426441
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push 0x50
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040bc80
movups xmm0, xmmword [str.D:workWeiDuanGameMicroGameBox_srcmicrogameboxutilsutils.cc]
mov dword [ebp - 0x30], 0x40
mov dword [ebp - 0x2c], 0x4f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x517fe8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x517ff8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x518008]
movups xmmword [eax + 0x30], xmm0
mov byte [eax + 0x40], 0
mov dword [ebp - 0x40], eax
mov ax, word [0x515dac]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x28], ax
mov al, byte [str._install]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 3
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
mov byte [ebp - 4], 7
call fcn.00437e80
mov edi, eax
lea ecx, [ebp - 0xf4]
push 0x33a
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040d2d0
mov esi, eax
push str._RemoveInstalledDir__delete:
push esi
mov byte [ebp - 4], 8
call fcn.00406fa0
mov eax, dword [ebp - 0x44]
mov ecx, 0x515a88
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.00406fa0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.00408fe0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x4263f7
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4263ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4269fa
push edx
push ecx
call fcn.004b592c
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x426441
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x426437
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4269fa
push edx
push ecx
call fcn.004b592c
add esp, 8
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x426460
test al, 1
je 0x426460
and eax, 0xfffffffe
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call fcn.0040b050
mov ecx, eax
test ecx, ecx
je 0x4269ff
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
push dword [ebp + 8]
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 9
push dword [ebp + 0x10]
push str._s_s.json
push eax
call fcn.00409580
mov esi, dword [ebp - 0x50]
add esp, 0x10
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
test eax, eax
jne 0x4264d4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4264d4
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4264c9
push esi
call edi
test eax, eax
jne 0x4264d4
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
call fcn.0040b050
mov ecx, eax
test ecx, ecx
je 0x426a09
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4c], eax
push dword [ebp + 8]
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
push dword [ebp + 0x10]
push str._s_s.exe
push eax
call fcn.00409580
mov esi, dword [ebp - 0x4c]
add esp, 0x10
push esi
call edi
test eax, eax
jne 0x426542
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426542
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x426537
push esi
call edi
test eax, eax
jne 0x426542
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
call fcn.0040b050
mov ecx, eax
test ecx, ecx
je 0x426a13
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x48], eax
push dword [ebp + 8]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xb
push dword [ebp + 0x10]
push str._s_s.ico
push eax
call fcn.00409580
mov esi, dword [ebp - 0x48]
add esp, 0x10
push esi
call edi
test eax, eax
jne 0x4265b0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4265b0
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4265a5
push esi
call edi
test eax, eax
jne 0x4265b0
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
call fcn.0040b050
mov ecx, eax
test ecx, ecx
je 0x426a1d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x54], eax
push dword [ebp + 8]
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xc
push dword [ebp + 0x10]
push str._s_s.ui
push eax
call fcn.00409580
mov edi, dword [ebp - 0x54]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x426626
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426626
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x42661b
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x426626
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
je 0x4266c8
call fcn.0040b050
mov ecx, eax
test ecx, ecx
je 0x426a27
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x44], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xd
push dword [ebp + 0x10]
push str._s_s.lnk
push eax
call fcn.00409580
mov esi, dword [ebp - 0x44]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4266a9
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4266a9
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x42669e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4266a9
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 0xc
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4266c5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x48]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push dword [ebp + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426976
call fcn.00437e80
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x426887
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push 0x50
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040bc80
movups xmm0, xmmword [str.D:workWeiDuanGameMicroGameBox_srcmicrogameboxutilsutils.cc]
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 0x14], 0x4f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x517fe8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x517ff8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x518008]
movups xmmword [eax + 0x30], xmm0
mov byte [eax + 0x40], 0
mov dword [ebp - 0x28], eax
mov ax, word [0x515c5c]
mov dword [ebp - 0x40], 0
mov word [ebp - 0x40], ax
mov al, byte [0x515c5e]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 3
mov byte [ebp - 0x3e], al
mov byte [ebp - 0x3d], 0
mov byte [ebp - 4], 0xf
call fcn.00437e80
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0xf4]
push 0x35d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040d2d0
mov dword [ebp - 0x44], eax
push str.RemoveInstalledDir__failed_delete:
push eax
mov byte [ebp - 4], 0x10
call fcn.00408ea0
mov eax, dword [ebp - 0x58]
mov ecx, 0x515a88
test eax, eax
cmovne ecx, eax
push ecx
push dword [ebp - 0x44]
call fcn.00406fa0
mov ecx, dword [ebp - 0x5c]
add esp, 0x10
mov eax, dword [ecx]
push dword [ebp - 0x44]
call dword [eax + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.00408fe0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xe
cmp edx, 0x10
jb 0x42682b
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x426821
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426a31
push edx
push ecx
call fcn.004b592c
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0xc
cmp edx, 0x10
jb 0x426875
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42686b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426a31
push edx
push ecx
call fcn.004b592c
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0xb
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4268a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4268c0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
mov eax, edi
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4268de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x50]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4268fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
mov edx, dword [ebp + 8]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42691c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42693a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x426959
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.004b5d96
mov esp, ebp
pop ebp
ret
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0xb
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x426994
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4269af
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
mov eax, edi
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4269cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x50]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4269eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x4268fe
call fcn.004d899e
call fcn.004d899e
push 0x80004005
call fcn.00404b30
push 0x80004005
call fcn.00404b30
push 0x80004005
call fcn.00404b30
push 0x80004005
call fcn.00404b30
push 0x80004005
call fcn.00404b30
call fcn.004d899e
int3