Function at 0x100e3d3
Capabilities:
Create process on windows
Create thread
Log keystrokes via polling
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x101e08c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x40
xor ecx, ecx
lea eax, [edi - 0xea63]
pop esi
mov dword [ebp - 0x210], ecx
mov edx, 0xea63
cmp eax, esi
ja 0x100e416
lea ecx, [edi - 0xea63]
mov edi, edx
mov dword [ebp + 0xc], edi
mov eax, 0x9c47
cmp edi, eax
jg 0x100e7f6
je 0x100e7db
mov eax, 0x967
cmp edi, eax
jg 0x100e574
je 0x100e55f
add eax, 0xfffffffc
cmp edi, eax
jg 0x100e500
je 0x100e4ee
cmp edi, 2
je 0x100e6bb
cmp edi, 0x417
jle case.0x100e81f.40026
cmp edi, 0x41a
jle 0x100e4ba
cmp edi, 0x961
je 0x100e498
cmp edi, 0x962
jne case.0x100e81f.40026
xor eax, eax
cmp dword [0x101e164], eax
sete al
mov dword [0x101e164], eax
call fcn.01004972
jmp case.0x100e81f.40026
xor eax, eax
cmp dword [0x101e160], eax
sete al
mov dword [0x101e160], eax
call fcn.01004972
push 0
push ebx
call fcn.01001b36
jmp case.0x100e81f.40026
mov eax, dword [0x101e158]
sub eax, 0
je 0x100e4dd
dec eax
jne 0x100eb87
mov ecx, dword [0x101e54c]
push eax
push edi
call fcn.010166d9
jmp 0x100eb87
mov ecx, dword [0x101e548]
push edi
call fcn.01018c6c
jmp 0x100eb87
xor eax, eax
cmp dword [0x101e168], eax
sete al
mov dword [0x101e168], eax
jmp 0x100e48e
mov eax, edi
sub eax, 0x964
je 0x100e542
dec eax
je 0x100e52d
dec eax
jne case.0x100e81f.40026
cmp dword [0x101e0d8], 4
jle case.0x100e81f.40026
mov ecx, dword [0x101e558]
call fcn.01010c3f
jmp 0x100e4ad
xor eax, eax
cmp dword [0x101e16c], eax
sete al
mov dword [0x101e16c], eax
jmp 0x100e48e
cmp dword [0x101e0d8], 4
jle case.0x100e81f.40026
mov ecx, dword [0x101e558]
call fcn.01012b9a
jmp case.0x100e81f.40026
xor eax, eax
cmp dword [0x101e15c], eax
sete al
mov dword [0x101e15c], eax
jmp 0x100e48e
mov eax, 0x755b
cmp edi, eax
jg 0x100e66a
je case.0x100e81f.40039
cmp edi, 0x968
je 0x100e638
cmp edi, 0x96a
je 0x100e623
cmp edi, 0xc94
je 0x100e5de
cmp edi, 0xdb3
jle case.0x100e81f.40026
cmp edi, 0xdb7
jg case.0x100e81f.40026
mov ecx, dword [0x101e550]
mov eax, dword [ecx]
push 0
push edi
push 0x111
call dword [eax + 0x14]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x100eb87
mov ecx, dword [0x101e458]
not ecx
mov eax, 0x80
and ecx, eax
shr ecx, 7
shl ecx, 7
xor ecx, dword [0x101e458]
and ecx, eax
xor dword [0x101e458], ecx
call fcn.01004972
cmp dword [0x101e0d8], 5
jle case.0x100e81f.40026
mov ecx, dword [0x101e55c]
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp case.0x100e81f.40026
xor eax, eax
cmp dword [0x101e174], eax
sete al
mov dword [0x101e174], eax
jmp 0x100e48e
xor eax, eax
cmp dword [0x101e170], eax
sete al
mov dword [0x101e170], eax
call fcn.01004972
cmp dword [0x101e0d8], 4
jle case.0x100e81f.40026
mov ecx, dword [0x101e558]
call fcn.01012c04
jmp case.0x100e81f.40026
mov eax, edi
sub eax, 0x9c41
je 0x100e6c6
dec eax
je 0x100e6bb
sub eax, 4
jne case.0x100e81f.40026
mov eax, dword [0x101e458]
mov ecx, eax
not ecx
and ecx, 4
shr ecx, 2
shl ecx, 2
xor ecx, eax
push 3
and ecx, 4
xor eax, ecx
xor ecx, ecx
push ecx
mov dword [0x101e458], eax
push ecx
and eax, 4
push ecx
shr eax, 2
push ecx
or eax, 0xfffffffe
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x100e48e
push ebx
call fcn.0100d97f
jmp case.0x100e81f.40026
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x100e700
xor esi, esi
push esi
push esi
push esi
push fcn.0100e224
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
jne 0x100e6f4
push esi
call fcn.0100e224
jmp case.0x100e81f.40026
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x100e81f.40026
push esi
lea eax, [ebp - 0x264]
push 0
push eax
call sub.msvcrt.dll_memset
and dword [ebp - 0x224], 0
xor eax, eax
lea edi, [ebp - 0x220]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor eax, eax
inc eax
add esp, 0xc
mov dword [ebp - 0x23c], eax
mov word [ebp - 0x238], ax
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x100ed08
mov dword [ebp - 0x268], 0x44
call edi
test eax, eax
jne 0x100e781
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x100ecd0
call edi
test eax, eax
jne 0x100e781
push 0x100ecbc
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01001a1b
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x268]
push eax
xor eax, eax
push eax
push eax
push 0x4000000
push eax
push eax
push eax
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x100e7c5
push dword [ebp - 0x220]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x224]
call esi
jmp 0x100e7d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x210], eax
mov edi, 0xc3b5
jmp case.0x100e81f.40026
mov eax, dword [0x101e458]
not eax
xor eax, dword [0x101e458]
and eax, 1
xor dword [0x101e458], eax
jmp 0x100e48e
mov eax, 0x9c7f
cmp edi, eax
jg 0x100e9b4
je 0x100e9a6
lea eax, [edi - 0x9c55]
cmp eax, 0x23
ja case.0x100e81f.40026
movzx eax, byte [eax + 0x100ebb8]
jmp dword [eax*4 + 0x100eb98]
call fcn.0101abd1
mov esi, eax
lea eax, [ebp - 0x214]
push eax
push 0x100ecac
push 1
push 0
push 0x100ec9c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x100e873
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
push 0x100ec28
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x100ebf0
call fcn.0100dd87
push esi
call fcn.0101abf1
jmp case.0x100e81f.40026
mov eax, dword [0x101e458]
not eax
and eax, 8
shr eax, 3
shl eax, 3
xor eax, dword [0x101e458]
and eax, 8
xor dword [0x101e458], eax
call fcn.01004972
cmp dword [0x101e0d8], 3
jle case.0x100e81f.40026
mov ecx, dword [0x101e554]
jmp 0x100e619
mov ecx, dword [0x101e548]
jmp 0x100e5c5
cmp dword [0x101e0d8], 1
jle case.0x100e81f.40026
mov ecx, dword [0x101e54c]
call fcn.01016339
jmp case.0x100e81f.40026
cmp dword [0x101e0d8], 4
jle 0x100e4ad
cmp dword [0x101e158], 4
jne 0x100e4ad
mov ecx, dword [0x101e558]
call fcn.01012e92
jmp 0x100e4ad
lea eax, [edi - 0x9c56]
mov esi, dword [eax*4 + 0x100ebdc]
xor ebx, ebx
push ebx
push dword [0x101e098]
mov dword [0x101e144], eax
mov dword [0x101e13c], esi
call dword [sym.imp.USER32.dll_KillTimer]
cmp esi, ebx
je 0x100e48e
push ebx
push dword [0x101e13c]
push ebx
push dword [0x101e098]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x100e48e
push 0x6b
push dword [0x101e0a4]
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
test esi, esi
je case.0x100e81f.40026
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x2713
push dword [0x101e0a4]
call dword [sym.imp.USER32.dll_LoadStringW]
push esi
push 0
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_ShellAboutW]
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp case.0x100e81f.40026
push 6
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x100e81f.40026
mov eax, 0x9ca3
cmp edi, eax
jg 0x100ea69
je 0x100ea3a
mov eax, edi
sub eax, 0x9c80
je 0x100ea30
dec eax
je 0x100ea12
sub eax, 0x21
jne case.0x100e81f.40026
mov eax, dword [0x101e458]
not eax
and eax, esi
shr eax, 6
shl eax, 6
xor eax, dword [0x101e458]
and eax, esi
xor dword [0x101e458], eax
call fcn.01004972
cmp dword [0x101e0d8], 1
jle case.0x100e81f.40026
mov ecx, dword [0x101e54c]
jmp 0x100e619
mov eax, dword [0x101e458]
not eax
and eax, 0x20
shr eax, 5
shl eax, 5
xor eax, dword [0x101e458]
and eax, 0x20
jmp 0x100e7eb
call fcn.0100d9f5
jmp case.0x100e81f.40026
mov eax, dword [0x101e458]
not eax
and eax, 0x10
shr eax, 4
shl eax, 4
xor eax, dword [0x101e458]
and eax, 0x10
xor dword [0x101e458], eax
call fcn.01004972
push ebx
call fcn.01004875
jmp case.0x100e81f.40026
mov eax, 0x9ca4
cmp edi, eax
jl case.0x100e81f.40026
cmp edi, 0x9ca5
jle 0x100eaf0
add eax, 9
cmp edi, eax
je 0x100eac7
cmp edi, 0xea5f
jle case.0x100e81f.40026
cmp edi, edx
jg case.0x100e81f.40026
lea eax, [ecx + edi - 0xea60]
mov dword [0x101e140], eax
call fcn.01004972
cmp dword [0x101e0d8], 3
jle case.0x100e81f.40026
mov ecx, dword [0x101e554]
call fcn.01004d8c
jmp 0x100e8af
cmp dword [0x101e0d8], 5
jle case.0x100e81f.40026
mov ecx, dword [0x101e55c]
push 0
push eax
mov eax, dword [ecx]
push 0x111
call dword [eax + 0x14]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x100e81f.40026
xor ebx, ebx
cmp dword [ebp + 0xc], eax
mov eax, dword [0x101e0d8]
sete bl
lea ebx, [ebx + ebx - 1]
add ebx, dword [0x101e158]
jns 0x100eb0c
lea ebx, [eax - 1]
cmp ebx, eax
jl 0x100eb12
xor ebx, ebx
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push ebx
push 0x130c
mov esi, 0x3e8
push esi
push dword [0x101e098]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push dword [0x101e098]
call edi
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], 0xfffffdd9
call fcn.01004d6a
mov edi, dword [ebp + 0xc]
test eax, eax
je case.0x100e81f.40026
mov dword [0x101e158], ebx
push dword [ebp - 0x210]
push 0
push edi
push dword [0x101e158]
call fcn.010055be
push eax
call fcn.0101af4e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001679
leave
ret 8