Function at 0x43c420
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489ab0
mov eax, dword fs:[0]
push eax
sub esp, 0x5b0
mov eax, dword [0x4b555c]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
jne 0x43c45b
mov eax, 1
jmp 0x43c6b4
push 0x4b7280
lea ecx, [ebp - 0x10]
call fcn.00403930
mov dword [ebp - 4], 0
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00417110
cmp eax, 0xffffffff
jne 0x43c684
push 0x2f
lea ecx, [ebp - 0x10]
call fcn.00417110
test eax, eax
je 0x43c684
mov byte [ebp - 0x5ac], 0
push 0x103
push 0
lea eax, [ebp - 0x5ab]
push eax
call fcn.0046fb70
add esp, 0xc
lea ecx, [ebp - 0x5ac]
push ecx
call fcn.0043c390
add esp, 4
mov byte [ebp - 0x4a4], 0
push 0x7f
push 0
lea edx, [ebp - 0x4a3]
push edx
call fcn.0046fb70
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00403910
mov byte [ebp - 4], 1
push str.SOFTWAREMicrosoftCryptographyDefaultsProvider_
lea ecx, [ebp - 0x1c]
call fcn.004039f0
call fcn.00428d20
test eax, eax
je 0x43c512
mov eax, 1
test eax, eax
je 0x43c512
push str.SOFTWAREWow6432NodeMicrosoftCryptographyDefaultsProvider_
lea ecx, [ebp - 0x1c]
call fcn.004039f0
push str.HaiTai_Cryptographic_Service_Provider
lea ecx, [ebp - 0x1c]
call fcn.00403a30
mov byte [ebp - 0x424], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x423]
push ecx
call fcn.0046fb70
add esp, 0xc
push 0
lea ecx, [ebp - 0x1c]
call fcn.00403a50
push eax
lea edx, [ebp - 0x424]
push edx
call fcn.0046fa70
add esp, 8
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x424]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 0x18], 0
jne 0x43c5b0
mov dword [ebp - 0x5b0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004039b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004039b0
mov eax, dword [ebp - 0x5b0]
jmp 0x43c6b4
mov byte [ebp - 0x224], 0
push 0x1ff
push 0
lea edx, [ebp - 0x223]
push edx
call fcn.0046fb70
add esp, 0xc
mov dword [ebp - 0x20], 0x200
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push str.realPath
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x20], 0
je 0x43c617
lea edx, [ebp - 0x224]
push edx
call fcn.0046f9e0
add esp, 4
test eax, eax
jne 0x43c644
mov dword [ebp - 0x5b4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004039b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004039b0
mov eax, dword [ebp - 0x5b4]
jmp 0x43c6b4
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046fa70
add esp, 8
mov dword [ebp - 0x5b8], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004039b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004039b0
mov eax, dword [ebp - 0x5b8]
jmp 0x43c6b4
push 0x4b7280
mov edx, dword [ebp + 8]
push edx
call fcn.0046fa70
add esp, 8
mov dword [ebp - 0x5bc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004039b0
mov eax, dword [ebp - 0x5bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0046df66
mov esp, ebp
pop ebp
ret