Function at 0x4337f7
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58c
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x10], esi
call fcn.0043051a
mov ebx, dword [ebp + 8]
push 0x44d3e0
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.MSVCRT.dll__mbsstr]
pop ecx
test eax, eax
pop ecx
je 0x433866
push esi
xor edi, edi
push esi
push 0x18
inc edi
call fcn.004394a8
mov esi, 0x45db60
push eax
push esi
push ebx
push dword [0x45b980]
call fcn.004186ed
add esp, 0x1c
test eax, eax
jne 0x433858
push dword [ebp + 0xc]
push esi
call fcn.004337f7
pop ecx
mov edi, eax
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, edi
jmp 0x433b2e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x288]
push eax
push 0x103
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
push 0xffffffffffffffff
and byte [eax - 1], 0
mov esi, str.playlist
push str.NumberOfEntries
push esi
call edi
push ebx
xor ebx, ebx
inc ebx
mov dword [ebp - 8], eax
push ebx
push str.Version
push esi
call edi
mov ecx, ebx
cmp ecx, eax
sbb eax, eax
xor edi, edi
neg eax
cmp dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
jg 0x4338c3
mov eax, ebx
jmp 0x433b2e
cmp dword [ebp - 0xc], edi
je 0x4338d5
cmp dword [ebp + 0xc], ebx
jge 0x4338d5
call fcn.004305d0
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
jl 0x433af1
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov al, byte [0x450890]
push 0x40
mov byte [ebp - 0x38c], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x38b]
rep stosd dword es:[edi], eax
push dword [ebp - 4]
or dword [ebp - 0xc], 0xffffffff
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x80]
push str.File_d
push eax
call ebx
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x184]
push dword [ebp + 8]
push 0x104
push eax
lea eax, [ebp - 0x80]
push 0x450890
push eax
push esi
call edi
cmp dword [ebp - 0x14], 0
je 0x43398e
push dword [ebp - 4]
lea eax, [ebp - 0x80]
push str.Title_d
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x38c]
push dword [ebp + 8]
push 0x104
push eax
lea eax, [ebp - 0x80]
push 0x450890
push eax
push esi
call edi
push dword [ebp - 4]
lea eax, [ebp - 0x80]
push str.Length_d
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x80]
push dword [ebp + 8]
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0xc], eax
cmp byte [ebp - 0x184], 0
je 0x433ae0
cmp dword [ebp - 8], 1
jne 0x4339cc
lea eax, [ebp - 0x184]
push 0x44d3e0
push eax
call dword [sym.imp.MSVCRT.dll__mbsstr]
pop ecx
test eax, eax
pop ecx
je 0x4339cc
lea eax, [ebp - 0x184]
push 0x450890
push eax
call fcn.0043993f
pop ecx
pop ecx
mov edi, dword [sym.imp.MSVCRT.dll_strncmp]
lea eax, [ebp - 0x184]
mov dword [ebp - 0x18], eax
push 2
lea eax, [ebp - 0x184]
push 0x44d7bc
push eax
call edi
add esp, 0xc
test eax, eax
je 0x433ab8
push 2
lea eax, [ebp - 0x183]
push 0x44d7b8
push eax
call edi
add esp, 0xc
test eax, eax
je 0x433ab8
lea eax, [ebp - 0x184]
push 0x44d7b4
push eax
call dword [sym.imp.MSVCRT.dll__mbsstr]
pop ecx
test eax, eax
pop ecx
jne 0x433ab8
cmp byte [ebp - 0x184], 0x5c
jne 0x433a73
mov al, byte [ebp - 0x288]
push 0x1fe
mov byte [ebp - 0x58c], al
mov al, byte [ebp - 0x287]
mov byte [ebp - 0x58b], al
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x58a]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
and byte [ebp - 0x38d], 0
jmp 0x433ab0
lea eax, [ebp - 0x288]
push eax
call sub.MSVCRT.dll_strlen
cmp byte [ebp + eax - 0x289], 0x5c
pop ecx
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x58c]
je 0x433aa5
push str._s_s
jmp 0x433aaa
push 0x44be50
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x58c]
jmp 0x433abb
mov eax, dword [ebp - 0x18]
cmp byte [ebp - 0x38c], 0
je 0x433ad9
push dword [ebp - 0xc]
lea ecx, [ebp - 0x38c]
push ecx
push eax
call fcn.00430720
add esp, 0xc
jmp 0x433ae0
push eax
call fcn.004309f3
pop ecx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jle 0x4338e7
xor edi, edi
cmp dword [ebp - 0x10], edi
je 0x433b2c
push edi
call fcn.0042fd1e
cmp byte [0x45dea4], 0
pop ecx
je 0x433b11
push 0xc4653600
call fcn.004311db
pop ecx
push 0x45bbe0
push 0x45c0c0
call fcn.00430cb4
cmp dword [ebp + 0xc], edi
pop ecx
pop ecx
jne 0x433b2c
call fcn.0042fb16
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret