Function at 0x4321f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b37d
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x464], esi
mov dword [ebp - 0x450], 0
mov ecx, dword [0x5cbc9c]
mov dword [ebp - 0x45c], esi
test ecx, ecx
jne 0x43229d
push 0x5c3370
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5cbc9c], 0
jne 0x43228c
push 4
call fcn.004d9f7d
add esp, 4
mov dword [ebp - 0x430], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x43227a
mov ecx, eax
call fcn.004cf9b0
mov ecx, eax
jmp 0x43227c
xor ecx, ecx
mov byte [ebp - 4], 0
xchg dword [ebp - 0x460], eax
mov dword [0x5cbc9c], ecx
push 0x5c3370
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x5cbc9c]
call fcn.004cfbc0
mov dword [ebp - 0x430], eax
test eax, eax
jne 0x43230b
call fcn.004287b0
mov ecx, eax
test ecx, ecx
je 0x432b52
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 2
mov eax, 0x56c9a8
mov ecx, esi
test eax, 0xffff0000
jne 0x4322e7
movzx eax, ax
push eax
call fcn.004301d0
jmp 0x4322f3
push 0
push 0x56c9a8
call fcn.00429710
mov dword [ebp - 4], 0
mov dword [ebp - 0x450], 1
mov eax, esi
jmp 0x432b37
call fcn.004287b0
mov ecx, eax
test ecx, ecx
je 0x432b5c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x42c], edi
mov dword [ebp - 4], 4
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
mov byte [ebp - 4], 5
cmp dword [0x5c33bc], 0
je 0x43243b
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x56ef78
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x432431
xorps xmm0, xmm0
mov dword [ebp - 0x468], 0
lea ecx, [ebp - 0x488]
push ecx
movups xmmword [ebp - 0x488], xmm0
movups xmmword [ebp - 0x478], xmm0
call eax
mov ax, word [ebp - 0x488]
cmp ax, 9
je 0x432427
cmp ax, 6
je 0x432427
cmp ax, 0xc
je 0x432427
push str.IsWow64Process2
push 0x56efe8
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x43241e
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x43241e
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x424], cx
sete al
mov dword [0x5cbcb4], eax
jmp 0x432431
xor eax, eax
mov dword [0x5cbcb4], eax
jmp 0x432431
mov dword [0x5cbcb4], 1
mov dword [0x5c33bc], 0
mov eax, dword [0x5cbcb4]
lea ecx, [ebp - 0x44c]
mov dword [ebp - 0x434], eax
test eax, eax
je 0x432457
push 0x20119
jmp 0x43245c
push 0x20019
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0042e900
test eax, eax
jne 0x432852
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004f39e0
mov esi, dword [ebp - 0x44c]
lea eax, [ebp - 0x424]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
mov dword [ebp - 0x424], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push 0x56f33c
push esi
call edi
test eax, eax
jne 0x432522
mov eax, dword [ebp - 0x428]
cmp eax, 1
je 0x4324d1
cmp eax, 2
jne 0x432522
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x4324ee
test al, 1
jne 0x432522
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x4324f7
jmp 0x432522
xor eax, eax
mov word [ebp - 0x218], ax
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432500
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.00429710
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
mov dword [ebp - 0x424], 0x208
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.CSDVersion
push esi
call edi
test eax, eax
jne 0x43268e
mov eax, dword [ebp - 0x428]
cmp eax, 1
je 0x43257d
cmp eax, 2
jne 0x43268e
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x4325a1
test al, 1
jne 0x43268e
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x4325aa
jmp 0x43268e
xor eax, eax
mov word [ebp - 0x218], ax
call fcn.004287b0
mov ecx, eax
test ecx, ecx
je 0x432b66
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x218]
test eax, 0xffff0000
jne 0x4325eb
movzx eax, ax
lea ecx, [ebp - 0x424]
push eax
call fcn.004301d0
jmp 0x432616
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4325f4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.00429710
mov byte [ebp - 4], 7
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push 0x56f36c
push eax
call fcn.00431fb0
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x42c]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0042d7c0
mov byte [ebp - 4], 7
or eax, 0xffffffff
mov edx, dword [ebp - 0x428]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43266c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x424]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43268e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
mov dword [ebp - 0x424], 0x208
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push 0x56f370
push esi
call edi
test eax, eax
jne 0x4327fa
mov eax, dword [ebp - 0x428]
cmp eax, 1
je 0x4326e9
cmp eax, 2
jne 0x4327fa
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x43270d
test al, 1
jne 0x4327fa
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x432716
jmp 0x4327fa
xor eax, eax
mov word [ebp - 0x218], ax
call fcn.004287b0
mov ecx, eax
test ecx, ecx
je 0x432b70
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x218]
test eax, 0xffff0000
jne 0x432757
movzx eax, ax
lea ecx, [ebp - 0x424]
push eax
call fcn.004301d0
jmp 0x432782
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432760
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.00429710
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push 0x56f36c
push eax
call fcn.00431fb0
add esp, 0xc
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x42c]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0042d7c0
mov byte [ebp - 4], 0xc
or eax, 0xffffffff
mov edx, dword [ebp - 0x428]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4327d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x424]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4327fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x434], 0
mov edx, str._x64_
mov eax, str._x86_
cmove edx, eax
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432813
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x42c]
call fcn.0042d7c0
test esi, esi
je 0x432842
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x44c], esi
mov edi, dword [ebp - 0x42c]
mov dword [ebp - 0x448], 0
call fcn.004287b0
mov ecx, eax
test ecx, ecx
je 0x432b7a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x424], esi
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x440]
push 0x20219
push str.SOFTWARELudashi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0042e900
test eax, eax
jne 0x43298f
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.004f39e0
add esp, 0xc
mov dword [ebp - 0x428], 0x208
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x434]
push eax
mov eax, dword [ebp - 0x440]
push 0
push str.InstallDate
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43296c
mov eax, dword [ebp - 0x434]
cmp eax, 1
je 0x432915
cmp eax, 2
jne 0x43296c
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x432932
test al, 1
jne 0x43296c
shr eax, 1
cmp word [ebp + eax*2 - 0x422], 0
je 0x43293b
jmp 0x43296c
xor eax, eax
mov word [ebp - 0x420], ax
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432944
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.00429710
mov esi, dword [ebp - 0x424]
mov eax, dword [ebp - 0x440]
test eax, eax
je 0x432985
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], 0
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.00434950
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.00434950
add esp, 0x10
mov byte [ebp - 4], 0x14
call fcn.004287b0
mov ecx, eax
test ecx, ecx
je 0x432b84
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 0x16
push dword [ebp - 0x454]
mov eax, dword [ebp - 0x430]
push dword [ebp - 0x458]
push dword [eax + 0x14]
push dword [eax + 4]
push dword [eax]
push dword [eax + 8]
lea eax, [ebp - 0x428]
push str._pid_smid_sm2_sappver_sos_sinstdate_s
push eax
call fcn.0042de00
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x430], eax
call fcn.00428580
mov ecx, dword [ebp - 0x45c]
add eax, 0x10
add esp, 0x24
mov dword [ecx], eax
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x450], 1
mov byte [ebp - 4], 0x14
or eax, 0xffffffff
mov edx, dword [ebp - 0x430]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x432a61
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x13
or eax, 0xffffffff
mov edx, dword [ebp - 0x454]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x432a83
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
or eax, 0xffffffff
mov edx, dword [ebp - 0x458]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x432aa5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x440]
test eax, eax
je 0x432ac4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov byte [ebp - 4], 5
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x432aec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x432b0b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x432b31
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x45c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004da3bd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004225f0
push 0x80004005
call fcn.004225f0
push 0x80004005
call fcn.004225f0
push 0x80004005
call fcn.004225f0
push 0x80004005
call fcn.004225f0
push 0x80004005
call fcn.004225f0
int3