Function at 0x100026e0
Capabilities:
Access peb ldr_data
Get graphical window text
Get process heap flags
Get process heap force flags
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
lea ecx, [ebp + 8]
sub esp, 0x4c
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
cmp eax, 0x111
je 0x10002808
ja 0x10002730
cmp eax, 2
je 0x100027d0
cmp eax, 0x110
jne 0x10002850
mov edx, ecx
mov eax, ebx
call sym._CredDialogInit
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp eax, 0x113
mov eax, 0
jne 0x10002722
cmp edx, 1
jne 0x10002722
mov dword [esp + 4], 8
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetWindowLongW]
mov esi, eax
mov eax, dword [eax + 0x28]
sub esp, 8
test eax, eax
je 0x100027f7
pxor xmm0, xmm0
lea edi, [ebp - 0x40]
mov dword [ebp - 0x40], 0x30
movups xmmword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x38], ebx
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
movups xmmword [ebp - 0x20], xmm0
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x411
mov dword [esp], eax
call ebx
mov dword [ebp - 0x34], 1
sub esp, 0x10
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x411
mov eax, dword [esi + 0x28]
mov dword [esp], eax
call ebx
mov dword [esi + 0x2c], 0
sub esp, 0x10
jmp 0x100027f7
mov dword [esp + 4], 8
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetWindowLongW]
mov eax, dword [eax + 0x28]
sub esp, 8
test eax, eax
je 0x100027f7
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
mov eax, 1
jmp 0x10002722
cmp edx, 0x1000066
je 0x10002860
ja 0x10002838
cmp edx, 1
je 0x10002890
cmp edx, 2
jne 0x10002850
mov dword [esp + 4], 2
mov dword [esp], ebx
call dword [sym.imp.user32.dll_EndDialog]
sub esp, 8
jmp 0x100027f7
cmp edx, 0x2000066
je 0x10002a40
cmp edx, 0x3000066
je 0x10002741
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp], 0x14
call dword [sym.imp.user32.dll_GetKeyState]
sub esp, 4
test al, 1
jne 0x10002aa8
mov dword [esp], 1
call dword [sym.imp.user32.dll_LockSetForegroundWindow]
sub esp, 4
jmp 0x100027f7
mov dword [esp + 4], 8
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x65
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov edi, eax
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextLengthW]
lea edx, [eax + 1]
mov dword [ebp - 0x48], eax
sub esp, 4
lea eax, [edx + edx]
mov dword [ebp - 0x44], edx
mov ecx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x4c], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x44]
sub esp, 0xc
mov dword [esp + 8], edx
mov dword [ebp - 0x44], eax
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetWindowTextW]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
sub esp, 0xc
cmp word [eax], 0
je 0x10002a80
mov dword [esp + 4], 0x5c
mov edi, dword [sym.imp.ucrtbase.dll_wcschr]
mov dword [esp], eax
call edi
test eax, eax
je 0x10002aca
mov edx, dword [esi + 0x14]
test edx, edx
je 0x10002953
mov eax, dword [esi + 0x10]
xor edi, edi
mov word [eax], di
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
cmp word [ecx], 0
mov eax, ecx
je 0x10002b52
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10002968
mov edi, eax
sub edi, ecx
sar edi, 1
sub edx, edi
mov ecx, dword [ebp - 0x48]
cmp ecx, edx
cmovbe edx, ecx
add edx, edx
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x44]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._memcpy
mov eax, dword [esi + 0x14]
test eax, eax
je 0x100029b5
mov ecx, dword [ebp - 0x48]
sub eax, 1
mov edx, dword [esi + 0x10]
sub eax, edi
cmp eax, ecx
cmova eax, ecx
xor ecx, ecx
add eax, edi
mov word [edx + eax*2], cx
mov edi, dword [ebp - 0x44]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 0x1c]
sub esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 4], 0x66
mov dword [esp + 8], eax
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetDlgItemTextW]
sub esp, 0x10
mov dword [esp + 4], 0x68
mov dword [esp], ebx
call dword [sym.imp.user32.dll_IsDlgButtonChecked]
sub esp, 8
cmp eax, 1
sete al
movzx eax, al
mov dword [esi + 0x20], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.user32.dll_EndDialog]
sub esp, 8
jmp 0x100027f7
mov dword [esp + 4], 8
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
mov esi, eax
mov dword [esp], 2
call dword [sym.imp.user32.dll_LockSetForegroundWindow]
mov eax, dword [esi + 0x28]
sub esp, 4
test eax, eax
jne 0x10002762
jmp 0x100027f7
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x100027f7
mov dword [esp], ebx
mov dword [esp + 4], 8
call dword [sym.imp.user32.dll_GetWindowLongW]
mov edx, eax
sub esp, 8
mov eax, ebx
call sym._CredDialogShowCapsLockBalloon
jmp 0x10002878
mov dword [esp + 4], 0x40
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call edi
test eax, eax
jne 0x10002941
mov edx, dword [esi]
cmp word [edx], 0
mov eax, edx
je 0x10002af5
add eax, 2
cmp word [eax], 0
jne 0x10002aec
sub eax, edx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x4c], eax
mov edi, eax
mov eax, dword [esi + 0x14]
sar edi, 1
mov dword [esp + 4], edx
cmp edi, eax
mov dword [esp], ecx
cmovbe eax, edi
add eax, eax
mov dword [esp + 8], eax
call sym._memcpy
lea eax, [edi + 1]
cmp eax, dword [esi + 0x14]
jae 0x10002b2f
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 0x4c]
mov word [eax + edx], 0x5c
mov edx, dword [esi + 0x14]
add edi, 2
cmp edi, edx
jae 0x10002953
mov eax, dword [esi + 0x10]
mov edi, dword [ebp - 0x4c]
mov word [eax + edi + 2], 0
mov edx, dword [esi + 0x14]
jmp 0x10002953
xor edi, edi
jmp 0x10002979