Function at 0x4019b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x40bc50]
sub esp, 0x120
push ebx
push ebp
push esi
push edi
push 2
push 0xfffffffffffffffc
push eax
call fcn.0040237f
mov ecx, dword [0x40bc50]
lea edx, [esp + 0x1c]
push ecx
push 1
push 4
push edx
call fcn.00402297
mov ecx, dword [0x415b30]
add esp, 0x1c
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push 0x150
push 0x1c4
push esi
call edi
mov ebp, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
mov ebx, eax
call ebp
push ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
mov dword [0x40bc64], eax
call ebx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
mov edx, dword [0x40bc50]
add ecx, 4
push eax
push ecx
push edx
call fcn.00401d20
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 0x10
push eax
push ecx
push esi
call edi
push esi
mov edi, eax
call ebp
push edi
push eax
mov dword [0x40bc48], eax
call ebx
mov eax, dword [0x415b30]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push 0x409148
push str.bug.txt
call fcn.00402128
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
push str.x_d_y_d_p_d
push esi
call fcn.004020d6
push esi
call fcn.00402080
mov ecx, dword [esp + 0x30]
mov edx, dword [0x40bc50]
add ecx, 4
push ecx
push 0
push edx
call fcn.00401e50
mov eax, dword [0x415c00]
add esp, 0x2c
mov ecx, dword [esp + 0x18]
push 0xcc0020
push 0
push 0x415b40
push eax
mov eax, dword [esp + 0x24]
push eax
push ecx
push 0
push 0
push eax
push ecx
mov ecx, dword [0x40bc48]
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_StretchDIBits]
mov edx, dword [0x40bc48]
mov eax, dword [0x40bc64]
push 0xcc0020
push 0
push 0
push edx
push 0x150
push 0x1c4
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [0x40bc64]
mov edx, dword [0x415b30]
push 0x150
push 0x1c4
push ecx
push edx
call fcn.004012e0
add esp, 0x10
lea eax, [esp + 0x1c]
push eax
push str.SoftwareFalcomFsetup
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x401b65
mov dword [0x415a04], 0xffffffff
jmp 0x401cc9
lea ecx, [esp + 0x20]
lea edx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x28]
push edx
push eax
push 0
push str.yse_win
push ecx
mov dword [esp + 0x38], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x4b
xor eax, eax
mov edi, 0x40bc80
rep stosd dword es:[edi], eax
lea eax, [esp + 0x68]
push eax
push str._sys2_winys2_win.exe
push 0x40bc80
call fcn.00402245
add esp, 0xc
push 0x200000
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [0x40bc50]
push 2
push 0xfffffffffffffffc
push ecx
mov edi, eax
call fcn.0040237f
mov edx, dword [0x40bc50]
lea eax, [esp + 0x1c]
push edx
push 1
push 4
push eax
call fcn.00402297
mov ecx, dword [esp + 0x2c]
mov eax, dword [0x40bc50]
mov edx, 0xfffffffc
push 2
lea esi, [ecx + 4]
sub edx, esi
push edx
push eax
call fcn.0040237f
mov ecx, dword [0x40bc50]
lea edx, [esp + 0x38]
push ecx
push 1
push 4
push edx
call fcn.00402297
mov eax, dword [esp + 0x48]
add esp, 0x38
lea esi, [esi + eax + 4]
mov eax, dword [0x40ba30]
test eax, eax
jle 0x401c6c
mov edx, dword [0x40bc50]
mov ecx, 0xfffffffc
sub ecx, esi
push 2
push ecx
push edx
call fcn.0040237f
mov eax, dword [0x40bc50]
lea ecx, [esp + 0x1c]
push eax
push 1
push 4
push ecx
call fcn.00402297
mov edx, dword [esp + 0x2c]
add esp, 0x1c
lea esi, [esi + edx + 4]
mov eax, dword [0x40bc50]
push 2
neg esi
push esi
push eax
call fcn.0040237f
mov ecx, dword [0x40bc50]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push 1
push edi
call fcn.00402297
push 0x4090e8
push 0x40bc80
call fcn.00402128
mov esi, eax
mov eax, dword [esp + 0x34]
push esi
push eax
push 1
push edi
call fcn.0040213b
push esi
call fcn.00402080
add esp, 0x38
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [0x415a04], 1
mov ecx, dword [0x415b30]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.00401f70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret