Function at 0x4d8fc3
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
push ebx
push esi
push edi
push 0x3e8
push 4
push 0
push 0xc0000000
push dword [ebp + 0xc]
call fcn.004a1f44
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
call fcn.004d8958
cmp dword [esp + 0x10], 0xffffffff
je 0x4d9007
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
lea esi, [esp + 0x20]
call fcn.0044762c
cmp dword [esp + 0x1c], 0xffffffff
jne 0x4d9021
xor al, al
jmp 0x4d922e
and dword [esp + 0x18], 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.004d8b4f
mov eax, dword [ebp + 8]
mov ebx, 0x5b07d8
push ebx
add eax, 4
push str.TITLE
call fcn.00436f6c
mov edi, 0x104
push edi
mov edx, eax
lea esi, [esp + 0x34]
call fcn.004a8ff7
cmp word [esp + 0x30], 0
je 0x4d9079
mov eax, esi
push eax
push 0x454d414e
lea eax, [esp + 0x1c]
push eax
call fcn.004d8c16
mov eax, dword [ebp + 8]
push ebx
push str.ARTIST
add eax, 4
call fcn.00436f6c
push edi
mov edx, eax
lea esi, [esp + 0x34]
call fcn.004a8ff7
cmp word [esp + 0x30], 0
je 0x4d90b0
mov eax, esi
push eax
push 0x48545541
lea eax, [esp + 0x1c]
push eax
call fcn.004d8c16
mov eax, dword [ebp + 8]
push ebx
push str.COPYRIGHT
add eax, 4
call fcn.00436f6c
push edi
mov edx, eax
lea esi, [esp + 0x34]
call fcn.004a8ff7
cmp word [esp + 0x30], 0
je 0x4d90e7
mov eax, esi
push eax
push 0x20296328
lea eax, [esp + 0x1c]
push eax
call fcn.004d8c16
mov eax, dword [ebp + 8]
push ebx
push str.COMMENT
add eax, 4
call fcn.00436f6c
push edi
mov edx, eax
lea esi, [esp + 0x34]
call fcn.004a8ff7
cmp word [esp + 0x30], 0
je 0x4d911e
mov eax, esi
push eax
push 0x4f4e4e41
lea eax, [esp + 0x1c]
push eax
call fcn.004d8c16
lea eax, [esp + 0x238]
push eax
call fcn.00401b1f
or dword [esp + 0x10], 0xffffffff
lea eax, [esp + 0x238]
push eax
lea esi, [esp + 0x14]
call fcn.0044764e
push dword [ebp + 8]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push ecx
mov eax, esp
mov dword [eax], esi
call fcn.004df6f5
test al, al
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
je 0x4d91b6
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x24], 0x20334449
call fcn.004019d3
push eax
mov dword [esp + 0x28], eax
call fcn.0058f8c4
pop ecx
xor ecx, ecx
push ecx
push ecx
mov ebx, eax
push ecx
xor eax, eax
push eax
push esi
call edi
push dword [esp + 0x24]
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.00401f65
cmp eax, dword [esp + 0x24]
jne 0x4d91af
push ebx
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x1c]
call fcn.004d8c9d
push ebx
call fcn.0058f8c9
pop ecx
cmp esi, 0xffffffff
je 0x4d91c5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
lea eax, [esp + 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, 0xffffffff
je 0x4d91df
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
call fcn.004d8d61
mov ebx, dword [esp + 0x14]
push ebx
call fcn.004019d3
push 4
sub eax, 8
mov esi, eax
pop eax
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
push dword [ebx]
bswap esi
call edi
push ebx
mov eax, esi
call fcn.00447515
lea esi, [esp + 0x18]
call fcn.0043ff2a
cmp dword [esp + 0x1c], 0xffffffff
je 0x4d922c
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8