Function at 0x530e30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58fcab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x289c
call fcn.0054e3f0
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 0
mov byte [ebp - 0x11], 1
call fcn.005323b0
mov ecx, dword [esi + 0x1c]
xor eax, eax
mov edi, 0x2710
cmp ecx, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], eax
mov ebx, 0x14
jg 0x530ea3
jl 0x53111a
cmp dword [esi + 0x18], ebx
jb 0x53111a
mov edx, dword [esi + 0xc]
lea eax, [ebp - 0x18]
push 0
push eax
lea ecx, [ebp - 0x134]
push 4
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x531456
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x531456
lea ecx, [ebp - 0x19c]
call fcn.00532b20
cmp eax, 8
mov dword [ebp - 0x1c], eax
je 0x531016
mov eax, dword [esi + 0x1c]
test eax, eax
jg 0x530efd
jl 0x53111a
cmp dword [esi + 0x18], 0xa
jb 0x53111a
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0x28]
push 0
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x530f29
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x530f29
push eax
push str.SetFilePointer___error__ld_in_CFormatParsing::PreCheckMp3___r_n
jmp 0x531462
mov ecx, dword [esi + 0xc]
lea edx, [ebp - 0x18]
push 0
push edx
lea eax, [ebp - 0x6c]
push 0xa
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x531456
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x531456
lea ecx, [ebp - 0x19c]
call fcn.00532830
mov edi, eax
test edi, edi
jbe 0x531469
mov edx, dword [esi + 0x1c]
xor eax, eax
lea ecx, [edi + 0xa]
cmp eax, edx
mov dword [ebp - 0x20], ecx
jl 0x530f85
jg 0x53111a
cmp ecx, dword [esi + 0x18]
ja 0x53111a
cmp edi, 0x19000
ja 0x531469
push edi
call fcn.0056649c
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x530fb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.new_operator_failed_in_CFormatParsing::PreCheckMp3____lastError__ld_r_n
jmp 0x531462
mov eax, dword [esi + 0xc]
lea edx, [ebp - 0x18]
push 0
push edx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x53105a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x53105a
mov eax, dword [ebp - 0x1c]
sub eax, 0x101
je 0x530ff6
dec eax
jne 0x531007
push edi
push ebx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 0x11], 0
call fcn.00532ba0
jmp 0x531007
push edi
push ebx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 0x11], 0
call fcn.00532860
push ebx
call fcn.005664c5
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x20]
add esp, 4
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
xor ecx, ecx
add ebx, 0x2710
cmp ecx, eax
jl 0x531080
jg 0x53102e
cmp ebx, edx
jbe 0x531080
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x53107b
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.005324b0
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadFile___error__ld_in_CFormatParsing::PreCheckMp3___r_n
mov ecx, esi
call fcn.00531d50
push ebx
call fcn.005664c5
add esp, 4
jmp 0x531469
mov edi, edx
mov dword [ebp - 0x2c], eax
mov ecx, dword [esi + 0xc]
push 0
push 0
push 0
push ecx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x5310ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x5310ad
push eax
push str.SetFilePointer___error__ld_in_CFormatParsing::PreCheckMp3___r_n
jmp 0x531462
mov ecx, dword [esi + 0xc]
lea edx, [ebp - 0x18]
push 0
push edx
lea eax, [ebp - 0x28ac]
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x531456
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x531456
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28ac]
push edx
push edi
push eax
lea ecx, [ebp - 0x19c]
call fcn.00532a70
mov edi, eax
test edi, edi
je 0x531469
lea ecx, [ebp - 0x19c]
call fcn.005327e0
mov edx, dword [esi + 0x1c]
add eax, edi
lea ecx, [ebx + eax + 0x10]
xor eax, eax
cmp eax, edx
jl 0x531149
jg 0x53111a
cmp ecx, dword [esi + 0x18]
jbe 0x531149
mov esi, dword [esi + 0x10]
lea ecx, [ebp - 0x19c]
neg esi
sbb esi, esi
mov byte [ebp - 4], 0
and esi, 0xfffffffe
add esi, 3
call fcn.005324b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x19c]
call fcn.005327e0
mov edx, dword [esi + 0xc]
lea ecx, [ebp - 0x28]
push 0
push ecx
mov ecx, dword [ebp - 0x1c]
add eax, edi
add eax, ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x531186
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x531186
push eax
push str.SetFilePointer___error__ld_in_CFormatParsing::PreCheckMp3___r_n
jmp 0x531462
mov edx, dword [esi + 0xc]
lea eax, [ebp - 0x18]
push 0
push eax
lea ecx, [ebp - 0xfc]
push 0x10
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x531456
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x531456
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
push eax
push ecx
lea ecx, [ebp - 0x19c]
call fcn.00532520
mov edx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x194]
push edx
lea ebx, [esi + 8]
push eax
push str.MP3:__dkbs___dHz
push ebx
mov dword [ebp - 0x20], ebx
call fcn.00562ecb
mov esi, dword [ebp - 0x18c]
mov edi, dword [ebp - 0x188]
mov ecx, esi
add esp, 0x10
or ecx, edi
je 0x5312f3
mov dword [ebp - 0x2c], 0x59ac38
test edi, edi
mov byte [ebp - 4], 2
jg 0x53122a
jl 0x531212
test esi, esi
jae 0x53122a
mov edx, dword [0x63ee98]
lea eax, [ebp - 0x54]
push edx
push eax
call fcn.0054ea2a
add esp, 8
jmp 0x5312d8
push 0
push 0x3c
push edi
push esi
call fcn.0054fde0
mov ebx, eax
mov ecx, esi
cdq
sub ecx, eax
mov eax, edi
sbb eax, edx
push 0
push 0x3c
push eax
push ecx
call fcn.0054fd30
push 0
push 0x3c
push edx
push eax
call fcn.0054fde0
push 0
push 0xe10
push edi
push esi
mov dword [ebp - 0x1c], eax
call fcn.0054fd30
test edx, edx
jg 0x5312c4
jl 0x531274
cmp eax, 0x2710
ja 0x5312c4
test eax, eax
je 0x531292
mov ecx, dword [ebp - 0x1c]
mov edx, dword [0x63eef0]
push ecx
push eax
lea eax, [ebp - 0x54]
push edx
push eax
call fcn.0054ea2a
add esp, 0x10
jmp 0x5312d5
mov eax, dword [ebp - 0x1c]
push ebx
test eax, eax
je 0x5312b0
mov ecx, dword [0x63eeec]
push eax
lea edx, [ebp - 0x54]
push ecx
push edx
call fcn.0054ea2a
add esp, 0x10
jmp 0x5312d5
mov eax, dword [0x63eee8]
lea ecx, [ebp - 0x54]
push eax
push ecx
call fcn.0054ea2a
add esp, 0xc
jmp 0x5312d5
lea edx, [ebp - 0x54]
push 0x615dcc
push edx
call fcn.0054ea2a
add esp, 8
mov ebx, dword [ebp - 0x20]
push 0x63ef58
mov ecx, ebx
call fcn.0056a4b2
lea eax, [ebp - 0x54]
mov ecx, ebx
push eax
call fcn.0056a476
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14c]
call fcn.00562ede
mov ecx, dword [ebp - 0x14c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x531325
push 0x63ef54
mov ecx, ebx
call fcn.0056a4b2
lea edx, [ebp - 0x14c]
mov ecx, ebx
push edx
call fcn.0056a4b2
lea ecx, [ebp - 0x144]
call fcn.00562ede
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x531357
push 0x63ef50
mov ecx, ebx
call fcn.0056a4b2
lea ecx, [ebp - 0x144]
push ecx
mov ecx, ebx
call fcn.0056a4b2
lea ecx, [ebp - 0x148]
call fcn.00562ede
mov edx, dword [ebp - 0x148]
mov eax, dword [edx - 8]
test eax, eax
je 0x531389
push 0x63ef4c
mov ecx, ebx
call fcn.0056a4b2
lea eax, [ebp - 0x148]
mov ecx, ebx
push eax
call fcn.0056a4b2
lea ecx, [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0056a16e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00562ede
mov edx, dword [ebp - 0x24]
mov eax, dword [edx - 8]
test eax, eax
je 0x5313c5
push 0x63115c
mov ecx, ebx
call fcn.0056a476
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.0056a4b2
lea ecx, [ebp - 0x140]
call fcn.00562ede
mov ecx, dword [ebp - 0x140]
mov eax, dword [ecx - 8]
test eax, eax
je 0x5313f7
push 0x63ef48
mov ecx, ebx
call fcn.0056a4b2
lea edx, [ebp - 0x140]
mov ecx, ebx
push edx
call fcn.0056a4b2
mov al, byte [ebp - 0x11]
mov byte [ebp - 4], 1
test al, al
lea ecx, [ebp - 0x24]
je 0x53142c
call fcn.0056a100
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.005324b0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0056a100
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.005324b0
mov eax, 5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadFile___error__ld_in_CFormatParsing::PreCheckMp3___r_n
mov ecx, esi
call fcn.00531d50
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.005324b0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret