Function at 0x43fa6e
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
mov eax, dword [0x46b3b8]
push ebx
push edi
mov dword [esp + 0x78], eax
lea eax, [esp + 0xc]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push 0x412848
push 0x80000002
call dword [sym.imp.vsansi.dll_RegOpenKeyExW]
push dword [esp + 0xc]
call fcn.0043f1de
mov edi, eax
cmp edi, 0xffffffff
jne 0x43fab0
xor eax, eax
jmp 0x43fd27
inc edi
lea eax, [edi + edi]
push esi
push eax
call dword [sym.imp.MSVCR71.dll_malloc]
pop ecx
mov esi, eax
lea eax, [esp + 0x28]
push eax
push esi
lea eax, [esp + 0x3c]
push eax
push ebx
push 0x4127b8
push dword [esp + 0x24]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edi
call dword [sym.imp.vsansi.dll_RegQueryValueExW]
push 0x10
xor eax, eax
mov word [esp + 0x3c], bx
pop ecx
lea edi, [esp + 0x3a]
rep stosd dword es:[edi], eax
cmp word [esi], bx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
je 0x43fcca
mov eax, dword [esp + 0x84]
mov ebx, dword [sym.imp.MSVCR71.dll__itow]
push ebp
or eax, 1
push 0x20
mov dword [esp + 0x38], eax
mov edi, 0x46dd20
pop ebp
lea eax, [esp + 0x10]
push eax
push 0x41283c
push esi
call dword [sym.imp.MSVCR71.dll_swscanf]
add esp, 0xc
push esi
call dword [sym.imp.vsansi.dll_lstrlenW]
cmp word [esp + 0x34], 0
lea esi, [esi + eax*2 + 2]
je 0x43fba2
push 0x41282c
push esi
call dword [sym.imp.MSVCR71.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x43fba2
push edi
call dword [sym.imp.MSVCR71.dll_wcslen]
test eax, eax
pop ecx
je 0x43fb7d
push 0x412828
push ebp
push edi
call fcn.004354cd
push 0xa
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x18]
call ebx
add esp, 0xc
push eax
push ebp
push edi
call fcn.004354cd
mov dword [esp + 0x20], 1
jmp 0x43fcb4
mov eax, dword [esp + 0x88]
or eax, 2
test ax, ax
je 0x43fc00
push 0x4127fc
push esi
call dword [sym.imp.MSVCR71.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x43fc00
push edi
call dword [sym.imp.MSVCR71.dll_wcslen]
test eax, eax
pop ecx
je 0x43fbdb
push 0x412828
push ebp
push edi
call fcn.004354cd
push 0xa
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x18]
call ebx
add esp, 0xc
push eax
push ebp
push edi
call fcn.004354cd
mov dword [esp + 0x24], 1
jmp 0x43fcb4
mov eax, dword [esp + 0x88]
or eax, 4
test ax, ax
je 0x43fc5b
push 0x4127ec
push esi
call dword [sym.imp.MSVCR71.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x43fc5b
push edi
call dword [sym.imp.MSVCR71.dll_wcslen]
test eax, eax
pop ecx
je 0x43fc39
push 0x412828
push ebp
push edi
call fcn.004354cd
push 0xa
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x18]
call ebx
add esp, 0xc
push eax
push ebp
push edi
call fcn.004354cd
mov dword [esp + 0x1c], 1
jmp 0x43fcb4
mov eax, dword [esp + 0x88]
or eax, 8
test ax, ax
je 0x43fcb4
push 0x4127cc
push esi
call dword [sym.imp.MSVCR71.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x43fcb4
push edi
call dword [sym.imp.MSVCR71.dll_wcslen]
test eax, eax
pop ecx
je 0x43fc94
push 0x412828
push ebp
push edi
call fcn.004354cd
push 0xa
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x18]
call ebx
add esp, 0xc
push eax
push ebp
push edi
call fcn.004354cd
mov dword [esp + 0x28], 1
push esi
call dword [sym.imp.vsansi.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
jne 0x43fb2c
pop ebp
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esp + 0x2c]
call dword [sym.imp.MSVCR71.dll_free]
mov eax, dword [esp + 0x88]
pop ecx
mov ecx, eax
or ecx, 1
test cx, cx
pop esi
je 0x43fcf9
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov ecx, eax
or ecx, 2
test cx, cx
mov ecx, dword [esp + 0x10]
je 0x43fd0b
or ecx, dword [esp + 0x1c]
mov edx, eax
or edx, 4
test dx, dx
je 0x43fd19
or ecx, dword [esp + 0x14]
or eax, 8
test ax, ax
je 0x43fd25
or ecx, dword [esp + 0x20]
mov eax, ecx
mov ecx, dword [esp + 0x78]
pop edi
pop ebx
call fcn.00457d27
add esp, 0x74
ret 4