Function at 0x100123b
Capabilities:
Create thread
Query or enumerate registry value
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x1006084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push 1
push edi
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x6c], edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push 0x52
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x10012a4
push 0x1001474
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x6c], eax
cmp eax, edi
je 0x10012a4
push 0x1001464
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x10012a4
push 0xffffffffffffffff
call eax
mov esi, 0x100143c
push esi
call fcn.010022e7
push 0x1001414
mov dword [ebp - 0x78], eax
call fcn.010022e7
mov ebx, 0x10013e4
push ebx
mov dword [ebp - 0x80], eax
call fcn.01002914
push edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [ebp - 0x70], eax
call esi
push edi
push 0x1001414
call esi
push edi
push ebx
call esi
call fcn.01002df7
mov esi, eax
call fcn.01002932
call fcn.0100296b
test eax, eax
jne 0x1004420
push 0x12c
call dword [sym.imp.dwmapi.dll_Ordinal_115]
call fcn.01002f23
cmp esi, edi
jne 0x100445b
call fcn.0100260a
mov dword [ebp - 0x7c], eax
call fcn.010028b6
push 1
push edi
push dword [ebp - 0x80]
push dword [ebp - 0x78]
call fcn.01001705
push edi
push dword [ebp - 0x70]
call fcn.01001bf7
push dword [ebp - 0x78]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [ebp - 0x80]
call esi
push dword [ebp - 0x70]
call esi
push 0xfffffffffffffffe
call dword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_GetCurrentThread]
push eax
call dword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_SetThreadPriority]
call sub.USER32.dll_LoadRemoteFonts
push dword [ebp - 0x88]
call fcn.01001f9a
lea eax, [ebp - 0x94]
push eax
push edi
lea eax, [ebp - 0x7c]
push eax
push 0x1001195
push edi
push edi
call dword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_CreateThread]
mov esi, eax
cmp esi, edi
je 0x100139e
push 0x493e0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x74]
push eax
push 0x20019
push edi
push 0x10014a0
push 0x80000001
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x1004484
cmp dword [ebp - 0x6c], edi
pop edi
pop esi
pop ebx
je 0x10013d1
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0100148d
leave
ret 0x10
cmp dword [ebp - 0x70], edi
je 0x1004428
xor esi, esi
inc esi
push 0x1004554
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
je 0x10012fc
push 0x100453c
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x100444f
call eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10012fc
call fcn.010028b6
push 1
push esi
push dword [ebp - 0x80]
push dword [ebp - 0x78]
call fcn.01001705
push esi
push dword [ebp - 0x70]
call fcn.01001bf7
call fcn.0100260a
mov dword [ebp - 0x7c], eax
jmp 0x1001338
push 4
pop esi
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x90]
push eax
push edi
push 0x1004514
push dword [ebp - 0x74]
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x8c], esi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x10044ea
cmp dword [ebp - 0x90], esi
jne 0x10044ea
cmp dword [ebp - 0x84], edi
je 0x10044ea
push 0x10044f8
push 0x32
lea eax, [ebp - 0x68]
push eax
call fcn.010021a9
push edi
push 1
push edi
push edi
push edi
lea eax, [ebp - 0x68]
push eax
call fcn.01001573
push dword [ebp - 0x74]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
jmp 0x10013c0