Function at 0x1001d840
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102db4ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x20], ecx
push edi
mov dword [ebp - 0x10], ebx
push 0xc
mov dword [ebp - 4], ebx
call fcn.102d8574
mov esi, eax
xorps xmm0, xmm0
push esi
push 9
push str.phxGetVar
movq qword [esi], xmm0
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ebx
call dword [sym.imp.libcef.dll_cef_string_utf8_to_utf16]
mov ecx, dword [ebp + 8]
add esp, 0x10
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x1001d8a7
cmp dword [ecx + 4], ebx
je 0x1001d8a7
lea edx, [esi + 4]
jmp 0x1001d8ce
cmp dword [esi + 4], 0
lea edx, [esi + 4]
jne 0x1001d8c6
mov edi, dword [sym.imp.libcef.dll_cef_string_utf16_clear]
push esi
call edi
push 0xc
push esi
call fcn.102d85a9
add esp, 0xc
jmp 0x1001d90b
test ecx, ecx
je 0x1001dbdf
cmp dword [ecx + 4], 0
je 0x1001dbdf
cmp dword [edx], 0
je 0x1001dbdf
push esi
push ecx
call dword [sym.imp.libcef.dll_cef_string_utf16_cmp]
push dword [ebp - 0x10]
mov edi, dword [sym.imp.libcef.dll_cef_string_utf16_clear]
mov esi, eax
call edi
push 0xc
push dword [ebp - 0x10]
call fcn.102d85a9
add esp, 0x14
test esi, esi
jne 0x1001dbf3
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, ecx
sar eax, 2
cmp eax, 1
jne 0x1001db20
mov dword [ebp - 4], 0
mov ecx, dword [ecx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x1001db20
mov eax, dword [esi]
lea edx, [ebp - 0x1c]
mov dword [ebp - 4], 0
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x50]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.10002e90
mov ebx, 0x800
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x1001d994
cmp byte [ebp - 0x14], 0
je 0x1001d989
push eax
call edi
push 0xc
push dword [ebp - 0x18]
call fcn.102d85a9
add esp, 0xc
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 0
cmp dword [ebp - 0x44], 0
je 0x1001da61
push ecx
lea ecx, [ebp - 0x54]
call fcn.1001f580
add esp, 4
test al, al
je 0x1001da61
mov eax, dword [ebp - 0x20]
lea esi, [ebp - 0x54]
mov edx, 0x811c9dc5
mov ebx, dword [eax + 8]
mov dword [ebp - 4], 7
cmp dword [ebp - 0x40], 0x10
mov edi, dword [ebp - 0x44]
cmovae esi, dword [ebp - 0x54]
xor ecx, ecx
test edi, edi
je 0x1001d9e9
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1001d9d8
push edx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebx + 0x18]
call fcn.1001fd50
mov esi, dword [eax + 4]
test esi, esi
je 0x1001da1e
cmp esi, dword [ebx + 0x1c]
je 0x1001da1e
mov esi, dword [esi + 0x20]
test esi, esi
je 0x1001da31
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
jmp 0x1001da31
call dword [sym.imp.libcef.dll_cef_v8value_create_undefined]
mov edx, eax
lea ecx, [ebp + 0x18]
call fcn.1025d060
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [eax], esi
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x1001df1c
mov eax, dword [ecx + 4]
add ecx, 4
add ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x54]
call fcn.100031a0
mov bl, 1
jmp 0x1001e209
mov esi, dword [ebp + 0x18]
cmp dword [esi + 4], 0
jne 0x1001da89
push 0xc
call fcn.102d8574
mov dword [esi + 4], eax
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov byte [esi + 8], 1
push dword [esi + 4]
mov eax, dword [sym.imp.libcef.dll_cef_string_utf8_to_utf16]
push 0x29
push str.Failed_to_get_var_value__invalid_var_name
call eax
add esp, 0xc
call dword [sym.imp.libcef.dll_cef_get_min_log_level]
cmp eax, 2
jg 0x1001db08
push ecx
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x104], 2
call fcn.1025a0d0
mov dword [ebp - 0x64], str.D:BuildServer_bna_3work_gitphoenix_repositoryphoenix_browser_helper_render_process_var_registry.cpp
mov dword [ebp - 0x60], 0x94
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
mov dword [ebp - 0x10], 0x804
call fcn.1001b780
mov dword [ebp - 4], 9
lea edx, [ebp - 0x3c]
mov ebx, 0x80c
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x10], ebx
call fcn.10017110
test bl, 8
je 0x1001db18
lea ecx, [ebp - 0x3c]
and ebx, 0xfffffff7
call fcn.1001b7f0
test bl, 4
jmp 0x1001df0f
mov esi, dword [ebp + 0x18]
cmp dword [esi + 4], 0
jne 0x1001db48
push 0xc
call fcn.102d8574
mov dword [esi + 4], eax
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov byte [esi + 8], 1
push dword [esi + 4]
mov eax, dword [sym.imp.libcef.dll_cef_string_utf8_to_utf16]
push 0x2c
push str.Invalid_arguments__expecting_a_single_string
call eax
add esp, 0xc
call dword [sym.imp.libcef.dll_cef_get_min_log_level]
cmp eax, 2
jg 0x1001dbc7
push ecx
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x104], 2
call fcn.1025a0d0
mov dword [ebp - 0x64], str.D:BuildServer_bna_3work_gitphoenix_repositoryphoenix_browser_helper_render_process_var_registry.cpp
mov dword [ebp - 0x60], 0x8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
mov dword [ebp - 0x10], 1
call fcn.1001b780
mov dword [ebp - 4], 3
lea edx, [ebp - 0x3c]
mov ebx, 3
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x10], ebx
call fcn.10017110
test bl, 2
je 0x1001dbd7
lea ecx, [ebp - 0x3c]
and ebx, 0xfffffffd
call fcn.1001b7f0
test bl, 1
jmp 0x1001e1e8
mov edi, dword [sym.imp.libcef.dll_cef_string_utf16_clear]
push esi
call edi
push 0xc
push esi
call fcn.102d85a9
add esp, 0xc
push 0xc
call fcn.102d8574
mov esi, eax
xorps xmm0, xmm0
mov eax, dword [sym.imp.libcef.dll_cef_string_utf8_to_utf16]
push esi
push 0x1c
movq qword [esi], xmm0
push str.phxRegisterVarChangeListener
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
call eax
mov eax, dword [ebp + 8]
add esp, 0x10
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1001dc34
cmp dword [ecx + 4], 0
je 0x1001dc34
lea edx, [esi + 4]
jmp 0x1001dc55
cmp dword [esi + 4], 0
lea edx, [esi + 4]
jne 0x1001dc4d
push esi
call edi
push 0xc
push esi
call fcn.102d85a9
add esp, 0xc
jmp 0x1001dc8c
test ecx, ecx
je 0x1001dfe9
cmp dword [ecx + 4], 0
je 0x1001dfe9
cmp dword [edx], 0
je 0x1001dfe9
push esi
push ecx
call dword [sym.imp.libcef.dll_cef_string_utf16_cmp]
push dword [ebp - 0x10]
mov esi, eax
call edi
push 0xc
push dword [ebp - 0x10]
call fcn.102d85a9
add esp, 0x14
test esi, esi
jne 0x1001dff7
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, ecx
sar eax, 2
cmp eax, 2
jne 0x1001df2b
mov dword [ebp - 4], 0
mov ecx, dword [ecx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x1001df2b
mov ecx, dword [esi]
mov dword [ebp - 4], 0
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
test al, al
je 0x1001df2b
mov eax, dword [esi]
lea edx, [ebp - 0x1c]
mov dword [ebp - 4], 0
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x50]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x11
push ecx
mov ecx, eax
call fcn.10002e90
mov ebx, 0x200000
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x1001dd30
cmp byte [ebp - 0x14], 0
je 0x1001dd25
push eax
call edi
push 0xc
push dword [ebp - 0x18]
call fcn.102d85a9
add esp, 0xc
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 0
cmp dword [ebp - 0x44], 0
je 0x1001de54
push ecx
lea ecx, [ebp - 0x54]
call fcn.1001f580
add esp, 4
test al, al
je 0x1001de54
call dword [sym.imp.libcef.dll_cef_v8context_get_current_context]
mov edx, eax
lea ecx, [ebp + 8]
call fcn.1025dc30
mov byte [ebp - 4], 0x16
mov esi, dword [esi]
mov esi, dword [esi + 4]
mov dword [ebp + 0x10], esi
test esi, esi
je 0x1001dd7d
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], esp
mov eax, dword [eax + 8]
mov dword [ebp + 0x18], eax
mov eax, esp
mov dword [ebp - 0x10], eax
mov dword [eax], esi
test esi, esi
je 0x1001dda8
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
push ecx
mov byte [ebp - 4], 0x18
mov eax, esp
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 8]
mov dword [eax], edi
test edi, edi
je 0x1001ddca
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, edi
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 0x18]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x17
call fcn.1001e2d0
push eax
call dword [sym.imp.libcef.dll_cef_v8value_create_int]
add esp, 4
lea ecx, [ebp + 0x18]
mov edx, eax
call fcn.1025d060
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov edx, dword [ecx]
mov dword [ecx], eax
mov byte [ebp - 4], 0x19
test edx, edx
je 0x1001de11
mov eax, dword [edx + 4]
add edx, 4
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edx]
add ecx, edx
call dword [eax + 4]
mov byte [ebp - 4], 0x1a
test esi, esi
je 0x1001de29
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1b
test edi, edi
je 0x1001df1c
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, edi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x54]
call fcn.100031a0
mov bl, 1
jmp 0x1001e209
mov esi, dword [ebp + 0x18]
cmp dword [esi + 4], 0
jne 0x1001de7c
push 0xc
call fcn.102d8574
mov dword [esi + 4], eax
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov byte [esi + 8], 1
push dword [esi + 4]
push 0x2d
push str.Failed_to_register_listener__invalid_var_name
call dword [sym.imp.libcef.dll_cef_string_utf8_to_utf16]
add esp, 0xc
call dword [sym.imp.libcef.dll_cef_get_min_log_level]
cmp eax, 2
jg 0x1001defa
push ecx
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x104], 2
call fcn.1025a0d0
mov dword [ebp - 0x64], str.D:BuildServer_bna_3work_gitphoenix_repositoryphoenix_browser_helper_render_process_var_registry.cpp
mov dword [ebp - 0x60], 0xa8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x14
push eax
mov ecx, esi
mov dword [ebp - 0x10], 0x200040
call fcn.1001b780
mov dword [ebp - 4], 0x15
lea edx, [ebp - 0x3c]
mov ebx, 0x2000c0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x10], ebx
call fcn.10017110
test bl, bl
jns 0x1001df0c
lea ecx, [ebp - 0x3c]
and ebx, 0xffffff7f
call fcn.1001b7f0
test bl, 0x40
je 0x1001df1c
lea ecx, [ebp - 0x104]
call fcn.1025a020
lea ecx, [ebp - 0x54]
call fcn.100031a0
mov bl, 1
jmp 0x1001e209
mov esi, dword [ebp + 0x18]
cmp dword [esi + 4], 0
jne 0x1001df53
push 0xc
call fcn.102d8574
mov dword [esi + 4], eax
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov byte [esi + 8], 1
push dword [esi + 4]
push 0x4b
push str.Invalid_arguments__expecting_string_as_first_arg_and_function_as_second_arg
call dword [sym.imp.libcef.dll_cef_string_utf8_to_utf16]
add esp, 0xc
call dword [sym.imp.libcef.dll_cef_get_min_log_level]
cmp eax, 2
jg 0x1001dfd1
push ecx
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x104], 2
call fcn.1025a0d0
mov dword [ebp - 0x64], str.D:BuildServer_bna_3work_gitphoenix_repositoryphoenix_browser_helper_render_process_var_registry.cpp
mov dword [ebp - 0x60], 0xa0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
push eax
mov ecx, esi
mov dword [ebp - 0x10], 0x10
call fcn.1001b780
mov dword [ebp - 4], 0xf
lea edx, [ebp - 0x3c]
mov ebx, 0x30
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x10], ebx
call fcn.10017110
test bl, 0x20
je 0x1001dfe1
lea ecx, [ebp - 0x3c]
and ebx, 0xffffffdf
call fcn.1001b7f0
test bl, 0x10
jmp 0x1001e1e8
push esi
call edi
push 0xc
push esi
call fcn.102d85a9
add esp, 0xc
push 0xc
call fcn.102d8574
mov esi, eax
xorps xmm0, xmm0
push esi
push 0x1e
push str.phxUnregisterVarChangeListener
movq qword [esi], xmm0
mov dword [ebp + 0x14], esi
mov dword [esi + 8], 0
call dword [sym.imp.libcef.dll_cef_string_utf8_to_utf16]
mov eax, dword [ebp + 8]
add esp, 0x10
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1001e037
cmp dword [ecx + 4], 0
je 0x1001e037
lea edx, [esi + 4]
jmp 0x1001e058
cmp dword [esi + 4], 0
lea edx, [esi + 4]
jne 0x1001e050
push esi
call edi
push 0xc
push esi
call fcn.102d85a9
add esp, 0xc
jmp 0x1001e08f
test ecx, ecx
je 0x1001e1f9
cmp dword [ecx + 4], 0
je 0x1001e1f9
cmp dword [edx], 0
je 0x1001e1f9
push esi
push ecx
call dword [sym.imp.libcef.dll_cef_string_utf16_cmp]
push dword [ebp + 0x14]
mov esi, eax
call edi
push 0xc
push dword [ebp + 0x14]
call fcn.102d85a9
add esp, 0x14
test esi, esi
jne 0x1001e207
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
sub eax, ecx
sar eax, 2
cmp eax, 1
jne 0x1001e126
mov dword [ebp - 4], 0
mov ecx, dword [ecx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x1001e126
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 8]
mov eax, dword [edi]
mov dword [ebp - 4], 0
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov edi, dword [esi + 8]
lea ecx, [esi + 8]
mov esi, dword [ecx + 4]
mov dword [ebp + 0x18], eax
mov dword [ebp + 8], ecx
cmp edi, esi
je 0x1001e114
cmp dword [edi], eax
je 0x1001e0ed
add edi, 0x24
cmp edi, esi
jne 0x1001e0e2
cmp edi, esi
je 0x1001e114
lea ebx, [edi + 0x24]
cmp ebx, esi
je 0x1001e114
cmp dword [ebx], eax
je 0x1001e10a
push ebx
mov ecx, edi
call fcn.1001f640
mov eax, dword [ebp + 0x18]
add edi, 0x24
add ebx, 0x24
cmp ebx, esi
jne 0x1001e0f8
mov ecx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp + 0x18]
push eax
call fcn.1001f4e0
mov bl, 1
jmp 0x1001e209
mov esi, dword [ebp + 0x18]
cmp dword [esi + 4], 0
jne 0x1001e14e
push 0xc
call fcn.102d8574
mov dword [esi + 4], eax
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov byte [esi + 8], 1
push dword [esi + 4]
push 0x2d
push str.Invalid_arguments__expecting_a_single_integer
call dword [sym.imp.libcef.dll_cef_string_utf8_to_utf16]
add esp, 0xc
call dword [sym.imp.libcef.dll_cef_get_min_log_level]
cmp eax, 2
jg 0x1001e1cc
push ecx
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x104], 2
call fcn.1025a0d0
mov dword [ebp - 0x64], str.D:BuildServer_bna_3work_gitphoenix_repositoryphoenix_browser_helper_render_process_var_registry.cpp
mov dword [ebp - 0x60], 0xb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x1d
push eax
mov ecx, esi
mov dword [ebp - 0x10], 0x100
call fcn.1001b780
mov dword [ebp - 4], 0x1e
lea edx, [ebp - 0x3c]
mov ebx, 0x300
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x10], ebx
call fcn.10017110
test ebx, 0x200
je 0x1001e1e2
lea ecx, [ebp - 0x3c]
and ebx, 0xfffffdff
call fcn.1001b7f0
test ebx, 0x100
je 0x1001e1f5
lea ecx, [ebp - 0x104]
call fcn.1025a020
mov bl, 1
jmp 0x1001e209
push esi
call edi
push 0xc
push esi
call fcn.102d85a9
add esp, 0xc
xor bl, bl
mov dword [ebp - 4], 0x21
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x1001e225
mov edx, dword [ecx + 4]
add ecx, 4
add ecx, dword [edx + 4]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14