Function at 0x49f0b0
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 0x49f0e6
lea ecx, [edi + 0x1d4]
jmp 0x49f0e8
xor ecx, ecx
mov edx, dword [eax]
mov eax, dword [ecx]
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.00510f50
mov eax, dword [0x55e9ac]
test eax, eax
jne 0x49f73b
mov ecx, dword [0x547570]
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.004cc920
add esp, 0xc
test eax, eax
je 0x49f732
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.00511000
push 0
push 0x547824
lea ecx, [esp + 0x18]
call fcn.00405c70
mov ecx, dword [0x547570]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, 0x54826c
mov ebx, eax
test edx, edx
mov dword [esp + 0x1c], ecx
je 0x49f1ae
push edx
call edi
mov esi, eax
test esi, esi
je 0x49f1ae
push esi
lea ecx, [esp + 0x20]
call fcn.00405530
test eax, eax
je 0x49f1ae
mov eax, dword [esp + 0x1c]
inc esi
push esi
push 0x54826c
push eax
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
call fcn.00405bb0
mov ecx, dword [0x547570]
mov edx, 0x54826c
test edx, edx
mov dword [esp + 0x20], ecx
je 0x49f1f7
push edx
call edi
mov esi, eax
test esi, esi
je 0x49f1f7
push esi
lea ecx, [esp + 0x24]
call fcn.00405530
test eax, eax
je 0x49f1f7
mov eax, dword [esp + 0x20]
inc esi
push esi
push 0x54826c
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.00511000
mov edx, dword [0x547570]
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 [0x547570]
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 [0x547574]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49f2ab
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x49f2ab
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49f2d6
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x49f2d6
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49f301
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x49f301
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49f32c
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x49f32c
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp ebx, 0xffffffff
je 0x49f4e2
test ebx, ebx
mov eax, ebx
jge 0x49f345
xor eax, eax
jmp 0x49f352
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx - 8]
cmp ebx, ecx
jle 0x49f352
mov eax, ecx
mov edx, dword [0x547570]
push 0
push 0
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x24], edx
call fcn.00412500
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.004135a0
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.0049ff10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
je 0x49f400
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x49f3d2
mov edx, dword [0x547574]
add eax, 0xfffffff4
cmp eax, edx
jne 0x49f3d9
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x49f3e9
push ecx
mov ecx, dword [ecx - 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.00405870
jmp 0x49f400
lea ecx, [esp + 0x10]
call fcn.004124c0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
add eax, 0xfffffff4
push eax
call ebp
mov edx, dword [0x547570]
mov eax, 0x5482f0
test eax, eax
mov dword [esp + 0x14], edx
je 0x49f41e
push 0x5482f0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [ecx - 8]
push ecx
push 0x5482f0
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 [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49f48a
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x49f48a
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49f4b5
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x49f4b5
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49f4e6
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x49f4e6
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
jmp 0x49f4e6
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.004e1ca0
mov ecx, dword [esp + 0x1c]
mov esi, eax
add esp, 0xc
mov eax, dword [esi]
cmp ecx, eax
je 0x49f54e
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x49f522
mov edx, dword [0x547574]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x49f529
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x49f539
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00405870
jmp 0x49f54e
lea ecx, [esp + 0x10]
call fcn.004124c0
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call ebp
mov eax, dword [esp + 0x18]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49f579
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x49f579
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
xor edi, edi
lea ecx, [esp + 0x10]
push edi
push 0x54dc30
call fcn.00405c70
test eax, eax
jge 0x49f5a1
push edi
push 0x549c48
lea ecx, [esp + 0x18]
call fcn.00405c70
test eax, eax
jl 0x49f5f7
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0x547f14
push ecx
call fcn.004b7e30
add esp, 4
lea edx, [esp + 0x30]
push eax
push edx
call fcn.00412d60
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00412c10
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.00412800
lea ecx, [esp + 0x18]
call fcn.00405700
lea edx, [esp + 0x10]
push edx
call fcn.004b9eb0
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.00413f30
mov esi, eax
cmp esi, edi
je 0x49f64e
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x48]
call fcn.00413ce0
push eax
lea ecx, [esp + 0x14]
call fcn.00412800
lea ecx, [esp + 0x18]
jmp 0x49f697
push ecx
lea edx, [esp + 0x14]
mov edi, esp
push edx
push 0x54dc28
lea eax, [esp + 0x34]
push 0xe6
push eax
call fcn.004bd990
add esp, 8
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00412d60
push eax
push edi
call fcn.00412c10
mov ecx, dword [ebx + 0xe4]
call fcn.004ec160
lea ecx, [esp + 0x18]
call fcn.00405700
lea ecx, [esp + 0x28]
call fcn.00405700
mov edx, dword [0x547570]
push 0x11
mov dword [esp + 0x30], edx
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x49f6c1
push str.runas
lea ecx, [esp + 0x30]
call fcn.00433110
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.00414040
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.00510740
lea ecx, [esp + 0x4ac]
call fcn.00510740
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.00510740
lea ecx, [esp + 0x4ac]
call fcn.00510740
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x498
ret 8