Function at 0x47c3c0
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x10], ebx
call fcn.0042b530
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x47c82e
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00463ca0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x47c82e
mov esi, dword [ebp + 0x10]
mov ecx, eax
mov edx, esi
call fcn.004b5ad0
mov ebx, eax
test ebx, ebx
je 0x47c82a
mov eax, dword fs:[0x24]
mov dword [esp + 0x20], eax
lea eax, [edi - 1]
cmp eax, 0x10
ja case.default.0x47c431
jmp dword [eax*4 + 0x47cbb8]
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push 0
push 0
push 0xf0
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x47c82a
xor eax, eax
cmp edi, 1
sete al
cmp dword [esp + 0x14], eax
je case.default.0x47c431
mov esi, dword [esp + 0x1c]
push 0
push esi
mov byte [esp + 0x17], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x47c4b3
cmp edi, dword [0x5203dc]
je 0x47c4b3
mov ecx, esi
call fcn.004b5f60
test al, al
jne 0x47c4b3
push 1
push edi
push dword [0x5203dc]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0xf]
cmp esi, ebx
jne 0x47c4e9
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, ebx
push 0xfffffffffffffff0
push ebx
call edi
test eax, 0x40000000
je 0x47c4e9
nop dword [eax + eax]
push esi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x47c4e9
push 0xfffffffffffffff0
push eax
mov esi, eax
call edi
test eax, 0x40000000
jne 0x47c4d0
push esi
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 0x47c518
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 0x47c528
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_PostMessageW]
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.0x47c431
push 0
push dword [esp + 0x20]
push dword [0x5203dc]
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp case.default.0x47c431
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x47c431
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x47c431
push 4
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x47c431
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x47c431
mov edi, dword [ebp + 0xc]
cmp word [edi], 0
jne 0x47c5d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
xor eax, eax
cmp dword [esp + 0x18], 7
sete al
lea eax, [eax*4 - 0x14]
push eax
push ebx
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
movzx edx, word [edi]
push edx
push 0x50fee0
mov dword [esp + 0x20], eax
call fcn.004cbd94
add esp, 8
test eax, eax
jne 0x47c615
mov ecx, edi
call fcn.00405350
mov edi, dword [esp + 0x18]
mov esi, eax
jmp 0x47c647
lea ecx, [edi + 2]
call fcn.00405350
mov esi, eax
movzx eax, word [edi]
mov edi, dword [esp + 0x18]
sub eax, 0x2b
je 0x47c645
sub eax, 2
je 0x47c63f
sub eax, 0x31
jne 0x47c639
xor esi, edi
jmp 0x47c647
mov esi, dword [esp + 0x24]
jmp 0x47c647
not esi
and esi, edi
jmp 0x47c647
or esi, edi
cmp esi, edi
je 0x47c68d
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_SetWindowLongW]
test eax, eax
jne 0x47c672
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x47c82a
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, edi
je 0x47c82a
push 1
push 0
push ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [0x51eabc]
push 1
push 0
push 0xffffffffffffffff
push 0x4f04b0
call fcn.004b3e10
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 edi, 9
push 2
push 0
sete al
push eax
push 0x14f
jmp 0x47cb44
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x47c709
call fcn.00419340
cmp dword [esp + 0x18], 0xb
mov edi, eax
setne al
xor dl, dl
lea eax, [eax*2 + 0x25]
mov cl, al
mov dword [esp + 0x18], eax
call fcn.0041e950
movzx esi, ax
shl esi, 0x10
test edi, edi
jle case.default.0x47c431
jmp 0x47c730
cmp dword [esp + 0x18], 0xb
mov edi, 1
setne al
xor dl, dl
lea eax, [eax*2 + 0x25]
mov cl, al
mov byte [esp + 0x18], al
call fcn.0041e950
movzx esi, ax
shl esi, 0x10
mov eax, dword [esp + 0x18]
mov ecx, esi
or ecx, 1
movzx eax, al
mov dword [esp + 0x18], eax
or esi, 0xc0000001
mov dword [esp + 0x1c], ecx
nop word [eax + eax]
push ecx
push eax
push 0x100
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 0x20]
mov dword [0x51b984], 0
cmp dword [0x5203dc], eax
je 0x47c77e
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x47c78a
mov edx, 1
xor ecx, ecx
call fcn.00401860
push esi
push dword [esp + 0x1c]
mov dword [0x51b984], 1
push 0x101
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub edi, 1
jne 0x47c750
jmp case.default.0x47c431
cmp word [esi], 0
jne 0x47c7cf
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x38]
mov edx, str.Combo
mov ecx, esi
call fcn.004afb20
test eax, eax
je 0x47c7e6
mov eax, 0x143
jmp 0x47c7fb
mov edx, str.List
mov ecx, esi
call fcn.004afb20
test eax, eax
je 0x47c82a
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_SendMessageTimeoutW]
test eax, eax
je 0x47c82a
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x47c82a
cmp eax, 0xfffffffe
jne case.default.0x47c431
mov ebx, dword [esp + 0x10]
mov eax, dword [0x51b98c]
test byte [eax + 0x100], 1
jne 0x47cb9b
mov ecx, dword [0x51eabc]
push 1
push 0
push 0xffffffffffffffff
push 0x5068e4
call fcn.004b3e10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x47c82a
call fcn.00419340
mov edi, eax
sub edi, 1
js 0x47c82a
cmp word [esi], 0
jne 0x47c88c
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x38]
mov edx, str.Combo
mov ecx, esi
call fcn.004afb20
test eax, eax
je 0x47c8a3
mov eax, 0x144
jmp 0x47c8bc
mov edx, str.List
mov ecx, esi
call fcn.004afb20
test eax, eax
je 0x47c82a
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_SendMessageTimeoutW]
test eax, eax
je 0x47c82a
cmp dword [esp + 0x14], 0xffffffff
jmp 0x47cb4d
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x47c82a
call fcn.00419340
sub eax, 1
mov dword [esp + 0x18], eax
js 0x47c82a
cmp word [esi], 0
jne 0x47c91c
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x38]
mov edx, str.Combo
mov ecx, esi
call fcn.004afb20
test eax, eax
je 0x47c94d
mov ecx, 0x14e
mov edi, 9
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push 0
push dword [esp + 0x28]
jmp 0x47c9e3
mov edx, str.List
mov ecx, esi
call fcn.004afb20
test eax, eax
je 0x47c82a
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x808
mov edi, 2
mov ecx, eax
neg ecx
sbb ecx, ecx
add ecx, 0x186
test eax, eax
je 0x47c936
lea eax, [esp + 0x14]
push eax
push 0x7d0
push edi
push dword [esp + 0x24]
push 1
push 0x185
jmp 0x47c9e4
cmp word [esi], 0
jne 0x47c9b4
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x38]
mov edx, str.Combo
mov ecx, esi
call fcn.004afb20
test eax, eax
je 0x47ca8e
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_SendMessageTimeoutW]
push ebx
call esi
test eax, eax
je 0x47c82a
cmp dword [esp + 0x14], 0xffffffff
je 0x47c82a
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x18], eax
test eax, eax
je 0x47c82a
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 0x47ca3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x47c82a
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 0x47c82a
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 0x47cb4b
mov edx, str.List
mov ecx, esi
call fcn.004afb20
test eax, eax
je 0x47c82a
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x808
mov ecx, 0x18f
mov edx, 0x18c
mov edi, 2
cmove ecx, edx
test eax, 0x808
je 0x47c9d2
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
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 0x47c82a
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x47c82a
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push edi
push eax
push 1
push 0x185
push ebx
call esi
test eax, eax
je 0x47c82a
cmp dword [esp + 0x14], 0xffffffff
jne 0x47ca00
jmp 0x47c82a
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_SendMessageTimeoutW]
test eax, eax
je 0x47c82a
mov eax, dword [0x51b98c]
cmp dword [eax + 0x58], 0xffffffff
jle 0x47c68d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x5203dc], eax
je 0x47cb83
mov eax, dword [0x51b98c]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x47c68d
mov ecx, dword [0x51b98c]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401860
jmp 0x47c68d
push 0x4f03e8
push 0
push 0x5068e4
mov ecx, ebx
call fcn.0044d520
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c