Function at 0x1000a200
Capabilities:
Create process on windows
Hide graphical window
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dc349
mov eax, dword fs:[0]
push eax
sub esp, 0x88c
mov eax, dword [0x1025e344]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
mov dword [ebp - 0x844], eax
mov eax, dword [ebp + 0xc]
push str.RegEdit_RegEdit
mov dword [ebp - 0x858], eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, eax
or edi, 0xffffffff
mov dword [ebp - 0x848], ebx
test ebx, ebx
jne 0x1000a54c
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.101a08b0
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x104
push eax
push str.SYSTEMROOT
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
call fcn.100049d0
mov ecx, eax
test ecx, ecx
je 0x1000a79c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x840], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x840]
call fcn.10004060
test al, al
jne 0x1000a2f8
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a2d6
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x840]
call fcn.10006ab0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x848]
push eax
call fcn.10009030
mov byte [ebp - 4], 2
push str.regedit.exe
push eax
lea eax, [ebp - 0x850]
push eax
call fcn.10007a90
add esp, 0x14
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x848]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000a34c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x850]
xorps xmm0, xmm0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x888], eax
mov eax, dword [0x10268ab4]
mov dword [ebp - 0x890], 0
movlpd qword [ebp - 0x884], xmm0
movlpd qword [ebp - 0x878], xmm0
movlpd qword [ebp - 0x870], xmm0
movlpd qword [ebp - 0x868], xmm0
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x898], 0x3c
mov dword [ebp - 0x894], 0x40
mov dword [ebp - 0x88c], 0x10200674
mov dword [ebp - 0x87c], 1
test eax, eax
jne 0x1000a3e4
push str.Wow64DisableWow64FsRedirection
push 0x1020054c
call edi
push eax
call esi
mov dword [0x10268ab4], eax
test eax, eax
je 0x1000a3ed
lea ecx, [ebp - 0x854]
push ecx
call eax
lea eax, [ebp - 0x898]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [0x10268ab8]
mov ebx, dword [ebp - 0x854]
test eax, eax
jne 0x1000a421
push str.Wow64RevertWow64FsRedirection
push 0x1020054c
call edi
push eax
call esi
mov dword [0x10268ab8], eax
test eax, eax
je 0x1000a424
push ebx
call eax
push 0xffffffffffffffff
push dword [ebp - 0x860]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 0
push str.RegEdit_RegEdit
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
mov dword [ebp - 0x848], ebx
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp - 0x850]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000a46b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x840]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000a48f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test ebx, ebx
je 0x1000a780
push 5
push ebx
call esi
mov esi, dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call esi
push 0
push str.SysTreeView32
push 0
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [ebp - 0x84c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x84c]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, 0x1e
push 0
push 0x25
push 0x100
push edi
call ebx
sub esi, 1
jne 0x1000a4f3
push 0xffffffffffffffff
push dword [ebp - 0x84c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push esi
push 0x27
push 0x100
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x844]
lea ecx, [ebp - 0x840]
call fcn.10003660
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x840]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x1000a7a6
jmp 0x1000a583
lea eax, [ebp - 0x83c]
mov dword [ebp - 0x83c], 0x2c
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowPlacement]
test eax, eax
je 0x1000a495
cmp dword [ebp - 0x834], 2
jne 0x1000a495
push 9
push ebx
call esi
jmp 0x1000a495
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or edx, ecx
jge 0x1000a5a6
push esi
lea ecx, [ebp - 0x840]
call fcn.10006970
mov eax, dword [ebp - 0x840]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.101a912b
mov eax, dword [ebp - 0x840]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x1000a7a6
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x840]
mov word [eax + esi*2], cx
xor esi, esi
mov eax, dword [ebp - 0x840]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x1000a62c
test esi, esi
js 0x1000a7a6
cmp esi, ecx
jg 0x1000a7a6
movzx eax, word [eax + esi*2]
push 0
cmp eax, 0x5c
jne 0x1000a615
push 0x27
push 0x100
push edi
call ebx
push 0xffffffffffffffff
push dword [ebp - 0x84c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
jmp 0x1000a61e
push eax
push 0x102
push edi
call ebx
mov eax, dword [ebp - 0x840]
inc esi
mov ecx, dword [eax - 0xc]
cmp esi, ecx
jne 0x1000a5e0
mov esi, dword [ebp - 0x858]
test esi, esi
je 0x1000a747
push 0
push str.SysListView32
push 0
push dword [ebp - 0x848]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x24
push 0x100
push edi
call ebx
push esi
lea ecx, [ebp - 0x844]
call fcn.10003660
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x844]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x1000a7b0
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x1000a6ba
push esi
lea ecx, [ebp - 0x844]
call fcn.10006970
mov eax, dword [ebp - 0x844]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.101a912b
mov eax, dword [ebp - 0x844]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x1000a7a6
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x844]
mov word [eax + esi*2], cx
xor esi, esi
mov eax, dword [ebp - 0x844]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x1000a721
test esi, esi
js 0x1000a7a6
cmp esi, ecx
jg 0x1000a7a6
movzx eax, word [eax + esi*2]
push 0
push eax
push 0x102
push edi
call ebx
mov eax, dword [ebp - 0x844]
inc esi
mov ecx, dword [eax - 0xc]
cmp esi, ecx
jne 0x1000a6f4
mov byte [ebp - 4], 8
or esi, 0xffffffff
mov edx, dword [ebp - 0x844]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000a74a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000a74a
or esi, 0xffffffff
mov ebx, dword [ebp - 0x848]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x840]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1000a780
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d02f2
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10004040
push 0x80070057
call fcn.10004040
push 0x80070057
call fcn.10004040
int3