Function at 0x402700
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x126c
call fcn.004267a0
mov eax, dword [0x4606e0]
xor eax, esp
mov dword [esp + 0x1268], eax
xor eax, eax
push ebp
mov ebp, dword [esp + 0x1274]
push esi
mov esi, dword [esp + 0x127c]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esp + 8], eax
mov dword [esi + 0x24], eax
call fcn.0040c350
push ebp
push 4
lea eax, [esp + 0x14]
push 1
push eax
call fcn.0042666c
add esp, 0x10
cmp eax, 4
je 0x402781
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x1268]
xor ecx, esp
call fcn.00426065
add esp, 0x126c
ret
cmp byte [esp + 0xc], 0x49
push ebx
mov bl, byte [esp + 0x11]
push edi
jne 0x40284c
cmp bl, 0x44
jne 0x40284c
cmp byte [esp + 0x16], 0x33
jne 0x40284c
cmp dword [0x47be78], 0xa
jge 0x4027c5
push str.ID3v2_found._Be_aware_that_the_ID3_tag_is_currently_lost_when_transcoding._n
call fcn.00425de9
add eax, 0x40
push eax
call fcn.00425b9c
add esp, 8
push ebp
push 6
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.0042666c
add esp, 0x10
cmp eax, 6
jne 0x402a72
mov al, byte [esp + 0x16]
mov dl, byte [esp + 0x17]
mov bl, byte [esp + 0x18]
and byte [esp + 0x19], 0x7f
and al, 0x7f
and dl, 0x7f
movzx ecx, al
mov byte [esp + 0x17], dl
shl ecx, 7
movzx edx, dl
add ecx, edx
movzx edx, byte [esp + 0x19]
and bl, 0x7f
mov byte [esp + 0x16], al
movzx eax, bl
shl ecx, 7
add ecx, eax
shl ecx, 7
mov byte [esp + 0x18], bl
add ecx, edx
mov edi, 1
mov ebx, ebp
call fcn.00401cb0
push ebp
push 4
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.0042666c
add esp, 0x10
cmp eax, 4
jne 0x402a72
mov bl, byte [esp + 0x15]
lea ecx, [esp + 0x14]
call fcn.00402660
test eax, eax
je 0x4028d4
push ebp
push 2
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.0042666c
add esp, 0x10
cmp eax, 2
jne 0x402a72
movzx edi, byte [esp + 0x15]
movzx edx, byte [esp + 0x14]
shl edi, 8
add edi, edx
cmp dword [0x47be78], 0xa
jge 0x4028a3
push edi
push str.Album_ID_found.__length_i__n
call fcn.00425de9
add eax, 0x40
push eax
call fcn.00425b9c
add esp, 0xc
lea ecx, [edi - 6]
mov edi, 1
mov ebx, ebp
call fcn.00401cb0
push ebp
push 4
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.0042666c
add esp, 0x10
cmp eax, 4
je 0x4028d0
or eax, 0xffffffff
jmp 0x402a86
mov bl, byte [esp + 0x15]
cmp byte [esp + 0x14], 0xff
mov cl, byte [esp + 0x17]
jne 0x402a47
mov dl, bl
and dl, 0xe0
cmp dl, 0xe0
jne 0x402a47
mov al, bl
and al, 0x18
cmp al, 8
je 0x402a47
mov al, bl
and al, 6
je 0x402a47
cmp al, 6
je 0x402a47
cmp al, 4
je 0x402a47
cmp al, 2
jne 0x402a47
cmp dword [0x47be38], 6
jne 0x402a47
mov al, byte [esp + 0x16]
mov dl, al
and dl, 0xf0
cmp dl, 0xf0
je 0x402a4b
mov dl, al
and dl, 0xc
cmp dl, 0xc
je 0x402a4b
mov dl, cl
and dl, 3
cmp dl, 2
je 0x402a4b
test al, 0xf0
jne 0x402985
cmp dword [0x47be78], 0xa
jge 0x40297d
push str.Input_file_is_freeformat._n
call fcn.00425de9
add eax, 0x40
push eax
call fcn.00425b9c
add esp, 8
mov dword [esp + 0x10], 1
push 0x47be70
push 0x47be20
push esi
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x988]
push edx
lea eax, [esp + 0x28]
push 4
push eax
call fcn.0040c670
add esp, 0x1c
cmp eax, 0xffffffff
je 0x402a72
cmp dword [esi], 0
jne 0x402a0f
lea ecx, [ecx]
push ebp
push 0x64
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.0042666c
add esp, 0x10
cmp eax, 0x64
jne 0x402a72
push 0x47be70
push 0x47be20
push esi
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x988]
push eax
lea ecx, [esp + 0x28]
push 0x64
push ecx
call fcn.0040c670
add esp, 0x1c
cmp eax, 0xffffffff
je 0x402a72
cmp dword [esi], 0
je 0x4029c0
cmp dword [esi + 0xc], 0
jne 0x402a77
cmp dword [esp + 0x10], 0
jne 0x402a77
cmp dword [0x47be78], 0xa
jge 0x402a3b
push str.fail_to_sync..._n
call fcn.00425de9
add eax, 0x40
push eax
call fcn.00425b9c
add esp, 8
push esi
push ebp
call fcn.00402700
add esp, 8
jmp 0x402a86
mov al, byte [esp + 0x16]
push ebp
push 1
mov byte [esp + 0x1d], al
lea eax, [esp + 0x1f]
push 1
push eax
mov byte [esp + 0x24], bl
mov byte [esp + 0x26], cl
call fcn.0042666c
add esp, 0x10
cmp eax, 1
je 0x4028d0
or eax, 0xffffffff
jmp 0x402a86
cmp dword [esi + 0x20], 0
jg 0x402a84
mov dword [esi + 0x1c], 0xffffffff
xor eax, eax
mov ecx, dword [esp + 0x1278]
pop edi
pop ebx
pop esi
pop ebp
xor ecx, esp
call fcn.00426065
add esp, 0x126c
ret