Function at 0x4073c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push esi
push edi
push ebx
sub esp, 0x134
xor edx, edx
mov eax, dword [0x52cfb4]
xor eax, esp
mov dword [esp + 0x110], eax
mov ecx, dword [section..data]
mov eax, dword [0x52ef34]
mov dword [0x52eea0], edx
mov dword [0x52eeb4], edx
mov dword [0x52eea4], ecx
mov dword [0x52eea8], eax
cmp dword [0x52c004], 1
je 0x407416
mov dword [0x52eeac], 1
jmp 0x407420
mov dword [0x52eeac], 0
xor eax, eax
mov dword [0x52eeb0], eax
mov dword [0x52eec4], eax
mov dword [0x52eeb8], eax
mov dword [0x52eebc], eax
mov dword [0x52ef00], eax
mov dword [0x52ef04], eax
mov eax, dword [0x52ef30]
cmp eax, 4
je 0x4077e1
cmp eax, 5
je 0x4077e1
cmp eax, 6
je 0x4077e1
cmp eax, 7
je 0x4077e1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00415620
add esp, 8
mov esi, 0x4b45a4
mov edi, dword [ebp + 0xc]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x40749e
test dl, dl
je 0x40749a
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x40749e
add edi, 2
add esi, 2
test dl, dl
jne 0x40747e
xor eax, eax
jmp 0x4074a3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4074c0
push 0
call fcn.0049ba21
mov dword [esp + 0x3c], eax
push dword [esp + 0x3c]
call fcn.004098f0
add esp, 8
jmp 0x4074e0
push 0x4b4900
mov eax, dword [ebp + 0xc]
push eax
call fcn.00409eb0
mov dword [esp + 0x40], eax
add esp, 8
cmp dword [esp + 0x38], 0
je 0x4082a0
mov edi, dword [0x52ef30]
cmp edi, 8
jne 0x40753f
cmp dword [0x52ef48], 0xa
jl 0x407e23
push 0
call fcn.0049ba21
add esp, 4
cmp eax, dword [esp + 0x38]
je 0x40752c
cmp dword [esp + 0x38], 0
je 0x40752c
push dword [esp + 0x38]
call fcn.0049bcd7
add esp, 4
test eax, eax
je 0x40752c
cmp dword [0x52ef48], 0xa
jl 0x407e11
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov edi, dword [0x52ef30]
jmp 0x4077d3
cmp edi, 1
jne 0x407591
cmp dword [0x52ef48], 9
jge 0x407582
push str.Assuming_raw_pcm_input_file
call fcn.00402270
add esp, 4
cmp dword [0x52ef34], 0
je 0x40756f
push str._:_Forcing_byte_swapping_n
call fcn.00402270
jmp 0x407579
push 0x4b496c
call fcn.00402270
add esp, 4
mov edi, dword [0x52ef30]
mov eax, dword [0x52ef34]
mov dword [0x52eea8], eax
jmp 0x4076af
mov dword [esp + 0x50], 0
lea eax, [esp + 0x50]
push dword [esp + 0x38]
push 4
push 1
push eax
call fcn.0049c145
add esp, 0x10
movzx ebx, byte [esp + 0x50]
movzx eax, byte [esp + 0x51]
shl ebx, 0x18
shl eax, 0x10
movzx edx, byte [esp + 0x52]
or ebx, eax
shl edx, 8
or ebx, edx
movzx ecx, byte [esp + 0x53]
or ebx, ecx
mov dword [0x52eea0], 0
cmp dword [0x52c004], 1
je 0x4075f0
mov dword [0x52eeac], 1
jmp 0x4075fa
mov dword [0x52eeac], 0
cmp ebx, 0x52494646
je 0x407645
cmp ebx, 0x464f524d
je 0x40761c
cmp dword [0x52ef48], 0xa
jl 0x407e35
jmp 0x4076a7
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x38]
call fcn.00405d60
test eax, eax
jle 0x40763d
mov dword [0x52eea0], 1
mov edi, 3
jmp 0x4076a9
jl 0x407e47
jmp 0x4076a7
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x38]
call fcn.004056e0
cmp eax, 7
je 0x40828c
test eax, eax
jle 0x4076a1
push dword [ebp + 8]
call fcn.00415650
add esp, 4
cmp eax, 0xffffffff
je 0x407683
cmp dword [0x52ef40], 1
je 0x407683
mov dword [0x52eea0], 1
jmp 0x40769a
push 0xffffffffffffffff
push dword [ebp + 8]
mov dword [0x52eea0], 0
call fcn.00415620
add esp, 8
mov edi, 2
jmp 0x4076a9
jl 0x40826d
xor edi, edi
mov dword [0x52ef30], edi
cmp edi, 7
je 0x407e78
test edi, edi
je 0x407791
push dword [ebp + 8]
call fcn.00415650
add esp, 4
cmp eax, 0xffffffff
jne 0x407785
push 0
call fcn.0049ba21
add esp, 4
cmp eax, dword [esp + 0x38]
je 0x407785
push dword [ebp + 8]
call fcn.004156f0
mov ebx, eax
push dword [esp + 0x3c]
call fcn.0049d740
mov edx, eax
lea eax, [esp + 0x88]
push eax
push edx
call fcn.0049d37f
add esp, 0x10
test eax, eax
mov eax, 0xffffffff
pxor xmm4, xmm4
cmove eax, dword [esp + 0x94]
pxor xmm0, xmm0
cvtsi2sd xmm4, eax
comisd xmm4, xmm0
jb 0x407785
test ebx, ebx
jle 0x407785
add ebx, ebx
pxor xmm0, xmm0
cvtsi2sd xmm0, ebx
divsd xmm4, xmm0
movsd xmm1, qword [0x4b44d0]
movaps xmm2, xmm4
movaps xmm3, xmm1
cmpnltsd xmm2, xmm1
cmplesd xmm3, xmm4
movd eax, xmm2
andps xmm3, xmm1
subsd xmm4, xmm3
cvttsd2si edx, xmm4
and eax, 0x80000000
add edx, eax
push edx
push dword [ebp + 8]
call fcn.00415620
add esp, 8
mov dword [0x52eea0], 0
xor esi, esi
mov edi, dword [0x52ef30]
xor ebx, ebx
jmp 0x4077d3
push 0
call fcn.0049ba21
add esp, 4
cmp eax, dword [esp + 0x38]
je 0x4077cb
cmp dword [esp + 0x38], 0
je 0x4077cb
push dword [esp + 0x38]
call fcn.0049bcd7
add esp, 4
test eax, eax
je 0x4077c5
cmp dword [0x52ef48], 0xa
jl 0x407e66
mov edi, dword [0x52ef30]
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x38]
mov dword [0x52eeb8], eax
jmp 0x407cd1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00415620
add esp, 8
mov esi, 0x4b45a4
mov edi, dword [ebp + 0xc]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x407816
test dl, dl
je 0x407812
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x407816
add edi, 2
add esi, 2
test dl, dl
jne 0x4077f6
xor eax, eax
jmp 0x40781b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x407833
push 0
call fcn.0049ba21
mov edi, eax
push edi
call fcn.004098f0
add esp, 8
jmp 0x40784e
push 0x4b4900
mov eax, dword [ebp + 0xc]
push eax
call fcn.00409eb0
mov edi, eax
add esp, 8
test edi, edi
je 0x407cb2
call fcn.0041ed90
pxor xmm0, xmm0
movdqu xmmword [0x5410ec], xmm0
movdqu xmmword [0x5410fc], xmm0
movq qword [0x54110c], xmm0
mov eax, dword [0x52eec4]
test eax, eax
je 0x407881
push eax
call fcn.00417530
add esp, 4
call fcn.00417550
mov dword [0x52eec4], eax
mov eax, dword [eax]
test eax, eax
je 0x407c71
mov dword [esp], eax
mov dword [esp + 4], 2
pxor xmm0, xmm0
mov dword [esp + 8], 0x80000
movsd qword [esp + 0xc], xmm0
call fcn.00417720
mov eax, dword [0x52eec4]
pxor xmm0, xmm0
mov edx, dword [eax]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 0x20
movsd qword [esp + 0xc], xmm0
call fcn.00417720
mov eax, dword [0x52eec4]
push dword [eax]
call fcn.0041ffb0
push 0xd0
mov eax, dword [0x52eec4]
push 3
push 0
push dword [eax]
call fcn.00420200
add esp, 0x14
test eax, eax
jne 0x407c71
push fcn.00442be0
mov eax, dword [0x52eec4]
push 0x406eb0
push 0x406e90
push dword [eax]
call fcn.00419250
add esp, 0x10
test eax, eax
jne 0x407c71
mov eax, dword [0x52eec4]
push edi
push dword [eax]
call fcn.00419170
add esp, 8
test eax, eax
jne 0x407c71
xor eax, eax
mov edx, dword [0x52eec4]
push eax
push eax
push dword [edx]
call fcn.00418320
add esp, 0xc
test eax, eax
jne 0x407c71
mov eax, dword [0x52eec4]
push dword [eax]
call fcn.0041ddf0
mov dword [0x54110c], eax
mov eax, dword [0x52eec4]
push dword [eax]
call fcn.0041e240
add esp, 8
cmp eax, 0x7fffffff
ja 0x407c71
mov dword [0x541108], eax
lea ebx, [esp + 0x3c]
push 0
mov eax, dword [0x52eec4]
push ebx
push 5
push dword [eax]
call fcn.004178f0
mov esi, dword [esp + 0x4c]
push 0
mov eax, dword [0x52eec4]
push ebx
push 6
push dword [eax]
call fcn.004178f0
add esp, 0x20
mov eax, dword [0x52ef04]
mov ebx, dword [esp + 0x3c]
test eax, eax
je 0x4079d9
push eax
call fcn.0049bf3e
add esp, 4
mov ecx, dword [0x52eec4]
lea eax, [esp + 0x44]
lea edx, [esp + 0x40]
push eax
push edx
xor eax, eax
push eax
push eax
push dword [ecx]
mov dword [0x52ef00], eax
call fcn.0041ecc0
add esp, 0x14
test eax, eax
jne 0x407a47
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], eax
test eax, eax
je 0x407a47
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
test eax, eax
je 0x407a47
push dword [esp + 0x20]
call fcn.0049d38a
add esp, 4
mov dword [0x52ef04], eax
test eax, eax
je 0x407a47
push dword [esp + 0x20]
push dword [esp + 0x28]
push eax
call fcn.0048a330
add esp, 0xc
mov eax, dword [esp + 0x44]
mov dword [0x52ef00], eax
mov edx, dword [0x52eec4]
lea eax, [esp + 0xb0]
push eax
push dword [edx]
call fcn.0041bec0
add esp, 8
test eax, eax
jne 0x407c75
mov ecx, dword [0x52eec4]
lea eax, [esp + 0x38]
lea edx, [esp + 0x34]
push 0
push eax
push edx
push dword [ecx]
call fcn.0041c7c0
add esp, 0x10
test eax, eax
jne 0x407c75
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [0x5410f4], edx
mov edx, dword [0x52eec4]
mov dword [0x5410f0], eax
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
mov dword [0x5410ec], 1
mov dword [0x5410fc], ecx
mov dword [0x541100], eax
push dword [edx]
call fcn.00424d30
add esp, 4
mov dword [0x541104], eax
mov eax, dword [esp + 0xd0]
mov dword [0x5410f8], eax
cmp dword [0x52ef30], 7
je 0x4082ef
mov eax, dword [0x5410f0]
mov dword [esp + 0x20], eax
cmp dword [ebp + 8], 0
je 0x407b59
push dword [esp + 0x20]
push dword [ebp + 8]
call fcn.004156c0
add esp, 8
cmp eax, 0xffffffff
jne 0x407b24
cmp dword [0x52ef48], 0xa
jl 0x4082c3
jmp 0x407c82
mov eax, dword [0x52ef3c]
test eax, eax
cmove eax, dword [0x5410f4]
mov dword [esp + 0x20], eax
push eax
push dword [ebp + 8]
call fcn.00415670
add esp, 8
cmp eax, 0xffffffff
jne 0x407b59
cmp dword [0x52ef48], 0xa
jl 0x4082d9
jmp 0x407c82
push dword [0x541108]
push dword [ebp + 8]
call fcn.00415620
push dword [ebp + 8]
call fcn.00415650
add esp, 0xc
cmp eax, 0xffffffff
jne 0x407cc5
push 0
call fcn.0049ba21
add esp, 4
cmp edi, eax
je 0x407cc5
push edi
call fcn.0049d740
mov edx, eax
lea eax, [esp + 0xe4]
push eax
push edx
call fcn.0049d37f
add esp, 0xc
test eax, eax
mov eax, 0xffffffff
pxor xmm1, xmm1
cmove eax, dword [esp + 0xf4]
pxor xmm0, xmm0
cvtsi2sd xmm1, eax
comisd xmm1, xmm0
jb 0x407cc5
mov eax, dword [0x5410f8]
mov dword [esp + 0x28], eax
test eax, eax
jle 0x407cc5
push dword [ebp + 8]
movsd qword [esp + 0x24], xmm1
call fcn.004156a0
movsd xmm1, qword [esp + 0x24]
movsd xmm5, qword [0x4b44d8]
pxor xmm0, xmm0
mulsd xmm5, xmm1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [esp + 0x2c]
cvtsi2sd xmm0, eax
mulsd xmm1, qword [0x4b44e0]
divsd xmm5, xmm1
mulsd xmm5, xmm0
movsd xmm2, qword [0x4b44d0]
movaps xmm3, xmm5
movaps xmm4, xmm2
cmpnltsd xmm3, xmm2
cmplesd xmm4, xmm5
movd eax, xmm3
andps xmm4, xmm2
subsd xmm5, xmm4
cvttsd2si edx, xmm5
and eax, 0x80000000
add edx, eax
mov dword [esp + 0x24], edx
push edx
push dword [ebp + 8]
call fcn.00415620
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [0x541108], eax
mov dword [0x52eea0], 0
jmp 0x407cc5
xor esi, esi
xor ebx, ebx
cmp dword [0x52ef48], 0xa
jl 0x408348
push 0
call fcn.0049ba21
add esp, 4
cmp edi, eax
je 0x407cae
test edi, edi
je 0x407cae
push edi
call fcn.0049bcd7
add esp, 4
test eax, eax
je 0x407cae
cmp dword [0x52ef48], 0xa
jl 0x408336
xor edi, edi
jmp 0x407cc5
cmp dword [0x52ef48], 0xa
jl 0x40837a
xor esi, esi
xor ebx, ebx
xor edi, edi
mov dword [0x52eeb8], edi
mov edi, dword [0x52ef30]
lea ecx, [0x5410e4]
mov edx, dword [ecx]
xor eax, eax
test edx, edx
movdqu xmm1, xmmword [0x4b4494]
movdqu xmm0, xmmword [0x4b44b0]
mov dword [0x52eec8], eax
mov dword [0x52eecc], eax
movdqu xmmword [0x52eed0], xmm0
mov dword [0x52eee0], eax
mov dword [0x52eee4], eax
mov dword [0x52eee8], eax
lea eax, [0x52eeec]
mov dword [eax], 2
movdqu xmmword [eax + 4], xmm1
cmovne edx, dword [ecx - 4]
dec edi
cmp edi, 6
ja 0x407d7e
movzx eax, byte [edi + str.GGG]
add eax, 0x407d37
jmp eax
xor ebx, ebx
xor eax, eax
test edx, edx
push dword [ebp + 8]
cmovle edx, eax
test ebx, ebx
mov dword [0x52eedc], edx
invalid
dec edi