Function at 0x5d55d0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x6646e3
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov ebp, ecx
lea ecx, [esp + 0x3c]
call fcn.005d5c50
xor ebx, ebx
mov dword [esp + 0x190], ebx
cmp dword [ebp + 0x1c], ebx
jg 0x5d5658
jl 0x5d562f
cmp dword [ebp + 0x18], 0x80
jae 0x5d5658
xor eax, eax
cmp dword [ebp + 0x14], ebx
sete al
lea eax, [eax + eax + 1]
mov esi, eax
mov dword [esp + 0x190], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.005d5ad0
mov eax, esi
jmp 0x5d5aa8
mov ecx, dword [ebp + 0x10]
push 2
push ebx
push 0xffffffffffffff80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
or edi, 0xffffffff
cmp eax, edi
jne 0x5d5685
call esi
cmp eax, ebx
je 0x5d5685
push eax
push str.SetFilePointer___error__ld_in_CFormatParsing::GetLastMp3___r_n
jmp 0x5d5a8c
mov ecx, dword [ebp + 0x10]
push ebx
lea edx, [esp + 0x20]
push edx
push 0x80
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x5d5a84
cmp dword [esp + 0x1c], ebx
je 0x5d5a84
lea ecx, [esp + 0x3c]
call fcn.005d5d60
cmp eax, 0x51
jne 0x5d5a93
xor edx, edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov word [esp + 0x34], dx
mov byte [esp + 0x190], 1
lea ecx, [esp + 0x8c]
call fcn.00548090
mov eax, dword [esp + 0x8c]
cmp dword [eax - 0xc], ebx
je 0x5d5771
xor ecx, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x28], cx
mov byte [esp + 0x190], 2
mov edx, dword [0x75ad10]
mov eax, dword [0x75bec4]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.00401980
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x5d572e
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
call fcn.00405300
mov ecx, dword [esp + 0x8c]
push ebx
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401980
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x5d5756
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
call fcn.00405300
mov byte [esp + 0x190], 1
lea ecx, [esp + 0x24]
call fcn.00401210
lea ecx, [esp + 0x94]
call fcn.00548090
mov edx, dword [esp + 0x94]
cmp dword [edx - 0xc], ebx
je 0x5d5806
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x28], ax
mov byte [esp + 0x190], 3
mov ecx, dword [0x75ad10]
mov edx, dword [0x75bec8]
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.00401980
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x5d57c3
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
call fcn.00405300
mov eax, dword [esp + 0x94]
push ebx
push eax
lea ecx, [esp + 0x2c]
call fcn.00401980
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x5d57eb
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
call fcn.00405300
mov byte [esp + 0x190], 1
lea ecx, [esp + 0x24]
call fcn.00401210
lea ecx, [esp + 0x90]
call fcn.00548090
mov ecx, dword [esp + 0x90]
cmp dword [ecx - 0xc], ebx
je 0x5d589a
xor edx, edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x28], dx
mov byte [esp + 0x190], 4
mov eax, dword [0x75ad10]
mov ecx, dword [0x75becc]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401980
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x5d5857
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
call fcn.00405300
mov edx, dword [esp + 0x90]
push ebx
push edx
lea ecx, [esp + 0x2c]
call fcn.00401980
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x5d587f
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
call fcn.00405300
mov byte [esp + 0x190], 1
lea ecx, [esp + 0x24]
call fcn.00401210
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x18]
call fcn.004030b0
mov byte [esp + 0x190], 5
lea ecx, [esp + 0x14]
call fcn.00548090
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebx
je 0x5d5930
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x5d58d1
lea eax, [esp + 0x34]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x5d58d4
sub eax, edx
sar eax, 1
je 0x5d58f3
push 0x6b43b0
lea ecx, [esp + 0x34]
call fcn.00405300
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
call fcn.00406f80
mov byte [esp + 0x190], 6
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x5d5915
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
call fcn.00405300
mov byte [esp + 0x190], 5
lea ecx, [esp + 0x24]
call fcn.00401210
lea ecx, [esp + 0x98]
call fcn.00548090
mov eax, dword [esp + 0x98]
cmp dword [eax - 0xc], ebx
je 0x5d59c4
xor ecx, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x28], cx
mov byte [esp + 0x190], 7
mov edx, dword [0x75ad10]
mov eax, dword [0x75bed0]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.00401980
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x5d5981
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
call fcn.00405300
mov ecx, dword [esp + 0x98]
push ebx
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401980
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x5d59a9
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
call fcn.00405300
mov byte [esp + 0x190], 5
lea ecx, [esp + 0x24]
call fcn.00401210
lea ecx, [esp + 0x18]
call fcn.00402500
mov byte [esp + 0x190], 8
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x5d59e1
lea eax, [esp + 0x34]
push ebx
push ebx
push ebx
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push eax
push ebx
push 0xfde9
call edi
mov esi, eax
cmp esi, ebx
jle 0x5d5a3a
push esi
lea ecx, [esp + 0x1c]
call fcn.00402850
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
jne 0x5d5a11
lea ecx, [esp + 0x34]
push ebx
push ebx
push esi
push eax
push 0xffffffffffffffff
push ecx
push ebx
push 0xfde9
call edi
mov edx, dword [esp + 0x18]
push edx
mov byte [ebp + 0xc], 1
push 0x675ea0
add ebp, 8
push ebp
call fcn.00402f70
add esp, 0xc
mov byte [esp + 0x190], 5
lea ecx, [esp + 0x18]
call fcn.00402570
mov byte [esp + 0x190], 1
lea ecx, [esp + 0x14]
call fcn.00402570
mov byte [esp + 0x190], bl
lea ecx, [esp + 0x30]
call fcn.00401210
mov dword [esp + 0x190], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.005d5ad0
xor eax, eax
jmp 0x5d5aa8
call esi
push eax
push str.ReadFile___error__ld_in_CFormatParsing::GetLastMp3___r_n
mov ecx, ebp
call fcn.005d5b70
mov dword [esp + 0x190], edi
lea ecx, [esp + 0x3c]
call fcn.005d5ad0
mov eax, 1
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.0061d2ff
add esp, 0x180
ret