Function at 0x44d8d0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46e22b
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx]
push edi
test eax, eax
je 0x44db20
call fcn.0044be50
mov eax, dword [esp + 0x38]
push 0
push 0x80
push 3
push 0
push 1
push DirectSoundCreate
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44d92f
mov ecx, ebx
call fcn.0044be50
xor eax, eax
jmp 0x44db41
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x20]
push 0x10
push edx
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x44db12
cmp dword [esp + 0x10], 0x10
jne 0x44db12
mov ebp, 0x475d10
lea esi, [esp + 0x18]
mov cl, byte [esi]
mov dl, byte [ebp]
mov al, cl
cmp cl, dl
jne 0x44d989
test al, al
je 0x44d985
mov dl, byte [esi + 1]
mov cl, byte [ebp + 1]
mov al, dl
cmp dl, cl
jne 0x44d989
add esi, 2
add ebp, 2
test al, al
jne 0x44d960
xor eax, eax
jmp 0x44d98e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44db12
push eax
lea eax, [esp + 0x14]
lea esi, [ebx + 0x80]
push eax
push 4
push esi
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
mov ebp, dword [esi]
test ebp, ebp
jle 0x44dadd
mov ecx, ebp
shl ecx, 4
add ecx, ebp
shl ecx, 4
add ecx, 4
push ecx
call fcn.00461b30
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x30], 0
je 0x44da01
push fcn.0044af70
mov dword [eax], ebp
push fcn.0044af50
add eax, 4
push ebp
push 0x110
push eax
mov dword [esp + 0x4c], eax
call fcn.004617d7
mov eax, dword [esp + 0x38]
jmp 0x44da03
xor eax, eax
xor ebp, ebp
mov dword [esp + 0x30], 0xffffffff
cmp eax, ebp
mov dword [ebx + 0x84], eax
je 0x44db12
cmp dword [esi], ebp
jle 0x44da4a
mov dword [esp + 0x38], ebp
mov ecx, dword [esp + 0x38]
mov eax, dword [ebx + 0x84]
push edi
add ecx, eax
call fcn.0044b210
mov ecx, dword [esp + 0x38]
mov eax, dword [esi]
inc ebp
add ecx, 0x110
cmp ebp, eax
mov dword [esp + 0x38], ecx
jl 0x44da23
mov edx, dword [esi]
shl edx, 2
push edx
push 0
call dword [sym.imp.kernel32.dll_GlobalAlloc]
test eax, eax
mov dword [ebx + 0x88], eax
je 0x44db12
mov edx, dword [esi]
mov ebp, dword [sym.imp.kernel32.dll_ReadFile]
lea ecx, [esp + 0x10]
push 0
shl edx, 2
push ecx
push edx
push eax
push edi
call ebp
mov eax, dword [esi]
shl eax, 2
push eax
push 0
call dword [sym.imp.kernel32.dll_GlobalAlloc]
test eax, eax
mov dword [ebx + 0x8c], eax
je 0x44db12
mov edx, dword [esi]
lea ecx, [esp + 0x10]
push 0
push ecx
shl edx, 2
push edx
push eax
push edi
call ebp
mov eax, dword [esi]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
push eax
push 0
call dword [sym.imp.kernel32.dll_GlobalAlloc]
test eax, eax
mov dword [ebx + 0x90], eax
je 0x44db12
mov esi, dword [esi]
lea ecx, [esp + 0x10]
push 0
push ecx
lea ecx, [esi + esi*4]
lea edx, [ecx + ecx*4]
shl edx, 2
push edx
push eax
push edi
call ebp
jmp 0x44dae3
mov ebp, dword [sym.imp.kernel32.dll_ReadFile]
lea eax, [esp + 0x10]
push 0
lea esi, [ebx + 0x94]
push eax
push 4
push esi
push edi
call ebp
mov eax, dword [esi]
test eax, eax
jle 0x44db35
shl eax, 4
push eax
push 0
call dword [sym.imp.kernel32.dll_GlobalAlloc]
test eax, eax
mov dword [ebx + 0x98], eax
jne 0x44db24
mov ecx, ebx
call fcn.0044be50
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
jmp 0x44db41
mov edx, dword [esi]
lea ecx, [esp + 0x10]
push 0
push ecx
shl edx, 4
push edx
push eax
push edi
call ebp
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4