Function at 0x10006796
Capabilities:
Set registry value

Disassembly:
push 0x118
mov eax, 0x10017370
call fcn.10016a4e
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], ebx
push 0x2001f
push dword [0x1001c4d4]
lea ecx, [ebp - 0x120]
push SysReAllocStringLen
mov dword [ebp - 4], ebx
call fcn.1000fc73
mov edi, dword [ebp - 0x120]
xor eax, eax
cmp dword [esi + 0x3c], ebx
push 4
sete al
inc eax
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x124]
push eax
push 4
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x100015a4
push edi
call ebx
push 0x103
lea eax, [ebp - 0x113]
push 0
push eax
mov byte [ebp - 0x114], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0x106b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [ebp - 0x114]
push eax
lea ecx, [esi + 0x40]
call fcn.1000fc73
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006857
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x114]
push eax
push 1
push 0
push 0x100015b4
push edi
call ebx
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0x106d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [ebp - 0x114]
push eax
lea ecx, [esi + 0x44]
call fcn.1000fc73
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100068a9
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x114]
push eax
push 1
push 0
push 0x100015c0
push edi
call ebx
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0x106f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [ebp - 0x114]
push eax
lea ecx, [esi + 0x48]
call fcn.1000fc73
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100068fb
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x114]
push eax
push 1
push 0
push 0x100015cc
push edi
call ebx
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0x1071
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [ebp - 0x114]
push eax
lea ecx, [esi + 0x4c]
call fcn.1000fc73
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000694d
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x114]
push eax
push 1
push 0
push 0x100015d8
push edi
call ebx
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0x106c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [ebp - 0x114]
push eax
lea ecx, [esi + 0x50]
call fcn.1000fc73
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000699f
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x114]
push eax
push 1
push 0
push 0x100015e4
push edi
call ebx
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0x106e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [ebp - 0x114]
push eax
lea ecx, [esi + 0x54]
call fcn.1000fc73
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100069f1
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x114]
push eax
push 1
push 0
push 0x100015f0
push edi
call ebx
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0x1070
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [ebp - 0x114]
push eax
lea ecx, [esi + 0x58]
call fcn.1000fc73
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006a43
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x114]
push eax
push 1
push 0
push 0x100015fc
push edi
call ebx
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0x1072
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [ebp - 0x114]
push eax
lea ecx, [esi + 0x5c]
call fcn.1000fc73
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006a95
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x114]
push eax
push 1
push 0
push 0x10001608
push edi
call ebx
movzx eax, word [ebp + 0xc]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x120]
call fcn.10005dec
xor eax, eax
call fcn.10016ad1
ret 0x10