Function at 0x1003a3d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7769
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
push edi
mov eax, dword [0x100d10d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
push str.ntdll.dll
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x1003a459
push str.RtlGetNtVersionNumbers
push esi
call edi
test eax, eax
je 0x1003a452
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
call eax
movzx eax, word [ebp - 0x10]
mov dword [ebp - 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [section..data], 0
je 0x1003a51b
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push str.kernel32.dll
call esi
push eax
call edi
test eax, eax
je 0x1003a511
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x5c]
push ecx
movups xmmword [ebp - 0x5c], xmm0
movups xmmword [ebp - 0x4c], xmm0
call eax
mov ax, word [ebp - 0x5c]
cmp ax, 9
je 0x1003a507
cmp ax, 6
je 0x1003a507
cmp ax, 0xc
je 0x1003a507
push str.IsWow64Process2
push 0x100adee0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
call esi
push eax
call edi
mov esi, eax
test esi, esi
je 0x1003a4fe
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x1003a4fe
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x14], cx
sete al
mov dword [0x100d3464], eax
jmp 0x1003a511
xor eax, eax
mov dword [0x100d3464], eax
jmp 0x1003a511
mov dword [0x100d3464], 1
mov dword [section..data], 0
mov eax, dword [0x100d3464]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x38]
test eax, eax
je 0x1003a54d
push 0x20119
jmp 0x1003a552
push 0x20019
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.WS2_32.dll_bind
call fcn.10029270
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], 0
test eax, eax
jne 0x1003a5a9
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 4
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x100b04a4
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x1003a5a2
push esi
call edi
xor esi, esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 0
call fcn.1000db70
mov ecx, eax
test ecx, ecx
je 0x1003a629
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0
mov edx, 0x100b04b4
mov eax, 0x100b04ac
mov dword [ebp - 0x28], 1
cmove eax, edx
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push str._d__d__d__d__s
push ecx
call fcn.1000da40
add esp, 0x1c
mov byte [ebp - 4], 0
test esi, esi
je 0x1003a60c
push esi
call edi
mov dword [ebp - 0x38], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1000d6a0
int3