Function at 0x47b990
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 edi, dword [ebp + 0xc]
mov dword [esp + 0x10], ebx
call fcn.0042c2c0
mov edx, eax
mov dword [esp + 0x18], edx
test edx, edx
je 0x47be51
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004633d0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x47be51
mov esi, dword [ebp + 0x10]
mov ecx, eax
mov edx, esi
call fcn.004b69b0
mov ebx, eax
test ebx, ebx
je 0x47be4d
mov ecx, dword [esp + 0x18]
mov eax, dword fs:[0x24]
mov dword [esp + 0x24], eax
lea eax, [ecx - 1]
cmp eax, 0x10
ja case.default.0x47ba08
jmp dword [eax*4 + 0x47c1d0]
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 0x47be4d
xor eax, eax
cmp dword [esp + 0x18], 1
sete al
cmp dword [esp + 0x14], eax
je case.default.0x47ba08
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 0x47bae7
cmp edi, dword [0x4fcbf0]
je 0x47bae7
mov ecx, dword [0x4ff18c]
test cl, 1
jne 0x47baa1
push str.IsHungAppWindow
or ecx, 1
push str.user32
mov dword [0x4ff18c], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ff190], eax
jmp 0x47baa6
mov eax, dword [0x4ff190]
test eax, eax
je 0x47baaf
push esi
call eax
jmp 0x47bacd
lea eax, [esp + 0x20]
push eax
push 0x1388
push 2
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x47bae7
push 1
push edi
push dword [0x4fcbf0]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0xf]
cmp esi, ebx
jne 0x47bb19
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, ebx
push 0xfffffffffffffff0
push ebx
call edi
test eax, 0x40000000
je 0x47bb19
nop
push esi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x47bb19
push 0xfffffffffffffff0
push eax
mov esi, eax
call edi
test eax, 0x40000000
jne 0x47bb00
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 0x47bb48
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 0x47bb58
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.0x47ba08
push 0
push dword [esp + 0x20]
push dword [0x4fcbf0]
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp case.default.0x47ba08
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x47ba08
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x47ba08
push 4
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x47ba08
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x47ba08
cmp word [edi], 0
jne 0x47bbfd
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_GetWindowLongW]
movzx edx, word [edi]
push edx
push 0x4ed468
mov dword [esp + 0x20], eax
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 8
test eax, eax
jne 0x47bc41
mov ecx, edi
call fcn.004051f0
mov edi, dword [esp + 0x18]
mov esi, eax
jmp 0x47bc75
lea ecx, [edi + 2]
call fcn.004051f0
mov esi, eax
mov eax, edi
mov edi, dword [esp + 0x18]
movzx eax, word [eax]
sub eax, 0x2b
je 0x47bc73
sub eax, 2
je 0x47bc6d
sub eax, 0x31
jne 0x47bc67
xor esi, edi
jmp 0x47bc75
mov esi, dword [esp + 0x24]
jmp 0x47bc75
not esi
and esi, edi
jmp 0x47bc75
or esi, edi
cmp esi, edi
je 0x47bcbb
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 0x47bca0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x47be4d
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, edi
je 0x47be4d
push 1
push 0
push ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [0x4faa64]
push 1
push 0
push 0xffffffffffffffff
push 0x4cecf8
call fcn.004b4bf0
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 0x47c15d
cmp word [edi], 0
je 0x47bd38
mov ecx, edi
call fcn.00419ea0
mov edx, dword [esp + 0x18]
mov edi, eax
cmp edx, 0xb
setne al
xor dl, dl
lea eax, [eax*2 + 0x25]
mov cl, al
mov dword [esp + 0x18], eax
call fcn.0041f590
movzx esi, ax
shl esi, 0x10
test edi, edi
jle case.default.0x47ba08
jmp 0x47bd5b
cmp ecx, 0xb
mov edi, 1
setne cl
xor dl, dl
lea ecx, [ecx*2 + 0x25]
mov byte [esp + 0x18], cl
call fcn.0041f590
movzx esi, ax
shl esi, 0x10
mov eax, dword [esp + 0x18]
mov ecx, esi
or ecx, 1
movzx eax, al
mov dword [esp + 0x20], ecx
or esi, 0xc0000001
mov dword [esp + 0x18], eax
push ecx
push eax
push 0x100
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 0x24]
mov dword [0x4f816c], 0
cmp dword [0x4fcbf0], eax
je 0x47bda3
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x47bdaf
mov edx, 1
xor ecx, ecx
call fcn.004018d0
push esi
push dword [esp + 0x1c]
mov dword [0x4f816c], 1
push 0x101
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
sub edi, 1
jne 0x47bd75
jmp case.default.0x47ba08
cmp word [esi], 0
jne 0x47bdf4
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.004b09f0
test eax, eax
je 0x47be0b
mov eax, 0x143
jmp 0x47be20
mov edx, str.List
mov ecx, esi
call fcn.004b09f0
test eax, eax
je 0x47be4d
mov eax, 0x180
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push edi
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x47be4d
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x47be4d
cmp eax, 0xfffffffe
jne case.default.0x47ba08
mov ebx, dword [esp + 0x10]
mov eax, dword [0x4f8174]
test byte [eax + 0x100], 1
jne 0x47c1b4
mov ecx, dword [0x4faa64]
push 1
push 0
push 0xffffffffffffffff
push 0x4e513c
call fcn.004b4bf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
cmp word [edi], 0
je 0x47be4d
mov ecx, edi
call fcn.00419ea0
mov edi, eax
sub edi, 1
js 0x47be4d
cmp word [esi], 0
jne 0x47beae
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.004b09f0
test eax, eax
je 0x47bec5
mov eax, 0x144
jmp 0x47bede
mov edx, str.List
mov ecx, esi
call fcn.004b09f0
test eax, eax
je 0x47be4d
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 0x47be4d
cmp dword [esp + 0x14], 0xffffffff
jmp 0x47c166
cmp word [edi], 0
je 0x47be4d
mov ecx, edi
call fcn.00419ea0
mov edi, eax
sub edi, 1
js 0x47be4d
cmp word [esi], 0
jne 0x47bf3b
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.004b09f0
test eax, eax
je 0x47bf6c
mov ecx, 0x14e
mov dword [esp + 0x18], 9
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push 0
push edi
jmp 0x47c004
mov edx, str.List
mov ecx, esi
call fcn.004b09f0
test eax, eax
je 0x47be4d
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x808
mov dword [esp + 0x18], 2
mov ecx, eax
neg ecx
sbb ecx, ecx
add ecx, 0x186
test eax, eax
je 0x47bf58
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push edi
push 1
push 0x185
jmp 0x47c005
cmp word [esi], 0
jne 0x47bfd4
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.004b09f0
test eax, eax
je 0x47c0ab
mov ecx, 0x14d
mov dword [esp + 0x18], 9
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push edi
push 0xffffffffffffffff
push ecx
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push ebx
call esi
test eax, eax
je 0x47be4d
cmp dword [esp + 0x14], 0xffffffff
je 0x47be4d
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test edi, edi
je 0x47be4d
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x47c05b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x47be4d
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x14]
movzx eax, ax
push ecx
push 0x7d0
push 2
push ebx
mov dword [esp + 0x34], eax
or eax, 0x10000
push eax
push 0x111
push edi
call esi
test eax, eax
je 0x47be4d
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push 0x7d0
push 2
push ebx
shl eax, 0x10
or eax, dword [esp + 0x34]
push eax
push 0x111
push edi
call esi
jmp 0x47c164
mov edx, str.List
mov ecx, esi
call fcn.004b09f0
test eax, eax
je 0x47be4d
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x808
mov dword [esp + 0x18], 2
mov ecx, 0x18f
mov edx, 0x18c
cmove ecx, edx
je 0x47bff5
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea eax, [esp + 0x20]
push eax
push 0x7d0
push 2
push edi
push 0xffffffffffffffff
push 0x18f
push ebx
call esi
test eax, eax
je 0x47be4d
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x47be4d
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push eax
push 1
push 0x185
push ebx
call esi
test eax, eax
je 0x47be4d
cmp dword [esp + 0x14], 0xffffffff
jne 0x47c021
jmp 0x47be4d
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push edi
push 1
push 0xc2
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x47be4d
mov eax, dword [0x4f8174]
cmp dword [eax + 0x58], 0xffffffff
jle 0x47bcbb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4fcbf0], eax
je 0x47c19c
mov eax, dword [0x4f8174]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x47bcbb
mov ecx, dword [0x4f8174]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.004018d0
jmp 0x47bcbb
push 0x4cec30
push 0
push 0x4e513c
mov ecx, ebx
call fcn.0044d640
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c