Function at 0x5a0450
Capabilities:
Delete file
Get file size
Move file

Disassembly:
push 0xffffffffffffffff
push 0x660b7b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4c
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0xa48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0xa60]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa70]
xor ebx, ebx
mov esi, ecx
xor eax, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov word [esp + 0x2c], ax
mov dword [esp + 0xa68], ebx
mov eax, dword [0x75ac4c]
cmp eax, ebx
jne 0x5a04c6
mov eax, 0x75ac50
push ebx
push str.idmvconv.dll
push eax
push 0x675de0
lea ecx, [esp + 0x38]
call fcn.00402320
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x5a04e7
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x5a0680
push str.ConvertAACtoTS2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x5a066a
lea esi, [esp + 0x34]
mov ecx, ebp
sub esi, ebp
movzx edx, word [ecx]
mov word [esi + ecx], dx
add ecx, 2
cmp dx, bx
jne 0x5a0516
lea ecx, [esp + 0x34]
add ecx, 0xfffffffe
lea esp, [esp]
mov dx, word [ecx + 2]
add ecx, 2
cmp dx, bx
jne 0x5a0530
mov edx, dword [str..tmp]
mov dword [ecx], edx
mov edx, dword [0x6b0224]
mov dword [ecx + 4], edx
mov dx, word [0x6b0228]
mov word [ecx + 8], dx
mov ecx, dword [esp + 0xa74]
push ecx
lea edx, [esp + 0x38]
push edx
push ebp
call eax
add esp, 0xc
test al, al
je 0x5a0673
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x5a0652
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5a05f5
cmp ebx, ebx
jne 0x5a05f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x24]
mov dword [edx + 0xc], eax
cmp eax, ebx
je 0x5a05f1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0xa68], esi
lea ecx, [esp + 0x28]
call fcn.00401210
xor eax, eax
jmp 0x5a06a1
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push 1
push ebx
push ebx
push edx
call fcn.00621c40
add esi, eax
push edi
adc ebx, edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, ebx
jne 0x5a062a
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x5a0689
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebp
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x5a0689
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x5a0689
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x5a0689
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc], eax
mov dword [esp + 0xa68], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.00401210
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xa60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa48]
xor ecx, esp
call fcn.0061d2ff
add esp, 0xa58
ret 8