Function at 0x49e160
Capabilities:
Create process on windows
Log keystrokes via polling

Disassembly:
sub esp, 0x498
push ebx
push ebp
push esi
lea eax, [esp + 0x4a8]
push edi
mov edi, ecx
neg eax
sbb eax, eax
lea ecx, [esp + 0x4b0]
lea esi, [edi + 0x1d0]
and eax, ecx
test esi, esi
mov dword [esp + 0x18], edi
je 0x49e196
lea ecx, [edi + 0x1d4]
jmp 0x49e198
xor ecx, ecx
mov edx, dword [eax]
mov eax, dword [ecx]
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.00510650
mov eax, dword [0x55d8f4]
test eax, eax
jne 0x49e7eb
mov ecx, dword [0x546560]
lea eax, [esp + 0x4ac]
neg eax
sbb eax, eax
lea edx, [esp + 0x4b0]
and eax, edx
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [edi + 0x1c4]
mov eax, dword [eax]
push edx
push eax
push ecx
call fcn.004cb900
add esp, 0xc
test eax, eax
je 0x49e7e2
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.00510700
push 0
push 0x546814
lea ecx, [esp + 0x18]
call fcn.00405c70
mov ecx, dword [0x546560]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, 0x54725c
mov ebx, eax
test edx, edx
mov dword [esp + 0x1c], ecx
je 0x49e25e
push edx
call edi
mov esi, eax
test esi, esi
je 0x49e25e
push esi
lea ecx, [esp + 0x20]
call fcn.00405530
test eax, eax
je 0x49e25e
mov eax, dword [esp + 0x1c]
inc esi
push esi
push 0x54725c
push eax
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
call fcn.00405bb0
mov ecx, dword [0x546560]
mov edx, 0x54725c
test edx, edx
mov dword [esp + 0x20], ecx
je 0x49e2a7
push edx
call edi
mov esi, eax
test esi, esi
je 0x49e2a7
push esi
lea ecx, [esp + 0x24]
call fcn.00405530
test eax, eax
je 0x49e2a7
mov eax, dword [esp + 0x20]
inc esi
push esi
push 0x54725c
push eax
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
call fcn.00405bb0
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x40]
call fcn.00510700
mov edx, dword [0x546560]
mov eax, dword [eax]
mov dword [esp + 0x30], edx
push eax
mov eax, dword [eax - 8]
push eax
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x40]
call fcn.004059f0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x14]
push edx
call fcn.00405440
lea ecx, [esp + 0x30]
call fcn.00405700
mov eax, dword [0x546560]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax - 8]
mov eax, dword [esp + 0x18]
push ecx
push eax
mov edx, dword [eax - 8]
lea ecx, [esp + 0x30]
push edx
call fcn.004059f0
lea eax, [esp + 0x24]
lea ecx, [esp + 0x34]
push eax
call fcn.00405440
lea ecx, [esp + 0x24]
call fcn.00405700
mov eax, dword [esp + 0x14]
mov edx, dword [0x546564]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49e35b
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x49e35b
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49e386
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x49e386
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49e3b1
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x49e3b1
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49e3dc
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x49e3dc
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp ebx, 0xffffffff
je 0x49e592
test ebx, ebx
mov eax, ebx
jge 0x49e3f5
xor eax, eax
jmp 0x49e402
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx - 8]
cmp ebx, ecx
jle 0x49e402
mov eax, ecx
mov edx, dword [0x546560]
push 0
push 0
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x24], edx
call fcn.004126b0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.00405440
lea ecx, [esp + 0x14]
call fcn.00405700
mov edx, dword [esp + 0x10]
lea eax, [ebx + 1]
mov ecx, dword [edx - 8]
lea edx, [esp + 0x1c]
sub ecx, eax
push ecx
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00413750
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.0049efc0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
je 0x49e4b0
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x49e482
mov edx, dword [0x546564]
add eax, 0xfffffff4
cmp eax, edx
jne 0x49e489
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x49e499
push ecx
mov ecx, dword [ecx - 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.00405870
jmp 0x49e4b0
lea ecx, [esp + 0x10]
call fcn.00412670
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
add eax, 0xfffffff4
push eax
call ebp
mov edx, dword [0x546560]
mov eax, 0x5472e0
test eax, eax
mov dword [esp + 0x14], edx
je 0x49e4ce
push 0x5472e0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [ecx - 8]
push ecx
push 0x5472e0
push eax
lea ecx, [esp + 0x24]
call fcn.004059f0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x24]
push edx
call fcn.00405440
lea ecx, [esp + 0x14]
call fcn.00405700
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x34]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00405a90
mov eax, dword [esp + 0x24]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49e53a
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x49e53a
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49e565
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x49e565
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49e596
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x49e596
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
jmp 0x49e596
mov ebx, dword [esp + 0x18]
push 0
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
push eax
call fcn.00405440
lea ecx, [esp + 0x20]
push ecx
call fcn.004e10e0
mov ecx, dword [esp + 0x1c]
mov esi, eax
add esp, 0xc
mov eax, dword [esi]
cmp ecx, eax
je 0x49e5fe
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x49e5d2
mov edx, dword [0x546564]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x49e5d9
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x49e5e9
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00405870
jmp 0x49e5fe
lea ecx, [esp + 0x10]
call fcn.00412670
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call ebp
mov eax, dword [esp + 0x18]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49e629
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x49e629
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
xor edi, edi
lea ecx, [esp + 0x10]
push edi
push 0x54cbc0
call fcn.00405c70
test eax, eax
jge 0x49e651
push edi
push 0x548c28
lea ecx, [esp + 0x18]
call fcn.00405c70
test eax, eax
jl 0x49e6a7
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0x546f04
push ecx
call fcn.004b6ee0
add esp, 4
lea edx, [esp + 0x30]
push eax
push edx
call fcn.00412f10
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00412dc0
lea ecx, [esp + 0x28]
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.004129b0
lea ecx, [esp + 0x18]
call fcn.00405700
lea edx, [esp + 0x10]
push edx
call fcn.004b8df0
mov eax, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x44]
mov word [esp + 0x49c], 0x5c
push eax
mov dword [esp + 0x4a4], edi
mov dword [esp + 0x4a8], edi
call fcn.004140e0
mov esi, eax
cmp esi, edi
je 0x49e6fe
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x48]
call fcn.00413e90
push eax
lea ecx, [esp + 0x14]
call fcn.004129b0
lea ecx, [esp + 0x18]
jmp 0x49e747
push ecx
lea edx, [esp + 0x14]
mov edi, esp
push edx
push 0x54cbb8
lea eax, [esp + 0x34]
push 0xe6
push eax
call fcn.004bc8d0
add esp, 8
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00412f10
push eax
push edi
call fcn.00412dc0
mov ecx, dword [ebx + 0xe4]
call fcn.004eb5a0
lea ecx, [esp + 0x18]
call fcn.00405700
lea ecx, [esp + 0x28]
call fcn.00405700
mov edx, dword [0x546560]
push 0x11
mov dword [esp + 0x30], edx
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x49e771
push str.runas
lea ecx, [esp + 0x30]
call fcn.00433000
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
push 1
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [ebx + 4]
push edx
push eax
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x2c]
call fcn.00405700
lea ecx, [esp + 0x44]
call fcn.004141f0
lea ecx, [esp + 0x34]
call fcn.00405700
lea ecx, [esp + 0x38]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x3c]
call fcn.0050fe40
lea ecx, [esp + 0x4ac]
call fcn.0050fe40
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x498
ret 8
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x3c]
call fcn.0050fe40
lea ecx, [esp + 0x4ac]
call fcn.0050fe40
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x498
ret 8