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

Disassembly:
sub esp, 0xc30
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov al, byte [esi + 0x90e]
test al, al
je 0x4276b0
mov edi, dword [esi + 0x910]
jmp 0x4276b5
mov edi, 1
mov eax, dword [esp + 0xc68]
mov dword [esp + 0x20], edi
sub eax, ebx
mov dword [esp + 0x28], ebx
mov dword [esi + 0x1230], ebx
je 0x427a5f
dec eax
jne 0x4279a6
mov eax, dword [esi + 0x3d0]
add eax, 2
lea ecx, [edi + eax*2]
add eax, ecx
shl eax, 2
push eax
call fcn.00423630
add esp, 4
test eax, eax
jne 0x42770b
call fcn.00423740
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc30
ret 0x2c
mov cl, byte [esi + 0x1179]
mov eax, dword [0x467ee0]
xor edx, edx
test cl, cl
setne dl
mov dword [eax + 4], edx
mov ecx, dword [0x467ee0]
cmp edi, ebx
mov dword [ecx + 8], edi
mov edx, dword [0x467ee0]
mov dword [edx + 0xc], ebx
mov eax, dword [0x467ee0]
mov dword [eax + 0x10], ebx
jbe 0x427755
mov eax, 0x14
mov ecx, edi
mov edx, dword [0x467ee0]
add eax, 4
dec ecx
mov dword [eax + edx - 4], ebx
jne 0x427745
mov ecx, dword [0x467ee0]
mov eax, dword [esi + 0x3d0]
mov dword [esp + 0x1c], ebx
mov dword [ecx + edi*4 + 0x14], eax
mov eax, dword [esi + 0x3d0]
cmp eax, ebx
jle 0x4279a6
lea edi, [edi*4 + 0x20]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], edi
mov edx, dword [0x467ee0]
mov dword [esp + 0x18], 0
mov dword [edi + edx], 0
mov eax, dword [0x4634d4]
test eax, eax
jle 0x42786d
mov dword [esp + 0x10], str.advapi32.dll
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x3a8]
add ecx, eax
call fcn.00409690
mov edx, eax
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
mov ebx, dword [eax]
xor eax, eax
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebp
jb 0x427827
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebp
jbe 0x427819
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub ecx, ebp
add edx, ecx
push ebx
push edx
call fcn.004348b0
add esp, 8
test eax, eax
je 0x42784b
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [0x4634d4]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jl 0x4277b0
jmp 0x42786d
mov ecx, dword [0x467ee0]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edi + ecx], 1
mov eax, dword [0x4634d4]
cmp edx, eax
jl 0x427942
xor edi, edi
mov eax, dword [esi + 0x1298]
mov dword [esp + 0x18], edi
test eax, eax
je 0x42793e
mov ecx, dword [esi + 0x129c]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x42793e
mov ecx, dword [esp + 0x24]
mov ebp, dword [esi + 0x3a8]
add ecx, ebp
call fcn.00409690
mov edx, eax
mov eax, dword [esi + 0x1298]
or ecx, 0xffffffff
mov ebp, dword [eax + edi*4]
xor eax, eax
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebx
jb 0x427921
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebx
jbe 0x427900
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub ecx, ebx
add edx, ecx
mov eax, dword [esi + 0x1298]
mov edi, dword [esp + 0x18]
mov eax, dword [eax + edi*4]
push eax
push edx
call fcn.004348b0
add esp, 8
test eax, eax
je 0x42792b
inc edi
jmp 0x42786f
mov edi, dword [esp + 0x18]
inc edi
jmp 0x42786f
mov ecx, dword [0x467ee0]
mov edi, dword [esp + 0x14]
mov dword [edi + ecx], 1
jmp 0x427942
mov edi, dword [esp + 0x14]
mov edx, dword [esi + 0x3a8]
mov ecx, dword [esp + 0x24]
add edi, 0xc
mov eax, dword [ecx + edx + 0x410]
mov edx, dword [0x467ee0]
mov dword [esp + 0x14], edi
mov dword [edi + edx - 0x14], eax
mov eax, dword [esi + 0x3a8]
add eax, ecx
add ecx, 0x43c
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0x414]
mov ebx, dword [eax + 0x410]
mov eax, dword [0x467ee0]
add edx, ebx
mov dword [edi + eax - 0x10], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x3d0]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x427786
xor ebx, ebx
mov al, byte [esp + 0xc6c]
mov edi, dword [esp + 0xc44]
test al, al
jne 0x4279d2
mov al, byte [esi + 0x1176]
test al, al
je 0x4279d2
mov al, byte [esi + 0x1177]
test al, al
jne 0x427c3b
xor ebx, ebx
mov ecx, dword [0x467ee0]
mov dword [ecx], ebx
call fcn.004236c0
mov eax, dword [0x467f14]
mov edx, dword [0x467efc]
mov ecx, dword [esi + 0x914]
mov dword [esp + 0x30], eax
mov al, byte [esp + 0xc6c]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0xc50]
mov dword [esp + 0x34], ecx
test al, al
mov dword [esp + 0x38], edx
je 0x427a85
mov al, byte [esi + 0x1176]
test al, al
je 0x427a85
mov ecx, dword [esp + 0xc4c]
mov eax, dword [esi + 0x3e8]
mov edx, dword [ecx]
lea eax, [eax + edx - 1]
push eax
push 0x460f14
push 0x467ae0
mov dword [esp + 0x48], eax
call fcn.0043367e
add esp, 8
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x467ae0
call fcn.004429fd
mov ecx, esi
call fcn.0041d3e0
jmp 0x427a89
push 4
call fcn.00423630
add esp, 4
test eax, eax
jne 0x4279a6
call fcn.00423740
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc30
ret 0x2c
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0xc48]
mov edx, dword [0x467f1c]
lea eax, [esp + 0x2c]
push eax
push 5
push ecx
push 1
push 0xea60
push edx
push edi
push ebx
call fcn.0044b182
push eax
mov eax, dword [esp + 0xc50]
lea edx, [esp + 0x44]
mov ecx, dword [eax]
push ecx
push str.RVA:_08X
push edx
call fcn.0043367e
add esp, 0x10
mov byte [esi + 0x922], 1
mov eax, dword [0x467f1c]
push 1
push 0xea60
push eax
push edi
push ebx
call fcn.0044b1be
mov ecx, dword [0x467f1c]
push 0xea60
push ecx
push edi
push ebx
call fcn.0044b14f
test eax, eax
jne 0x427b02
mov byte [esi + 0x922], al
mov edx, dword [0x467ee0]
cmp dword [edx], ebx
je 0x427bf5
mov eax, dword [esi + 0x3d0]
mov dword [esp + 0x1c], 0
test eax, eax
jle 0x427bf5
mov ebp, dword [esp + 0xc60]
mov ebx, dword [esp + 0xc5c]
xor edi, edi
mov eax, dword [0x467ee0]
mov edx, dword [esi + 0x3a8]
mov ecx, dword [eax]
push ecx
mov ecx, edi
add ecx, edx
call fcn.004096a0
test eax, eax
je 0x427bd8
mov eax, dword [esp + 0xc68]
test eax, eax
je 0x427ba2
mov al, byte [esi + 0x1179]
test al, al
je 0x427ba2
mov edx, dword [esp + 0xc58]
mov ecx, dword [esp + 0xc54]
push 0
push ebp
mov eax, dword [edx]
mov edx, dword [0x467ee0]
push ebx
push eax
mov eax, dword [edx]
mov edx, dword [esi + 0x3a8]
push ecx
mov ecx, edi
push eax
add ecx, edx
call fcn.00409de0
test eax, eax
jne 0x427cb2
jmp 0x427bd8
mov ecx, dword [esp + 0xc58]
mov eax, dword [esp + 0xc54]
push 0
push ebp
mov edx, dword [ecx]
mov ecx, dword [0x467ee0]
push ebx
push edx
mov edx, dword [ecx]
push eax
push edx
mov edx, dword [esi + 0x3a8]
mov ecx, edi
add ecx, edx
call fcn.004097a0
test eax, eax
jne 0x427cb2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x3d0]
inc eax
add edi, 0x43c
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x427b36
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
push 0x463bf8
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0x44]
push eax
call fcn.0043367e
add esp, 4
mov ecx, esp
mov dword [esp + 0x14], esp
lea edx, [esp + 0x44]
push edx
call fcn.004429fd
mov ecx, esi
call fcn.0041d3e0
mov al, byte [esp + 0xc6c]
test al, al
jne 0x428004
mov al, byte [esi + 0x1176]
test al, al
je 0x428004
mov eax, dword [esp + 0xc50]
push 0
push 0
push eax
mov ecx, esi
call fcn.00422240
mov eax, dword [esi + 0x1268]
test eax, eax
je 0x427c7a
mov ecx, dword [esi + 0x126c]
sub ecx, eax
test ecx, 0xfffffffc
jne 0x427cfe
mov edx, dword [esp + 0xc4c]
mov eax, dword [edx]
push eax
push 0x463bd4
push 0x467ae0
call fcn.0043367e
add esp, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x467ae0
call fcn.004429fd
mov ecx, esi
call fcn.0041d3e0
jmp 0x428004
mov eax, dword [esp + 0xc64]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov edx, dword [0x467ee0]
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x28], eax
je 0x427bf5
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
push 0x463bcc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0x44]
push eax
call fcn.0043367e
add esp, 4
mov ecx, esp
mov dword [esp + 0x14], esp
jmp 0x427c1b
mov eax, dword [esi + 0x1268]
test eax, eax
jne 0x427d0c
xor ebx, ebx
jmp 0x427d17
mov ebx, dword [esi + 0x126c]
sub ebx, eax
sar ebx, 2
dec ebx
test ebx, ebx
jl 0x427ff9
mov edi, dword [sym.imp.user32.dll_GetAsyncKeyState]
push 0x11
call edi
test ax, ax
jge 0x427d3c
push 0x7b
call edi
test ax, ax
jl 0x427ff9
mov eax, dword [esi + 0x1268]
mov ebp, dword [esi + 0x3e8]
lea ecx, [esi + 0x3ac]
mov edx, dword [eax + ebx*4]
sub edx, ebp
push edx
call fcn.00415300
test al, al
je 0x427d8e
mov eax, dword [esi + 0x1268]
mov edx, dword [esp + 0xc4c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [edx]
push ecx
push eax
push 0x463b9c
push 0x467ae0
call fcn.0043367e
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x18], esp
jmp 0x427fe1
mov ecx, dword [0x467ee0]
mov dword [ecx], 0
call fcn.004236c0
mov edx, dword [0x467efc]
mov eax, dword [0x467f14]
mov ecx, dword [esi + 0x914]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0xc50]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x1268]
mov edi, dword [esp + 0xc44]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + ebx*4]
mov eax, dword [esp + 0xc48]
lea edx, [esp + 0x2c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x467f1c]
push edx
push 5
push eax
push 1
push 0xea60
push ecx
push edi
push 0
call fcn.0044b182
mov edx, dword [esi + 0x1268]
mov ecx, dword [edx + ebx*4]
mov edx, dword [esp + 0xc4c]
push ecx
push eax
mov eax, dword [edx]
lea ecx, [esp + 0x48]
push eax
push 0x463b78
push ecx
call fcn.0043367e
add esp, 0x14
mov byte [esi + 0x922], 1
mov edx, dword [0x467f1c]
push 1
push 0xea60
push edx
push edi
push 0
call fcn.0044b1be
mov eax, dword [0x467f1c]
push 0xea60
push eax
push edi
push 0
call fcn.0044b14f
test eax, eax
jne 0x427e61
mov byte [esi + 0x922], al
mov ecx, dword [0x467ee0]
cmp dword [ecx], 0
je 0x427edf
mov eax, dword [esi + 0x3d0]
xor ebp, ebp
test eax, eax
jle 0x427edf
xor edi, edi
mov edx, dword [0x467ee0]
mov ecx, edi
mov eax, dword [edx]
mov edx, dword [esi + 0x3a8]
push eax
add ecx, edx
call fcn.004096a0
test eax, eax
je 0x427ece
lea ecx, [esp + 0x840]
push 0
push ecx
mov ecx, dword [0x467ee0]
lea edx, [esp + 0x18]
lea eax, [esp + 0x448]
push edx
mov edx, dword [ecx]
push 0x400
push eax
push edx
mov edx, dword [esi + 0x3a8]
mov ecx, edi
add ecx, edx
call fcn.004097a0
test eax, eax
jne 0x427f0f
mov eax, dword [esi + 0x3d0]
inc ebp
add edi, 0x43c
cmp ebp, eax
jl 0x427e7a
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
push 0x463bf8
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0x44]
push eax
call fcn.0043367e
add esp, 4
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
jmp 0x427fe6
mov eax, dword [0x467ee0]
mov eax, dword [eax]
test eax, eax
je 0x427edf
mov ecx, dword [esi + 0x1268]
mov ebp, dword [esi + 0x3e8]
mov edi, dword [esp + 0xc4c]
push eax
mov edx, dword [ecx + ebx*4]
lea ecx, [esi + 0x3ac]
mov eax, dword [edi]
sub edx, ebp
push edx
push eax
call fcn.004150a0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x440]
push ecx
mov ecx, dword [esi + 0x1268]
lea eax, [esp + 0x844]
push edx
mov edx, dword [ecx + ebx*4]
push eax
mov eax, dword [esi + 0x3e8]
lea ecx, [esi + 0x117c]
sub edx, eax
mov eax, dword [edi]
push edx
push eax
call fcn.00408590
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
push 0x463bcc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [esp + ecx + 0x44]
push ecx
call fcn.0043367e
add esp, 4
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.004429fd
mov ecx, esi
call fcn.0041d3e0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x440]
and ecx, 0xffff
push eax
lea edx, [esp + 0x844]
push ecx
push edx
push str._mod:_s_ord:_04X
push 0x467ae0
call fcn.0043367e
add esp, 0x10
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x467ae0
call fcn.004429fd
mov ecx, esi
call fcn.0041d3e0
dec ebx
jns 0x427d20
lea ecx, [esi + 0x117c]
call fcn.00408480
cmp dword [esp + 0xc68], 1
jne 0x42813a
mov al, byte [esi + 0x90e]
test al, al
je 0x42813a
lea eax, [esi + 0x1068]
push 0x461434
push eax
mov dword [esp + 0x1c], eax
call fcn.004339b5
mov edi, eax
add esp, 8
test edi, edi
je 0x428122
mov eax, dword [0x467ee0]
mov ebp, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
cmp ecx, ebp
jae 0x428054
mov ebp, ecx
mov ebx, dword [eax + 0x10]
push 0x463b2c
push edi
mov dword [esp + 0x18], ebp
shr ebx, 2
call fcn.004339f7
mov eax, dword [esp + 0xc58]
push eax
push str.VA____________________:_0x_08X_n
push edi
call fcn.004339f7
mov ecx, dword [0x467ee0]
mov edx, dword [ecx + 0xc]
push edx
push 0x463af0
push edi
call fcn.004339f7
mov eax, dword [esp + 0x40]
push eax
push 0x463ad0
push edi
call fcn.004339f7
push str.EIP:_n____n
push edi
call fcn.004339f7
add esp, 0x34
test ebp, ebp
jbe 0x4280c4
mov eax, dword [esp + 0x20]
test ebx, ebx
jbe 0x4280be
dec ebx
jmp 0x4280c1
lea ebx, [eax - 1]
dec ebp
jne 0x4280b7
mov eax, dword [esp + 0x10]
xor ebp, ebp
test eax, eax
jbe 0x4280f9
lea eax, [ebx + ebp]
xor edx, edx
div dword [esp + 0x20]
mov ecx, dword [0x467ee0]
mov edx, dword [ecx + edx*4 + 0x14]
push edx
push str._08X_n
push edi
call fcn.004339f7
mov eax, dword [esp + 0x1c]
add esp, 0xc
inc ebp
cmp ebp, eax
jb 0x4280ce
push edi
call fcn.004337ce
add esp, 4
test esi, esi
je 0x428109
mov esi, dword [esi + 0x1c]
mov eax, dword [esp + 0x14]
push 0xa
push 0
push 0
push eax
push str.open
push esi
call dword [sym.imp.shell32.dll_ShellExecuteA]
jmp 0x42813a
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x463a90
call fcn.004429fd
mov ecx, esi
call fcn.0041d3e0
call fcn.00423740
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc30
ret 0x2c