Function at 0x1c4c0e0
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 [0x1d18014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x1d08bb6
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 [0x1d36b5c], eax
push str.NtCreateKey
push esi
call ebx
mov dword [0x1d37178], eax
push str.NtDeleteKey
push esi
call ebx
mov dword [0x1d36b58], eax
push str.NtOpenKeyEx
push esi
call ebx
mov dword [0x1d36b60], eax
push str.NtClose
push esi
call ebx
mov dword [0x1d36b54], eax
push str.NtQueryKey
push esi
call ebx
mov dword [0x1d36b6c], eax
push str.NtEnumerateKey
push esi
call ebx
mov dword [0x1d36b70], eax
push str.NtQueryValueKey
push esi
call ebx
mov dword [0x1d36b64], eax
push str.NtSetValueKey
push esi
call ebx
mov dword [0x1d36b68], eax
xor ecx, ecx
cmp dword [0x1d36b5c], 0
je 0x1c4c385
cmp dword [0x1d37178], 0
je 0x1c4c385
cmp dword [0x1d36b60], 0
je 0x1c4c385
cmp dword [0x1d36b58], 0
je 0x1c4c385
cmp dword [0x1d36b54], 0
je 0x1c4c385
cmp dword [0x1d36b6c], 0
je 0x1c4c385
cmp dword [0x1d36b70], 0
je 0x1c4c385
cmp dword [0x1d36b64], 0
je 0x1c4c385
test eax, eax
je 0x1c4c385
push str.RtlFormatCurrentUserKeyPath
push esi
call ebx
mov edi, eax
push str.RtlFreeUnicodeString
push esi
call ebx
xor ecx, ecx
test edi, edi
je 0x1c4c385
mov esi, eax
test eax, eax
je 0x1c4c385
xor eax, eax
dec eax
lea ebx, [ebp - 0x220]
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov ecx, edi
call dword [section..00cfg]
push ebx
call edi
test eax, eax
setns cl
js 0x1c4c385
mov dword [ebp - 0x224], ecx
mov eax, 0xff
mov edi, 0x1d3717c
push eax
push dword [ebp - 0x21c]
push edi
call fcn.01cb6679
add esp, 0xc
push edi
call fcn.01cb5d84
add esp, 4
mov ecx, 0xff
sub ecx, eax
push ecx
push 0x1d08c74
push edi
call fcn.01cb6679
add esp, 0xc
push 0x5c
push dword [ebp - 0x21c]
call fcn.01c9f9d2
add esp, 8
add eax, 2
mov ecx, 0xff
push ecx
push eax
push 0x1d36b74
call fcn.01cb66f8
add esp, 0xc
mov ecx, esi
call dword [section..00cfg]
push ebx
call esi
lea ebx, [ebp - 0x218]
push 0x208
push 0
push ebx
call fcn.01c9f2d0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push 0x104
push ebx
push 0x1d08c78
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x1c4c2f8
push eax
push ebx
push esi
call fcn.01cb66be
add esp, 0xc
test eax, eax
je 0x1c4c39e
push 0x104
push ebx
push str.PROGRAMFILES_X86_
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x1c4c323
push eax
push ebx
push esi
call fcn.01cb66be
add esp, 0xc
test eax, eax
je 0x1c4c39e
xor eax, eax
mov byte [0x1d36b51], al
mov dword [ebp - 0x218], 0
push 0x1d04c1c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x1d08cb6
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1c4c3a2
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
mov ecx, esi
call dword [section..00cfg]
push ebx
push edi
call esi
test eax, eax
je 0x1c4c3a2
cmp dword [ebp - 0x218], 0
setne al
mov ecx, dword [ebp - 0x224]
mov byte [0x1d36d74], al
mov byte [0x1d36b50], 1
mov ebx, ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c9ca53
mov eax, ebx
add esp, 0x218
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, 1
jmp 0x1c4c325
xor eax, eax
jmp 0x1c4c373