Function at 0x100012c6
Capabilities:
Log keystrokes
Open clipboard
Resolve function by parsing pe exports
Stop service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
lea eax, [esp + 0xb8]
mov dword [esp + 0xd8], 0xf0e
mov ecx, esp
lea edx, [esp + 0xd8]
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetConsoleDisplayMode]
mov dword [esp + 0xb4], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x5bf
mov ecx, dword [sym.imp.USER32.dll_LockSetForegroundWindow]
mov dword [esp + 0xb0], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xe9d
mov ecx, dword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [esp + 0xac], eax
call ecx
sub esp, 4
mov eax, dword [sym.imp.USER32.dll_GetMessageTime]
call eax
mov ecx, esp
mov dword [ecx + 4], 0xbd95c1
mov dword [ecx], 0x84977d
mov ecx, dword [sym.imp.GDI32.dll_GetClipRgn]
mov dword [esp + 0xa8], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x1c7
mov dword [ecx], 0x260ada
mov ecx, dword [sym.imp.USER32.dll_GetMenuItemID]
mov dword [esp + 0xa4], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0xc0]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0xbb6328
mov dword [ecx + 4], 0x4a0
mov dword [ecx], 0xa0b14b
mov ecx, dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov dword [esp + 0xa0], eax
call ecx
sub esp, 0x10
xor ecx, ecx
lea edx, [esp + 0xe0]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], edx
mov dword [esp + 0x94], ecx
jmp 0x10001534
mov eax, dword [esp + 0x90]
mov ecx, esp
mov dword [ecx + 4], 0x6db
mov dword [ecx], 0x6db
mov ecx, dword [sym.imp.ADVAPI32.dll_AreAllAccessesGranted]
mov dword [esp + 0x8c], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x8c]
add ecx, 1
mov edx, esp
mov dword [edx + 8], 0xec3
mov dword [edx + 4], 0xecc
mov dword [edx], 0x40669a
mov edx, dword [sym.imp.USER32.dll_CheckMenuItem]
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ecx
call edx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0xb1aa93
mov ecx, dword [sym.imp.KERNEL32.dll_SetCommBreak]
mov dword [esp + 0x80], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x7a5
mov dword [ecx], 0xdbda38
mov ecx, dword [sym.imp.KERNEL32.dll_SetCommMask]
mov dword [esp + 0x7c], eax
call ecx
sub esp, 8
mov ecx, dword [sym.imp.USER32.dll_GetClipboardSequenceNumber]
mov dword [esp + 0x78], eax
call ecx
mov ecx, dword [esp + 0x84]
cmp ecx, 0xa
mov dword [esp + 0x74], eax
mov dword [esp + 0x90], ecx
jne 0x100013d3
mov eax, esp
lea ecx, [esp + 0x100]
mov dword [eax + 8], ecx
mov dword [eax + 4], 0x661
mov dword [eax], 0x669ca2
mov eax, dword [sym.imp.ADVAPI32.dll_ControlService]
call eax
sub esp, 0xc
mov ecx, dword [esp + 0x70]
add ecx, 1
cmp ecx, 0x3c
mov dword [esp + 0x6c], eax
mov dword [esp + 0x94], ecx
je 0x10001530
jmp 0x10001534
mov eax, esp
mov dword [eax], 0x3f4
mov eax, dword [sym.imp.USER32.dll_GetSystemMetrics]
call eax
sub esp, 4
mov dword [esp + 0xb8], 0
mov ecx, esp
mov edx, dword [esp + 0xb4]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0xc3e
mov dword [ecx + 4], 0x6e3
mov dword [ecx], 0x82fecd
mov ecx, dword [sym.imp.GDI32.dll_SetPaletteEntries]
mov dword [esp + 0x68], eax
call ecx
sub esp, 0x10
mov dword [esp + 0x64], eax
jmp 0x1000165e
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x94]
mov ecx, esp
mov dword [ecx], 0xb3dc55
mov ecx, dword [sym.imp.GDI32.dll_UpdateColors]
mov dword [esp + 0x70], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0xf8]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0xb06
mov dword [ecx + 4], 0xb06
mov dword [ecx], 0x8855fd
mov ecx, dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov dword [esp + 0x60], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 4], 0xa2a0ae
mov dword [ecx], 0x9d16d2
mov ecx, dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
mov dword [esp + 0x5c], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x4901bc
mov ecx, dword [sym.imp.USER32.dll_OpenClipboard]
mov dword [esp + 0x58], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x7f7e3a
mov ecx, dword [sym.imp.GDI32.dll_GetTextCharset]
mov dword [esp + 0x54], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x4c]
mov ecx, 0xaaaaaaab
mov dword [esp + 0x48], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [esp + 0x48]
sub ecx, eax
mov eax, ecx
sub eax, 8
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
je 0x100014db
jmp 0x10001607
mov eax, dword [esp + 0x44]
sub eax, 4
mov dword [esp + 0x3c], eax
jne 0x1000165e
jmp 0x10001616
mov dword [esp + 0xbc], 0xd2c
mov eax, esp
lea ecx, [esp + 0xbc]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x98]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0xd63
mov dword [eax + 4], 0x4aa
mov dword [eax], 0x2c904a
mov eax, dword [sym.imp.ADVAPI32.dll_GetKernelObjectSecurity]
call eax
sub esp, 0x14
mov dword [esp + 0x38], eax
jmp 0x100014db
mov eax, dword [esp + 0x48]
add eax, 1
cmp eax, 0x215
mov dword [esp + 0x4c], eax
jne 0x100015d7
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x70]
sub edx, 0xf
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
je 0x100016f1
jmp 0x10001691
mov eax, dword [esp + 0x70]
sub eax, 0x2e
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov dword [esp + 0x90], ecx
jne 0x100013d3
jmp 0x100016af
mov eax, esp
mov dword [eax + 4], 0x985
mov dword [eax], 0x525359
mov eax, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0x985
mov dword [ecx + 4], 0xac8
mov dword [ecx], 0xac8
mov ecx, dword [sym.imp.USER32.dll_AttachThreadInput]
mov dword [esp + 0x24], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x20], eax
mov eax, esp
mov dword [eax + 4], 0xd1ad74
mov dword [eax], 0x2cba08
mov eax, dword [sym.imp.USER32.dll_ValidateRgn]
call eax
sub esp, 8
mov word [esp + 0xde], 0x32
mov ecx, esp
lea edx, [esp + 0xde]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0x669
mov dword [ecx + 4], 0xecd
mov dword [ecx], 0x1011b1a6
mov ecx, dword [sym.imp.OLEAUT32.dll_VarI2FromDisp]
mov dword [esp + 0x1c], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 8], 0x422
mov dword [ecx + 4], 0x636
mov dword [ecx], 0x19b
mov ecx, dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
mov dword [esp + 0x18], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x10001499