Function at 0x45d830
Capabilities:
Capture microphone audio
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x6a4474]
sub esp, 0x354
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x45daf0
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push edi
push 0x33e
call esi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x350], eax
cmp edi, ebx
je 0x45d874
push 0xe5
jmp 0x45d876
push 0x1c
call esi
push edi
mov dword [ebp - 0x354], eax
call esi
movzx esi, word [ebp + 0xc]
imul esi, esi, 0x3e80
shr esi, 1
push esi
mov dword [ebp - 0x34c], eax
call fcn.00401148
push esi
mov dword [0x6a4470], eax
call fcn.00401148
push 0x1f40
mov dword [0x6a446c], eax
call fcn.00401148
add esp, 0xc
mov edi, eax
cmp dword [0x6a4470], ebx
je 0x45daed
cmp dword [0x6a446c], ebx
je 0x45daed
cmp edi, ebx
je 0x45daed
call fcn.004dc830
mov edx, dword [0x6a49f8]
mov ecx, dword [0x6a4470]
push 0x20
push 0x6a4444
push edx
mov dword [ebp - 4], eax
mov dword [0x6a4444], ecx
mov dword [0x6a4448], esi
mov dword [0x6a4454], ebx
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
mov ecx, dword [0x6a49f8]
mov eax, dword [0x6a446c]
push 0x20
push 0x6a4424
push ecx
mov dword [0x6a4468], 0x6a4444
mov dword [0x6a4424], eax
mov dword [0x6a4428], esi
mov dword [0x6a4434], ebx
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
mov edx, dword [0x6a49f8]
push 0x20
push 0x6a4424
mov dword [0x6a441c], esi
mov esi, dword [sym.imp.WINMM.dll_waveInAddBuffer]
push edx
mov dword [0x6a4464], 0x6a4424
mov byte [0x6a4421], bl
mov byte [0x6a4420], bl
mov dword [0x6a4418], ebx
call esi
mov eax, dword [0x6a4468]
mov ecx, dword [0x6a49f8]
push 0x20
push eax
push ecx
call esi
mov edx, dword [0x6a49f8]
push edx
call dword [sym.imp.WINMM.dll_waveInStart]
call fcn.004574b0
mov dword [ebp - 0xc], eax
mov edi, edi
cmp byte [0x6a4421], bl
je 0x45da3f
mov eax, dword [0x6a441c]
cmp word [ebp + 0xc], 2
mov ecx, dword [0x6a4470]
push eax
sete dl
push edi
movzx eax, dl
push ecx
push eax
push 0x1f40
call fcn.0045d3e0
lea ecx, [ebp - 8]
push ecx
push edi
mov dword [ebp - 8], eax
call fcn.0045d500
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x347]
push eax
push edi
push ecx
call fcn.0045d550
mov dl, byte [0x6a4420]
lea eax, [ebp - 0x354]
push 0x346
push eax
mov byte [ebp - 0x348], dl
call fcn.004a0d50
add esp, 0x34
cmp byte [0x6a4420], bl
jne 0x45da86
mov ecx, dword [0x6a4468]
mov edx, dword [0x6a49f8]
push 0x20
push ecx
push edx
mov byte [0x6a4421], bl
call esi
mov ecx, dword [ebp + 0x14]
call fcn.004d4620
jmp 0x45d9a0
cmp byte [0x6a4420], bl
jne 0x45da5f
mov eax, dword [0x6a4474]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x45da5f
mov byte [0x6a4420], 1
cmp dword [0x6a4418], ebx
jne 0x45da79
call fcn.004574b0
mov ecx, dword [ebp - 0xc]
add ecx, 0x2ee
cmp eax, ecx
ja 0x45da86
mov ecx, dword [ebp + 0x14]
call fcn.004d4620
jmp 0x45d9a0
mov edx, dword [0x6a49f8]
push edx
call dword [sym.imp.WINMM.dll_waveInReset]
mov eax, dword [0x6a49f8]
mov esi, dword [sym.imp.WINMM.dll_waveInUnprepareHeader]
push 0x20
push 0x6a4424
push eax
call esi
mov ecx, dword [0x6a49f8]
push 0x20
push 0x6a4444
push ecx
call esi
mov edx, dword [ebp - 4]
push edx
call fcn.004dce90
mov eax, dword [0x6a4470]
push eax
call fcn.0040107c
mov ecx, dword [0x6a446c]
push ecx
call fcn.0040107c
push edi
call fcn.0040107c
add esp, 0x10
mov dword [0x6a446c], ebx
mov dword [0x6a4470], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret