Function at 0x430c00
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x458c1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
push ebp
push esi
lea edx, [esp + 0x10]
push edi
mov ebx, ecx
push edx
lea edx, [esp + 0x20]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x20]
push edx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x48]
lea edx, [esp + 0x20]
mov esi, 1
push edx
push eax
mov eax, dword [ebx + 0x54]
push ecx
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 0x80
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 0x18], esi
jne 0x430d51
cmp word [esp + 0x1c], 0
je 0x430d51
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x430d51
mov ecx, dword [0x463058]
lea edx, [esp + 0x1c]
test edx, edx
mov dword [esp + 0x10], ecx
je 0x430cf2
lea eax, [esp + 0x1c]
shr eax, 0x10
jne 0x430cb2
xor eax, eax
lea ecx, [esp + 0x1c]
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.00406f90
jmp 0x430cf2
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x430cf2
push esi
lea ecx, [esp + 0x14]
call fcn.00403db0
test eax, eax
je 0x430cf2
lea ecx, [esi + esi]
lea eax, [esi + esi + 2]
cmp eax, ecx
jb 0x430cf2
mov edi, dword [esp + 0x10]
mov edx, ecx
lea esi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x50]
mov ecx, dword [esp + 0x10]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x438], 0
call ebp
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x430d6c
mov eax, dword [esp + 0x10]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x430d51
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x430d51
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x420
ret
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esi, [ebx + 0x40]
mov dword [ebx + 0x5c], 1
mov eax, dword [esi]
cmp eax, edx
je 0x430dc6
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x430d9a
mov ecx, dword [0x46305c]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x430da1
mov eax, dword [edx - 0xc]
test eax, eax
jge 0x430daf
mov eax, dword [edx - 8]
push edx
push eax
mov ecx, esi
call fcn.00403e10
jmp 0x430dc2
mov ecx, esi
call fcn.00403ed0
mov eax, dword [esp + 0x10]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call edi
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x44]
lea esi, [ebx + 0x44]
cmp eax, edx
je 0x430e10
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x430de4
mov ecx, dword [0x46305c]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x430deb
mov eax, dword [edx - 0xc]
test eax, eax
jge 0x430df9
mov ecx, dword [edx - 8]
push edx
push ecx
mov ecx, esi
call fcn.00403e10
jmp 0x430e0c
mov ecx, esi
call fcn.00403ed0
mov eax, dword [esp + 0x10]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call edi
mov edx, dword [esp + 0x10]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], 0
rep stosd dword es:[edi], eax
push 0x463fd0
push edx
lea edx, [esp + 0x124]
push edx
stosw word es:[edi], ax
call ebp
push 0
lea eax, [esp + 0x120]
push 1
push eax
call fcn.0041f910
test eax, eax
jne 0x430e9b
push 1
call fcn.00441f80
lea ecx, [esp + 0x120]
push eax
push ecx
call fcn.00442210
add esp, 0xc
lea edx, [esp + 0x21c]
push 0x104
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, ebx
call fcn.00430fa0
lea ecx, [esp + 0x21c]
lea edi, [ebx + 0x58]
test ecx, ecx
jne 0x430f19
xor esi, esi
jmp 0x430f29
lea edx, [esp + 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x430e69
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x463fbc
push esi
call ebp
push 0x463fac
push esi
mov edi, eax
call ebp
test edi, edi
mov ebp, eax
je 0x430f07
lea eax, [esp + 0x21c]
push 0x104
push eax
call edi
add esp, 8
test eax, eax
jne 0x430f07
mov ecx, 0x463f9c
lea esi, [ebx + 0x58]
test ecx, ecx
je 0x430efa
push 0x463f9c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x463f9c
push eax
mov ecx, esi
call fcn.00403e10
test ebp, ebp
je 0x430e82
call ebp
mov dword [ebx + 0x64], eax
jmp 0x430e82
lea edx, [esp + 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push esi
mov ecx, edi
call fcn.00407470
test eax, eax
je 0x430f5e
mov edx, dword [edi]
lea ebx, [esi + esi]
lea eax, [esp + 0x21c]
push ebx
lea ecx, [esi + esi + 2]
push eax
push ecx
push edx
call fcn.00402e50
mov eax, dword [edi]
add esp, 0x10
mov dword [eax - 8], esi
mov ecx, dword [edi]
mov word [ecx + ebx], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x46305c]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x430f8d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x430f8d
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0043733c
add esp, 4
mov eax, 1
jmp 0x430d53