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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [ebp + 0xc]
push ebx
mov ecx, 0x9c47
cmp eax, ecx
push esi
push edi
jg 0x1004533
je 0x1004518
mov ecx, 0x967
cmp eax, ecx
jg 0x100434e
je 0x1004339
add ecx, 0xfffffffc
cmp eax, ecx
jg 0x10042e1
je 0x10042cc
cmp eax, 2
je 0x1004463
cmp eax, 0x417
jle case.0x1004549.40020
cmp eax, 0x41a
jle 0x1004296
cmp eax, 0x961
je 0x100427a
cmp eax, 0x962
jne case.0x1004549.40020
xor eax, eax
cmp dword [0x1014fc0], eax
sete al
mov dword [0x1014fc0], eax
jmp 0x1004459
xor eax, eax
xor esi, esi
cmp dword [0x1014fbc], esi
sete al
mov dword [0x1014fbc], eax
call fcn.01002781
jmp 0x1004759
mov ecx, dword [0x1014ea4]
xor esi, esi
sub ecx, esi
je 0x10042bb
dec ecx
jne case.0x1004549.40020
mov ecx, dword [0x1014e54]
push esi
push eax
call fcn.0100bfd6
jmp case.0x1004549.40020
mov ecx, dword [0x1014e50]
push eax
call fcn.0100dc7c
jmp case.0x1004549.40020
xor eax, eax
cmp dword [0x1014fc4], eax
sete al
mov dword [0x1014fc4], eax
jmp 0x1004459
sub eax, 0x964
je 0x1004321
dec eax
je 0x100430c
dec eax
jne case.0x1004549.40020
mov ecx, dword [0x1014e5c]
xor esi, esi
cmp ecx, esi
je case.0x1004549.40020
call fcn.01007860
jmp 0x1004759
xor eax, eax
cmp dword [0x1014fc8], eax
sete al
mov dword [0x1014fc8], eax
jmp 0x1004459
mov ecx, dword [0x1014e5c]
test ecx, ecx
je case.0x1004549.40020
call fcn.01008cfc
jmp case.0x1004549.40020
xor eax, eax
cmp dword [0x1014fb8], eax
sete al
mov dword [0x1014fb8], eax
jmp 0x1004459
mov ecx, 0x755b
cmp eax, ecx
jg 0x100440e
je case.0x1004549.40039
cmp eax, 0x968
je 0x10043df
cmp eax, 0x96a
je 0x10043cd
cmp eax, 0xc94
je 0x100439a
cmp eax, 0xfa1
jle case.0x1004549.40020
cmp eax, 0xfaa
jg case.0x1004549.40020
push eax
push dword [ebp + 8]
call fcn.01003757
jmp case.0x1004549.40020
mov ecx, dword [0x101510c]
not ecx
mov eax, 0x80
and ecx, eax
shr ecx, 7
shl ecx, 7
xor ecx, dword [0x101510c]
and ecx, eax
xor dword [0x101510c], ecx
call fcn.01002781
mov ecx, dword [0x1014e60]
jmp 0x1004677
xor eax, eax
cmp dword [0x1014fd0], eax
sete al
mov dword [0x1014fd0], eax
jmp 0x1004459
xor eax, eax
xor esi, esi
cmp dword [0x1014fcc], esi
sete al
mov dword [0x1014fcc], eax
call fcn.01002781
mov ecx, dword [0x1014e5c]
cmp ecx, esi
je case.0x1004549.40020
call fcn.01008d5c
jmp case.0x1004549.40020
sub eax, 0x9c41
je 0x1004471
dec eax
je 0x1004463
push 4
pop ecx
sub eax, ecx
jne case.0x1004549.40020
mov eax, dword [0x101510c]
mov edx, eax
not edx
and edx, ecx
shr edx, 2
shl edx, 2
xor edx, eax
push 3
xor esi, esi
push esi
and edx, ecx
xor eax, edx
mov dword [0x101510c], eax
push esi
and eax, ecx
push esi
shr eax, 2
push esi
or eax, 0xfffffffe
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
call fcn.01002781
jmp case.0x1004549.40020
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp case.0x1004549.40020
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x1004488
call fcn.01002f05
jmp case.0x1004549.40020
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
xor esi, esi
mov dword [ebp - 0x10], esi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
mov word [ebp - 0x24], ax
push 0x104
lea eax, [ebp - 0x25c]
push eax
push 0x1001aa4
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x10044db
push 0x1001a94
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x4000200
push esi
push esi
push esi
lea eax, [ebp - 0x25c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je case.0x1004549.40020
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
jmp case.0x1004549.40020
mov eax, dword [0x101510c]
not eax
xor eax, dword [0x101510c]
and eax, 1
xor dword [0x101510c], eax
jmp 0x1004459
lea ecx, [eax - 0x9c4f]
cmp ecx, 0x5e
ja case.0x1004549.40020
movzx edx, byte [ecx + 0x1004845]
jmp dword [edx*4 + 0x1004801]
push 6
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x1004549.40020
xor esi, esi
push esi
push esi
push 0x1001a88
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.01010f3a
jmp case.0x1004549.40020
call fcn.01003889
jmp case.0x1004549.40020
xor ebx, ebx
cmp eax, 0x9ca4
mov eax, dword [0x1014e4c]
sete bl
lea ebx, [ebx + ebx - 1]
add ebx, dword [0x1014ea4]
jns 0x10045a2
lea ebx, [eax - 1]
xor esi, esi
cmp ebx, eax
jl 0x10045aa
xor ebx, ebx
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push ebx
push 0x130c
mov esi, 0x3e8
push esi
push dword [0x1014df4]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push dword [0x1014df4]
call edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], 0xfffffdd9
call fcn.01002d84
test eax, eax
je case.0x1004549.40020
mov dword [0x1014ea4], ebx
jmp case.0x1004549.40020
mov eax, dword [0x101510c]
not eax
and eax, 0x20
shr eax, 5
shl eax, 5
xor eax, dword [0x101510c]
and eax, 0x20
jmp 0x1004528
mov eax, dword [0x101510c]
not eax
and eax, 0x10
shr eax, 4
shl eax, 4
xor eax, dword [0x101510c]
and eax, 0x10
xor dword [0x101510c], eax
call fcn.01002781
push dword [ebp + 8]
call fcn.01002924
jmp case.0x1004549.40020
mov eax, dword [0x101510c]
not eax
and eax, 0x40
shr eax, 6
shl eax, 6
xor eax, dword [0x101510c]
and eax, 0x40
xor dword [0x101510c], eax
call fcn.01002781
mov ecx, dword [0x1014e54]
test ecx, ecx
je case.0x1004549.40020
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp case.0x1004549.40020
mov eax, dword [0x101510c]
not eax
and eax, 8
shr eax, 3
shl eax, 3
xor eax, dword [0x101510c]
and eax, 8
xor dword [0x101510c], eax
call fcn.01002781
mov ecx, dword [0x1014e58]
jmp 0x1004677
mov dword [0x1014e88], ecx
call fcn.01002781
mov ecx, dword [0x1014e50]
jmp 0x1004677
mov ecx, dword [0x1014e50]
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.0x1004549.40020
mov ecx, dword [0x1014e54]
test ecx, ecx
je case.0x1004549.40020
call fcn.0100a85f
jmp case.0x1004549.40020
mov ecx, dword [0x1014e60]
xor esi, esi
cmp ecx, esi
je case.0x1004549.40020
push esi
jmp 0x10046d0
add eax, 0xffff63ae
mov dword [0x1014e8c], eax
call fcn.01002781
mov ecx, dword [0x1014e58]
test ecx, ecx
je case.0x1004549.40020
call fcn.01006853
mov ecx, dword [0x1014e58]
jmp 0x100467f
mov ecx, dword [0x1014e5c]
xor esi, esi
cmp ecx, esi
je 0x1004759
cmp dword [0x1014ea4], 3
jne 0x1004759
call fcn.01008fd9
push esi
push dword [ebp + 8]
call fcn.01002b66
jmp case.0x1004549.40020
mov edi, dword [eax*4 + 0xfda91c]
add eax, 0xffff63aa
xor esi, esi
push esi
push dword [0x1014df4]
mov dword [0x1014e90], eax
mov dword [0x1014e84], edi
call dword [sym.imp.USER32.dll_KillTimer]
cmp edi, esi
je 0x1004459
push esi
push dword [0x1014e84]
push esi
push dword [0x1014df4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x1004459
push 0x6b
push dword [0x1014e00]
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
xor esi, esi
cmp edi, esi
je case.0x1004549.40020
push 0x104
lea eax, [ebp - 0x25c]
push eax
push 0x2713
push dword [0x1014e00]
call dword [sym.imp.USER32.dll_LoadStringW]
push edi
push esi
lea eax, [ebp - 0x25c]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellAboutW]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
pop edi
pop esi
pop ebx
leave
ret 0x10