Function at 0x100e3db
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 0x100e41e
lea ecx, [edi - 0xea63]
mov edi, edx
mov dword [ebp + 0xc], edi
mov eax, 0x9c47
cmp edi, eax
jg 0x100e7fe
je 0x100e7e3
mov eax, 0x967
cmp edi, eax
jg 0x100e57c
je 0x100e567
add eax, 0xfffffffc
cmp edi, eax
jg 0x100e508
je 0x100e4f6
cmp edi, 2
je 0x100e6c3
cmp edi, 0x417
jle case.0x100e827.40026
cmp edi, 0x41a
jle 0x100e4c2
cmp edi, 0x961
je 0x100e4a0
cmp edi, 0x962
jne case.0x100e827.40026
xor eax, eax
cmp dword [0x101e164], eax
sete al
mov dword [0x101e164], eax
call fcn.010049ce
jmp case.0x100e827.40026
xor eax, eax
cmp dword [0x101e160], eax
sete al
mov dword [0x101e160], eax
call fcn.010049ce
push 0
push ebx
call fcn.01001b36
jmp case.0x100e827.40026
mov eax, dword [0x101e158]
sub eax, 0
je 0x100e4e5
dec eax
jne 0x100eb8f
mov ecx, dword [0x101e54c]
push eax
push edi
call fcn.010166dd
jmp 0x100eb8f
mov ecx, dword [0x101e548]
push edi
call fcn.01018c76
jmp 0x100eb8f
xor eax, eax
cmp dword [0x101e168], eax
sete al
mov dword [0x101e168], eax
jmp 0x100e496
mov eax, edi
sub eax, 0x964
je 0x100e54a
dec eax
je 0x100e535
dec eax
jne case.0x100e827.40026
cmp dword [0x101e0d8], 4
jle case.0x100e827.40026
mov ecx, dword [0x101e558]
call fcn.01010c47
jmp 0x100e4b5
xor eax, eax
cmp dword [0x101e16c], eax
sete al
mov dword [0x101e16c], eax
jmp 0x100e496
cmp dword [0x101e0d8], 4
jle case.0x100e827.40026
mov ecx, dword [0x101e558]
call fcn.01012ba2
jmp case.0x100e827.40026
xor eax, eax
cmp dword [0x101e15c], eax
sete al
mov dword [0x101e15c], eax
jmp 0x100e496
mov eax, 0x755b
cmp edi, eax
jg 0x100e672
je case.0x100e827.40039
cmp edi, 0x968
je 0x100e640
cmp edi, 0x96a
je 0x100e62b
cmp edi, 0xc94
je 0x100e5e6
cmp edi, 0xdb3
jle case.0x100e827.40026
cmp edi, 0xdb7
jg case.0x100e827.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 0x100eb8f
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.010049ce
cmp dword [0x101e0d8], 5
jle case.0x100e827.40026
mov ecx, dword [0x101e55c]
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp case.0x100e827.40026
xor eax, eax
cmp dword [0x101e174], eax
sete al
mov dword [0x101e174], eax
jmp 0x100e496
xor eax, eax
cmp dword [0x101e170], eax
sete al
mov dword [0x101e170], eax
call fcn.010049ce
cmp dword [0x101e0d8], 4
jle case.0x100e827.40026
mov ecx, dword [0x101e558]
call fcn.01012c0c
jmp case.0x100e827.40026
mov eax, edi
sub eax, 0x9c41
je 0x100e6ce
dec eax
je 0x100e6c3
sub eax, 4
jne case.0x100e827.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 0x100e496
push ebx
call fcn.0100d98f
jmp case.0x100e827.40026
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x100e708
xor esi, esi
push esi
push esi
push esi
push fcn.0100e22c
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
jne 0x100e6fc
push esi
call fcn.0100e22c
jmp case.0x100e827.40026
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x100e827.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 0x100ed10
mov dword [ebp - 0x268], 0x44
call edi
test eax, eax
jne 0x100e789
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x100ecd8
call edi
test eax, eax
jne 0x100e789
push 0x100ecc4
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 0x100e7cd
push dword [ebp - 0x220]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x224]
call esi
jmp 0x100e7d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x210], eax
mov edi, 0xc3b5
jmp case.0x100e827.40026
mov eax, dword [0x101e458]
not eax
xor eax, dword [0x101e458]
and eax, 1
xor dword [0x101e458], eax
jmp 0x100e496
mov eax, 0x9c7f
cmp edi, eax
jg 0x100e9bc
je 0x100e9ae
lea eax, [edi - 0x9c55]
cmp eax, 0x23
ja case.0x100e827.40026
movzx eax, byte [eax + 0x100ebc0]
jmp dword [eax*4 + 0x100eba0]
call fcn.0101abdd
mov esi, eax
lea eax, [ebp - 0x214]
push eax
push 0x100ecb4
push 1
push 0
push 0x100eca4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x100e87b
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
push 0x100ec30
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x100ebf8
call fcn.0100dd8e
push esi
call fcn.0101abfd
jmp case.0x100e827.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.010049ce
cmp dword [0x101e0d8], 3
jle case.0x100e827.40026
mov ecx, dword [0x101e554]
jmp 0x100e621
mov ecx, dword [0x101e548]
jmp 0x100e5cd
cmp dword [0x101e0d8], 1
jle case.0x100e827.40026
mov ecx, dword [0x101e54c]
call fcn.0101633d
jmp case.0x100e827.40026
cmp dword [0x101e0d8], 4
jle 0x100e4b5
cmp dword [0x101e158], 4
jne 0x100e4b5
mov ecx, dword [0x101e558]
call fcn.01012e9a
jmp 0x100e4b5
lea eax, [edi - 0x9c56]
mov esi, dword [eax*4 + 0x100ebe4]
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 0x100e496
push ebx
push dword [0x101e13c]
push ebx
push dword [0x101e098]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x100e496
push 0x6b
push dword [0x101e0a4]
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
test esi, esi
je case.0x100e827.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.0x100e827.40026
push 6
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x100e827.40026
mov eax, 0x9ca3
cmp edi, eax
jg 0x100ea71
je 0x100ea42
mov eax, edi
sub eax, 0x9c80
je 0x100ea38
dec eax
je 0x100ea1a
sub eax, 0x21
jne case.0x100e827.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.010049ce
cmp dword [0x101e0d8], 1
jle case.0x100e827.40026
mov ecx, dword [0x101e54c]
jmp 0x100e621
mov eax, dword [0x101e458]
not eax
and eax, 0x20
shr eax, 5
shl eax, 5
xor eax, dword [0x101e458]
and eax, 0x20
jmp 0x100e7f3
call fcn.0100da05
jmp case.0x100e827.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.010049ce
push ebx
call fcn.010048d1
jmp case.0x100e827.40026
mov eax, 0x9ca4
cmp edi, eax
jl case.0x100e827.40026
cmp edi, 0x9ca5
jle 0x100eaf8
add eax, 9
cmp edi, eax
je 0x100eacf
cmp edi, 0xea5f
jle case.0x100e827.40026
cmp edi, edx
jg case.0x100e827.40026
lea eax, [ecx + edi - 0xea60]
mov dword [0x101e140], eax
call fcn.010049ce
cmp dword [0x101e0d8], 3
jle case.0x100e827.40026
mov ecx, dword [0x101e554]
call fcn.01004dec
jmp 0x100e8b7
cmp dword [0x101e0d8], 5
jle case.0x100e827.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.0x100e827.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 0x100eb14
lea ebx, [eax - 1]
cmp ebx, eax
jl 0x100eb1a
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.01004dca
mov edi, dword [ebp + 0xc]
test eax, eax
je case.0x100e827.40026
mov dword [0x101e158], ebx
push dword [ebp - 0x210]
push 0
push edi
push dword [0x101e158]
call fcn.0100561e
push eax
call fcn.0101af5a
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001679
leave
ret 8