Function at 0x409d00
Capabilities:
Access peb ldr_data
Capture microphone audio
Check os version
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x442652
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
xor eax, eax
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esp + 0x30], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
xor ecx, ecx
mov byte [esi + 0x34], al
cpuid
lea edi, [esp + 0x18]
pxor xmm0, xmm0
movq qword [esp + 0x1c], xmm0
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov eax, 1
mov dword [edi + 0xc], edx
mov byte [esp + 0x30], 3
cmp dword [esp + 0x18], eax
jl 0x409e05
xor ecx, ecx
cpuid
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov eax, dword [esp + 0x24]
test eax, 0x4000000
je 0x409df4
cmp dword [esp + 0x18], 7
jl 0x409de8
test dword [esp + 0x20], 0x10000000
je 0x409de8
call fcn.004011a2
test eax, eax
je 0x409de8
mov dword [0x454578], 0x401170
jmp 0x409e0f
mov dword [0x454578], 0x401140
jmp 0x409e0f
mov dword [0x454578], 0x401110
test eax, 0x800000
jne 0x409e0f
mov dword [0x454578], 0x4010d0
mov bl, byte [esp + 0x38]
pxor xmm0, xmm0
movq qword [esi], xmm0
movq qword [esi + 8], xmm0
movq qword [esi + 0x10], xmm0
movq qword [esi + 0x18], xmm0
movq qword [esi + 0x20], xmm0
xor edi, edi
movq qword [esi + 0x28], xmm0
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov byte [esi + 0x78], 0
cmp bl, 0xff
jae 0x409fde
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x454574], eax
cmp eax, edi
je 0x409fde
cmp bl, 0xfe
jae 0x409ea6
movzx ebp, bl
lea ebx, [esi + 0x40]
nop
mov eax, dword [edi*4 + 0x4540d4]
push 0x30000
push 0
push 0x409760
push 0x4540c0
mov dword [0x4540c4], eax
push ebp
add eax, eax
push ebx
mov dword [0x4540c8], eax
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
je 0x409ef9
inc edi
cmp edi, 5
jl 0x409e70
mov edi, dword [esp + 0x38]
cmp byte [esi + 0x78], 0
jne 0x409f47
xor ebp, ebp
lea ebx, [esi + 0x40]
lea esp, [esp]
mov eax, dword [ebp*4 + 0x4540d4]
push 0x30000
push 0
push 0x409760
push 0x4540c0
mov dword [0x4540c4], eax
push 0xffffffffffffffff
add eax, eax
push ebx
mov dword [0x4540c8], eax
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
je 0x409f1c
inc ebp
cmp ebp, 5
jl 0x409ec0
jmp 0x409f3d
mov ecx, dword [edi*4 + 0x4540ac]
add ecx, ecx
mov dword [esi + 0x44], ecx
mov edx, dword [edi*4 + 0x4540ac]
mov dword [esi + 0x48], edx
mov edi, dword [edi*4 + 0x4540d4]
mov byte [esi + 0x78], 1
jmp 0x409eaa
mov ecx, dword [ebp*4 + 0x4540ac]
add ecx, ecx
mov dword [esi + 0x44], ecx
mov edx, dword [ebp*4 + 0x4540ac]
mov dword [esi + 0x48], edx
mov edi, dword [ebp*4 + 0x4540d4]
mov byte [esi + 0x78], 1
cmp byte [esi + 0x78], 0
je 0x409fd1
lea eax, [esp + 0x10]
push eax
push 0x800
push 1
push edi
call fcn.0041fe30
add esp, 0x10
cmp dword [esp + 0x10], 0
mov dword [esi + 0x38], eax
jne 0x409fab
push 0x7d00
push 0xfa2
push eax
call fcn.0041fef0
mov al, byte [esp + 0x4c]
add esp, 0xc
cmp al, 0xa
jae 0x409f96
mov edx, dword [esi + 0x38]
movzx ecx, al
push ecx
push 0xfaa
push edx
call fcn.0041fef0
add esp, 0xc
push 0x5df
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x409fde
mov eax, dword [esi + 0x40]
push eax
mov dword [esi + 0x38], 0
call dword [sym.imp.WINMM.dll_waveInClose]
mov ecx, dword [0x454574]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call ebp
mov byte [esi + 0x78], 0
jmp 0x409fe4
mov edx, dword [0x454574]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, byte [esp + 0x3c]
mov byte [esi + 0xc4], 0
cmp bl, 0xff
jae 0x40a20e
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 1
push 0
mov dword [0x454570], eax
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov ecx, dword [0x454570]
mov dword [esi + 0x80], eax
test ecx, ecx
je 0x40a201
test eax, eax
je 0x40a1fe
cmp bl, 0xfe
jae 0x40a0be
movzx ebp, bl
xor edi, edi
lea ebx, [esi + 0x7c]
jmp 0x40a050
mov eax, dword [edi*4 + 0x4540d4]
push 0x30000
push 0
push 0x409780
push 0x4540c0
mov dword [0x4540c4], eax
push ebp
add eax, eax
push ebx
mov dword [0x4540c8], eax
call dword [sym.imp.WINMM.dll_waveOutOpen]
test eax, eax
je 0x40a088
inc edi
cmp edi, 5
jl 0x40a050
jmp 0x40a0b8
mov ecx, dword [edi*4 + 0x4540ac]
add ecx, ecx
mov dword [esi + 0x8c], ecx
mov edx, dword [edi*4 + 0x4540ac]
mov dword [esi + 0x90], edx
mov eax, dword [edi*4 + 0x4540d4]
mov dword [esi + 0x94], eax
mov byte [esi + 0xc4], 1
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0xc4], 0
jne 0x40a148
xor edi, edi
lea ebx, [esi + 0x7c]
mov eax, dword [edi*4 + 0x4540d4]
push 0x30000
push 0
push 0x409780
push 0x4540c0
push 0xffffffffffffffff
lea ecx, [eax + eax]
push ebx
mov dword [0x4540c4], eax
mov dword [0x4540c8], ecx
call dword [sym.imp.WINMM.dll_waveOutOpen]
test eax, eax
je 0x40a10b
inc edi
cmp edi, 5
jl 0x40a0d0
jmp 0x40a13b
mov edx, dword [edi*4 + 0x4540ac]
add edx, edx
mov dword [esi + 0x8c], edx
mov eax, dword [edi*4 + 0x4540ac]
mov dword [esi + 0x90], eax
mov ecx, dword [edi*4 + 0x4540d4]
mov dword [esi + 0x94], ecx
mov byte [esi + 0xc4], 1
cmp byte [esi + 0xc4], 0
je 0x40a1ed
mov edx, dword [esi + 0x7c]
push edx
call dword [sym.imp.WINMM.dll_waveOutReset]
mov eax, dword [esi + 0x90]
add eax, eax
push 0x20
push eax
call dword [sym.imp.MSVCR80.dll__aligned_malloc]
mov dword [esi + 0xc0], eax
mov al, byte [esp + 0x4c]
add esp, 8
test al, al
je 0x40a198
movzx ecx, al
shl cx, 8
mov edx, 0xff
or cx, dx
mov edx, dword [esi + 0x7c]
movzx eax, cx
mov ecx, eax
shl ecx, 0x10
or ecx, eax
push ecx
push edx
call dword [sym.imp.WINMM.dll_waveOutSetVolume]
mov ecx, dword [esi + 0x7c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.WINMM.dll_waveOutGetVolume]
test eax, eax
jne 0x40a1c1
mov eax, dword [esp + 0x38]
shr eax, 8
test al, al
jne 0x40a1b8
mov al, 1
mov edx, dword [0x454564]
mov byte [edx + 0xf], al
cmp dword [esi + 0xc0], 0
jne 0x40a20e
mov eax, dword [esi + 0x7c]
push eax
mov byte [esi + 0xc4], 0
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [0x454570]
push ecx
call ebp
mov edx, dword [esi + 0x80]
push edx
jmp 0x40a20c
mov eax, dword [0x454570]
push eax
call ebp
mov ecx, dword [esi + 0x80]
push ecx
jmp 0x40a20c
push ecx
call ebp
mov eax, dword [esi + 0x80]
test eax, eax
je 0x40a20e
push eax
call ebp
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10