Function at 0x416700
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x5172c4
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x577690]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x577690]
xor eax, esp
push eax
lea eax, [esp + 0xf4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x104]
mov edi, ecx
lea ecx, [esp + 0xd0]
push ecx
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x60], ebx
call fcn.00416b00
push 0xffffffffffffffff
mov dword [esp + 0x100], ebx
push ebx
lea ebp, [edi + 0x24]
push ebp
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
call fcn.004032e0
mov byte [esp + 0xfc], 1
mov eax, dword [esp + 0xd4]
mov esi, 0x10
cmp dword [esp + 0xe8], esi
jae 0x4167b4
lea eax, [esp + 0xd4]
mov ecx, dword [esp + 0xe4]
lea edx, [esp + 0x7c]
push edx
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.0040ac10
add esp, 0xc
mov byte [esp + 0xfc], 2
mov ecx, dword [esp + 0x9c]
cmp dword [esp + 0xb0], esi
jae 0x4167f0
lea ecx, [esp + 0x9c]
mov edx, dword [esp + 0xac]
push edx
lea eax, [esp + 0xb8]
push eax
call fcn.00415b60
add esp, 8
mov edx, dword [edi + 0x38]
cmp dword [ebp + 0x18], esi
jb 0x416815
mov ecx, dword [ebp + 4]
jmp 0x416818
lea ecx, [ebp + 4]
xor eax, eax
cmp edx, ebx
jle 0x416829
mov edi, edi
xor byte [ecx + eax], 0x87
inc eax
cmp eax, edx
jl 0x416820
mov eax, 0x100
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
mov byte [esp + 0x50], bl
mov byte [esp + 0x54], 0x20
mov dword [esp + 0x58], 4
lea eax, [esp + 0x34]
mov byte [esp + 0xfc], 5
call fcn.00407b70
cmp dword [ebp + 0x18], esi
jb 0x416892
mov eax, dword [ebp + 4]
jmp 0x416895
lea eax, [ebp + 4]
push eax
mov eax, str.finger_print
lea ecx, [esp + 0x38]
call fcn.004080d0
add esp, 4
lea ecx, [edi + 0x40]
lea esi, [esp + 0x60]
call fcn.00407780
mov esi, 0x10
mov byte [esp + 0xfc], 6
cmp dword [eax + 0x18], esi
jb 0x4168ca
mov eax, dword [eax + 4]
jmp 0x4168cd
add eax, 4
push eax
mov eax, str.license_server_info
lea ecx, [esp + 0x38]
call fcn.004080d0
add esp, 4
mov byte [esp + 0xfc], 5
cmp dword [esp + 0x78], esi
jb 0x4168fa
mov edx, dword [esp + 0x64]
push edx
call fcn.004f9a4f
add esp, 4
cmp dword [edi + 0x94], esi
jb 0x41690a
mov eax, dword [edi + 0x80]
jmp 0x416910
lea eax, [edi + 0x80]
push eax
mov eax, str.license_code
lea ecx, [esp + 0x38]
call fcn.004080d0
mov eax, dword [esp + 0xbc]
add esp, 4
cmp dword [esp + 0xcc], esi
jae 0x416939
lea eax, [esp + 0xb8]
push eax
mov eax, str.content
lea ecx, [esp + 0x38]
call fcn.004080d0
add esp, 4
lea eax, [esp + 0x34]
call fcn.00407bd0
mov edi, dword [edi + 0x38]
cmp dword [ebp + 0x18], esi
jb 0x416961
mov ebp, dword [ebp + 4]
jmp 0x416964
add ebp, 4
xor eax, eax
cmp edi, ebx
jbe 0x416979
lea ebx, [ebx]
xor byte [eax + ebp], 0x87
inc eax
cmp eax, edi
jb 0x416970
mov eax, dword [esp + 0x24]
inc eax
cmp eax, dword [esp + 0x28]
jb 0x41698f
push 1
lea eax, [esp + 0x1c]
call fcn.00408440
mov ecx, dword [esp + 0x24]
mov eax, ecx
inc ecx
mov dword [esp + 0x24], ecx
mov byte [eax], bl
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
cmp ecx, 1
jae 0x4169bd
push 0x71
push str.f:projects_svniriservereswprojectlicenseframework_trunk_srccppmodules3rdparty_rapidjsoninternal_stack.h
push str.GetSize_____count__sizeof_T_
call fcn.004faa8c
add esp, 0xc
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
dec dword [esp + 0x24]
mov esi, 0xf
mov eax, ebp
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4169e0
sub eax, edx
push eax
push ebp
mov ecx, edi
call fcn.00403d20
mov edx, dword [esp + 0x40]
push edx
call fcn.004f9186
mov eax, dword [esp + 0x40]
add esp, 4
push eax
call fcn.004f9a4f
mov ecx, dword [esp + 0x24]
add esp, 4
push ecx
call fcn.004f9186
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call fcn.004f9a4f
mov ebp, 0x10
add esp, 4
cmp dword [esp + 0xcc], ebp
jb 0x416a44
mov eax, dword [esp + 0xb8]
push eax
call fcn.004f9a4f
add esp, 4
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
cmp dword [esp + 0xb0], ebp
jb 0x416a72
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.004f9a4f
add esp, 4
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
cmp dword [esp + 0x94], ebp
jb 0x416aa0
mov edx, dword [esp + 0x80]
push edx
call fcn.004f9a4f
add esp, 4
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
cmp dword [esp + 0xe8], ebp
jb 0x416ace
mov eax, dword [esp + 0xd4]
push eax
call fcn.004f9a4f
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xf4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.004f8e7f
add esp, 0xec
ret 4