Function at 0x102e77b
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.SETUPAPI.dll_SetupGetThreadLogToken]
push 0x101c200
push 0x101c1e4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
call dword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_GetModuleHandleW]
push eax
call dword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_GetProcAddress]
cmp eax, edi
je 0x102e92d
call eax
mov ebx, eax
mov esi, ebx
cmp ebx, edi
je 0x102e7df
push dword [esi + 8]
call fcn.0102e61a
test eax, eax
jne 0x102e7d9
mov dword [esi + 0xc], 1
mov esi, dword [esi]
cmp esi, edi
jne 0x102e7c6
test byte [ebp + 0x10], 0x20
mov dword [ebp - 4], edi
je 0x102e891
lea eax, [ebp + 0x10]
push eax
push 0x2001f
push edi
push 0x101c180
push 0x80000002
mov dword [ebp + 0x10], edi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x102e831
push eax
push 0x101c15c
push 1
push 0x1000000
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.SETUPAPI.dll_SetupWriteTextLog]
add esp, 0x18
jmp 0x102e936
mov esi, ebx
cmp ebx, edi
je 0x102e883
cmp dword [esi + 0xc], edi
jne 0x102e87d
push dword [esi + 8]
call dword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esi + 8]
push 1
push edi
push dword [esi + 4]
push dword [ebp + 0x10]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
push dword [esi + 8]
push dword [esi + 4]
push 0x101c13c
push 4
push 0x1000000
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.SETUPAPI.dll_SetupWriteTextLog]
add esp, 0x1c
mov esi, dword [esi]
cmp esi, edi
jne 0x102e837
push dword [ebp + 0x10]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
jmp 0x102e936
mov esi, ebx
cmp ebx, edi
je 0x102e8ed
cmp dword [esi + 0xc], edi
jne 0x102e8e7
cmp dword [ebp - 0xc], edi
jne 0x102e8b7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push edi
push edi
call fcn.01036a66
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x102e936
push edi
push dword [esi + 4]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.01036b32
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x102e936
push edi
push dword [esi + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.01036b32
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x102e936
mov esi, dword [esi]
cmp esi, edi
jne 0x102e897
cmp dword [ebp - 8], edi
je 0x102e946
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.01036c13
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x102e936
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push 0x2012
push 0x101543c
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SETUPAPI.dll_SetupDiSetDevicePropertyW]
test eax, eax
jne 0x102e936
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 8], edi
je 0x102e946
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.01036be3
cmp dword [ebp - 0x10], edi
je 0x102e953
push dword [ebp - 0x10]
call fcn.010369af
push 0x101c11c
push 0x101c1e4
call dword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_GetModuleHandleW]
push eax
call dword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_GetProcAddress]
cmp eax, edi
pop edi
pop esi
pop ebx
je 0x102e973
call eax
mov eax, dword [ebp - 4]
leave
ret 0xc