Function at 0x429b00
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x24
mov dword [esp], ecx
push ebx
push esi
push edi
push ebp
xor edi, edi
mov esi, dword [esp + 0x38]
lea eax, [esi + 0x12]
cmp byte [eax], 0
jne 0x429b28
mov eax, 0xfffffff9
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
cmp word [esi + 2], 1
jne 0x429bcb
push 0x20
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
cmp eax, 0xffffffff
mov ebx, eax
jne 0x429b52
mov eax, 0xfffffff8
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
push 2
push 0
push ebx
call dword [sym.imp.KERNEL32.dll__llseek]
mov ebp, eax
push ebx
call dword [sym.imp.KERNEL32.dll__lclose]
cmp ebp, 0xffffffff
jne 0x429b7a
mov eax, 0xfffffff7
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
mov eax, dword [esi + 0x92]
cmp ebp, eax
jae 0x429b93
mov eax, 0xfffffff6
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
mov ecx, dword [esi + 0x96]
lea edx, [ecx + eax]
cmp edx, ebp
jbe 0x429baf
mov eax, 0xfffffff5
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
mov dword [esi + 0xae], eax
test ecx, ecx
jne 0x429bbf
mov dword [esi + 0x96], ebp
mov eax, dword [esi + 0x96]
mov dword [esi + 0xb2], eax
mov word [esp + 0x18], 1
mov ax, word [esi + 8]
mov cx, word [esi + 6]
mov word [esp + 0x1a], ax
xor eax, eax
mov ax, word [esi + 4]
mov word [esp + 0x26], cx
mov dword [esp + 0x1c], eax
xor eax, eax
xor ecx, ecx
mov ax, word [esp + 0x1a]
mov cx, word [esp + 0x26]
imul eax, ecx
cdq
and edx, 7
add eax, edx
mov word [esp + 0x28], 0
sar eax, 3
mov word [esp + 0x24], ax
mov eax, dword [esp + 0x24]
and eax, 0xffff
imul eax, dword [esp + 0x1c]
cmp word [esi + 2], 1
mov dword [esp + 0x20], eax
jne 0x429d28
mov ebx, dword [sym.imp.WINMM.dll_waveOutGetNumDevs]
call ebx
test eax, eax
jne 0x429c4c
mov eax, 0xffffffef
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
xor ebp, ebp
call ebx
test eax, eax
je 0x429d28
lea eax, [esp + 0x18]
push 1
push 0
push 0
push eax
push ebp
push 0
call dword [sym.imp.WINMM.dll_waveOutOpen]
mov edi, eax
test edi, edi
je 0x429c7e
inc ebp
call ebx
cmp eax, ebp
ja 0x429c58
jmp 0x429d28
call fcn.004500ae
mov ebx, dword [eax + 4]
call fcn.004500ae
add ebx, 0xd4
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0
mov eax, 0
je 0x429caa
call fcn.004500ae
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x429cb2
xor eax, eax
jmp 0x429cb5
mov eax, dword [eax + 0x1c]
push 0x10000
lea ecx, [esi + 0x9e]
push 0
push eax
lea eax, [esp + 0x24]
push eax
push ebp
push ecx
call dword [sym.imp.WINMM.dll_waveOutOpen]
mov edi, eax
test edi, edi
je 0x429ce5
mov eax, 0xfffffff1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
cmp dword [ebx + 0x88], 0
je 0x429d28
call fcn.004500ae
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0
mov eax, 0
je 0x429d11
call fcn.004500ae
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x1c]
call fcn.0044e597
mov ecx, dword [esi + 0x9e]
test eax, eax
mov dword [ebx + 0xf8], ecx
je 0x429d28
mov ecx, eax
call fcn.0041c6a0
test edi, edi
je 0x429d3b
mov eax, 0xffffffed
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
xor eax, eax
mov ecx, dword [esp + 0x10]
mov ax, word [ecx + 0xe0]
imul eax, dword [esp + 0x1c]
shr eax, 0x10
mov dword [esp + 0x14], eax
cmp eax, 1
jne 0x429d61
mov dword [esp + 0x14], 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
and eax, 0xffff
push 0x38
push 0x2042
mov dword [ecx + 0xdc], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
push 0x10000
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
xor ecx, ecx
mov dword [edi], ebx
lea edx, [edi + 0x18]
mov dword [edi + 4], edi
mov dword [edi + 8], ebp
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0x10000
mov dword [edi + 0x14], ecx
mov dword [edx], eax
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], ecx
mov dword [esi + 0xa6], edi
mov dword [esi + 0xaa], edi
mov dword [edi + 0x1c], 0x10000
cmp word [esi + 2], 1
jne 0x429e36
push 0x20
mov eax, dword [esi + 0x9e]
push edx
push eax
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
test eax, eax
je 0x429e32
mov eax, dword [edi + 8]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push eax
call ebp
mov ecx, dword [edi + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
push ecx
call ebx
mov ecx, dword [edi]
push ecx
call ebp
mov eax, dword [edi]
push eax
call ebx
mov eax, 0xfffffff0
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
or dword [edi + 0x28], 1
mov dword [esp + 0x30], 1
cmp dword [esp + 0x14], 1
jbe 0x429f0b
push 0x38
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
push 0x10000
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x2c], eax
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x2c]
mov dword [ebx], ebp
mov dword [ebx + 4], ebx
mov dword [ebx + 8], ecx
lea ecx, [ebx + 0x18]
mov dword [ebx + 0xc], eax
mov dword [edi + 0x14], ebx
mov edi, ebx
mov dword [ebx + 0x10], 0x10000
mov dword [ebx + 0x14], 0
mov dword [ecx], eax
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x1c], 0x10000
cmp word [esi + 2], 1
mov dword [esi + 0xaa], ebx
jne 0x429ef9
push 0x20
mov eax, dword [esi + 0x9e]
push ecx
push eax
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
test eax, eax
jne 0x429f82
or dword [ebx + 0x28], 1
inc dword [esp + 0x30]
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x14]
jb 0x429e49
cmp word [esi + 2], 1
mov edi, dword [esi + 0xa6]
jne 0x429f76
mov eax, dword [esi + 0x9e]
lea ebx, [edi + 0x18]
push eax
call dword [sym.imp.WINMM.dll_waveOutPause]
mov ecx, dword [esp + 0x10]
push ebx
push esi
call fcn.004298a0
mov ecx, dword [esp + 0x10]
push ebx
push esi
call fcn.00429ac0
mov edi, dword [edi + 0x14]
test edi, edi
je 0x429f69
lea ebx, [edi + 0x18]
mov ecx, dword [esp + 0x10]
push ebx
push esi
call fcn.004298a0
test eax, eax
je 0x429f69
mov ecx, dword [esp + 0x10]
push ebx
push esi
call fcn.00429ac0
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x429f45
mov eax, dword [esi + 0x9e]
push eax
call dword [sym.imp.WINMM.dll_waveOutRestart]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
mov edi, dword [esi + 0xa6]
test edi, edi
je 0x429fc8
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x20
lea eax, [edi + 0x18]
push eax
mov ecx, dword [esi + 0x9e]
push ecx
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
mov ecx, dword [edi + 8]
push ecx
call ebp
mov ecx, dword [edi + 8]
push ecx
call ebx
mov ecx, dword [edi]
push ecx
call ebp
mov ecx, dword [edi]
push ecx
call ebx
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x429f98
mov eax, 0xfffffff0
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4