Function at 0x100328f
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
call fcn.01003441
call fcn.01003456
lea eax, [ebp - 8]
push eax
call fcn.010035c3
xor esi, esi
test eax, eax
je 0x1014813
lea eax, [ebp - 8]
push eax
call fcn.010038f0
cmp dword [0x102103c], esi
je 0x1003439
push dword [0x1021268]
push 0x1009290
call fcn.01003a6c
lea eax, [ebp - 0x10]
push eax
push 0x20019
push esi
push 0x1008dc0
push 0x80000002
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExW]
cmp eax, esi
jne 0x100332a
push 4
lea eax, [ebp - 0x14]
pop edi
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push str.DontWatchSysProcs
mov dword [ebp - 0x14], edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExW]
cmp eax, esi
je 0x101481b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
push esi
push 0x1009248
push 0x1009218
push 0x1008b34
call fcn.01003bfd
mov edi, dword [sym.imp.KERNEL32.DLL_LocalFree]
mov ebx, eax
cmp ebx, esi
je 0x1014831
push ebx
call fcn.010038a6
push ebx
mov dword [ebp - 4], eax
call edi
cmp dword [ebp - 4], esi
je 0x10148a6
push esi
push esi
push 2
mov ebx, 0x10091b0
push dword [ebp - 8]
push 0x80
push esi
push ebx
push dword [ebp - 4]
call fcn.01003c3c
push dword [ebp - 4]
call edi
cmp dword [0x1021034], esi
jne 0x1014839
push esi
lea eax, [ebp - 0x24]
push 8
push eax
push 0x22
call dword [sym.imp.NTDLL.DLL_NtQuerySystemInformation]
cmp dword [ebp - 0x24], esi
jne 0x1014850
push esi
push 0x10091d8
push 0x10091c4
push 0x1008b34
call fcn.01003bfd
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x101489e
push eax
call fcn.010038a6
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
call edi
cmp dword [ebp - 4], esi
je 0x10148a6
push esi
push esi
push 2
push dword [ebp - 8]
push 0x80
push esi
push ebx
push dword [ebp - 4]
call fcn.01003c3c
push dword [ebp - 4]
call edi
push esi
push esi
push 0x10091b4
push 0x1008b34
call fcn.01003bfd
cmp eax, esi
mov dword [ebp - 4], eax
je 0x1003430
push 0x10091ac
push eax
call dword [sym.imp.MSVCRT.DLL_wcstok]
pop ecx
cmp eax, esi
pop ecx
mov dword [ebp - 0xc], eax
jne 0x10148b0
push dword [ebp - 4]
call edi
push dword [ebp - 8]
call dword [sym.imp.NTDLL.DLL_RtlDestroyEnvironment]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov dword [ebp - 8], esi
jmp 0x10032be
cmp dword [ebp - 0x18], edi
jne 0x1003321
mov eax, dword [ebp - 0x1c]
mov dword [0x1022be0], eax
jmp 0x1003321
mov dword [ebp - 4], esi
jmp 0x100335b
cmp dword [0x1021044], 4
je 0x1003390
call fcn.01013f0e
jmp 0x1003390
push esi
push 0x100bf68
push 0x100bf4c
push 0x1008b34
call fcn.01003bfd
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x1014899
push eax
call fcn.010038a6
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
call edi
push esi
push esi
push esi
push dword [ebp - 8]
push 0x80
push esi
push ebx
push dword [ebp - 4]
call fcn.01003c3c
push dword [ebp - 4]
call edi
jmp 0x10033a8
mov dword [ebp - 4], esi
jmp 0x101487a
mov dword [ebp - 4], esi
jmp 0x10033d6
xor eax, eax
jmp 0x100343c
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x20
jne 0x10148c6
inc eax
inc eax
mov cx, word [eax]
inc eax
inc eax
cmp cx, 0x20
je 0x10148b8
mov dword [ebp - 0xc], eax
push 0x100bcfc
push eax
call dword [sym.imp.MSVCRT.DLL__wcsicmp]
pop ecx
test eax, eax
pop ecx
je 0x10148ed
push esi
push esi
push esi
push dword [ebp - 8]
push 0x80
push esi
push ebx
push dword [ebp - 0xc]
call fcn.01003c3c
push 0x10091ac
push esi
call dword [sym.imp.MSVCRT.DLL_wcstok]
pop ecx
cmp eax, esi
pop ecx
mov dword [ebp - 0xc], eax
jne 0x10148ad
jmp 0x100342b