Function at 0x18004c560
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov qword [rsp + 0x1d0], rbx
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov r15, rdx
mov r13, rcx
xor edi, edi
mov dword [rsp + 0xa0], edi
lea rdx, [rsp + 0xd8]
call fcn.18004cb70
nop
lea rdx, [r13 + 0x38]
lea rcx, [rsp + 0x128]
call fcn.180007cc0
nop
lea rcx, [rsp + 0xd8]
call fcn.180007e90
mov rbx, rax
lea rcx, [rsp + 0xd8]
call fcn.180002b30
mov rdx, rax
lea r9, [rsp + 0x128]
mov r8d, ebx
lea rcx, [rsp + 0x100]
call fcn.180031460
nop
lea rcx, [rsp + 0x100]
call fcn.180007e90
mov rbx, rax
lea rcx, [rsp + 0x100]
call fcn.180002b30
mov rdx, rax
mov r8d, ebx
lea rcx, [rsp + 0x150]
call fcn.18004b7c0
nop
lea rcx, [r13 + 0x38]
call fcn.180007e90
mov rbx, rax
lea rcx, [r13 + 0x38]
call fcn.180002b30
test ebx, ebx
jle 0x18004c65c
mov ecx, ebx
nop dword [rax]
xor byte [rax], 0x87
inc rax
sub rcx, 1
jne 0x18004c650
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], pe_nt_image_headers64
lea rax, [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], 0x200
mov byte [rsp + 0x88], 0
mov byte [rsp + 0x90], reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x94], 4
mov edx, 3
lea rcx, [rsp + 0x50]
call fcn.18001cff0
mov r11, qword [rsp + 0x70]
lea rax, [r11 + 0x10]
cmp rax, qword [rsp + 0x78]
jb 0x18004c6fb
mov edx, 1
lea rcx, [rsp + 0x58]
call fcn.18001e000
mov r11, qword [rsp + 0x70]
mov rdx, r11
add r11, 0x10
mov qword [rsp + 0x70], r11
mov ecx, reloc.WS2_32.dll_recv
call fcn.180008d40
test rax, rax
je 0x18004c71d
mov qword [rax], rdi
mov byte [rax + 8], 0
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx + 0x18]
inc rax
cmp rax, qword [rbx + 0x20]
jb 0x18004c73c
mov edx, 1
mov rcx, rbx
call fcn.18001dea0
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + 1]
mov qword [rbx + 0x18], rax
mov byte [rcx], 0x7b
lea rcx, [r13 + 0x38]
call fcn.180002b30
mov r12, rax
lea rsi, str.finger_print
mov rbx, rsi
inc rbx
cmp byte [rbx], 0
jne 0x18004c761
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.18001cff0
sub ebx, esi
mov r8d, ebx
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.18001dba0
lea rbp, [0x18012eb74]
mov rsi, rbp
test r12, r12
cmovne rsi, r12
mov rbx, rsi
cmp byte [rsi], 0
je 0x18004c7ab
inc rbx
cmp byte [rbx], 0
jne 0x18004c7a3
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.18001cff0
sub ebx, esi
mov r8d, ebx
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.18001dba0
lea rcx, [r13 + 0x60]
lea rdx, [rsp + 0xa8]
call fcn.18002ab30
nop
mov rcx, rax
call fcn.180002b30
mov r12, rax
lea rsi, str.license_server_info
mov rbx, rsi
inc rbx
cmp byte [rbx], 0
jne 0x18004c7f3
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.18001cff0
sub ebx, esi
mov r8d, ebx
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.18001dba0
mov rsi, rbp
test r12, r12
cmovne rsi, r12
mov rbx, rsi
cmp byte [rsi], 0
je 0x18004c838
nop
inc rbx
cmp byte [rbx], 0
jne 0x18004c830
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.18001cff0
sub ebx, esi
mov r8d, ebx
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.18001dba0
nop
lea rcx, [rsp + 0xa8]
call fcn.180002b10
lea rcx, [r13 + 0xb8]
call fcn.180002b30
mov r12, rax
lea rsi, str.license_code
mov rbx, rsi
inc rbx
cmp byte [rbx], 0
jne 0x18004c880
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.18001cff0
sub ebx, esi
mov r8d, ebx
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.18001dba0
mov rsi, rbp
test r12, r12
cmovne rsi, r12
mov rbx, rsi
cmp byte [rsi], 0
je 0x18004c8c8
nop dword [rax + rax]
inc rbx
cmp byte [rbx], 0
jne 0x18004c8c0
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.18001cff0
sub ebx, esi
mov r8d, ebx
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.18001dba0
lea rcx, [rsp + 0x150]
call fcn.180002b30
mov rsi, rax
lea r12, str.content
mov rbx, r12
inc rbx
cmp byte [rbx], 0
jne 0x18004c903
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.18001cff0
sub ebx, r12d
mov r8d, ebx
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.18001dba0
test rsi, rsi
cmovne rbp, rsi
mov rbx, rbp
cmp byte [rbp], 0
je 0x18004c948
nop dword [rax]
inc rbx
cmp byte [rbx], 0
jne 0x18004c940
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.18001cff0
sub ebx, ebp
mov r8d, ebx
mov rdx, rbp
lea rcx, [rsp + 0x50]
call fcn.18001dba0
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.18001cb30
lea rcx, [r13 + 0x38]
call fcn.180007e90
mov rbx, rax
lea rcx, [r13 + 0x38]
call fcn.180002b30
test ebx, ebx
je 0x18004c99c
mov ecx, ebx
xor byte [rax], 0x87
inc rax
sub rcx, 1
jne 0x18004c990
mov rsi, qword [rsp + 0x38]
lea rax, [rsi + 1]
mov rbx, qword [rsp + 0x40]
cmp rax, rbx
jb 0x18004ca7b
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x18004c9f7
cmp qword [rsp + 0x20], rcx
jne 0x18004c9f0
mov ecx, 1
call fcn.1800ca848
test rax, rax
je 0x18004c9d9
xor ecx, ecx
mov byte [rax], cl
jmp 0x18004c9dc
mov rax, rdi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov rsi, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
jmp 0x18004ca04
sub rbx, rcx
lea rax, [rbx + 1]
shr rax, 1
add rbx, rax
sub rsi, rcx
lea rax, [rsi + 1]
cmp rbx, rax
cmovb rbx, rax
test rbx, rbx
jne 0x18004ca1e
call fcn.1800cb340
jmp 0x18004ca6a
mov rdx, rbx
call fcn.1800cc408
mov rdi, rax
test rax, rax
jne 0x18004ca6a
lea r8d, [rax + 1]
lea rdx, str.bad_allocation
lea rcx, [rsp + 0xa8]
call fcn.1800c9fb4
lea r11, vtable.std::bad_alloc.0
mov qword [rsp + 0xa8], r11
lea rdx, [0x18015b4f0]
lea rcx, [rsp + 0xa8]
call fcn.1800d40ac
int3
mov qword [rsp + 0x30], rdi
add rsi, rdi
lea rax, [rdi + rbx]
mov qword [rsp + 0x40], rax
mov rax, rsi
inc rsi
mov qword [rsp + 0x38], rsi
mov byte [rax], 0
mov rcx, qword [rsp + 0x38]
mov rax, rcx
mov rdx, qword [rsp + 0x30]
sub rax, rdx
cmp rax, 1
jae 0x18004cac2
mov r8d, WSACleanup
lea rdx, str.f:projects_svniriservereswprojectlicenseframework_trunk_srccppmodules3rdparty_rapidjsoninternal_stack.h
lea rcx, str.GetSize_____count__sizeof_T_
call fcn.1800d07b4
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
dec rcx
mov qword [rsp + 0x38], rcx
mov rcx, r15
call fcn.180002ab0
nop
mov rcx, qword [rsp + 0x68]
call fcn.1800cb340
mov rcx, qword [rsp + 0x60]
call fcn.1800ca634
nop
mov rcx, qword [rsp + 0x30]
call fcn.1800cb340
mov rcx, qword [rsp + 0x28]
call fcn.1800ca634
nop
lea rcx, [rsp + 0x150]
call fcn.180002b10
nop
lea rcx, [rsp + 0x100]
call fcn.180002b10
nop
lea rcx, [rsp + 0x128]
call fcn.180002b10
nop
lea rcx, [rsp + 0xd8]
call fcn.180002b10
mov rax, r15
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.1800c9b90
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret