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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x101e4ac]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x9c47
cmp eax, ecx
push esi
push edi
jg 0x10056dd
je 0x10056c8
mov ecx, 0x967
cmp eax, ecx
jg 0x10054bf
je 0x10054aa
add ecx, 0xfffffffc
cmp eax, ecx
jg 0x1005444
je 0x100542f
cmp eax, 2
je 0x10055e1
cmp eax, 0x417
jle case.0x10056f3.40020
cmp eax, 0x41a
jle 0x10053f9
cmp eax, 0x961
je 0x10053e2
cmp eax, 0x962
jne case.0x10056f3.40020
xor eax, eax
cmp dword [0x101fbb8], eax
sete al
mov dword [0x101fbb8], eax
jmp 0x1005987
xor eax, eax
cmp dword [0x101fbb4], eax
sete al
mov dword [0x101fbb4], eax
call fcn.01003b76
jmp 0x100546d
mov ecx, dword [0x101fa9c]
xor esi, esi
sub ecx, esi
je 0x100541e
dec ecx
jne case.0x10056f3.40020
mov ecx, dword [0x101fa50]
push esi
push eax
call fcn.0100d49c
jmp case.0x10056f3.40020
mov ecx, dword [0x101fa4c]
push eax
call fcn.01010163
jmp case.0x10056f3.40020
xor eax, eax
cmp dword [0x101fbbc], eax
sete al
mov dword [0x101fbbc], eax
jmp 0x1005987
sub eax, 0x964
je 0x100548d
dec eax
je 0x1005478
dec eax
jne case.0x10056f3.40020
cmp dword [0x101fa48], 3
jle case.0x10056f3.40020
mov ecx, dword [0x101fa58]
call fcn.01009004
push ebx
call fcn.01004d8f
jmp case.0x10056f3.40020
xor eax, eax
cmp dword [0x101fbc0], eax
sete al
mov dword [0x101fbc0], eax
jmp 0x1005987
cmp dword [0x101fa48], 3
jle case.0x10056f3.40020
mov ecx, dword [0x101fa58]
call fcn.01009a72
jmp case.0x10056f3.40020
xor eax, eax
cmp dword [0x101fbb0], eax
sete al
mov dword [0x101fbb0], eax
jmp 0x1005987
mov ecx, 0x755b
cmp eax, ecx
jg 0x1005593
je case.0x10056f3.40039
cmp eax, 0x968
je 0x1005561
cmp eax, 0x96a
je 0x100554c
cmp eax, 0xc94
je 0x100550c
cmp eax, 0xfa1
jle case.0x10056f3.40020
cmp eax, 0xfaa
jg case.0x10056f3.40020
push eax
call fcn.010043e9
jmp case.0x10056f3.40020
mov ecx, dword [0x101fd04]
not ecx
mov eax, 0x80
and ecx, eax
shr ecx, 7
shl ecx, 7
xor ecx, dword [0x101fd04]
and ecx, eax
xor dword [0x101fd04], ecx
call fcn.01003b76
cmp dword [0x101fa48], 4
jle case.0x10056f3.40020
mov ecx, dword [0x101fa5c]
jmp 0x1005915
xor eax, eax
cmp dword [0x101fbc8], eax
sete al
mov dword [0x101fbc8], eax
jmp 0x1005987
xor eax, eax
cmp dword [0x101fbc4], eax
sete al
mov dword [0x101fbc4], eax
call fcn.01003b76
cmp dword [0x101fa48], 3
jle case.0x10056f3.40020
mov ecx, dword [0x101fa58]
call fcn.01009efb
jmp case.0x10056f3.40020
sub eax, 0x9c41
je 0x10055ed
dec eax
je 0x10055e1
push 4
pop ecx
sub eax, ecx
jne case.0x10056f3.40020
mov eax, dword [0x101fd04]
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 [0x101fd04], eax
push esi
and eax, ecx
push esi
shr eax, 2
push esi
or eax, 0xfffffffe
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1005987
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp case.0x10056f3.40020
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x1005604
call fcn.01004099
jmp case.0x10056f3.40020
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x25c]
rep stosd dword es:[edi], eax
xor esi, esi
mov dword [ebp - 0x21c], esi
lea edi, [ebp - 0x218]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
inc eax
mov dword [ebp - 0x234], eax
mov word [ebp - 0x230], ax
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x10019c0
mov dword [ebp - 0x260], 0x44
call ebx
test eax, eax
jne 0x100567f
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x1001988
call ebx
test eax, eax
jne 0x100567f
push 0x1001974
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.01004852
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x260]
push eax
push esi
push esi
push 0x4000200
push esi
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je case.0x10056f3.40020
push dword [ebp - 0x218]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x21c]
call esi
jmp case.0x10056f3.40020
mov eax, dword [0x101fd04]
not eax
xor eax, dword [0x101fd04]
and eax, 1
jmp 0x10057cb
lea ecx, [eax - 0x9c4f]
cmp ecx, 0x5e
ja case.0x10056f3.40020
movzx edx, byte [ecx + 0x1005a2b]
jmp dword [edx*4 + 0x10059e7]
push 6
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x10056f3.40020
xor esi, esi
push esi
push esi
push 0x1001968
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0101a723
jmp case.0x10056f3.40020
call fcn.01004522
jmp case.0x10056f3.40020
xor ebx, ebx
cmp eax, 0x9ca4
mov eax, dword [0x101fa48]
sete bl
lea ebx, [ebx + ebx - 1]
add ebx, dword [0x101fa9c]
jns 0x100574a
lea ebx, [eax - 1]
xor esi, esi
cmp ebx, eax
jl 0x1005752
xor ebx, ebx
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push ebx
push 0x130c
mov esi, 0x3e8
push esi
push dword [0x101f9e4]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push dword [0x101f9e4]
call edi
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], 0xfffffdd9
call fcn.01003f05
test eax, eax
je case.0x10056f3.40020
mov dword [0x101fa9c], ebx
jmp case.0x10056f3.40020
mov eax, dword [0x101fd04]
not eax
and eax, 0x20
shr eax, 5
shl eax, 5
xor eax, dword [0x101fd04]
and eax, 0x20
xor dword [0x101fd04], eax
jmp 0x1005987
mov eax, dword [0x101fd04]
not eax
and eax, 0x10
shr eax, 4
shl eax, 4
xor eax, dword [0x101fd04]
and eax, 0x10
xor dword [0x101fd04], eax
call fcn.01003b76
push ebx
call fcn.01003d20
jmp case.0x10056f3.40020
mov eax, dword [0x101fd04]
not eax
and eax, 0x40
shr eax, 6
shl eax, 6
xor eax, dword [0x101fd04]
and eax, 0x40
xor dword [0x101fd04], eax
call fcn.01003b76
cmp dword [0x101fa48], 1
jle case.0x10056f3.40020
mov ecx, dword [0x101fa50]
jmp 0x1005915
mov eax, dword [0x101fd04]
not eax
and eax, 8
shr eax, 3
shl eax, 3
xor eax, dword [0x101fd04]
and eax, 8
xor dword [0x101fd04], eax
call fcn.01003b76
cmp dword [0x101fa48], 2
jle case.0x10056f3.40020
jmp 0x100590f
mov dword [0x101fa80], ecx
call fcn.01003b76
cmp dword [0x101fa48], 0
jle case.0x10056f3.40020
mov ecx, dword [0x101fa4c]
jmp 0x1005915
mov ecx, dword [0x101fa4c]
jmp 0x10058cf
cmp dword [0x101fa48], 1
jle case.0x10056f3.40020
mov ecx, dword [0x101fa50]
call fcn.0100c264
jmp case.0x10056f3.40020
cmp dword [0x101fa48], 4
jle case.0x10056f3.40020
mov ecx, dword [0x101fa5c]
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.0x10056f3.40020
add eax, 0xffff63ae
mov dword [0x101fa84], eax
call fcn.01003b76
cmp dword [0x101fa48], 2
jle case.0x10056f3.40020
mov ecx, dword [0x101fa54]
call fcn.0100800f
mov ecx, dword [0x101fa54]
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp case.0x10056f3.40020
cmp dword [0x101fa48], 3
jle 0x100546d
cmp dword [0x101fa9c], 3
jne 0x100546d
mov ecx, dword [0x101fa58]
call fcn.0100ae5a
jmp 0x100546d
mov edi, dword [eax*4 + 0xfda7fc]
add eax, 0xffff63aa
xor esi, esi
push esi
push dword [0x101f9e4]
mov dword [0x101fa88], eax
mov dword [0x101fa7c], edi
call dword [sym.imp.USER32.dll_KillTimer]
cmp edi, esi
je 0x1005987
push esi
push dword [0x101fa7c]
push esi
push dword [0x101f9e4]
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.01003b76
jmp case.0x10056f3.40020
push 0x6b
push dword [0x101f9f0]
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
xor esi, esi
cmp edi, esi
je case.0x10056f3.40020
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x2713
push dword [0x101f9f0]
call dword [sym.imp.USER32.dll_LoadStringW]
push edi
push esi
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_ShellAboutW]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01013809
leave
ret 8