Function at 0x505070
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0300
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x669404]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x6c], edx
xor edi, edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 4], edi
lea eax, [edi + 0x10]
call fcn.00549c70
mov dword [ebp - 0x10], esp
mov esi, esp
push 0xdead000b
push 0x316beef
lea eax, [ebp - 0x54]
push eax
call fcn.00404610
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x5050e1
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00406010
mov eax, 4
call fcn.00549c70
mov dword [ebp - 0x10], esp
mov eax, esp
mov dword [ebp - 0x60], eax
cmp eax, edi
je 0x50511f
mov dword [eax], 0xabab0316
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x60]
xor ebx, ebx
cmp esi, ebx
je 0x505135
mov dword [esi], 0xcdcd0316
mov dword [ebp - 0x68], 6
test byte [0x679728], 1
jne 0x50516c
or dword [0x679728], 1
mov dword [ebp - 4], 3
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x68]
push eax
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x5052bf
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 5
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 6
lea edi, [ebp - 0x38]
call fcn.004193b0
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x5051d7
push 0xd
push str.EnterFunction
mov ecx, eax
call fcn.004044f0
jmp 0x5051e5
push str.EnterFunction
push ecx
call fcn.004046b0
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov esi, eax
mov byte [ebp - 4], 7
test byte [0x679728], 1
jne 0x505227
or dword [0x679728], 1
mov byte [ebp - 4], 8
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], 7
mov dword [ebp - 0x58], 0x6796dc
mov ecx, 0x6796dc
mov edx, dword [0x6796dc]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov ecx, dword [0x679724]
cmp ecx, ebx
je 0x505271
cmp dword [esi + 0x14], 8
jb 0x505256
mov eax, dword [esi]
jmp 0x505258
mov eax, esi
mov edx, dword [ecx]
push 0x316
push str.RegistryHandler::SetMultiStringValue
push str.RegistryHandler.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 7
mov edx, dword [0x6796dc]
mov ecx, 0x6796dc
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x40], 8
jb 0x50529c
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], ebx
xor edx, edx
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
push eax
call fcn.00419280
mov esi, dword [ebp - 0x60]
cmp esi, ebx
je 0x5052c9
mov dword [esi], 0xcdcd0317
mov dword [ebp - 0x68], 6
test byte [0x679728], 1
jne 0x505300
or dword [0x679728], 1
mov dword [ebp - 4], 0xa
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
push ecx
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x505471
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0xd
lea edi, [ebp - 0x38]
call fcn.004193b0
mov esi, eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x505360
push 0x13
push str.EnterFunction_Name
mov ecx, esi
call fcn.004044f0
jmp 0x50536e
push str.EnterFunction_Name
push eax
call fcn.004046b0
add esp, 8
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x505385
push 0xffffffffffffffff
push ebx
mov edx, dword [ebp - 0x5c]
push edx
mov ecx, esi
call fcn.00406070
jmp 0x505392
mov ecx, dword [ebp - 0x5c]
push ecx
push eax
call fcn.004049a0
add esp, 8
push 0x1ff
push 0
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov esi, eax
mov bl, 0xe
mov byte [ebp - 4], bl
test byte [0x679728], 1
jne 0x5053d5
or dword [0x679728], 1
mov byte [ebp - 4], 0xf
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x58], 0x6796dc
mov ecx, 0x6796dc
mov eax, dword [0x6796dc]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 4], 0x10
mov ecx, dword [0x679724]
test ecx, ecx
je 0x50541e
cmp dword [esi + 0x14], 8
jb 0x505403
mov eax, dword [esi]
jmp 0x505405
mov eax, esi
mov edx, dword [ecx]
push 0x317
push str.RegistryHandler::SetMultiStringValue
push str.RegistryHandler.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], bl
mov edx, dword [0x6796dc]
mov ecx, 0x6796dc
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x40], 8
jb 0x505448
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
xor edx, edx
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
push eax
call fcn.00419280
xor ebx, ebx
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x70], ebx
push reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 0x70]
mov ecx, dword [ebp - 0x64]
call fcn.00504490
add esp, 4
test al, al
je 0x505b93
mov eax, dword [ebp - 0x6c]
mov edi, dword [eax]
mov eax, dword [eax + 4]
cmp edi, eax
jne 0x5054c2
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x14], 8
jb 0x5054a6
mov eax, dword [eax]
push 1
push 0x610bf8
push 7
push ebx
push eax
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
jmp 0x5055ce
mov ecx, 1
mov dword [ebp - 0x68], ecx
sub eax, edi
mov esi, eax
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x5054f5
lea edx, [edi + 0x10]
mov esi, dword [edx]
lea ecx, [ecx + esi + 1]
add edx, 0x1c
dec eax
jne 0x5054e6
mov dword [ebp - 0x68], ecx
xor eax, eax
mov dword [ebp - 0x64], eax
mov eax, ecx
mov edx, 2
mul edx
mov ecx, dword [ebp - 0x64]
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00543310
add esp, 4
mov dword [ebp - 0x58], eax
mov edi, eax
mov dword [ebp - 0x64], ebx
mov eax, dword [ebp - 0x6c]
mov esi, dword [eax]
mov ecx, eax
mov ecx, dword [ecx + 4]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x505592
xor ebx, ebx
lea eax, [esi + ebx]
cmp dword [eax + 0x14], 8
jb 0x50554e
mov ecx, dword [eax]
jmp 0x505550
mov ecx, eax
mov eax, dword [eax + 0x10]
push ecx
inc eax
push eax
push edi
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
mov ecx, dword [ebp - 0x6c]
mov esi, dword [ecx]
mov eax, dword [esi + ebx + 0x10]
lea edi, [edi + eax*2 + 2]
inc dword [ebp - 0x64]
add ebx, 0x1c
mov edx, ecx
mov ecx, dword [edx + 4]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x64], eax
jb 0x505541
mov eax, dword [ebp - 0x68]
add eax, eax
xor ecx, ecx
mov esi, dword [ebp - 0x58]
mov word [eax + esi - 2], cx
mov ecx, dword [ebp - 0x5c]
cmp dword [ecx + 0x14], 8
jb 0x5055ac
mov ecx, dword [ecx]
push eax
push esi
push 7
push 0
push ecx
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
xor ebx, ebx
mov esi, dword [ebp - 0x60]
cmp edi, ebx
je 0x505b9a
cmp esi, ebx
je 0x5055e0
mov dword [esi], 0xcdcd033a
test byte [0x679728], 1
jne 0x505610
or dword [0x679728], 1
mov dword [ebp - 4], 0x11
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x58], 0x6796dc
mov ecx, 0x6796dc
mov eax, dword [0x6796dc]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 4], 0x12
cmp dword [0x679724], ebx
je 0x5056a8
cmp dword [0x66bca4], 2
setge bl
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x6796dc
mov eax, dword [0x6796dc]
mov edx, dword [eax + 8]
call edx
test bl, bl
je 0x5057ce
mov dword [ebp - 0x24], 0xf
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0x15
lea edi, [ebp - 0x38]
call fcn.004193b0
mov esi, eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x5056c3
push 0x1c
push str.RegSetValueExW_failed._Name
mov ecx, esi
call fcn.004044f0
jmp 0x5056d1
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x6796dc
mov eax, dword [0x6796dc]
mov edx, dword [eax + 8]
call edx
jmp 0x5057ce
push str.RegSetValueExW_failed._Name
push eax
call fcn.004046b0
add esp, 8
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x5056e8
push 0xffffffffffffffff
push ebx
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, esi
call fcn.00406070
jmp 0x5056f5
mov ecx, dword [ebp - 0x5c]
push ecx
push eax
call fcn.004049a0
add esp, 8
push 0x1ff
push ebx
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov esi, eax
mov bl, 0x16
mov byte [ebp - 4], bl
test byte [0x679728], 1
jne 0x505737
or dword [0x679728], 1
mov byte [ebp - 4], 0x17
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x58], 0x6796dc
mov ecx, 0x6796dc
mov eax, dword [0x6796dc]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 4], 0x18
mov ecx, dword [0x679724]
test ecx, ecx
je 0x505780
cmp dword [esi + 0x14], 8
jb 0x505765
mov eax, dword [esi]
jmp 0x505767
mov eax, esi
mov edx, dword [ecx]
push 0x33a
push str.RegistryHandler::SetMultiStringValue
push str.RegistryHandler.cpp
push eax
push 2
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], bl
mov edx, dword [0x6796dc]
mov ecx, 0x6796dc
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x40], 8
jb 0x5057aa
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
xor edx, edx
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
push eax
call fcn.00419280
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x60]
test eax, eax
je 0x505993
test esi, esi
je 0x5057ed
mov dword [esi], 0xcdcd033d
mov dword [ebp - 0x58], 2
test byte [0x679728], 1
jne 0x505824
or dword [0x679728], 1
mov dword [ebp - 4], 0x19
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x58]
push edx
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x505993
mov dword [ebp - 0x24], 0xf
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0x1b
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0x1c
lea edi, [ebp - 0x38]
call fcn.004193b0
mov esi, eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x505885
push 0x19
push str.RegCloseKey_failed._Name
mov ecx, esi
call fcn.004044f0
jmp 0x505893
push str.RegCloseKey_failed._Name
push eax
call fcn.004046b0
add esp, 8
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x5058aa
push 0xffffffffffffffff
push ebx
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, esi
call fcn.00406070
jmp 0x5058b7
mov ecx, dword [ebp - 0x5c]
push ecx
push eax
call fcn.004049a0
add esp, 8
push 0x1ff
push ebx
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov esi, eax
mov bl, 0x1d
mov byte [ebp - 4], bl
test byte [0x679728], 1
jne 0x5058f9
or dword [0x679728], 1
mov byte [ebp - 4], 0x1e
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x58], 0x6796dc
mov ecx, 0x6796dc
mov eax, dword [0x6796dc]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 4], 0x1f
mov ecx, dword [0x679724]
test ecx, ecx
je 0x505942
cmp dword [esi + 0x14], 8
jb 0x505927
mov eax, dword [esi]
jmp 0x505929
mov eax, esi
mov edx, dword [ecx]
push 0x33d
push str.RegistryHandler::SetMultiStringValue
push str.RegistryHandler.cpp
push eax
push 2
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], bl
mov edx, dword [0x6796dc]
mov ecx, 0x6796dc
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x40], 8
jb 0x50596c
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
xor edx, edx
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
push eax
call fcn.00419280
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x50599d
mov dword [esi], 0xcdcd033e
test byte [0x679728], 1
jne 0x5059cd
or dword [0x679728], 1
mov dword [ebp - 4], 0x20
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x58], 0x6796dc
mov ecx, 0x6796dc
mov edx, dword [0x6796dc]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0x21
cmp dword [0x679724], 0
je 0x505a68
cmp dword [0x66bca4], 6
setge bl
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x6796dc
mov edx, dword [0x6796dc]
mov eax, dword [edx + 8]
call eax
test bl, bl
je 0x505b93
mov dword [ebp - 0x24], 0xf
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 4], 0x22
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0x23
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0x24
lea edi, [ebp - 0x38]
call fcn.004193b0
mov esi, eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x505a86
push 0x11
push str.ExitFunction_Ret:
mov ecx, esi
call fcn.004044f0
jmp 0x505a94
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x6796dc
mov edx, dword [0x6796dc]
mov eax, dword [edx + 8]
call eax
xor al, al
jmp 0x506279
push str.ExitFunction_Ret:
push eax
call fcn.004046b0
add esp, 8
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x505aab
push 5
push str.False
mov ecx, esi
call fcn.004044f0
jmp 0x505ab9
push str.False
push eax
call fcn.004046b0
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov esi, eax
mov bl, 0x25
mov byte [ebp - 4], bl
test byte [0x679728], 1
jne 0x505afb
or dword [0x679728], 1
mov byte [ebp - 4], 0x26
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x58], 0x6796dc
mov ecx, 0x6796dc
mov edx, dword [0x6796dc]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x27
mov ecx, dword [0x679724]
test ecx, ecx
je 0x505b45
cmp dword [esi + 0x14], 8
jb 0x505b2a
mov eax, dword [esi]
jmp 0x505b2c
mov eax, esi
mov edx, dword [ecx]
push 0x33e
push str.RegistryHandler::SetMultiStringValue
push str.RegistryHandler.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], bl
mov edx, dword [0x6796dc]
mov ecx, 0x6796dc
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x24
cmp dword [ebp - 0x40], 8
jb 0x505b6f
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
xor edx, edx
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
push eax
call fcn.00419280
xor al, al
jmp 0x506279
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x505f17
cmp esi, ebx
je 0x505bb6
mov dword [esi], 0xcdcd0343
mov dword [ebp - 0x58], 2
test byte [0x679728], 1
jne 0x505bed
or dword [0x679728], 1
mov dword [ebp - 4], 0x28
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x58]
push edx
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x505d5e
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0x29
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0x2a
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0x2b
lea edi, [ebp - 0x38]
call fcn.004193b0
mov esi, eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x505c4d
push 0x19
push str.RegCloseKey_failed._Name
mov ecx, esi
call fcn.004044f0
jmp 0x505c5b
push str.RegCloseKey_failed._Name
push eax
call fcn.004046b0
add esp, 8
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x505c72
push 0xffffffffffffffff
push ebx
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, esi
call fcn.00406070
jmp 0x505c7f
mov ecx, dword [ebp - 0x5c]
push ecx
push eax
call fcn.004049a0
add esp, 8
push 0x1ff
push 0
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov esi, eax
mov bl, 0x2c
mov byte [ebp - 4], bl
test byte [0x679728], 1
jne 0x505cc2
or dword [0x679728], 1
mov byte [ebp - 4], 0x2d
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x58], 0x6796dc
mov ecx, 0x6796dc
mov eax, dword [0x6796dc]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 4], 0x2e
mov ecx, dword [0x679724]
test ecx, ecx
je 0x505d0b
cmp dword [esi + 0x14], 8
jb 0x505cf0
mov eax, dword [esi]
jmp 0x505cf2
mov eax, esi
mov edx, dword [ecx]
push 0x343
push str.RegistryHandler::SetMultiStringValue
push str.RegistryHandler.cpp
push eax
push 2
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], bl
mov edx, dword [0x6796dc]
mov ecx, 0x6796dc
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x2b
cmp dword [ebp - 0x40], 8
jb 0x505d35
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
xor edx, edx
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
push eax
call fcn.00419280
xor ebx, ebx
mov esi, dword [ebp - 0x60]
cmp esi, ebx
je 0x505d68
mov dword [esi], 0xcdcd0345
mov dword [ebp - 0x58], 6
test byte [0x679728], 1
jne 0x505d9f
or dword [0x679728], 1
mov dword [ebp - 4], 0x2f
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push ecx
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x505b93
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0x30
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0x31
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0x32
lea edi, [ebp - 0x38]
call fcn.004193b0
mov esi, eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x505dff
push 0x11
push str.ExitFunction_Ret:
mov ecx, esi
call fcn.004044f0
jmp 0x505e0d
push str.ExitFunction_Ret:
push eax
call fcn.004046b0
add esp, 8
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x505e24
push 5
push str.False
mov ecx, esi
call fcn.004044f0
jmp 0x505e32
push str.False
push eax
call fcn.004046b0
add esp, 8
push 0x1ff
push 0
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov esi, eax
mov bl, 0x33
mov byte [ebp - 4], bl
test byte [0x679728], 1
jne 0x505e75
or dword [0x679728], 1
mov byte [ebp - 4], 0x34
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x58], 0x6796dc
mov ecx, 0x6796dc
mov eax, dword [0x6796dc]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 4], 0x35
mov ecx, dword [0x679724]
test ecx, ecx
je 0x505ebe
cmp dword [esi + 0x14], 8
jb 0x505ea3
mov eax, dword [esi]
jmp 0x505ea5
mov eax, esi
mov edx, dword [ecx]
push 0x345
push str.RegistryHandler::SetMultiStringValue
push str.RegistryHandler.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], bl
mov edx, dword [0x6796dc]
mov ecx, 0x6796dc
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x32
cmp dword [ebp - 0x40], 8
jb 0x505b6f
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
xor edx, edx
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
push eax
call fcn.00419280
xor al, al
jmp 0x506279
cmp esi, ebx
je 0x505f21
mov dword [esi], 0xcdcd0348
mov dword [ebp - 0x58], 6
test byte [0x679728], 1
jne 0x505f58
or dword [0x679728], 1
mov dword [ebp - 4], 0x36
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push ecx
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x5060c9
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0x37
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0x38
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0x39
lea edi, [ebp - 0x38]
call fcn.004193b0
mov esi, eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x505fb8
push 0x12
push str.ExitFunction_Name
mov ecx, esi
call fcn.004044f0
jmp 0x505fc6
push str.ExitFunction_Name
push eax
call fcn.004046b0
add esp, 8
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x505fdd
push 0xffffffffffffffff
push ebx
mov edx, dword [ebp - 0x5c]
push edx
mov ecx, esi
call fcn.00406070
jmp 0x505fea
mov ecx, dword [ebp - 0x5c]
push ecx
push eax
call fcn.004049a0
add esp, 8
push 0x1ff
push 0
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov esi, eax
mov bl, 0x3a
mov byte [ebp - 4], bl
test byte [0x679728], 1
jne 0x50602d
or dword [0x679728], 1
mov byte [ebp - 4], 0x3b
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x58], 0x6796dc
mov ecx, 0x6796dc
mov eax, dword [0x6796dc]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 4], 0x3c
mov ecx, dword [0x679724]
test ecx, ecx
je 0x506076
cmp dword [esi + 0x14], 8
jb 0x50605b
mov eax, dword [esi]
jmp 0x50605d
mov eax, esi
mov edx, dword [ecx]
push 0x348
push str.RegistryHandler::SetMultiStringValue
push str.RegistryHandler.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], bl
mov edx, dword [0x6796dc]
mov ecx, 0x6796dc
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x39
cmp dword [ebp - 0x40], 8
jb 0x5060a0
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
xor edx, edx
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
push eax
call fcn.00419280
xor ebx, ebx
mov esi, dword [ebp - 0x60]
cmp esi, ebx
je 0x5060d3
mov dword [esi], 0xcdcd0349
mov dword [ebp - 0x58], 6
test byte [0x679728], 1
jne 0x50610a
or dword [0x679728], 1
mov dword [ebp - 4], 0x3d
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push ecx
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x506277
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0x3e
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0x3f
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0x40
lea edi, [ebp - 0x38]
call fcn.004193b0
mov esi, eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x50616a
push 0x11
push str.ExitFunction_Ret:
mov ecx, esi
call fcn.004044f0
jmp 0x506178
push str.ExitFunction_Ret:
push eax
call fcn.004046b0
add esp, 8
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x50618f
push 4
push str.True
mov ecx, esi
call fcn.004044f0
jmp 0x50619d
push str.True
push eax
call fcn.004046b0
add esp, 8
push 0x1ff
push 0
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov esi, eax
mov bl, 0x41
mov byte [ebp - 4], bl
test byte [0x679728], 1
jne 0x5061e0
or dword [0x679728], 1
mov byte [ebp - 4], 0x42
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x58], 0x6796dc
mov ecx, 0x6796dc
mov eax, dword [0x6796dc]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 4], 0x43
mov ecx, dword [0x679724]
test ecx, ecx
je 0x506229
cmp dword [esi + 0x14], 8
jb 0x50620e
mov eax, dword [esi]
jmp 0x506210
mov eax, esi
mov edx, dword [ecx]
push 0x349
push str.RegistryHandler::SetMultiStringValue
push str.RegistryHandler.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], bl
mov edx, dword [0x6796dc]
mov ecx, 0x6796dc
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x40
cmp dword [ebp - 0x40], 8
jb 0x506253
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
xor edx, edx
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
push eax
call fcn.00419280
mov al, 1
lea esp, [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00546bdc
mov esp, ebp
pop ebp
ret