Function at 0x46aa00
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
mov ebx, ecx
mov ecx, dword [esp + 0x48]
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
call fcn.00469d10
mov edx, eax
mov dword [esp + 0x50], edx
test edx, edx
je 0x46af69
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.00455b90
mov ebp, eax
test ebp, ebp
je 0x46af69
mov edi, dword [esp + 0x54]
mov ecx, ebp
mov edx, edi
call fcn.004a43d0
mov ebx, eax
test ebx, ebx
je 0x46af65
mov ecx, dword [esp + 0x50]
mov eax, dword fs:[0x24]
mov dword [esp + 0x64], eax
lea eax, [ecx - 1]
cmp eax, 0x10
ja case.default.0x46aa7c
jmp dword [eax*4 + 0x46b378]
lea eax, [esp + 0x4c]
push eax
push 0x7d0
push 2
push 0
push 0
push 0xf0
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
je 0x46af65
xor eax, eax
cmp dword [esp + 0x50], 1
sete al
cmp dword [esp + 0x4c], eax
je case.default.0x46aa7c
push 0
push ebp
mov byte [esp + 0x58], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
mov dword [esp + 0x64], esi
test esi, esi
je 0x46aafc
cmp esi, dword [0x4ed7f8]
je 0x46aafc
mov ecx, ebp
call fcn.004a4880
test al, al
jne 0x46aafc
push 1
push esi
push dword [0x4ed7f8]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x50]
cmp ebp, ebx
jne 0x46ab37
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, ebx
push 0xfffffffffffffff0
push ebx
call edi
test eax, 0x40000000
je 0x46ab39
mov ebp, dword [sym.imp.USER32.dll_GetParent]
nop word [eax + eax]
push esi
call ebp
test eax, eax
je 0x46ab39
push 0xfffffffffffffff0
push eax
mov esi, eax
call edi
test eax, 0x40000000
jne 0x46ab20
jmp 0x46ab39
mov esi, ebp
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
jne 0x46ab68
xor edx, edx
mov dword [esp + 0x24], eax
xor ecx, ecx
mov dword [esp + 0x1c], edx
xor esi, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], esi
jmp 0x46ab78
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
sub eax, edx
sub ecx, esi
cdq
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
sub eax, edx
sar eax, 1
movzx edi, ax
mov eax, ecx
cdq
sub eax, edx
shl edi, 0x10
sar eax, 1
movzx eax, ax
or edi, eax
push edi
push 1
push 0x201
push ebx
call esi
push edi
push 0
push 0x202
push ebx
call esi
cmp byte [esp + 0x50], 0
je case.default.0x46aa7c
push 0
push dword [esp + 0x68]
push dword [0x4ed7f8]
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp case.default.0x46aa7c
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x46aa7c
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x46aa7c
push 4
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x46aa7c
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x46aa7c
cmp byte [esi], 0
jne 0x46ac1d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x38
ret 0x1c
mov ebp, dword [sym.imp.USER32.dll_GetWindowLongA]
xor eax, eax
cmp ecx, 7
sete al
lea eax, [eax*4 - 0x14]
push eax
push ebx
mov dword [esp + 0x58], eax
call ebp
movsx ecx, byte [esi]
mov edi, eax
push ecx
push 0x4dec74
call fcn.004b87b6
add esp, 8
test eax, eax
jne 0x46acb7
mov ecx, esi
mov al, byte [ecx]
cmp al, 0x20
je 0x46ac5d
cmp al, 9
jne 0x46ac60
inc ecx
jmp 0x46ac53
test al, al
je 0x46aca7
cmp al, 0x2d
je 0x46ac6c
cmp al, 0x2b
jne 0x46ac73
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x46aca7
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x46ac82
cmp al, 0x58
jne 0x46aca7
movsx eax, byte [ecx + 2]
push eax
call fcn.004b99b0
add esp, 4
test eax, eax
je 0x46aca7
push 0x10
push 0
push esi
call fcn.004b9a3b
add esp, 0xc
mov esi, eax
jmp 0x46ad42
push esi
call fcn.004b94ac
add esp, 4
mov esi, eax
jmp 0x46ad42
inc esi
mov ecx, esi
nop word [eax + eax]
mov al, byte [ecx]
cmp al, 0x20
je 0x46acca
cmp al, 9
jne 0x46accd
inc ecx
jmp 0x46acc0
test al, al
je 0x46ad0f
cmp al, 0x2d
je 0x46acd9
cmp al, 0x2b
jne 0x46ace0
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x46ad0f
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x46acef
cmp al, 0x58
jne 0x46ad0f
movsx eax, byte [ecx + 2]
push eax
call fcn.004b99b0
add esp, 4
test eax, eax
je 0x46ad0f
push 0x10
push 0
push esi
call fcn.004b9a3b
add esp, 0xc
jmp 0x46ad18
push esi
call fcn.004b94ac
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x14]
movsx eax, byte [eax]
sub eax, 0x2b
je 0x46ad40
sub eax, 2
je 0x46ad3a
sub eax, 0x31
jne 0x46ad34
xor esi, edi
jmp 0x46ad42
mov esi, dword [esp + 0x50]
jmp 0x46ad42
not esi
and esi, edi
jmp 0x46ad42
or esi, edi
cmp esi, edi
je 0x46ad84
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
mov esi, dword [esp + 0x54]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
test eax, eax
jne 0x46ad6d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x46af65
push esi
push ebx
call ebp
cmp eax, edi
je 0x46af65
push 1
push 0
push ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push 0xffffffffffffffff
push 0x4d5290
mov ecx, dword [0x4eb720]
call fcn.004a2730
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x1c
lea eax, [esp + 0x4c]
push eax
push 0x7d0
xor eax, eax
cmp ecx, 9
push 2
push 0
sete al
push eax
push 0x14f
jmp 0x46b301
mov al, byte [esi]
test al, al
je 0x46ae5a
mov ecx, esi
cmp al, 0x20
je 0x46add9
cmp al, 9
jne 0x46addf
mov al, byte [ecx + 1]
inc ecx
jmp 0x46add1
test al, al
je 0x46ae21
cmp al, 0x2d
je 0x46adeb
cmp al, 0x2b
jne 0x46adf2
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x46ae21
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x46ae01
cmp al, 0x58
jne 0x46ae21
movsx eax, byte [ecx + 2]
push eax
call fcn.004b99b0
add esp, 4
test eax, eax
je 0x46ae21
push 0x10
push 0
push esi
call fcn.004b9ad3
add esp, 0xc
jmp 0x46ae2a
push esi
call fcn.004b9548
add esp, 4
mov edx, dword [esp + 0x50]
mov esi, eax
cmp edx, 0xb
setne al
xor dl, dl
lea eax, [eax*2 + 0x25]
mov cl, al
mov dword [esp + 0x50], eax
call fcn.00416230
movzx edi, ax
shl edi, 0x10
test esi, esi
jle case.default.0x46aa7c
jmp 0x46ae7f
cmp ecx, 0xb
mov esi, 1
setne al
xor dl, dl
lea eax, [eax*2 + 0x25]
mov cl, al
mov byte [esp + 0x50], al
call fcn.00416230
movzx edi, ax
shl edi, 0x10
mov eax, dword [esp + 0x50]
movzx ebp, al
mov eax, edi
or eax, 1
or edi, 0xc0000001
mov dword [esp + 0x50], eax
push eax
push ebp
push 0x100
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x64]
mov dword [0x4e88c4], 0
cmp dword [0x4ed7f8], eax
je 0x46aec3
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x46aecf
mov edx, 1
xor ecx, ecx
call fcn.00401730
push edi
push ebp
push 0x101
push ebx
mov dword [0x4e88c4], 1
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x50]
sub esi, 1
jne 0x46ae95
jmp case.default.0x46aa7c
cmp byte [edi], 0
jne 0x46af0c
push 0x20
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edi, [esp + 0x28]
mov edx, str.Combo
mov ecx, edi
call fcn.0049e4d0
test eax, eax
je 0x46af23
mov eax, 0x143
jmp 0x46af38
mov edx, str.List
mov ecx, edi
call fcn.0049e4d0
test eax, eax
je 0x46af65
mov eax, 0x180
lea ecx, [esp + 0x4c]
push ecx
push 0x7d0
push 2
push esi
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
je 0x46af65
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
je 0x46af65
cmp eax, 0xfffffffe
jne case.default.0x46aa7c
mov ebx, dword [esp + 0x10]
mov eax, dword [0x4e88cc]
test byte [eax + 0xe0], 1
jne 0x46b358
push 1
push 0
push 0xffffffffffffffff
push 0x4d9c00
jmp 0x46ad8f
mov al, byte [esi]
test al, al
je 0x46af65
mov ecx, esi
cmp al, 0x20
je 0x46af9b
cmp al, 9
jne 0x46afa1
mov al, byte [ecx + 1]
inc ecx
jmp 0x46af93
test al, al
je 0x46afe3
cmp al, 0x2d
je 0x46afad
cmp al, 0x2b
jne 0x46afb4
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x46afe3
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x46afc3
cmp al, 0x58
jne 0x46afe3
movsx eax, byte [ecx + 2]
push eax
call fcn.004b99b0
add esp, 4
test eax, eax
je 0x46afe3
push 0x10
push 0
push esi
call fcn.004b9ad3
add esp, 0xc
jmp 0x46afec
push esi
call fcn.004b9548
add esp, 4
lea esi, [eax - 1]
test esi, esi
js 0x46af65
cmp byte [edi], 0
jne 0x46b00e
push 0x20
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edi, [esp + 0x28]
mov edx, str.Combo
mov ecx, edi
call fcn.0049e4d0
test eax, eax
je 0x46b025
mov eax, 0x144
jmp 0x46b03e
mov edx, str.List
mov ecx, edi
call fcn.0049e4d0
test eax, eax
je 0x46af65
mov eax, 0x182
lea ecx, [esp + 0x4c]
push ecx
push 0x7d0
push 2
push 0
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
je 0x46af65
cmp dword [esp + 0x4c], 0xffffffff
jmp 0x46b30a
mov al, byte [esi]
test al, al
je 0x46af65
mov ecx, esi
cmp al, 0x20
je 0x46b07b
cmp al, 9
jne 0x46b081
mov al, byte [ecx + 1]
inc ecx
jmp 0x46b073
test al, al
je 0x46b0c3
cmp al, 0x2d
je 0x46b08d
cmp al, 0x2b
jne 0x46b094
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x46b0c3
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x46b0a3
cmp al, 0x58
jne 0x46b0c3
movsx eax, byte [ecx + 2]
push eax
call fcn.004b99b0
add esp, 4
test eax, eax
je 0x46b0c3
push 0x10
push 0
push esi
call fcn.004b9ad3
add esp, 0xc
jmp 0x46b0cc
push esi
call fcn.004b9548
add esp, 4
lea esi, [eax - 1]
test esi, esi
js 0x46af65
cmp byte [edi], 0
jne 0x46b0ee
push 0x20
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edi, [esp + 0x28]
mov edx, str.Combo
mov ecx, edi
call fcn.0049e4d0
test eax, eax
je 0x46b11c
mov ecx, 0x14e
mov edi, 9
lea eax, [esp + 0x4c]
push eax
push 0x7d0
push 2
push 0
push esi
jmp 0x46b1ac
mov edx, str.List
mov ecx, edi
call fcn.0049e4d0
test eax, eax
je 0x46af65
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0x808
mov edi, 2
mov ecx, eax
neg ecx
sbb ecx, ecx
add ecx, 0x186
test eax, eax
je 0x46b108
lea eax, [esp + 0x4c]
push eax
push 0x7d0
push edi
push esi
push 1
push 0x185
jmp 0x46b1ad
cmp byte [edi], 0
jne 0x46b17f
push 0x20
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edi, [esp + 0x28]
mov edx, str.Combo
mov ecx, edi
call fcn.0049e4d0
test eax, eax
je 0x46b24f
mov ecx, 0x14d
mov edi, 9
lea eax, [esp + 0x4c]
push eax
push 0x7d0
push 2
push esi
push 0xffffffffffffffff
push ecx
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
push ebx
call esi
test eax, eax
je 0x46af65
cmp dword [esp + 0x4c], 0xffffffff
je 0x46af65
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
test ebp, ebp
je 0x46af65
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [esp + 0x50], eax
test eax, eax
jne 0x46b203
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x46af65
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x4c]
movzx eax, ax
push ecx
push 0x7d0
push 2
push ebx
mov dword [esp + 0x60], eax
or eax, 0x10000
push eax
push 0x111
push ebp
call esi
test eax, eax
je 0x46af65
lea eax, [esp + 0x4c]
shl edi, 0x10
or edi, dword [esp + 0x50]
push eax
push 0x7d0
push 2
push ebx
push edi
push 0x111
push ebp
call esi
jmp 0x46b308
mov edx, str.List
mov ecx, edi
call fcn.0049e4d0
test eax, eax
je 0x46af65
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0x808
mov ecx, 0x18f
mov edx, 0x18c
mov edi, 2
cmove ecx, edx
test eax, 0x808
je 0x46b19d
lea eax, [esp + 0x60]
push eax
push 0x7d0
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
push 0xffffffffffffffff
push 0x18f
push ebx
call esi
test eax, eax
je 0x46af65
mov eax, dword [esp + 0x60]
cmp eax, 0xffffffff
je 0x46af65
lea ecx, [esp + 0x4c]
push ecx
push 0x7d0
push edi
push eax
push 1
push 0x185
push ebx
call esi
test eax, eax
je 0x46af65
cmp dword [esp + 0x4c], 0xffffffff
jne 0x46b1c9
jmp 0x46af65
lea eax, [esp + 0x4c]
push eax
push 0x7d0
push 2
push esi
push 1
push 0xc2
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
je 0x46af65
mov eax, dword [0x4e88cc]
cmp dword [eax + 0x58], 0xffffffff
jle 0x46ad84
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4ed7f8], eax
je 0x46b340
mov eax, dword [0x4e88cc]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x46ad84
mov ecx, dword [0x4e88cc]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401730
jmp 0x46ad84
push 0x4d5231
push 0
push 0x4d9c00
mov ecx, ebx
call fcn.0043e650
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x1c