Function at 0x46d920
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x10], ebx
call fcn.00429460
mov dword [esp + 0x18], eax
test eax, eax
je 0x46dd39
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00459f40
mov edi, eax
test edi, edi
je 0x46dd39
mov esi, dword [ebp + 0x10]
mov ecx, edi
mov edx, esi
call fcn.004a0100
mov ebx, eax
test ebx, ebx
je 0x46dd35
mov ecx, dword [esp + 0x18]
mov eax, dword fs:[0x24]
mov dword [esp + 0x20], eax
lea eax, [ecx - 1]
cmp eax, 0x10
ja case.default.0x46d991
jmp dword [eax*4 + 0x46e0bc]
lea eax, [esp + 0x14]
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 0x46dd35
xor eax, eax
cmp dword [esp + 0x18], 1
sete al
cmp dword [esp + 0x14], eax
je case.default.0x46d991
push 0
push edi
mov byte [esp + 0x17], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x46da11
cmp esi, dword [0x4e9a38]
je 0x46da11
mov ecx, edi
call fcn.004a0580
test al, al
jne 0x46da11
push 1
push esi
push dword [0x4e9a38]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0xf]
cmp edi, ebx
jne 0x46da1e
mov ecx, ebx
call fcn.004a0540
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
lea eax, [esp + 0x28]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
jne 0x46da4d
xor edx, edx
mov dword [esp + 0x34], eax
xor ecx, ecx
mov dword [esp + 0x2c], edx
xor esi, esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], esi
jmp 0x46da5d
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
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 + 0xf], 0
je case.default.0x46d991
push 0
push dword [esp + 0x1c]
push dword [0x4e9a38]
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp case.default.0x46d991
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x46d991
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x46d991
push 4
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x46d991
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x46d991
mov edi, dword [ebp + 0xc]
cmp byte [edi], 0
jne 0x46db04
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
xor eax, eax
cmp ecx, 7
sete al
lea eax, [eax*4 - 0x14]
push eax
push ebx
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
movsx edx, byte [edi]
push edx
push 0x4da4a0
mov dword [esp + 0x20], eax
call fcn.004b7be9
add esp, 8
test eax, eax
jne 0x46db47
mov ecx, edi
call fcn.00404660
mov edi, dword [esp + 0x18]
mov esi, eax
jmp 0x46db79
lea ecx, [edi + 1]
call fcn.00404660
mov esi, eax
movsx eax, byte [edi]
mov edi, dword [esp + 0x18]
sub eax, 0x2b
je 0x46db77
sub eax, 2
je 0x46db71
sub eax, 0x31
jne 0x46db6b
xor esi, edi
jmp 0x46db79
mov esi, dword [esp + 0x24]
jmp 0x46db79
not esi
and esi, edi
jmp 0x46db79
or esi, edi
cmp esi, edi
je 0x46dbbf
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
mov esi, dword [esp + 0x20]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
test eax, eax
jne 0x46dba4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x46dd35
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, edi
je 0x46dd35
push 1
push 0
push ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [0x4e7934]
push 1
push 0
push 0xffffffffffffffff
push 0x4d03bc
call fcn.0049e6b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
lea eax, [esp + 0x14]
push eax
push 0x7d0
xor eax, eax
cmp ecx, 9
push 2
push 0
sete al
push eax
push 0x14f
jmp 0x46e047
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x46dc16
mov ecx, eax
call fcn.00417810
mov ecx, dword [esp + 0x18]
mov esi, eax
jmp 0x46dc1b
mov esi, 1
cmp ecx, 0xb
setne al
xor dl, dl
lea eax, [eax*2 + 0x25]
mov cl, al
mov dword [esp + 0x1c], eax
call fcn.0041c560
movzx eax, ax
shl eax, 0x10
test esi, esi
jle case.default.0x46d991
mov ecx, dword [esp + 0x1c]
movzx edi, cl
mov ecx, eax
or ecx, 1
or eax, 0xc0000001
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
nop dword [eax]
push ecx
push edi
push 0x100
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x20]
mov dword [0x4e4984], 0
cmp dword [0x4e9a38], eax
je 0x46dc8e
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x46dc9a
mov edx, 1
xor ecx, ecx
call fcn.00401a30
push dword [esp + 0x1c]
mov dword [0x4e4984], 1
push edi
push 0x101
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0x18]
sub esi, 1
jne 0x46dc60
jmp case.default.0x46d991
cmp byte [esi], 0
jne 0x46dcda
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea esi, [esp + 0x38]
mov edx, str.Combo
mov ecx, esi
call fcn.0049a8f0
test eax, eax
je 0x46dcf1
mov eax, 0x143
jmp 0x46dd06
mov edx, str.List
mov ecx, esi
call fcn.0049a8f0
test eax, eax
je 0x46dd35
mov eax, 0x180
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push dword [ebp + 0xc]
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
je 0x46dd35
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x46dd35
cmp eax, 0xfffffffe
jne case.default.0x46d991
mov ebx, dword [esp + 0x10]
mov eax, dword [0x4e498c]
test byte [eax + 0xe0], 1
jne 0x46e09e
mov ecx, dword [0x4e7934]
push 1
push 0
push 0xffffffffffffffff
push 0x4d07c0
call fcn.0049e6b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], 0
je 0x46dd35
call fcn.00417810
mov edi, eax
sub edi, 1
js 0x46dd35
cmp byte [esi], 0
jne 0x46dd95
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea esi, [esp + 0x38]
mov edx, str.Combo
mov ecx, esi
call fcn.0049a8f0
test eax, eax
je 0x46ddac
mov eax, 0x144
jmp 0x46ddc5
mov edx, str.List
mov ecx, esi
call fcn.0049a8f0
test eax, eax
je 0x46dd35
mov eax, 0x182
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push 0
push edi
push eax
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
je 0x46dd35
cmp dword [esp + 0x14], 0xffffffff
jmp 0x46e050
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], 0
je 0x46dd35
call fcn.00417810
sub eax, 1
mov dword [esp + 0x18], eax
js 0x46dd35
cmp byte [esi], 0
jne 0x46de23
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea esi, [esp + 0x38]
mov edx, str.Combo
mov ecx, esi
call fcn.0049a8f0
test eax, eax
je 0x46de54
mov ecx, 0x14e
mov edi, 9
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push 0
push dword [esp + 0x28]
jmp 0x46dee9
mov edx, str.List
mov ecx, esi
call fcn.0049a8f0
test eax, eax
je 0x46dd35
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 0x46de3d
lea eax, [esp + 0x14]
push eax
push 0x7d0
push edi
push dword [esp + 0x24]
push 1
push 0x185
jmp 0x46deea
cmp byte [esi], 0
jne 0x46deba
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea esi, [esp + 0x38]
mov edx, str.Combo
mov ecx, esi
call fcn.0049a8f0
test eax, eax
je 0x46df94
mov ecx, 0x14d
mov edi, 9
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push dword [ebp + 0xc]
push 0xffffffffffffffff
push ecx
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
push ebx
call esi
test eax, eax
je 0x46dd35
cmp dword [esp + 0x14], 0xffffffff
je 0x46dd35
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x18], eax
test eax, eax
je 0x46dd35
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x46df42
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x46dd35
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
movzx eax, ax
push ecx
push 0x7d0
push 2
push ebx
mov dword [esp + 0x30], eax
or eax, 0x10000
push eax
push 0x111
push dword [esp + 0x30]
call esi
test eax, eax
je 0x46dd35
lea eax, [esp + 0x14]
shl edi, 0x10
or edi, dword [esp + 0x20]
push eax
push 0x7d0
push 2
push ebx
push edi
push 0x111
push dword [esp + 0x30]
call esi
jmp 0x46e04e
mov edx, str.List
mov ecx, esi
call fcn.0049a8f0
test eax, eax
je 0x46dd35
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, eax
je 0x46ded8
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
lea eax, [esp + 0x24]
push eax
push 0x7d0
push edi
push dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x18f
push ebx
call esi
test eax, eax
je 0x46dd35
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x46dd35
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push edi
push eax
push 1
push 0x185
push ebx
call esi
test eax, eax
je 0x46dd35
cmp dword [esp + 0x14], 0xffffffff
jne 0x46df06
jmp 0x46dd35
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push dword [ebp + 0xc]
push 1
push 0xc2
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
je 0x46dd35
mov eax, dword [0x4e498c]
cmp dword [eax + 0x58], 0xffffffff
jle 0x46dbbf
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4e9a38], eax
je 0x46e086
mov eax, dword [0x4e498c]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x46dbbf
mov ecx, dword [0x4e498c]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401a30
jmp 0x46dbbf
push 0x4d0335
push 0
push 0x4d07c0
mov ecx, ebx
call fcn.00446950
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c