Function at 0x42b36c
Capabilities:
Read file on windows

Disassembly:
push 0x328
push 0x4867a0
call fcn.0043f610
mov edi, dword [ebp + 8]
mov dword [ebp - 0x338], edi
mov esi, dword [ebp + 0xc]
mov ebx, 0x104
push ebx
push 0
lea eax, [ebp - 0x324]
push eax
call fcn.00440bf0
push ebx
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.00440bf0
push 0x1e8
push str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateSound.c
push edi
call fcn.0042b29b
add esp, 0x24
test eax, eax
je 0x42bbb2
push esi
call fcn.0042dd5b
pop ecx
test eax, eax
lea eax, [ebp - 0x120]
jne 0x42b3e3
push ebx
push esi
push eax
call fcn.0042f204
add esp, 0xc
jmp 0x42b3ea
push eax
call fcn.0042d261
pop ecx
xor esi, esi
mov ebx, esi
mov dword [ebp - 0x32c], ebx
lea eax, [ebp - 0x120]
push eax
call fcn.0042dd5b
pop ecx
test eax, eax
jne 0x42b541
lea eax, [ebp - 0x120]
push eax
call fcn.0041007a
pop ecx
test eax, eax
jne 0x42b48a
mov ebx, 0x591080
push ebx
call fcn.0042dd5b
pop ecx
test eax, eax
jne 0x42b50c
push ebx
call fcn.0044a680
mov ecx, 0x103
sub ecx, eax
push ecx
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x324]
push eax
call fcn.0042f204
push ebx
lea eax, [ebp - 0x324]
push eax
call fcn.0042dfe8
lea eax, [ebp - 0x324]
push eax
call fcn.0041007a
add esp, 0x1c
test eax, eax
je 0x42b4ce
push 0x104
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0042f204
add esp, 0xc
push esi
push esi
lea eax, [ebp - 0x120]
push eax
call fcn.00410d3c
add esp, 0xc
mov ebx, eax
mov dword [ebp - 0x32c], ebx
test ebx, ebx
jne 0x42b58f
cmp dword [0x591188], esi
jne 0x42bbb2
lea eax, [ebp - 0x120]
push eax
push str.:5:LoadSound___s___FAILED:_GetFileSizeTimeOut___FAILED.
call fcn.0040d324
pop ecx
jmp 0x42bbb1
cmp dword [0x591184], esi
jne 0x42bbb2
cmp dword [0x4968b8], esi
je 0x42bbb2
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x120]
push eax
push str.:2:LoadSound___s___FAILED:_The_file_could_not_be_found__Tried_default_directory___s_
call fcn.0040d7f3
add esp, 0xc
mov dword [0x4968b8], esi
jmp 0x42bbb2
cmp dword [0x591184], esi
jne 0x42bbb2
cmp dword [0x4968bc], esi
je 0x42bbb2
lea eax, [ebp - 0x120]
push eax
push str.:2:LoadSound___s___FAILED:_The_file_could_not_be_found__No_default_directory_has_been_defined.
call fcn.0040d7f3
pop ecx
mov dword [0x4968bc], esi
jmp 0x42bbb1
test ebx, ebx
jne 0x42b58f
push 0x222
push str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateSound.c
push edi
call fcn.0042b29b
add esp, 0xc
test eax, eax
je 0x42b587
push edi
call fcn.0042bbc4
pop ecx
test eax, eax
je 0x42b587
push str.LoadSound1
push edi
call fcn.0042bbe4
mov dword [edi + 0x104], esi
push edi
call fcn.0042d261
push edi
call fcn.0042c739
add esp, 0x10
xor eax, eax
inc eax
jmp 0x42bbb4
push 0x230
push str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateSound.c
push 0x4634fc
lea eax, [ebp - 0x120]
push eax
call fcn.00412892
add esp, 0x10
mov esi, eax
test esi, esi
jne 0x42b5d9
cmp dword [0x591188], eax
jne 0x42bbb2
push ebx
lea eax, [ebp - 0x120]
push eax
push str.:5:LoadSound___s___FAILED:_The_file_of_size__ld_exists_but_cannot_be_opened__
call fcn.0040d324
add esp, 0xc
jmp 0x42bbb2
xor eax, eax
mov dword [ebp - 0x330], eax
push esi
call fcn.00444590
push eax
call fcn.0042ed0b
pop ecx
pop ecx
cmp eax, 0x52
jne 0x42b632
push esi
call fcn.00444590
push eax
call fcn.0042ed0b
pop ecx
pop ecx
cmp eax, 0x49
jne 0x42b632
push esi
call fcn.00444590
push eax
call fcn.0042ed0b
pop ecx
pop ecx
cmp eax, 0x46
jne 0x42b632
push esi
call fcn.00444590
push eax
call fcn.0042ed0b
pop ecx
pop ecx
cmp eax, 0x46
jne 0x42b632
xor ebx, ebx
inc ebx
jmp 0x42b63b
xor ebx, ebx
inc ebx
mov dword [ebp - 0x330], ebx
push esi
call fcn.00444590
push esi
call fcn.00444590
push esi
call fcn.00444590
push esi
call fcn.00444590
push esi
call fcn.00444590
push eax
call fcn.0042ed0b
add esp, 0x18
cmp eax, 0x57
jne 0x42b6a0
push esi
call fcn.00444590
push eax
call fcn.0042ed0b
pop ecx
pop ecx
cmp eax, 0x41
jne 0x42b6a0
push esi
call fcn.00444590
push eax
call fcn.0042ed0b
pop ecx
pop ecx
cmp eax, 0x56
jne 0x42b6a0
push esi
call fcn.00444590
push eax
call fcn.0042ed0b
pop ecx
pop ecx
cmp eax, 0x45
je 0x42b6a4
mov eax, ebx
jmp 0x42b6aa
mov eax, dword [ebp - 0x330]
test eax, eax
je 0x42b6c9
cmp dword [0x591188], 0
jne 0x42bbab
lea eax, [ebp - 0x120]
push eax
push str.LoadSound___s___FAILED:_The_wave_file_is_invalid:_The_RIFF_Chunk_was_not_found.
jmp 0x42b6f4
push ebx
push str.fmt
push esi
call fcn.00410af1
add esp, 0xc
test eax, eax
jne 0x42b700
cmp dword [0x591188], eax
jne 0x42bbab
lea eax, [ebp - 0x120]
push eax
push str.LoadSound___s___FAILED:_The_wave_file_is_invalid:_The_Format_Chunk_was_not_found.
call fcn.0040d324
pop ecx
pop ecx
jmp 0x42bbab
and dword [ebp - 0x328], 0
push esi
push ebx
push 4
lea eax, [ebp - 0x328]
push eax
call fcn.00444a17
add esp, 0x10
cmp eax, ebx
jne 0x42bb88
cmp dword [ebp - 0x328], 0x10
jb 0x42bb88
push dword [ebp - 0x328]
push ebx
call fcn.0044a2f4
pop ecx
pop ecx
mov dword [ebp - 0x334], eax
test eax, eax
jne 0x42b76f
cmp dword [0x591188], eax
jne 0x42bbab
push dword [ebp - 0x328]
lea eax, [ebp - 0x120]
push eax
push str.:6:LoadSound___s___FAILED:_Could_not_allocate__ld_bytes_for_the_wave_format_header_struct.
call fcn.0040d324
jmp 0x42bba8
push esi
push dword [ebp - 0x328]
push ebx
push eax
call fcn.00444a17
add esp, 0x10
cmp eax, dword [ebp - 0x328]
je 0x42b7b5
cmp dword [0x591188], 0
jne 0x42bb80
push eax
push dword [ebp - 0x328]
lea eax, [ebp - 0x120]
push eax
push str.:7:LoadSound___s___FAILED:_Could_not_read_the_Format_Chunk_of_size__ld_from_the_file.__Only__ld_bytes_could_be_read.
call fcn.0040d324
add esp, 0x10
jmp 0x42bb80
push ebx
push str.data
push esi
call fcn.00410af1
add esp, 0xc
test eax, eax
jne 0x42b7ec
cmp dword [0x591188], eax
jne 0x42bb80
lea eax, [ebp - 0x120]
push eax
push str.LoadSound___s___FAILED:_The_wave_file_is_invalid:_The_Format_Chunk_was_not_found.
call fcn.0040d324
pop ecx
pop ecx
jmp 0x42bb80
and dword [ebp - 0x328], 0
push esi
push ebx
push 4
lea eax, [ebp - 0x328]
push eax
call fcn.00444a17
add esp, 0x10
cmp eax, ebx
jne 0x42bb5d
cmp dword [ebp - 0x328], 0
je 0x42bb5d
push dword [ebp - 0x328]
call fcn.0044a70b
pop ecx
mov dword [ebp - 0x330], eax
test eax, eax
jne 0x42b859
cmp dword [0x591188], eax
jne 0x42bb80
push dword [ebp - 0x328]
lea eax, [ebp - 0x120]
push eax
push str.:7:LoadSound___s___FAILED:_The_file_is_too_large_for_memory:_Could_not_allocate__ld_bytes_for_wave_data.
call fcn.0040d324
jmp 0x42bb7d
push esi
push dword [ebp - 0x328]
push ebx
push eax
call fcn.00444a17
add esp, 0x10
cmp eax, dword [ebp - 0x328]
je 0x42b8b9
cmp dword [0x591188], 0
jne 0x42b896
push eax
push dword [ebp - 0x328]
lea eax, [ebp - 0x120]
push eax
push str.:7:LoadSound___s___FAILED:_Wave_data_size_should_be__ld_but_only__ld_bytes_could_be_read.
call fcn.0040d324
add esp, 0x10
mov eax, dword [ebp - 0x330]
push eax
call fcn.0044a2ff
mov eax, dword [ebp - 0x334]
push eax
call fcn.0044a2ff
push esi
call fcn.00412707
jmp 0x42b5d1
push esi
call fcn.00412707
mov dword [esp], 0x2aa
push str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateSound.c
push edi
call fcn.0042b29b
add esp, 0xc
test eax, eax
je 0x42bb40
push edi
call fcn.0042bbc4
pop ecx
test eax, eax
je 0x42bb40
push str.LoadSound
push edi
call fcn.0042bbe4
pop ecx
pop ecx
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x330]
mov dword [edi + 0x108], eax
mov eax, dword [ebp - 0x328]
mov dword [edi + 0x10c], eax
mov eax, dword [ebp - 0x334]
mov dword [edi + 0x110], eax
push 0x104
lea eax, [ebp - 0x120]
push eax
push edi
call fcn.0042f204
mov eax, dword [ebp - 0x32c]
mov dword [edi + 0x104], eax
lea esi, [edi + 0x114]
push 0x20
push 0
push esi
call fcn.00440bf0
add esp, 0x18
mov eax, dword [ebp - 0x328]
mov dword [edi + 0x118], eax
mov eax, dword [edi + 0x108]
mov dword [esi], eax
and dword [edi + 0x120], 0
lea esi, [edi + 0x434]
and dword [esi], 0
push 0x30000
push edi
push 0x42c759
push dword [edi + 0x110]
push 0xffffffffffffffff
push esi
call dword [sym.imp.WINMM.dll_waveOutOpen]
mov dword [ebp - 0x32c], eax
test eax, eax
je 0x42ba5b
mov esi, 0x100
push esi
push 0
lea eax, [ebp - 0x220]
push eax
call fcn.00440bf0
push dword [ebp - 0x32c]
push str.Err_ld
push 0xf6
lea eax, [ebp - 0x220]
push eax
call fcn.0042ef5e
lea eax, [ebp - 0x220]
push eax
call fcn.0044a680
add esp, 0x20
sub esi, eax
push esi
lea eax, [ebp - 0x220]
push eax
call fcn.0044a680
pop ecx
lea ecx, [ebp - 0x220]
add eax, ecx
push eax
mov esi, dword [ebp - 0x32c]
push esi
call dword [sym.imp.WINMM.dll_waveOutGetErrorTextA]
cmp dword [0x5912a4], esi
je 0x42ba1b
and dword [0x5912a8], 0
mov dword [0x5912a4], esi
xor eax, eax
jmp 0x42ba26
mov eax, dword [0x5912a8]
inc eax
mov dword [0x5912a8], eax
cmp dword [0x591184], 0
jne 0x42ba4f
cmp eax, 2
jg 0x42ba4f
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x120]
push eax
push str.:4:LoadSound___s___encountered_a_problem:_The_initial_sound_instance_could_not_be_queued_because_waveOutOpen___FAILED:__s
call fcn.0040d7f3
add esp, 0xc
and dword [edi + 0x434], 0
jmp 0x42bb02
push 0x20
lea eax, [edi + 0x114]
push eax
push dword [esi]
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
mov dword [ebp - 0x32c], eax
test eax, eax
je 0x42bb02
mov esi, 0x100
push esi
push 0
lea eax, [ebp - 0x220]
push eax
call fcn.00440bf0
push dword [ebp - 0x32c]
push str.Err_ld
push 0xf6
lea eax, [ebp - 0x220]
push eax
call fcn.0042ef5e
lea eax, [ebp - 0x220]
push eax
call fcn.0044a680
add esp, 0x20
sub esi, eax
push esi
lea eax, [ebp - 0x220]
push eax
call fcn.0044a680
pop ecx
lea ecx, [ebp - 0x220]
add eax, ecx
push eax
push dword [ebp - 0x32c]
call dword [sym.imp.WINMM.dll_waveOutGetErrorTextA]
cmp dword [0x591184], 0
jne 0x42bb02
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x120]
push eax
push str.:4:LoadSound___s___encountered_a_problem:_The_initial_sound_instance_could_not_be_queued_because_waveOutPrepareHeader___FAILED:__s
call fcn.0040d7f3
add esp, 0xc
mov dword [ebp - 4], 0xfffffffe
jmp 0x42bb35
push edi
call fcn.0042c739
pop ecx
mov eax, ebx
jmp 0x42bbb4
mov eax, dword [ebp - 0x330]
push eax
call fcn.0044a2ff
mov eax, dword [ebp - 0x334]
push eax
call fcn.0044a2ff
jmp 0x42b4c8
cmp dword [0x591184], 0
jne 0x42bb80
push dword [ebp - 0x328]
lea eax, [ebp - 0x120]
push eax
push str.:6:LoadSound___s___FAILED:_The_file_format_is_invalid._The_Data_Chunk_size___ld__could_not_be_read.
call fcn.0040d7f3
add esp, 0xc
push esi
call fcn.00412707
jmp 0x42bb4c
cmp dword [0x591184], 0
jne 0x42bbab
push dword [ebp - 0x328]
lea eax, [ebp - 0x120]
push eax
push str.:6:LoadSound___s___FAILED:_The_file_format_is_invalid._The_Format_Chunk_size___ld__could_not_be_read.
call fcn.0040d7f3
add esp, 0xc
push esi
call fcn.00412707
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret