Function at 0x434713
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
push ebx
push esi
push edi
mov ebx, 0x48ea54
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
push 0x477f38
push esi
call fcn.00417162
mov edi, dword [sym.imp.NSCRT.dll__wcsicmp]
pop ecx
push eax
call edi
test eax, eax
pop ecx
pop ecx
jne 0x434769
lea eax, [ebp - 0x224]
push eax
push esi
push dword [0x4924ec]
call fcn.00412d94
add esp, 0xc
test eax, eax
je 0x434792
lea esi, [ebp - 0x224]
push 6
push 0x475fbc
push esi
call dword [sym.imp.NSCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
push esi
jne 0x434795
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 7
push esi
jne 0x4347b3
call fcn.00433b75
jmp 0x4347b8
push ebx
jmp 0x4347be
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4347c9
push dword [ebp + 0xc]
push 1
push esi
call fcn.00434671
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4347b9
push esi
call fcn.0043335c
pop ecx
push 0x48ea54
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret
push 0x4758a0
lea eax, [esi + 2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4347ff
lea eax, [ebp - 0x474]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4347b2
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [ebp - 0x474], 0x10
je 0x43480a
push 1
push esi
call fcn.00433784
pop ecx
jmp 0x4347b8
xor ebx, ebx
push ebx
push 1
push esi
call fcn.00434671
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4347b9
push 0x472c5c
push esi
call fcn.00417162
pop ecx
push eax
call edi
test eax, eax
pop ecx
pop ecx
jne 0x4347b2
push 0x477f34
push esi
call dword [sym.imp.NSCRT.dll__wfopen]
mov dword [ebp - 4], eax
xor eax, eax
mov byte [ebp - 0x1c], bl
lea edi, [ebp - 0x1b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
pop ecx
inc edi
cmp dword [ebp - 4], ebx
pop ecx
je 0x434877
push dword [ebp - 4]
lea eax, [ebp - 0x1c]
push 0x15
push edi
push eax
call dword [sym.imp.NSCRT.dll_fread]
push dword [ebp - 4]
call dword [sym.imp.NSCRT.dll_fclose]
add esp, 0x14
mov byte [ebp - 7], bl
push 0xb
lea eax, [ebp - 0x1c]
push str._Reference_
push eax
call dword [sym.imp.NSCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x434900
push 0xa
lea eax, [ebp - 0x1c]
push str._playlist_
push eax
call dword [sym.imp.NSCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x4348be
push 0x14
lea eax, [ebp - 0x1c]
push 0x477f04
push eax
call sub.NSCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x4348c7
push ebx
push edi
push str..pls
jmp 0x43492c
push 7
lea eax, [ebp - 0x1c]
push str.EXTM3U
push eax
call dword [sym.imp.NSCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x4348e8
push ebx
push edi
push str..m3u
jmp 0x43492c
push 4
lea eax, [ebp - 0x1c]
push str._ASX
push eax
call dword [sym.imp.NSCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x434909
push ebx
push edi
push str..asx
jmp 0x43492c
push 5
lea eax, [ebp - 0x1c]
push str.__wpl
push eax
call dword [sym.imp.NSCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x4347b2
push ebx
push edi
push str..wpl
push esi
call fcn.0043451e
add esp, 0x10
jmp 0x4347b9