Function at 0x100126f0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029aae
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x518
mov eax, dword [0x10037040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x518], ecx
mov dword [ebp - 0x51c], ecx
push 0x400
lea eax, [ebp - 0x498]
mov dword [ebp - 0x524], 0
push 0
push eax
mov dword [ebp - 0x51c], ecx
mov dword [ebp - 0x4b0], 1
mov dword [ebp - 0x4e4], 0
call sub.VCRUNTIME140.dll_memset
push 0x80
lea eax, [ebp - 0x98]
mov dword [ebp - 0x4ac], 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [ebp - 0x4b8], 0
movups xmmword [ebp - 0x4c8], xmm0
add esp, 0x18
mov dword [ebp - 0x4b4], 0xf
mov byte [ebp - 0x4c8], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x510]
xor esi, esi
movq qword [ebp - 0x4a8], xmm0
xor eax, eax
mov dword [ebp - 0x4a0], 0
lea ecx, [ebp - 0x4e4]
mov dword [ebp - 0x510], 0x54464f53
xor edi, edi
mov dword [ebp - 0x50c], 0x45524157
sub ecx, edx
mov dword [ebp - 0x508], 0x63694d5c
mov dword [ebp - 0x504], 0x6f736f72
mov dword [ebp - 0x500], 0x575c7466
mov dword [ebp - 0x4fc], 0x6f646e69
mov dword [ebp - 0x4f8], 0x4e207377
mov dword [ebp - 0x4f4], 0x75435c54
mov dword [ebp - 0x4f0], 0x6e657272
mov dword [ebp - 0x4ec], 0x72655674
mov dword [ebp - 0x4e8], 0x6e6f6973
mov dword [ebp - 0x520], esi
mov dword [ebp - 0x4a8], esi
mov dword [ebp - 0x4a4], edi
mov dword [ebp - 0x514], eax
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x49c], ecx
je 0x100128c9
cmp ecx, 0x7fffffff
ja 0x10012de9
push ecx
lea ecx, [ebp - 0x4a8]
call fcn.10001e00
mov edi, dword [ebp - 0x49c]
lea eax, [ebp - 0x510]
mov esi, dword [ebp - 0x4a8]
push edi
push eax
push esi
mov dword [ebp - 0x520], esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x4a0]
add esp, 0xc
add edi, esi
mov dword [ebp - 0x514], eax
mov dword [ebp - 0x4a4], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4e0]
push 0x40
xorps xmm0, xmm0
mov dword [ebp - 0x4d0], 0
push str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movups xmmword [ebp - 0x4e0], xmm0
mov dword [ebp - 0x4cc], 0
call fcn.10009bd0
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x4ec], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x524], 2
mov edx, 0xf
mov dword [ebp - 0x4e8], edx
movups xmmword [ebp - 0x4fc], xmm0
mov byte [ebp - 0x4fc], cl
cmp esi, edi
je 0x100129ad
mov edi, esi
mov esi, dword [ebp - 0x4a4]
nop word [eax + eax]
mov al, byte [edi]
mov byte [ebp - 0x49c], al
cmp ecx, edx
jae 0x10012975
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x4ec], eax
lea eax, [ebp - 0x4fc]
cmova eax, dword [ebp - 0x4fc]
add eax, ecx
mov cl, byte [ebp - 0x49c]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x10012994
push dword [ebp - 0x49c]
mov byte [ebp - 0x51c], 0
push dword [ebp - 0x51c]
push ecx
lea ecx, [ebp - 0x4fc]
call fcn.10011f30
mov edx, dword [ebp - 0x4e8]
inc edi
cmp edi, esi
je 0x100129a7
mov ecx, dword [ebp - 0x4ec]
jmp 0x10012940
mov esi, dword [ebp - 0x520]
cmp edx, 0xf
lea ecx, [ebp - 0x4e4]
lea eax, [ebp - 0x4fc]
cmova eax, dword [ebp - 0x4fc]
push ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov byte [ebp - 4], 2
mov edi, eax
mov ecx, dword [ebp - 0x4e8]
cmp ecx, 0xf
jbe 0x10012a12
mov edx, dword [ebp - 0x4fc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012a08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10012a08
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10026cc1
add esp, 8
test edi, edi
jne 0x10012d26
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x4b0]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0x1002e0e8
push dword [ebp - 0x4e4]
call edi
test eax, eax
jne 0x10012d26
lea eax, [ebp - 0x498]
push eax
lea ecx, [ebp - 0x4c8]
call fcn.100099d0
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x4b0]
push eax
push 0
push str.CurrentBuild
push dword [ebp - 0x4e4]
call edi
push dword [ebp - 0x4e4]
test eax, eax
jne 0x10012bf4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1002e104
lea edx, [ebp - 0x4c8]
lea ecx, [ebp - 0x4fc]
call fcn.10014bd0
add esp, 4
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 4
push ecx
mov ecx, eax
call fcn.100099d0
mov edi, dword [ebp - 0x518]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x4e8]
cmp ecx, 0xf
jbe 0x10012b35
mov edx, dword [ebp - 0x4fc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012b2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012bee
push ecx
push edx
call fcn.10026cc1
add esp, 8
mov ecx, dword [ebp - 0x4cc]
mov dword [ebp - 0x4ec], 0
mov dword [ebp - 0x4e8], 0xf
mov byte [ebp - 0x4fc], 0
cmp ecx, 0xf
jbe 0x10012b86
mov edx, dword [ebp - 0x4e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012b7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012bee
push ecx
push edx
call fcn.10026cc1
add esp, 8
test esi, esi
je 0x10012bb6
mov ecx, dword [ebp - 0x514]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x10012bac
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012bee
push ecx
push esi
call fcn.10026cc1
add esp, 8
mov ecx, dword [ebp - 0x4b4]
cmp ecx, 0xf
jbe 0x10012dc9
mov edx, dword [ebp - 0x4c8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012dbf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10012dbf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1002e104
lea edx, [ebp - 0x4c8]
lea ecx, [ebp - 0x4fc]
call fcn.10014bd0
add esp, 4
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.100099d0
mov edi, dword [ebp - 0x518]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x4e8]
cmp ecx, 0xf
jbe 0x10012c9a
mov edx, dword [ebp - 0x4fc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012c90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012bee
push ecx
push edx
call fcn.10026cc1
add esp, 8
mov ecx, dword [ebp - 0x4cc]
mov dword [ebp - 0x4ec], 0
mov dword [ebp - 0x4e8], 0xf
mov byte [ebp - 0x4fc], 0
cmp ecx, 0xf
jbe 0x10012cef
mov edx, dword [ebp - 0x4e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012ce5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012bee
push ecx
push edx
call fcn.10026cc1
add esp, 8
test esi, esi
je 0x10012bb6
mov ecx, dword [ebp - 0x514]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x10012bac
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012bee
jmp 0x10012bac
mov edi, dword [ebp - 0x518]
xorps xmm0, xmm0
push 0
push 0x1002df80
mov ecx, edi
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.10009bd0
mov ecx, dword [ebp - 0x4cc]
cmp ecx, 0xf
jbe 0x10012d88
mov edx, dword [ebp - 0x4e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012d7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012bee
push ecx
push edx
call fcn.10026cc1
add esp, 8
test esi, esi
je 0x10012bb6
mov ecx, dword [ebp - 0x514]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x10012bac
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012bee
jmp 0x10012bac
push ecx
push edx
call fcn.10026cc1
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10026c90
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10001df0
int3