Function at 0x1c43638
Capabilities:
Accept command line arguments
Link many functions at runtime
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x218
mov eax, dword [0x1d01324]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x1ce3ad0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlInitUnicodeString
push eax
call ebx
mov dword [0x1d03a28], eax
push str.NtCreateKey
push esi
call ebx
mov dword [0x1d04044], eax
push str.NtDeleteKey
push esi
call ebx
mov dword [0x1d03a24], eax
push str.NtOpenKeyEx
push esi
call ebx
mov dword [0x1d03a2c], eax
push str.NtClose
push esi
call ebx
mov dword [0x1d03a20], eax
push str.NtQueryKey
push esi
call ebx
mov dword [0x1d03a38], eax
push str.NtEnumerateKey
push esi
call ebx
mov dword [0x1d03a3c], eax
push str.NtQueryValueKey
push esi
call ebx
mov dword [0x1d03a30], eax
push str.NtSetValueKey
push esi
call ebx
mov dword [0x1d03a34], eax
mov dword [ebp - 0x224], 0
cmp dword [0x1d03a28], 0
je 0x1c438d1
cmp dword [0x1d04044], 0
je 0x1c438d1
cmp dword [0x1d03a2c], 0
je 0x1c438d1
cmp dword [0x1d03a24], 0
je 0x1c438d1
cmp dword [0x1d03a20], 0
je 0x1c438d1
cmp dword [0x1d03a38], 0
je 0x1c438d1
cmp dword [0x1d03a3c], 0
je 0x1c438d1
cmp dword [0x1d03a30], 0
je 0x1c438d1
test eax, eax
je 0x1c438d1
push str.RtlFormatCurrentUserKeyPath
push esi
call ebx
mov edi, eax
push str.RtlFreeUnicodeString
push esi
call ebx
mov dword [ebp - 0x224], 0
test edi, edi
je 0x1c438d1
mov esi, eax
test eax, eax
je 0x1c438d1
xor eax, eax
dec eax
lea ebx, [ebp - 0x220]
mov dword [ebx + 4], eax
mov dword [ebx], eax
push ebx
call edi
test eax, eax
setns al
mov dword [ebp - 0x224], eax
js 0x1c438d1
mov eax, 0xff
mov edi, 0x1d04048
push eax
push dword [ebp - 0x21c]
push edi
call fcn.01cce810
add esp, 0xc
push edi
call fcn.01ccde34
add esp, 4
mov ecx, 0xff
sub ecx, eax
push ecx
push 0x1ce3b8e
push edi
call fcn.01cce810
add esp, 0xc
push 0x5c
push dword [ebp - 0x21c]
call fcn.01cb7c9a
add esp, 8
add eax, 2
mov ecx, 0xff
push ecx
push eax
push 0x1d03a40
call fcn.01cce981
add esp, 0xc
push ebx
call esi
lea edi, [ebp - 0x218]
push 0x208
push 0
push edi
call fcn.01cb76e0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push 0x104
push edi
push str.PROGRAMFILES
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x1c4384c
push eax
push edi
push esi
call fcn.01cce947
add esp, 0xc
test eax, eax
je 0x1c4387b
push 0x104
push edi
push str.PROGRAMFILES_X86_
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x1c43877
push eax
push edi
push esi
call fcn.01cce947
add esp, 0xc
test eax, eax
je 0x1c4387b
xor eax, eax
jmp 0x1c4387d
mov al, 1
mov byte [0x1d03a1d], al
mov dword [ebp - 0x218], 0
push 0x1ce0050
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x1ce3bd0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1c438c3
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
push eax
call esi
test eax, eax
je 0x1c438c3
cmp dword [ebp - 0x218], 0
setne al
jmp 0x1c438c5
xor eax, eax
mov byte [0x1d03c40], al
mov byte [0x1d03a1c], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01cb3141
mov eax, dword [ebp - 0x224]
add esp, 0x218
pop esi
pop edi
pop ebx
pop ebp
ret