Function at 0x49d8c0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x3c
push esi
mov esi, ecx
mov ecx, dword [0x653474]
call fcn.0041c970
test eax, eax
jne 0x49ddcc
push edi
push eax
push 0x80
push 3
push eax
push 3
push bind
push str.snd_efmon_a.spac
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x49d909
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 0x3c
ret
push ebx
push ebp
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x653470]
push eax
push str.snd_efmon_a.spac
call fcn.00462c20
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x28]
push ecx
push edi
call ebx
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x18], 0
jbe 0x49d9fe
push 0
lea edx, [esp + 0x18]
push edx
push 2
lea eax, [esp + 0x1c]
push eax
push edi
call ebx
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x2c
lea edx, [esp + 0x2c]
push edx
push edi
call ebx
test eax, eax
je 0x49ddc2
movzx edx, word [esp + 0x40]
mov ecx, dword [esp + 0x48]
xor eax, eax
mov ax, 1
cmp ax, word [esp + 0x36]
mov ebp, ecx
sbb eax, eax
neg eax
push eax
movzx eax, word [esp + 0x46]
push edx
mov edx, dword [esp + 0x40]
push eax
movzx eax, word [esp + 0x1c]
push edx
push ecx
shl eax, 5
lea ecx, [eax + esi + 0x1e8]
push ecx
mov ecx, esi
call fcn.0049cbe0
test eax, eax
jne 0x49d9c6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x49d9e9
movzx edx, word [esp + 0x10]
push 0x2c
push ebp
shl edx, 5
push edi
lea eax, [edx + esi + 0x1e8]
push eax
mov ecx, esi
call fcn.0049cca0
test eax, eax
je 0x49dae6
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x49d950
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebp
push 0
push 0x80
push 3
push 0
push 3
push bind
push str.snd_efmon_h.spac
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x49dca2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x653470]
push eax
push str.snd_efmon_h.spac
call fcn.00462c20
push 0
lea eax, [esp + 0x20]
push eax
push 4
lea ecx, [esp + 0x20]
push ecx
push edi
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], 0
jbe 0x49db39
mov edi, edi
push 0
lea edx, [esp + 0x20]
push edx
push 2
lea eax, [esp + 0x1c]
push eax
push edi
call ebx
push 0
lea ecx, [esp + 0x20]
push ecx
push 0x2c
lea edx, [esp + 0x2c]
push edx
push edi
call ebx
test eax, eax
je 0x49ddc2
movzx edx, word [esp + 0x40]
mov ecx, dword [esp + 0x48]
xor eax, eax
mov ax, 1
cmp ax, word [esp + 0x36]
mov ebp, ecx
sbb eax, eax
neg eax
push eax
movzx eax, word [esp + 0x46]
push edx
mov edx, dword [esp + 0x40]
push eax
movzx eax, word [esp + 0x1c]
push edx
push ecx
shl eax, 5
lea ecx, [eax + esi + 0x1d0]
push ecx
mov ecx, esi
call fcn.0049cbe0
test eax, eax
jne 0x49db01
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x49db24
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx ecx, word [esp + 0x10]
shl ecx, 5
lea esi, [ecx + esi + 0x1e8]
jmp 0x49dcc4
movzx edx, word [esp + 0x10]
push 0x2c
push ebp
shl edx, 5
push edi
lea eax, [edx + esi + 0x1d0]
push eax
mov ecx, esi
call fcn.0049cca0
test eax, eax
je 0x49dc26
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x49da70
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebp
push 0
push 0x80
push 3
push 0
push 3
push bind
push str.snd_efmon_d.spac
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x49dca2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x653470]
push eax
push str.snd_efmon_d.spac
call fcn.00462c20
push 0
lea eax, [esp + 0x20]
push eax
push 4
lea ecx, [esp + 0x20]
push ecx
push edi
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], 0
jbe 0x49dc75
lea esp, [esp]
push 0
lea edx, [esp + 0x20]
push edx
push 2
lea eax, [esp + 0x1c]
push eax
push edi
call ebx
push 0
lea ecx, [esp + 0x20]
push ecx
push 0x2c
lea edx, [esp + 0x2c]
push edx
push edi
call ebx
test eax, eax
je 0x49ddc2
movzx edx, word [esp + 0x40]
mov ecx, dword [esp + 0x48]
xor eax, eax
mov ax, 1
cmp ax, word [esp + 0x36]
mov ebp, ecx
sbb eax, eax
neg eax
push eax
movzx eax, word [esp + 0x46]
push edx
mov edx, dword [esp + 0x40]
push eax
movzx eax, word [esp + 0x1c]
push edx
push ecx
shl eax, 5
lea ecx, [eax + esi + 0x1d8]
push ecx
mov ecx, esi
call fcn.0049cbe0
test eax, eax
jne 0x49dc41
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x49dc60
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx ecx, word [esp + 0x10]
shl ecx, 5
lea esi, [ecx + esi + 0x1d0]
jmp 0x49dcc4
movzx edx, word [esp + 0x10]
push 0x2c
push ebp
shl edx, 5
push edi
lea eax, [edx + esi + 0x1d8]
push eax
mov ecx, esi
call fcn.0049cca0
test eax, eax
je 0x49dcae
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x49dbb0
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebp
push 0
push 0x80
push 3
push 0
push 3
push bind
push str.snd_efmon_o.spac
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x49dcde
push 0xffffffffffffffff
call ebp
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x3c
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx ecx, word [esp + 0x10]
shl ecx, 5
lea esi, [ecx + esi + 0x1d8]
mov eax, dword [esi]
test eax, eax
je 0x49ddc9
mov esi, eax
mov edx, dword [esi]
push esi
call dword [edx + 8]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x3c
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x653470]
push eax
push str.snd_efmon_o.spac
call fcn.00462c20
push 0
lea eax, [esp + 0x20]
push eax
push 4
lea ecx, [esp + 0x20]
push ecx
push edi
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], 0
jbe 0x49ddc2
lea ecx, [ecx]
push 0
lea edx, [esp + 0x20]
push edx
push 2
lea eax, [esp + 0x1c]
push eax
push edi
call ebx
push 0
lea ecx, [esp + 0x20]
push ecx
push 0x2c
lea edx, [esp + 0x2c]
push edx
push edi
call ebx
test eax, eax
je 0x49ddc2
movzx edx, word [esp + 0x40]
mov ecx, dword [esp + 0x48]
xor eax, eax
mov ax, 1
cmp ax, word [esp + 0x36]
mov ebp, ecx
sbb eax, eax
neg eax
push eax
movzx eax, word [esp + 0x46]
push edx
mov edx, dword [esp + 0x40]
push eax
movzx eax, word [esp + 0x1c]
add eax, 0xf
push edx
shl eax, 5
push ecx
add eax, esi
push eax
mov ecx, esi
call fcn.0049cbe0
test eax, eax
jne 0x49dd90
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x49ddad
movzx ecx, word [esp + 0x10]
push 0x2c
add ecx, 0xf
push ebp
shl ecx, 5
add ecx, esi
push edi
push ecx
mov ecx, esi
call fcn.0049cca0
test eax, eax
je 0x49ddd1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x49dd20
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x3c
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx edx, word [esp + 0x10]
add edx, 0xf
shl edx, 5
mov eax, dword [esi + edx]
add esi, edx
test eax, eax
je 0x49ddc9
mov esi, eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x3c
ret