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

Disassembly:
push 0xffffffffffffffff
push 0x66459b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4c
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0xa48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
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 [0x75dc58]
cmp eax, ebx
jne 0x5a3526
mov eax, 0x75dc5c
push ebx
push str.idmvconv.dll
push eax
push 0x678de0
lea ecx, [esp + 0x38]
call fcn.00402310
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x5a3547
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x5a36e0
push str.ConvertAACtoTS2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x5a36ca
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 0x5a3576
lea ecx, [esp + 0x34]
add ecx, 0xfffffffe
lea esp, [esp]
mov dx, word [ecx + 2]
add ecx, 2
cmp dx, bx
jne 0x5a3590
mov edx, dword [str..tmp]
mov dword [ecx], edx
mov edx, dword [0x6b3904]
mov dword [ecx + 4], edx
mov dx, word [0x6b3908]
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 0x5a36d3
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 0x5a36b2
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5a3655
cmp ebx, ebx
jne 0x5a3655
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x24]
mov dword [edx + 0xc], eax
cmp eax, ebx
je 0x5a3651
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 0x5a3701
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push 1
push ebx
push ebx
push edx
call fcn.006254d0
add esi, eax
push edi
adc ebx, edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, ebx
jne 0x5a368a
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 0x5a36e9
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 0x5a36e9
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 0x5a36e9
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 0x5a36e9
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.00620b8d
add esp, 0xa58
ret 8