Function at 0x180005760
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rsi, rcx
lea rdx, [rbp - 0x10]
mov eax, 0x11c
nop
mov byte [rdx], 0
lea rdx, [rdx + 1]
sub rax, 1
jne 0x180005780
mov rdx, qword [0x18000a4e0]
mov dword [rbp - 0x10], 0x11c
test rdx, rdx
jne 0x1800057b5
lea edx, [rax + 5]
xor ecx, ecx
mov r8d, 0xcebdb7e2
call fcn.180004030
mov rdx, rax
jmp 0x1800057e4
mov rdx, qword [rdx + 0x1108]
test rdx, rdx
jne 0x1800057e4
mov edx, 5
xor ecx, ecx
mov r8d, 0xcebdb7e2
call fcn.180004030
mov rdx, rax
mov rax, qword [0x18000a4e0]
mov qword [rax + 0x1108], rdx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x218], rbx
call rdx
xor ebx, ebx
test eax, eax
je 0x1800059da
mov byte [rbp - 0x68], bl
mov dword [rbp - 0x64], 0xa1719b9
mov dword [rbp - 0x60], 0xa5019dd
mov dword [rbp - 0x5c], 0xa4319e3
mov dword [rbp - 0x58], 0xa3719bf
mov eax, dword [rbp - 0x64]
movzx eax, byte [rbp - 0x68]
test al, al
jne 0x180005846
mov ecx, ebx
nop dword [rax + rax]
mov eax, dword [rbp + rcx*4 - 0x64]
xor eax, 0xa371982
mov dword [rbp + rcx*4 - 0x64], eax
inc rcx
cmp rcx, 4
jb 0x180005830
mov byte [rsp + 0x28], bl
mov dword [rsp + 0x2c], 0x6f912966
mov dword [rsp + 0x30], 0x6f972966
mov dword [rsp + 0x34], 0x6fe22943
mov eax, dword [rsp + 0x2c]
movzx eax, byte [rsp + 0x28]
test al, al
jne 0x180005896
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rsp + rcx*4 + 0x2c]
xor eax, 0x6fe22943
mov dword [rsp + rcx*4 + 0x2c], eax
inc rcx
cmp rcx, 3
jb 0x180005880
xor r9d, r9d
lea r8, [rbp - 0x64]
lea rdx, [rsp + 0x2c]
mov rcx, rsi
call qword [sym.imp.USER32.dll_wsprintfW]
mov byte [rbp + 0x140], bl
movsxd rdi, eax
mov dword [rbp + 0x144], 0x276ba5e1
mov eax, dword [rbp + 0x144]
movzx eax, byte [rbp + 0x140]
test al, al
jne 0x1800058e0
mov eax, dword [rbp + 0x144]
xor eax, 0x276ba5cf
mov dword [rbp + 0x144], eax
mov byte [rsp + 0x38], bl
mov dword [rsp + 0x3c], 0x6f912966
mov dword [rsp + 0x40], 0x6f972966
mov dword [rsp + 0x44], 0x6fe22943
mov eax, dword [rsp + 0x3c]
movzx eax, byte [rsp + 0x38]
test al, al
jne 0x180005926
mov rcx, rbx
nop dword [rax]
mov eax, dword [rsp + rcx*4 + 0x3c]
xor eax, 0x6fe22943
mov dword [rsp + rcx*4 + 0x3c], eax
inc rcx
cmp rcx, 3
jb 0x180005910
lea rcx, [rsi + rdi*2]
xor r9d, r9d
lea r8, [rbp + 0x144]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.USER32.dll_wsprintfW]
mov byte [rbp + 0x148], bl
movsxd rcx, eax
mov dword [rbp + 0x14c], 0xc52b927
add rdi, rcx
mov eax, dword [rbp + 0x14c]
movzx eax, byte [rbp + 0x148]
test al, al
jne 0x180005977
mov eax, dword [rbp + 0x14c]
xor eax, 0xc52b909
mov dword [rbp + 0x14c], eax
mov byte [rsp + 0x48], bl
mov dword [rsp + 0x4c], 0x6f912966
mov dword [rsp + 0x50], 0x6f972966
mov dword [rsp + 0x54], 0x6fe22943
mov eax, dword [rsp + 0x4c]
movzx eax, byte [rsp + 0x48]
test al, al
jne 0x1800059c6
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rsp + rcx*4 + 0x4c]
xor eax, 0x6fe22943
mov dword [rsp + rcx*4 + 0x4c], eax
inc rcx
cmp rcx, 3
jb 0x1800059b0
xor r9d, r9d
lea r8, [rbp + 0x14c]
lea rdx, [rsp + 0x4c]
jmp 0x180005bb6
mov byte [rbp - 0x54], 0
mov dword [rbp - 0x50], 0xad1fde4
mov dword [rbp - 0x4c], 0xa96fd80
mov dword [rbp - 0x48], 0xa85fdbe
mov dword [rbp - 0x44], 0xaf1fde2
mov eax, dword [rbp - 0x50]
movzx eax, byte [rbp - 0x54]
test al, al
jne 0x180005a26
mov rcx, rbx
nop dword [rax + rax]
mov eax, dword [rbp + rcx*4 - 0x50]
xor eax, 0xaf1fddf
mov dword [rbp + rcx*4 - 0x50], eax
inc rcx
cmp rcx, 4
jb 0x180005a10
mov byte [rsp + 0x58], bl
mov dword [rsp + 0x5c], 0x6f912966
mov dword [rsp + 0x60], 0x6f972966
mov dword [rsp + 0x64], 0x6fe22943
mov eax, dword [rsp + 0x5c]
movzx eax, byte [rsp + 0x58]
test al, al
jne 0x180005a76
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rsp + rcx*4 + 0x5c]
xor eax, 0x6fe22943
mov dword [rsp + rcx*4 + 0x5c], eax
inc rcx
cmp rcx, 3
jb 0x180005a60
mov r9d, dword [rbp - 0xc]
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x5c]
mov rcx, rsi
call qword [sym.imp.USER32.dll_wsprintfW]
mov byte [rbp + 0x150], bl
movsxd rdi, eax
mov dword [rbp + 0x154], 0x15523b54
mov eax, dword [rbp + 0x154]
movzx eax, byte [rbp + 0x150]
test al, al
jne 0x180005ac1
mov eax, dword [rbp + 0x154]
xor eax, 0x15523b7a
mov dword [rbp + 0x154], eax
mov byte [rsp + 0x68], bl
mov dword [rsp + 0x6c], 0x6f912966
mov dword [rsp + 0x70], 0x6f972966
mov dword [rsp + 0x74], 0x6fe22943
mov eax, dword [rsp + 0x6c]
movzx eax, byte [rsp + 0x68]
test al, al
jne 0x180005b06
mov rcx, rbx
nop dword [rax]
mov eax, dword [rsp + rcx*4 + 0x6c]
xor eax, 0x6fe22943
mov dword [rsp + rcx*4 + 0x6c], eax
inc rcx
cmp rcx, 3
jb 0x180005af0
mov r9d, dword [rbp - 8]
lea rcx, [rsi + rdi*2]
lea r8, [rbp + 0x154]
lea rdx, [rsp + 0x6c]
call qword [sym.imp.USER32.dll_wsprintfW]
mov byte [rbp + 0x158], bl
movsxd rcx, eax
mov dword [rbp + 0x15c], 0x49bec6b9
add rdi, rcx
mov eax, dword [rbp + 0x15c]
movzx eax, byte [rbp + 0x158]
test al, al
jne 0x180005b58
mov eax, dword [rbp + 0x15c]
xor eax, 0x49bec697
mov dword [rbp + 0x15c], eax
mov byte [rsp + 0x78], bl
mov dword [rsp + 0x7c], 0x6f912966
mov dword [rbp - 0x80], 0x6f972966
mov dword [rbp - 0x7c], 0x6fe22943
mov eax, dword [rsp + 0x7c]
movzx eax, byte [rsp + 0x78]
test al, al
jne 0x180005ba6
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rsp + rcx*4 + 0x7c]
xor eax, 0x6fe22943
mov dword [rsp + rcx*4 + 0x7c], eax
inc rcx
cmp rcx, 3
jb 0x180005b90
mov r9d, dword [rbp - 4]
lea r8, [rbp + 0x15c]
lea rdx, [rsp + 0x7c]
lea rcx, [rsi + rdi*2]
call qword [sym.imp.USER32.dll_wsprintfW]
movsxd rcx, eax
mov eax, 0x30
add rdi, rcx
lea rcx, [rbp - 0x40]
nop
mov byte [rcx], 0
lea rcx, [rcx + 1]
sub rax, 1
jne 0x180005bd0
mov rdx, qword [0x18000a4e0]
test rdx, rdx
jne 0x180005bfe
lea edx, [rax + 1]
xor ecx, ecx
mov r8d, 0x74b624be
call fcn.180004030
mov rdx, rax
jmp 0x180005c2d
mov rdx, qword [rdx + 0x640]
test rdx, rdx
jne 0x180005c2d
mov edx, 1
xor ecx, ecx
mov r8d, 0x74b624be
call fcn.180004030
mov rdx, rax
mov rax, qword [0x18000a4e0]
mov qword [rax + 0x640], rdx
lea rcx, [rbp - 0x40]
call rdx
cmp word [rbp - 0x40], 9
mov eax, 0x40
mov byte [rsp + 0x20], 0
mov r9d, 0x20
cmove r9d, eax
mov dword [rsp + 0x24], 0xbdfe3ac
mov eax, dword [rsp + 0x24]
movzx eax, byte [rsp + 0x20]
test al, al
jne 0x180005c6e
mov eax, dword [rsp + 0x24]
xor eax, 0xbdfe382
mov dword [rsp + 0x24], eax
mov byte [rbp - 0x78], 0
mov dword [rbp - 0x74], 0x6f912966
mov dword [rbp - 0x70], 0x6f972966
mov dword [rbp - 0x6c], 0x6fe22943
mov eax, dword [rbp - 0x74]
movzx eax, byte [rbp - 0x78]
test al, al
jne 0x180005cb6
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rbp + rbx*4 - 0x74]
xor eax, 0x6fe22943
mov dword [rbp + rbx*4 - 0x74], eax
inc rbx
cmp rbx, 3
jb 0x180005ca0
lea rcx, [rsi + rdi*2]
lea r8, [rsp + 0x24]
lea rdx, [rbp - 0x74]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rbx, qword [rsp + 0x218]
cdqe
add rax, rdi
add rsp, 0x220
pop rdi
pop rsi
pop rbp
ret