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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
call fcn.004038b5
lea eax, [ebp - 8]
push eax
call fcn.004715ec
add esp, 0xc
lea ecx, [ebp - 0x24]
push ebx
push dword [ebp - 8]
call fcn.004899c9
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x20]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [edi + 0x2c]
call fcn.0046c47d
test al, al
je 0x4576ff
push dword [ebp - 0x14]
lea ecx, [ebp - 4]
call fcn.004117e9
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
call fcn.0048938d
mov dword [ebp - 0xc], ebx
call fcn.0048ea6f
cmp dword [ebp + 0x1c], ebx
mov dword [ebp - 0x10], eax
je 0x4574d8
mov dword [ebp - 0x10], 1
lea esi, [ebp - 0x2c]
lea eax, [ebp - 0x28]
neg esi
sbb esi, esi
lea edx, [ebp - 0xc]
and esi, eax
push edx
lea ecx, [edi + 0x20]
mov eax, dword [esi]
push eax
push dword [ebp - 4]
call fcn.0048574f
test al, al
je 0x45756a
push 1
pop esi
cmp dword [ebp - 0x10], esi
jne 0x45751d
push 0xffffffffffffffff
push ecx
push ecx
mov ecx, esp
push dword [ebp - 0xc]
call fcn.0048938d
mov ecx, dword [edi + 0xdc]
call fcn.00477bad
jmp 0x457533
push ebx
push esi
push ebx
push ecx
push ecx
mov ecx, esp
push dword [ebp - 0xc]
call fcn.0048938d
mov ecx, edi
call fcn.004501d2
lea ecx, [ebp - 0x2c]
call fcn.004893ad
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x45754b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x24]
call fcn.004893ad
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp + 8]
call fcn.004284a6
mov eax, esi
jmp 0x457719
push dword [esi]
lea ecx, [edi + 0x20]
push dword [ebp - 4]
call fcn.0048571b
test al, al
je 0x4575ec
cmp dword [ebp - 0x10], 1
jne 0x4575d3
push 0xffffffffffffffff
push ecx
push ecx
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.00417128
mov ecx, dword [edi + 0xdc]
call fcn.00477bad
lea ecx, [ebp - 0x2c]
call fcn.004893ad
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x4575b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x24]
call fcn.004893ad
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp + 8]
call fcn.004284a6
push 1
pop eax
jmp 0x457719
push ebx
push ecx
lea eax, [ebp - 8]
mov ecx, esp
push eax
call fcn.004038b5
mov ecx, edi
call fcn.00451b0f
jmp 0x4576ea
push ebx
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
push eax
call fcn.004038b5
lea eax, [ebp - 0x1c]
push eax
call fcn.004711da
add esp, 0xc
lea ecx, [ebp + 0x10]
push eax
call fcn.00403a8c
lea ecx, [ebp - 0x1c]
call fcn.004038fb
lea eax, [ebp + 0x10]
mov ecx, edi
push eax
call fcn.00453814
lea eax, [ebp - 0x10]
lea ecx, [edi + 0x1c8]
push eax
call fcn.00489a02
mov eax, dword [0x4af550]
push 0x11
mov dword [ebp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x457652
push str.runas
lea ecx, [ebp + 0x1c]
call fcn.00403adc
mov eax, dword [ebp + 0x14]
cmp dword [eax - 8], ebx
je 0x4576c3
push dword [edi + 0xdc]
lea eax, [ebp + 0x14]
push ecx
mov ecx, esp
push eax
call fcn.004038b5
lea eax, [ebp - 0x1c]
push eax
call fcn.004711da
add esp, 0xc
lea ecx, [ebp + 0x14]
push eax
call fcn.00403a8c
lea ecx, [ebp - 0x1c]
call fcn.004038fb
push ebx
push str._fdir_
lea ecx, [ebp + 0x14]
call fcn.00403d34
test eax, eax
jl 0x4576c3
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.004038b5
lea eax, [ebp - 0x1c]
push eax
call fcn.004600c4
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00403a8c
lea ecx, [ebp - 0x1c]
call fcn.004038fb
push 1
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 0x1c]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0x2c]
call fcn.004893ad
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x4576ff
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x24]
call fcn.004893ad
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp + 8]
call fcn.004284a6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x18