Function at 0x4178c0
Capabilities:
Create process on windows
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x508], eax
cmp dword [ebp + 0xc], 0
movzx eax, byte [0x41dcdc]
movq xmm0, qword [str.VDB32App]
mov byte [esp + 0xf8], al
mov eax, dword [0x41dd00]
mov dword [esp + 0x3c], eax
movzx eax, byte [0x41dd04]
movq qword [esp + 0xf0], xmm0
movq xmm0, qword [0x41dcf8]
push ebx
mov ebx, dword [ebp + 0x10]
mov byte [esp + 0x44], al
mov eax, dword [0x41dd10]
push esi
mov esi, dword [ebp + 8]
movq qword [esp + 0x3c], xmm0
movq xmm0, qword [str.Is___AWebApp]
mov dword [esp + 0x54], eax
movzx eax, byte [0x41dd14]
push edi
mov dword [esp + 0x10], esi
movq qword [esp + 0x50], xmm0
mov byte [esp + 0x5c], al
jne 0x4179c5
push 0x7f00
push 0
mov dword [esp + 0x68], 0x1000
mov dword [esp + 0x6c], 0x418020
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x78], eax
lea eax, [esp + 0xfc]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x417ff2
mov ecx, esi
call fcn.00418070
test eax, eax
je 0x417a82
lea eax, [esp + 0xec]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0xf4]
mov edi, dword [0x420e60]
sub eax, edi
mov ecx, dword [0x420e5c]
push 0
push dword [esp + 0x14]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x100]
push 0
push 0
sub eax, ecx
sar esi, 1
push ecx
cdq
push edi
sub eax, edx
sar eax, 1
push eax
push esi
push 0x80000000
push 0
lea eax, [esp + 0x124]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
jne 0x417a6c
mov eax, dword [0x420e6c]
test eax, eax
je 0x417a52
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.00401114
mov esp, ebp
pop ebp
ret 0x10
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [esp + 0x10]
jmp 0x417aab
push 0
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x124]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, eax
mov dword [esp + 0xc], eax
test edi, edi
je 0x417a52
push 0x104
lea eax, [esp + 0x40c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x408]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x41dd20]
movq xmm0, qword [0x41dd18]
push edi
mov dword [esp + 0x114], eax
lea eax, [esp + 0x117]
push 0x41dd24
push eax
movq qword [esp + 0x114], xmm0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x50]
lea eax, [esp + 0x40]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x417b30
test dl, dl
je 0x417b2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x417b30
add eax, 2
add ecx, 2
test dl, dl
jne 0x417b10
xor eax, eax
jmp 0x417b35
sbb eax, eax
or eax, 1
mov dword [esp + 0x28], eax
test eax, eax
jne 0x417b5e
lea ecx, [esp + 0x108]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x417b45
mov eax, dword [0x41dd30]
mov dword [ecx], eax
mov al, byte [0x41dd34]
mov byte [ecx + 4], al
test ebx, ebx
je 0x417b91
mov edx, ebx
mov esi, ebx
mov al, byte [edx]
inc edx
test al, al
jne 0x417b66
lea edi, [esp + 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x417b77
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0xc]
push 0x44
lea eax, [esp + 0x8c]
push 0
push eax
call fcn.00405d90
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
add esp, 0xc
mov eax, 5
mov dword [esp + 0x88], 0x44
mov dword [esp + 0xb4], 1
mov word [esp + 0xb8], ax
push 0xfffffffffffffff6
call esi
push 0xfffffffffffffff5
mov dword [esp + 0xc4], eax
call esi
push 0xfffffffffffffff4
mov dword [esp + 0xc8], eax
call esi
xorps xmm0, xmm0
mov dword [esp + 0xc8], eax
push 0x14
movq qword [esp + 0x1c], xmm0
mov dword [esp + 0x24], 0
call fcn.00401160
add esp, 4
mov dword [esp + 0x1c], eax
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x417c48
push 0x30
push 0x41dd38
push str.Unable_Initialize_Security_Descriptor
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.00401114
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push 1
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x417c89
push 0x30
push str.PLUS
push str.Unable_to_Set_Security_Descriptor
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.00401114
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x30]
mov dword [esp + 0x18], 0xc
push eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x24], 1
push eax
push 0
push 0
push 0x4000020
push 1
lea eax, [esp + 0x30]
push eax
push eax
lea eax, [esp + 0x128]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x417f4b
lea eax, [esp + 0x24]
push eax
push 1
push 0
push str.SoftwaredBASEPLUSSeries13
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x417f37
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x100
push eax
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x34]
push eax
push 0
push str.RuntimePath
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 0x24]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x417f37
cmp dword [esp + 0x2c], 1
jne 0x417e5d
cmp dword [esp + 0xc], 1
jbe 0x417e5d
lea ecx, [esp + 0x108]
call fcn.00418300
test eax, eax
jne 0x417d74
mov eax, dword [esp + 0xc]
mov byte [esp + eax + 0x107], 0x5c
cmp eax, 0x100
jae 0x41800b
mov byte [esp + eax + 0x108], 0
lea ecx, [esp + 0x108]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x417d80
mov eax, dword [0x41ddc0]
mov dword [ecx], eax
mov eax, dword [0x41ddc4]
mov dword [ecx + 4], eax
mov eax, dword [0x41ddc8]
mov dword [ecx + 8], eax
lea ecx, [esp + 0x108]
lea edx, [ecx + 1]
jmp 0x417db0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417db0
sub ecx, edx
lea eax, [esp + 0x108]
push edi
add eax, ecx
push str.__h__08X
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp dword [esp + 0x28], 0
jne 0x417dfa
lea ecx, [esp + 0x108]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x417de1
mov eax, dword [str.__W]
mov dword [ecx], eax
mov al, byte [0x41dddc]
mov byte [ecx + 4], al
test ebx, ebx
je 0x417e27
mov esi, ebx
mov al, byte [ebx]
inc ebx
test al, al
jne 0x417e00
lea edi, [esp + 0x108]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x417e11
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x8c]
push eax
push 0
push 0
push 0x4000020
push 1
lea eax, [esp + 0x30]
push eax
push eax
lea eax, [esp + 0x128]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x417f4b
push 0x100
lea eax, [esp + 0x30c]
push eax
push 0
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jle 0x417ea1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x41de18
lea eax, [esp + 0x310]
push eax
lea eax, [esp + 0x214]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x417f01
mov eax, dword [0x41de2c]
lea ecx, [esp + 0x208]
movq xmm0, qword [str.Error_loading]
dec ecx
mov dword [esp + 0x210], eax
mov ax, word [0x41de30]
mov word [esp + 0x214], ax
mov al, byte [0x41de32]
movq qword [esp + 0x208], xmm0
mov byte [esp + 0x216], al
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x417ee0
mov eax, dword [str.PLUSRUN.EXE]
mov dword [ecx], eax
mov eax, dword [0x41de38]
mov dword [ecx + 4], eax
mov eax, dword [0x41de3c]
mov dword [ecx + 8], eax
call fcn.00418210
push 0x30
push 0x41dcdd
lea eax, [esp + 0x210]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.00401114
mov esp, ebp
pop ebp
ret 0x10
push 0x30
push str.dBASE_Runtime
push str.Registry_entry_missing_or_access_denied
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x3e8
push dword [esp + 0x34]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x34]
mov dword [esp + 0x1c], 0x103
call esi
test eax, eax
je 0x417fd0
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [esp + 0x14], 0x103
jne 0x417fd0
push 1
push 0
push 0
push 0
lea eax, [esp + 0xe0]
push eax
call ebx
test eax, eax
je 0x417fb7
cmp dword [esp + 0xd4], 0x12
je 0x417fd0
lea eax, [esp + 0xd0]
push eax
call edi
push 1
push 0x1e
call dword [sym.imp.KERNEL32.dll_SleepEx]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x34]
call esi
test eax, eax
jne 0x417f83
mov eax, dword [0x420e6c]
test eax, eax
je 0x417fe0
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [esp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x30]
call esi
mov ecx, dword [esp + 0x514]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401114
mov esp, ebp
pop ebp
ret 0x10
call fcn.0040132a
int3