Function at 0x427860
Capabilities:
Create process on windows
Get graphical window text
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x4e0138]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
mov ecx, dword [0x4e6994]
mov dword [ebp - 0x138], edi
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4278ba
cmp dword [eax + 8], 0
jle 0x4278ba
mov eax, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
je 0x4278ba
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4278ba
mov eax, dword [eax + 8]
jmp 0x4278bc
xor eax, eax
mov dword [ebp - 0x134], eax
mov eax, dword [ecx + 0x44]
dec eax
mov dword [0x538274], eax
mov eax, dword [ecx + 0x40]
dec eax
mov dword [0x538278], eax
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x44]
test eax, eax
jne 0x4278e2
xor ecx, ecx
jmp 0x4278e5
mov ecx, dword [eax + 8]
cmp edx, ecx
jge 0x4278f7
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4278f7
mov eax, dword [eax]
jmp 0x4278f9
xor eax, eax
push edi
mov dword [0x53827c], eax
mov word [0x538280], si
mov dword [0x538268], edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push 0x538268
push eax
mov dword [0x53826c], eax
mov eax, dword [0x4e6994]
push 0x4e
mov dword [0x538270], 6
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esi - 0x21]
cmp ecx, 7
ja case.0x42794e.35
mov eax, dword [0x4e6994]
mov dword [ebp - 0x13c], eax
jmp dword [ecx*4 + 0x427fc4]
mov eax, dword [ebp - 0x134]
xorps xmm0, xmm0
movups xmmword [ebp - 0x120], xmm0
sub eax, 1
je case.default.0x427c85
cmp esi, 0x22
je 0x42797d
mov ecx, 1
cmp esi, 0x28
jne 0x42797f
mov ecx, eax
mov eax, dword [0x4e6994]
cmp dword [eax + 0x40], ecx
je case.default.0x427c85
lea eax, [ebp - 0x120]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [0x4e6994]
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x138], ecx
sub eax, dword [ecx + 0x4c]
sub eax, dword [ecx + 0x3c]
cdq
idiv dword [ecx + 0x28]
mov edx, eax
cmp esi, 0x22
je 0x4279eb
cmp esi, 0x28
je 0x4279eb
mov eax, dword [ebp - 0x138]
cmp esi, 0x21
mov ecx, 1
cmove ecx, edx
sub dword [eax + 0x40], ecx
mov eax, dword [0x4e6994]
cmp dword [eax + 0x40], 1
jge 0x427a48
mov dword [eax + 0x40], 1
jmp 0x427a4f
cmp esi, 0x22
mov eax, 1
cmove eax, edx
add dword [ecx + 0x40], eax
mov edx, dword [0x4e6994]
mov eax, dword [ebp - 0x134]
dec eax
cmp dword [edx + 0x40], eax
jle 0x427a48
mov dword [edx + 0x40], eax
jmp 0x427a4f
cmp dword [eax + 0x70], 1
jne case.0x42794e.37
cmp dword [eax + 0x74], 0
je case.0x42794e.37
mov dword [eax + 0x74], 0
jmp 0x427a4f
mov ecx, dword [eax + 0x44]
xor edx, edx
cmp esi, 0x27
sete dl
call fcn.00425150
mov ecx, eax
test ecx, ecx
je case.default.0x427c85
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x44], ecx
mov ecx, edi
call fcn.00426640
mov edx, dword [0x4e6994]
mov ecx, edi
push dword [edx + 0x40]
mov edx, dword [edx + 0x44]
call fcn.004260f0
mov edx, dword [0x4e6994]
add esp, 4
mov ecx, edi
push dword [edx + 0x40]
mov edx, dword [edx + 0x44]
call fcn.00426230
add esp, 4
lea eax, [ebp - 0x130]
xorps xmm0, xmm0
movups xmmword [ebp - 0x130], xmm0
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048824f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp esi, 0x70
jb 0x427ac7
cmp esi, 0x87
jbe case.default.0x427c85
cmp esi, 9
je case.default.0x427c85
cmp esi, 0xd
je case.default.0x427c85
cmp esi, 0x12
je case.default.0x427c85
cmp esi, 0x13
je case.default.0x427c85
cmp esi, 0x14
je case.default.0x427c85
cmp esi, 0x2d
je case.default.0x427c85
cmp esi, 0x90
je case.default.0x427c85
cmp esi, 0x5b
je case.default.0x427c85
cmp esi, 0x5c
je case.default.0x427c85
cmp esi, 0x5d
je case.default.0x427c85
mov eax, dword [0x4e6994]
cmp dword [eax + 0x90], 0
je case.default.0x427c85
cmp dword [eax + 0x70], 1
jne 0x427b46
cmp dword [eax + 0x74], 0
jne case.default.0x427c85
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x40]
cmp edx, 0xffffffff
jle case.default.0x427c85
cmp ecx, 0xffffffff
jle case.default.0x427c85
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x427b6d
mov dword [ebp - 0x134], eax
jmp 0x427b76
mov edi, dword [eax + 8]
mov dword [ebp - 0x134], edi
cmp edx, dword [ebp - 0x134]
jge case.default.0x427c85
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4]
test eax, eax
je case.default.0x427c85
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x427b9f
mov dword [ebp - 0x134], eax
jmp 0x427ba8
mov edi, dword [eax + 8]
mov dword [ebp - 0x134], edi
mov edi, dword [ebp - 0x138]
cmp ecx, dword [ebp - 0x134]
jge 0x427bbe
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
jmp 0x427bc0
xor eax, eax
mov dword [ebp - 0x134], eax
test eax, eax
je case.default.0x427c85
cmp dword [eax + 0xc], 1
je case.default.0x427c85
lea eax, [ebp - 0x120]
xorps xmm0, xmm0
push eax
push ecx
mov ecx, edi
movaps xmmword [ebp - 0x120], xmm0
call fcn.004251e0
push 0x100
lea eax, [ebp - 0x110]
mov dword [ebp - 0xc], 0
push 0
push eax
mov byte [ebp - 8], 0
call fcn.0048f850
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
push dword [ebx + 0x10]
push esi
call dword [sym.imp.USER32.dll_ToAscii]
xor ecx, ecx
test eax, eax
cmovns ecx, eax
cmp ecx, 5
jge 0x427c4d
jae 0x427fbe
mov byte [ebp + ecx - 0xc], 0
mov eax, dword [0x4e6994]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x44]
test ecx, ecx
jne 0x427c60
xor eax, eax
jmp 0x427c63
mov eax, dword [ecx + 8]
cmp edx, eax
jge case.default.0x427c85
mov eax, dword [ecx + 4]
mov eax, dword [eax + edx*4]
test eax, eax
je case.default.0x427c85
mov eax, dword [eax]
dec eax
cmp eax, 5
ja case.default.0x427c85
jmp dword [eax*4 + 0x427fe4]
mov ecx, dword [ebx + 0x10]
and ecx, 0x2000
je 0x427ca1
mov eax, dword [ebp - 0x134]
mov edx, dword [eax]
jmp 0x427ca4
lea edx, [ebp - 0xc]
movups xmm0, xmmword [ebp - 0x120]
sub esp, 0x10
mov eax, esp
push ecx
mov ecx, edi
movups xmmword [eax], xmm0
call fcn.00427400
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048824f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x134]
mov esi, dword [eax]
test ecx, ecx
jne 0x427ce1
xor eax, eax
jmp 0x427ce4
mov eax, dword [ecx + 8]
cmp edx, eax
jge 0x427cf7
mov eax, dword [ecx + 4]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x427cf7
mov edx, dword [edx + 8]
jmp 0x427cf9
xor edx, edx
movups xmm0, xmmword [ebp - 0x120]
sub esp, 0x10
mov ecx, edi
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.004275e0
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048824f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x134]
movaps xmm0, xmmword [ebp - 0x120]
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [eax]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x120]
push eax
movaps xmmword [ebp - 0x120], xmm0
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [0x4e6994]
cmp dword [eax + 8], 0
jne 0x427e01
push 0
push dword [eax]
push 0x7d3
push edi
push closesocket
push closesocket
push closesocket
push closesocket
push 0x50000000
push 0x4c798c
push str.Button
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0x13c], eax
test eax, eax
jne 0x427da5
xor edi, edi
jmp 0x427df9
push 0x4c7998
push 0x4c7998
push eax
call dword [sym.imp.UxTheme.dll_SetWindowTheme]
push 0
push 0
push 0
push 0x31
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [ebp - 0x13c]
push eax
push 0x30
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
push str.Wprc
push edi
call dword [sym.imp.USER32.dll_SetPropA]
push 0x426ac0
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [0x4e6994]
mov dword [eax + 8], edi
mov eax, dword [ebp - 0x114]
mov edx, dword [ebp - 0x11c]
sub eax, edx
mov ecx, dword [ebp - 0x120]
push 1
push eax
mov eax, dword [ebp - 0x118]
sub eax, ecx
push eax
mov eax, dword [0x4e6994]
push edx
push ecx
push dword [eax + 8]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x4e6994]
push dword [ebp - 0x138]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x4e6994]
push 5
push dword [eax + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4e6994]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x10]
movzx ecx, ax
movzx eax, word [ebx + 0xc]
shl ecx, 0x10
or ecx, eax
mov eax, dword [0x4e6994]
push ecx
push esi
push 0x100
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048824f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [ebp - 0x134]
push 0x4c796c
push dword [esi]
call fcn.0049afc2
mov ecx, dword [esi]
add esp, 8
push ecx
test eax, eax
jne 0x427f20
call fcn.004995bf
add esp, 4
xor ecx, ecx
inc ecx
cmp byte [ecx + 0x4c7988], 0
jne 0x427ec0
xor eax, eax
add ecx, 1
push 1
setb al
neg eax
or eax, ecx
push eax
call fcn.0049af7e
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x427efa
push 1
push 1
call fcn.0049af7e
add esp, 8
mov dword [esi], eax
jmp case.0x427c85.6
xor eax, eax
nop dword [eax]
inc eax
cmp byte [eax + 0x4c7988], 0
jne 0x427f00
push eax
push 0x4c7988
push ecx
call fcn.0048f2d0
add esp, 0xc
mov dword [esi], eax
jmp case.0x427c85.6
call fcn.004995bf
add esp, 4
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + 0x4c796c], 0
jne 0x427f30
xor eax, eax
add ecx, 1
push 1
setb al
neg eax
or eax, ecx
push eax
call fcn.0049af7e
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x427ee7
xor eax, eax
nop dword [eax]
inc eax
cmp byte [eax + 0x4c796c], 0
jne 0x427f60
push eax
push 0x4c796c
push ecx
call fcn.0048f2d0
add esp, 0xc
mov dword [esi], eax
jmp case.0x427c85.6
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 4]
cmp byte [eax], 0
je case.0x427c85.6
cmp esi, 0x20
jne case.0x427c85.6
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, edi
call fcn.00426800
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0048824f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0048871f
nop
push ebp
jns 4358153
add byte [ebp + 0x79], dl
inc edx
add byte [esi - 0x49ffbd86], dh
jp 0x428015
add byte [0x5500427a], ah
jns 0x42801d
add byte [eax], dl
jp 0x428021
add byte [ebp + 0x79], dl
inc edx
add byte [esp + edi*2 + 0x7cd10042], cl
inc edx
add byte [esi], ah
jge 0x428031
add byte [edx + 0x7d00427e], bl
jg 0x428039
add byte [edi + edi*2 - 0x3333ffbe], ah
int3
add byte [eax], al
or al, 4