Function at 0x4524d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
mov eax, dword [0x5eef00]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
push edi
xor esi, esi
push 0x78
mov edi, ecx
push esi
push ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call fcn.004b3a80
add esp, 0xc
lea eax, [esp + 0x38]
push eax
push edi
call fcn.00478880
add esp, 8
test eax, eax
je 0x45254a
push edi
push str.no_such_file__s
push esi
push str.aiff_get_metadata
push pe_nt_image_headers32
push 3
call fcn.0048d750
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004b2f95
add esp, 0x60
ret
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov edx, ecx
or edx, ebx
jne 0x452560
push edi
push str.file__s_length_0
jmp 0x452522
mov eax, dword [esp + 0x40]
cdq
mov dword [ebp], eax
mov eax, edi
mov dword [ebp + 4], edx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], ebx
call fcn.00436700
mov ebx, eax
cmp ebx, esi
mov dword [esp + 0x24], ebx
jne 0x45258a
push edi
push str.cant_open_file__s
jmp 0x452522
lea esi, [esp + 0x28]
mov ecx, ebx
call fcn.00452250
test eax, eax
jne 0x4525b3
mov eax, ebx
call fcn.004367c0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004b2f95
add esp, 0x60
ret
xor ecx, ecx
cmp dword [esp + 0x2c], ecx
mov eax, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jl 0x4527a4
jg 0x4525e0
cmp dword [esp + 0x28], eax
jbe 0x4527a4
jmp 0x4525e0
cmp ecx, dword [esp + 0x54]
jg 0x4527a4
jl 0x4525f6
cmp eax, dword [esp + 0x50]
jae 0x4527a4
push 0
push ecx
push eax
push ebx
mov byte [esp + 0x74], 0
mov dword [esp + 0x75], 0
call fcn.00478b70
push 4
lea eax, [esp + 0x78]
push eax
push ebx
call fcn.00478bb0
add esp, 0x1c
cmp eax, 4
jne 0x45277c
mov edi, str.FVER
lea esi, [esp + 0x64]
mov ecx, 5
xor edx, edx
mov byte [esp + 0x68], 0
repe cmpsb byte [esi], byte es:[edi]
jne 0x45264d
add dword [esp + 0x10], 0xc
adc dword [esp + 0x14], edx
jmp 0x452755
mov edi, str.COMM
lea esi, [esp + 0x64]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x452683
mov ecx, dword [esp + 0x24]
push ebp
lea ebx, [esp + 0x14]
call fcn.004520a0
add esp, 4
test eax, eax
je 0x45279c
mov ebx, dword [esp + 0x24]
jmp 0x452755
mov edi, str.NAME
lea esi, [esp + 0x64]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x45269c
lea ecx, [ebp + 0x1c]
jmp 0x4526e5
mov edi, str.AUTH
lea esi, [esp + 0x64]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4526b5
lea ecx, [ebp + 0x28]
jmp 0x4526e5
mov edi, str._c_
lea esi, [esp + 0x64]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4526ce
lea ecx, [ebp + 0x2c]
jmp 0x4526e5
mov edi, str.ANNO
lea esi, [esp + 0x64]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4526ff
lea ecx, [ebp + 0x24]
lea eax, [esp + 0x10]
push eax
push ecx
mov edi, ebx
call fcn.00451f80
add esp, 8
test eax, eax
je 0x4527a0
jmp 0x452755
mov edi, str.ID3
lea esi, [esp + 0x64]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x45272e
push ebx
lea ebx, [esp + 0x34]
lea edi, [esp + 0x14]
call fcn.00452400
add esp, 4
test eax, eax
je 0x45279c
mov ebx, dword [esp + 0x24]
jmp 0x452755
lea esi, [esp + 0x20]
mov ecx, ebx
mov dword [esp + 0x20], 0
call fcn.00451ef0
test eax, eax
je 0x4527a0
mov eax, dword [esp + 0x20]
add eax, 8
cdq
add dword [esp + 0x10], eax
adc dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x2c]
jg 0x4527a0
jl 0x45276b
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x28]
jae 0x4527a0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
jmp 0x4525e0
push eax
push 5
push str.read_error__expected__d__got__d
push 0
push str.aiff_get_chunk_id
push pe_nt_image_headers32
push 3
call fcn.0048d750
add esp, 0x1c
jmp 0x4527a4
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov eax, ebx
call fcn.004367c0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov edx, ecx
or edx, eax
je 0x452831
xor edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
lea edx, [ebp + 0x70]
push edx
lea edx, [ebp + 0x6c]
push edx
lea edx, [esp + 0x24]
push edx
lea edx, [ebp + 0x64]
push edx
lea edx, [ebp + 0x60]
push edx
lea edx, [ebp + 0x5c]
push edx
lea edx, [ebp + 0x58]
push edx
lea edx, [ebp + 0x54]
push edx
lea edx, [esp + 0x50]
push edx
lea edx, [ebp + 0x50]
push edx
lea edx, [ebp + 0x4c]
push edx
lea edx, [ebp + 0x48]
push edx
lea edx, [esp + 0x50]
push edx
lea edx, [ebp + 0x44]
push edx
lea edx, [ebp + 0x40]
push edx
lea edx, [ebp + 0x3c]
push edx
lea edx, [ebp + 0x38]
push edx
lea edx, [ebp + 0x34]
push edx
lea edx, [ebp + 0x30]
push edx
add ebp, 0x1c
push ebp
push eax
push ecx
call fcn.0043b6d0
mov eax, dword [esp + 0x78]
add esp, 0x58
test eax, eax
je 0x452831
push eax
call fcn.00477540
add esp, 4
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b2f95
add esp, 0x60
ret