Function at 0x10001860
Capabilities:
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100682b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
push 0x1005e1c0
push 0x17
push ebx
push 0x1005e1b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x100018d0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x100019ab
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x100019ab
mov dword [ebp - 0x18], ebx
lea edx, [ebp - 0x18]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 1
push ebx
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebx
jge 0x1000191b
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10001900
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x100019ab
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x100019ab
mov dword [ebp - 0x1c], ebx
lea edx, [ebp - 0x1c]
push edx
push ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push 0x17
push 0x1005e1d0
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jge 0x10001952
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x100018ed
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x100018ed
mov dword [ebp - 0x20], ebx
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ebx
push ebx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push ebx
push 1
push eax
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x1000193d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x1000193d
call dword [sym.imp.ole32.dll_OleUninitialize]
push str.DSound.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
jne 0x100019cf
push str.DSound.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
je 0x10001a07
push str.DirectSoundCreate
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, eax
cmp esi, ebx
je 0x10001a0d
lea eax, [ebp - 0x20]
push eax
push 0x40
push 3
push esi
mov dword [ebp - 0x20], ebx
call edi
mov word [ebp - 0x14], 0xcc2
mov cx, word [ebp - 0x14]
mov word [esi], cx
mov byte [esi + 2], bl
jmp 0x10001a0d
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push str.winmm.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
jne 0x10001a2b
push str.winmm.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
je 0x10001a5b
push str.midiStreamOpen
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x10001a5b
lea edx, [ebp - 0x20]
push edx
push 0x40
push 3
push esi
mov dword [ebp - 0x20], ebx
call edi
mov word [ebp - 0x14], 0x18c2
mov ax, word [ebp - 0x14]
mov word [esi], ax
mov byte [esi + 2], bl
push str.winmm.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
jne 0x10001a79
push str.winmm.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
je 0x10001aa9
push str.waveOutWrite
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x10001aa9
lea ecx, [ebp - 0x20]
push ecx
push 0x40
push 3
push esi
mov dword [ebp - 0x20], ebx
call edi
mov word [ebp - 0x14], 0xcc2
mov dx, word [ebp - 0x14]
mov word [esi], dx
mov byte [esi + 2], bl
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
jne 0x10001ac7
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
je 0x10001af9
push 0x1005e198
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x10001af9
lea eax, [ebp - 0x24]
push eax
push 0x40
push 3
push esi
mov dword [ebp - 0x24], ebx
call edi
mov word [ebp - 0x14], 0x4c2
mov cx, word [ebp - 0x14]
xor al, al
mov word [esi], cx
mov byte [esi + 2], al
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4