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

Disassembly:
push 0xffffffffffffffff
push 0x65b7db
mov eax, dword fs:[0]
push eax
sub esp, 0xa4c
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0xa48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74f8a0]
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 [0x754c5c]
cmp eax, ebx
jne 0x59b356
mov eax, 0x754c60
push ebx
push str.idmvconv.dll
push eax
push 0x66fde0
lea ecx, [esp + 0x38]
call fcn.00402320
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x59b377
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x59b510
push str.ConvertAACtoTS2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x59b4fa
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 0x59b3a6
lea ecx, [esp + 0x34]
add ecx, 0xfffffffe
lea esp, [esp]
mov dx, word [ecx + 2]
add ecx, 2
cmp dx, bx
jne 0x59b3c0
mov edx, dword [str..tmp]
mov dword [ecx], edx
mov edx, dword [0x6aa0bc]
mov dword [ecx + 4], edx
mov dx, word [0x6aa0c0]
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 0x59b503
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 0x59b4e2
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x59b485
cmp ebx, ebx
jne 0x59b485
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x24]
mov dword [edx + 0xc], eax
cmp eax, ebx
je 0x59b481
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 0x59b531
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push 1
push ebx
push ebx
push edx
call fcn.0061cd30
add esi, eax
push edi
adc ebx, edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, ebx
jne 0x59b4ba
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 0x59b519
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 0x59b519
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 0x59b519
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 0x59b519
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.0061807e
add esp, 0xa58
ret 8