Function at 0x4039f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48316b
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4a4b70]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4b70]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0xd0]
mov eax, esi
call fcn.00404a50
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push str.SoftwareYABReviewersNSettings
push SysReAllocString
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404132
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
push 0
push str.eTextDirect
push ecx
call esi
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x14]
push eax
lea ebx, [edi + 0xd8]
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0
mov dword [edi + 0xd4], edx
mov edx, dword [esp + 0x28]
push str.bDisplayCR
push edx
call esi
test eax, eax
je 0x403ac0
mov dword [ebx], 1
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea ebx, [edi + 0xdc]
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0
push str.bBkModeFlag
push edx
call esi
test eax, eax
je 0x403ae9
mov dword [ebx], 0
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea ebx, [edi + 0xe0]
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0
push str.bInsertFlag
push edx
call esi
test eax, eax
je 0x403b12
mov dword [ebx], 0
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea ebx, [edi + 0xe4]
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0
push str.InsertBkColor
push edx
call esi
test eax, eax
je 0x403b3b
mov dword [ebx], 0xff00
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea ebx, [edi + 0xe8]
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0
push str.DeleteBkColor
push edx
call esi
test eax, eax
je 0x403b64
mov dword [ebx], 0xff
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea ebx, [edi + 0xec]
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0
push str.NormalBkColor
push edx
call esi
test eax, eax
je 0x403b8d
mov dword [ebx], 0xffffff
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea ebx, [edi + 0x134]
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0
push str.BkColor
push edx
call esi
test eax, eax
je 0x403bb6
mov dword [ebx], 0xffffff
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea ebx, [edi + 0xf0]
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0
push str.InsertColor
push edx
call esi
test eax, eax
je 0x403bdf
mov dword [ebx], 0xff0000
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea ebx, [edi + 0xf4]
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0
push str.DeleteColor
push edx
call esi
test eax, eax
je 0x403c08
mov dword [ebx], 0xff
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea ebx, [edi + 0xf8]
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0
push str.NormalColor
push edx
call esi
test eax, eax
je 0x403c31
mov dword [ebx], 0
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea ebx, [edi + 0xfc]
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0
push str.UnderLineColor
push edx
call esi
test eax, eax
je 0x403c5a
mov dword [ebx], 0x800000
lea eax, [edi + 0x104]
mov ebx, 1
mov dword [esp + 0x24], eax
call fcn.00440a5b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x404061
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push ebx
lea ecx, [esp + 0x24]
push 0x490188
push ecx
mov dword [esp + 0xc4], 0
call fcn.00403170
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push ebp
push edx
call esi
test eax, eax
je 0x403cd9
mov eax, ebx
lea ecx, [edi + 0xd0]
call fcn.004049b0
add ebp, 0xfffffff0
mov dword [esp + 0xb8], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403d01
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
add dword [esp + 0x24], 4
add ebx, 1
cmp ebx, 0xc
jle 0x403c69
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea ebx, [edi + 0x138]
push ebx
lea edx, [esp + 0x24]
push edx
push 0
push str.bUnderLineFlag
push eax
call esi
test eax, eax
je 0x403d3b
mov dword [ebx], 0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea ebx, [edi + 0x13c]
push ebx
lea edx, [esp + 0x24]
push edx
push 0
push str.bReserveDraw
push eax
call esi
test eax, eax
je 0x403d64
mov dword [ebx], 1
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea ebx, [edi + 0x140]
push ebx
lea edx, [esp + 0x24]
push edx
push 0
push str.bClearSaveFile
push eax
call esi
test eax, eax
je 0x403d8d
mov dword [ebx], 0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea ebx, [edi + 0x144]
push ebx
lea edx, [esp + 0x24]
push edx
push 0
push str.bSetTimerFlag
push eax
call esi
test eax, eax
je 0x403db6
mov dword [ebx], 1
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea ebx, [edi + 0x148]
push ebx
lea edx, [esp + 0x24]
push edx
push 0
push str.nSaveSpace
push eax
call esi
test eax, eax
je 0x403ddf
mov dword [ebx], 5
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea ebx, [edi + 0x14c]
push ebx
lea edx, [esp + 0x24]
push edx
push 0
push str.bDisplayDel
push eax
call esi
test eax, eax
je 0x403e08
mov dword [ebx], 0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea ebx, [edi + 0x150]
push ebx
lea edx, [esp + 0x24]
push edx
push 0
push str.bOnlySel
push eax
call esi
test eax, eax
je 0x403e31
mov dword [ebx], 0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea ebx, [edi + 0x154]
push ebx
lea edx, [esp + 0x24]
push edx
push 0
push str.nFontSize
push eax
call esi
test eax, eax
je 0x403e5a
mov dword [ebx], 0x1e
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea ebx, [edi + 0x158]
push ebx
lea edx, [esp + 0x24]
push edx
push 0
push str.nLeftEmpty
push eax
call esi
test eax, eax
je 0x403e83
mov dword [ebx], 0xa
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea ebx, [edi + 0x15c]
push ebx
lea edx, [esp + 0x24]
push edx
push 0
push str.nRightEmpty
push eax
call esi
test eax, eax
je 0x403eac
mov dword [ebx], 0xa
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea ebx, [edi + 0x160]
push ebx
lea edx, [esp + 0x24]
push edx
push 0
push str.nLineGap
push eax
call esi
test eax, eax
je 0x403ed5
mov dword [ebx], 3
cmp dword [ebx], 1
jge 0x403ee0
mov dword [ebx], 1
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea ebx, [edi + 0x164]
push ebx
lea edx, [esp + 0x24]
push edx
push 0
push str.nSpaceWid
push eax
call esi
test eax, eax
je 0x403f09
mov dword [ebx], 2
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea ebx, [edi + 0x168]
push ebx
lea edx, [esp + 0x24]
push edx
push 0
push str.bClearStyle
push eax
call esi
test eax, eax
je 0x403f32
mov dword [ebx], 0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov dword [ebx], 1
lea ebx, [edi + 0x16c]
push ebx
lea edx, [esp + 0x24]
push edx
push 0
push str.bAutoRewrite
push eax
call esi
test eax, eax
je 0x403f61
mov dword [ebx], 1
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea ebx, [edi + 0x170]
push ebx
lea edx, [esp + 0x24]
push edx
push 0
push str.bNotifyXWMessage
push eax
call esi
test eax, eax
je 0x403f8a
mov dword [ebx], 0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea ebx, [edi + 0x174]
push ebx
lea edx, [esp + 0x24]
push edx
push 0
push str.bAddEmptyCRInSave
push eax
call esi
test eax, eax
je 0x403fb3
mov dword [ebx], 0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea ebx, [edi + 0x178]
push ebx
lea edx, [esp + 0x24]
push edx
push 0
push str.bAutoSaveCopyFile
push eax
call esi
test eax, eax
je 0x403fdc
mov dword [ebx], 0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea ebx, [edi + 0xc0]
push ebx
lea edx, [esp + 0x24]
push edx
push 0
push str.bCreateOldView
push eax
call esi
test eax, eax
je 0x404005
mov dword [ebx], 0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
add edi, 0xcc
push edi
lea edx, [esp + 0x24]
push edx
push 0
push str.bShowSpecialBar
push eax
call esi
test eax, eax
je 0x40402e
mov dword [edi], 1
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push str.HMDir
mov edi, 0x40
push ecx
mov dword [esp + 0x2c], edi
call esi
test eax, eax
je 0x40406b
push 0
push 0x490648
jmp 0x404087
push 0x80004005
call fcn.00402a60
lea eax, [esp + 0x2c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404072
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x30]
push edx
mov ecx, 0x4a9740
call fcn.00402e60
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push str.DefaultFont
push eax
mov dword [esp + 0x2c], edi
call esi
test eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
je 0x4040c4
push 0x49064c
jmp 0x4040c9
lea edx, [esp + 0x30]
push edx
call fcn.00402d00
call fcn.00426c00
add esp, 4
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push str.HMJDHGCODE
push eax
call esi
test eax, eax
je 0x40410a
push 4
push str.1005
mov ecx, 0x4a9744
call fcn.00402e60
jmp 0x404143
lea eax, [esp + 0x2c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404111
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0x4a9744
call fcn.00402e60
jmp 0x404143
mov eax, esi
call fcn.00404a50
mov dword [edi + 0xcc], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00467f41
add esp, 0xa8
ret