Function at 0x43a51a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1274
call fcn.00430a90
and dword [esp + 8], 0
xor eax, eax
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
push 0xa
pop ecx
mov edi, ebx
mov dword [esp + 0xc], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [0x478258]
mov dword [esp + 0x10], esi
test ecx, ecx
je 0x43a556
call fcn.0043cc78
call fcn.0043cc8f
mov edx, dword [0x4779d4]
mov dword [0x478258], eax
cmp edx, 0xa
jge 0x43a572
mov ecx, 0x40300c
jmp 0x43a574
xor ecx, ecx
test eax, eax
je 0x43a583
mov dword [eax + 0x55e4], ecx
mov eax, dword [0x478258]
cmp edx, 0xa
jge 0x43a58f
mov ecx, 0x43a0eb
jmp 0x43a591
xor ecx, ecx
test eax, eax
je 0x43a5ae
mov dword [eax + 0x55ec], ecx
mov eax, dword [0x478258]
test eax, eax
je 0x43a5ae
mov dword [eax + 0x55e8], 0x43a0d7
push esi
xor edi, edi
lea eax, [esp + 0x1c]
push 4
inc edi
push edi
push eax
call fcn.0041ab7a
add esp, 0x10
cmp eax, 4
je 0x43a5cf
or eax, 0xffffffff
jmp 0x43a841
cmp byte [esp + 0x18], 0x49
jne 0x43a6c0
cmp byte [esp + 0x19], 0x44
jne 0x43a6bc
cmp byte [esp + 0x1a], 0x33
jne 0x43a6bc
push esi
push 6
lea eax, [esp + 0x24]
push edi
push eax
call fcn.0041ab7a
add esp, 0x10
cmp eax, 6
jne 0x43a5c7
movzx ebx, byte [esp + 0x1e]
mov ecx, dword [esp + 0x1f]
push 0x7f
pop edx
and ebx, edx
movzx eax, cl
shl ebx, 7
and eax, edx
add ebx, eax
movzx eax, ch
shl ebx, 7
and eax, edx
add ebx, eax
movzx eax, byte [esp + 0x21]
shl ebx, 7
and eax, edx
add ebx, eax
cmp dword [0x478294], edi
jae 0x43a68c
lea eax, [ebx + 0xa]
push eax
mov dword [0x478294], eax
call fcn.0041b2f8
mov dword [0x478298], eax
pop ecx
test eax, eax
je 0x43a685
mov edi, eax
lea esi, [esp + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [esp + 0x10]
xor edi, edi
mov eax, dword [0x478298]
inc edi
push esi
push ebx
add eax, 0xa
push edi
push eax
call fcn.0041ab7a
add esp, 0x10
cmp eax, ebx
jne 0x43a5c7
xor ebx, ebx
jmp 0x43a68c
and dword [0x478294], 0
push ecx
mov edx, ebx
mov ecx, esi
call fcn.0043a2ae
pop ecx
push esi
push 4
lea eax, [esp + 0x20]
push edi
push eax
call fcn.0041ab7a
add esp, 0x10
cmp eax, 4
jne 0x43a5c7
cmp byte [esp + 0x18], 0x49
je 0x43a5da
mov ebx, dword [esp + 0xc]
push 4
lea eax, [esp + 0x1c]
push 0x454e04
push eax
call fcn.00431475
add esp, 0xc
test eax, eax
jne 0x43a741
push esi
push 2
lea eax, [esp + 0x20]
push edi
push eax
call fcn.0041ab7a
add esp, 0x10
cmp eax, 2
jne 0x43a5c7
movzx esi, byte [esp + 0x19]
movzx eax, byte [esp + 0x18]
shl esi, 8
add esi, eax
cmp dword [0x4779d4], 9
jge 0x43a717
push esi
push str.Album_ID_found.__length_i__n
call fcn.0040638d
pop ecx
pop ecx
lea edx, [esi - 6]
mov esi, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0043a2ae
pop ecx
push esi
push 4
lea eax, [esp + 0x20]
push edi
push eax
call fcn.0041ab7a
add esp, 0x10
cmp eax, 4
jne 0x43a5c7
lea ecx, [esp + 0x18]
call fcn.0043a3cf
test eax, eax
jne 0x43a774
lea esi, [esp + 0x19]
lea edi, [esp + 0x18]
movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x1b]
movsb byte es:[edi], byte [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
xor edi, edi
push esi
inc edi
push edi
push edi
push eax
call fcn.0041ab7a
add esp, 0x10
cmp eax, edi
jmp 0x43a73b
test byte [esp + 0x1a], 0xf0
jne 0x43a791
cmp dword [0x4779d4], 9
jge 0x43a795
push str.Input_file_is_freeformat._n
call fcn.0040638d
pop ecx
jmp 0x43a795
mov edi, dword [esp + 0x14]
push dword [ebp + 0xc]
lea eax, [esp + 0x84]
push dword [ebp + 8]
push ebx
push eax
lea eax, [esp + 0x990]
push eax
push 4
jmp 0x43a7e4
push esi
push 0x64
lea eax, [esp + 0x20]
push 1
push eax
call fcn.0041ab7a
add esp, 0x10
cmp eax, 0x64
jne 0x43a5c7
push dword [ebp + 0xc]
lea eax, [esp + 0x84]
push dword [ebp + 8]
push ebx
push eax
lea eax, [esp + 0x990]
push eax
push 0x64
mov ecx, dword [0x478258]
lea edx, [esp + 0x30]
call fcn.0043cbff
add esp, 0x18
cmp eax, 0xffffffff
je 0x43a5c7
cmp dword [ebx], 0
je 0x43a7b0
cmp dword [ebx + 0xc], 0
jne 0x43a835
test edi, edi
jne 0x43a835
cmp dword [0x4779d4], 0xa
jge 0x43a822
push str.fail_to_sync..._n
call fcn.0043a0b8
pop ecx
push dword [ebp + 0xc]
mov edx, ebx
mov ecx, esi
push dword [ebp + 8]
call fcn.0043a51a
pop ecx
pop ecx
jmp 0x43a841
cmp dword [ebx + 0x20], 0
jg 0x43a83f
or dword [ebx + 0x1c], 0xffffffff
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret