Function at 0x10009400
Capabilities:
Accept command line arguments
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003b260
mov eax, dword fs:[0]
push eax
sub esp, 0x644
mov eax, dword [0x1004a0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [0x1004c2bc]
push str._Attempting_to_relaunch_with_codepage__d._n
call fcn.10006bb0
push 0x178
lea eax, [ebp - 0x638]
push 0
push eax
call fcn.1001b710
mov eax, dword [0x1004c2bc]
add esp, 0x14
mov ecx, dword [0x1004ab9c]
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x644], eax
mov eax, dword [0x1004c2c4]
mov dword [ebp - 0x640], eax
mov eax, dword [0x1004c2c0]
mov dword [ebp - 0x63c], eax
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 0x38
jb 0x100096e4
cmp dword [0x1004aba0], 0xf
mov eax, 0x1004ab8c
push ecx
cmova eax, dword [0x1004ab8c]
push eax
push 0x38
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones_
push ecx
push dword [ebp - 0x64c]
lea ecx, [ebp - 0x43c]
call fcn.10008d00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64c]
cmp dword [ebp - 0x428], 0xf
lea eax, [ebp - 0x43c]
push ecx
cmova eax, dword [ebp - 0x43c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100095ab
mov esi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x5f0]
mov dword [ebp - 0x424], 0x40
push eax
push 0
push 2
push 0x1004540c
push 0
push dword [ebp - 0x64c]
call esi
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0x40
push eax
lea eax, [ebp - 0x59c]
push eax
push 0
push 2
push 0x10045414
push 0
push dword [ebp - 0x64c]
call esi
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0x2c
push eax
lea eax, [ebp - 0x47c]
push eax
push 0
push 8
push 0x1004541c
push 0
push dword [ebp - 0x64c]
call esi
mov eax, dword [ebp - 0x47c]
push dword [ebp - 0x64c]
mov dword [ebp - 0x5f4], eax
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x5a0], eax
mov dword [ebp - 0x54c], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x44
lea eax, [ebp - 0x4c0]
push 0
push eax
call fcn.1001b710
add esp, 0xc
mov dword [ebp - 0x440], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x450], xmm0
push str.LoaderDll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x10009626
mov eax, str._Failed_to_load_LoaderDll.dll_n
push eax
call fcn.10006bb0
add esp, 4
mov byte [ebp - 0x64d], 0
jmp 0x1000968d
push str.LeCreateProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
jne 0x1000964f
mov eax, str._Failed_to_find_function_LeCreateProcess_n
push eax
call fcn.10006bb0
add esp, 4
mov byte [ebp - 0x64d], 0
jmp 0x1000968d
push 0
push 0
push 0
push 0
test edi, edi
lea eax, [ebp - 0x450]
cmovne eax, edi
push eax
lea eax, [ebp - 0x4c0]
push eax
push 0
lea eax, [ebp - 0x218]
push eax
push esi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x648]
push eax
call ecx
test eax, eax
sete byte [ebp - 0x64d]
mov ecx, dword [ebp - 0x428]
cmp ecx, 0xf
jbe 0x100096c3
mov edx, dword [ebp - 0x43c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100096b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100096e9
push ecx
push edx
call fcn.10016e1b
add esp, 8
mov al, byte [ebp - 0x64d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10016dd8
mov esp, ebp
pop ebp
ret
call fcn.10001410
call fcn.100212fd
int3