Function at 0x72a61180
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
test byte [0x72a76584], 1
jne 0x72a61440
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x72a7c004
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SYSTEMCurrentControlSetControlPrintForms
mov dword [esp], 0x80000002
call sym._RegCreateKeyExW_36
sub esp, 0x24
test eax, eax
je 0x72a61210
cmp eax, 0xb7
je 0x72a61210
test byte [0x72a76584], 2
jne 0x72a61480
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], section..bss
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 8], 0
mov dword [esp + 4], str.SYSTEMCurrentControlSetControlPrintForms
mov dword [esp], 0x80000002
call sym._RegOpenKeyExW_20
sub esp, 0x14
test eax, eax
jne 0x72a614c5
mov eax, dword [str.Letter]
mov dword [0x72a7c010], 1
mov dword [0x72a7c00c], 0x72a7c008
mov dword [0x72a7c008], 0x72a7c008
test eax, eax
je 0x72a611fd
mov edi, section..data
lea esi, [ebp - 0x30]
jmp 0x72a613b0
mov eax, dword [edi + 4]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_wcslen]
lea eax, [eax + eax + 0x4a]
mov dword [esp], eax
call sym._DllAllocSplMem_4
mov ebx, eax
mov eax, dword [edi + 4]
sub esp, 4
mov dword [esp + 4], eax
lea eax, [ebx + 0x48]
mov dword [esp], eax
call sym._wcscpy
mov dword [ebx + 0x14], eax
mov eax, dword [edi]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x28], eax
mov eax, dword [edi + 0x1c]
mov dword [ebx + 8], 0x2e32
mov dword [ebx + 0x2c], eax
mov eax, dword [0x72a7c010]
mov dword [ebx + 0x30], 0
lea ecx, [eax + 1]
mov dword [ebx + 0xc], eax
xor eax, eax
mov word [ebx + 0x44], ax
mov eax, dword [0x72a7c00c]
mov dword [ebx + 0x34], 1
mov dword [ebx + 4], eax
mov dword [ebx], 0x72a7c008
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [eax], ebx
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
mov dword [0x72a7c010], ecx
mov dword [0x72a7c00c], ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x14], 0x20
mov dword [ebp - 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov eax, dword [ebx + 0x14]
mov dword [esp + 4], eax
mov eax, dword [section..bss]
mov dword [esp], eax
call sym._RegSetValueExW_24
sub esp, 0x18
test eax, eax
jne 0x72a613a2
test byte [0x72a76584], 8
jne 0x72a61400
add edi, 0x20
mov eax, dword [edi + 4]
test eax, eax
je 0x72a611fd
test byte [0x72a76584], 8
je 0x72a61280
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.InitializeFormList_L_s__S_n
mov dword [esp + 0x10], 0x10c
mov dword [esp + 0xc], str.InitializeFormList
mov dword [esp + 8], 0x72a7704d
mov dword [esp + 4], 0x72a76584
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x72a61280
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x14], str.Init_:_RQVEW_:__S_added_n
mov dword [esp + 0x10], 0x129
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], str.InitializeFormList
mov dword [esp + 8], 0x72a7704d
mov dword [esp + 4], 0x72a76584
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x72a613a2
mov dword [esp + 0x14], str.InitializeFormList_n
mov dword [esp + 0x10], 0xea
mov dword [esp + 0xc], str.InitializeFormList
mov dword [esp + 8], 0x72a7704d
mov dword [esp + 4], 0x72a76584
mov dword [esp], 0
call sym._ros_dbg_log
jmp 0x72a61196
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.RegCreateKeyExW_failed_for_the_Forms_with_error__lu__n
mov dword [esp + 0x10], 0xf8
mov dword [esp + 0xc], str.InitializeFormList
mov dword [esp + 8], 0x72a7704d
mov dword [esp + 4], 0x72a76584
mov dword [esp], 1
call sym._ros_dbg_log
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x72a76584], 2
je 0x72a611fd
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.RegOpenKeyExW_failed_for__Forms__with_error__lu__n
mov dword [esp + 0x10], 0x100
jmp 0x72a61494