Function at 0x1400695f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov dword [rbp - 8], r8d
mov dword [rbp - 4], edx
mov qword [rbp], rcx
mov eax, dword [0x140105a7c]
or eax, dword [0x140105a80]
or eax, 0x4f305fc3
add eax, 0x69d7201d
and eax, 0x5e1c5854
cmp eax, 0xb83b7c1e
jae 0x140069db6
mov r8d, dword [rbp - 8]
mov r10d, dword [rbp - 4]
mov r11, qword [rbp]
mov edx, dword [0x140105a84]
mov eax, dword [0x140105a88]
mov ecx, eax
mov eax, edx
lea eax, [rax + rcx - 0x28fcb489]
mov dword [rbp - 0x1c], eax
mov eax, 0x10
mov qword [rbp - 0x30], rax
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x30]
mov rcx, rsp
mov qword [rbp - 0x50], rcx
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x30]
mov rcx, rsp
mov qword [rbp - 0x48], rcx
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x30]
mov r9, rsp
mov qword [rbp - 0x40], r9
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x30]
mov rdx, rsp
mov qword [rbp - 0x38], rdx
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x30]
mov rsi, rsp
mov qword [rbp - 0x28], rsi
call fcn.1400ec140
sub rsp, rax
mov eax, dword [rbp - 0x1c]
mov rsi, rsp
mov qword [rbp - 0x18], rsi
mov qword [rcx], r11
mov dword [r9], r10d
mov dword [rdx], r8d
mov rcx, qword [rcx]
cmp qword [rcx + 0x148], 0
setne cl
mov byte [rbp - 9], cl
cmp eax, 0x226d3e5
je 0x140069632
mov al, byte [rbp - 9]
test al, 1
jne 0x140069a95
jmp 0x140069707
mov rax, qword [rbp - 0x48]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
cmp dword [rax + 0x150], 0
je 0x140069797
mov eax, dword [0x140105a8c]
sub eax, dword [0x140105a90]
and eax, 0xf2467ea0
and eax, 0xe2eeff36
sub eax, 0xbaf496ee
cmp eax, 0xc6698401
ja 0x140069e0c
mov rcx, qword [rbp - 0x48]
mov eax, dword [0x140105a94]
imul eax, dword [0x140105a98]
mov r8d, 0x447cacf0
xor edx, edx
div r8d
or eax, 0xadc527e4
mov r8d, 0x33ef4509
xor edx, edx
div r8d
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x18]
mov ecx, dword [rcx + 0x150]
mov dword [rbp - 0x54], ecx
cmp eax, 0x64bccf37
ja 0x140069e0c
mov eax, dword [rbp - 0x54]
mov dword [rbp - 0x58], eax
jmp 0x140069815
mov eax, dword [0x140105a9c]
and eax, dword [0x140105aa0]
mov ecx, 0xf8e0b96f
xor edx, edx
div ecx
or eax, 0xe0a84d70
mov ecx, 0x419a66f9
xor edx, edx
div ecx
cmp eax, 0xf4b70b2c
je 0x140069e11
mov rcx, qword [rbp - 0x48]
mov eax, dword [0x140105aa4]
or eax, dword [0x140105aa8]
or eax, 0xaa001089
sub eax, 0x7aa8e443
or eax, 0xfb6b6701
mov rcx, qword [rcx]
mov r8d, dword [rcx + 0x70]
mov ecx, 0x10000
mov edx, 0x4000
cmp r8d, 6
cmove ecx, edx
mov dword [rbp - 0x5c], ecx
cmp eax, 0x559796f8
jb 0x140069e11
mov eax, dword [rbp - 0x5c]
mov dword [rbp - 0x58], eax
jmp 0x140069815
mov eax, dword [rbp - 0x58]
mov dword [rbp - 0x60], eax
mov eax, dword [0x140105aac]
xor edx, edx
div dword [0x140105ab0]
and eax, 0x43b07ab0
add eax, 0x28ec40c1
imul eax, eax, 0x4cb83bf0
cmp eax, 0x1f8ddf3a
jb 0x140069e16
mov rcx, qword [rbp - 0x48]
mov r8d, dword [rbp - 0x60]
mov eax, dword [0x140105ab4]
xor eax, dword [0x140105ab8]
mov r9d, 0x7cc67cc
xor edx, edx
div r9d
mov rdx, qword [rbp - 0x18]
sub eax, 0xe8ab982f
add eax, 0xf3c14f55
mov dword [rdx], r8d
mov rcx, qword [rcx]
cmp dword [rcx + 0xd8], 0
setg cl
mov byte [rbp - 0x61], cl
cmp eax, 0x472876ea
ja 0x140069844
mov al, byte [rbp - 0x61]
test al, 1
jne 0x14006989f
jmp 0x140069975
mov eax, dword [0x140105abc]
xor edx, edx
div dword [0x140105ac0]
xor eax, 0xab92d85
or eax, 0xcdea7bb4
and eax, 0x491b9078
cmp eax, 0xed1267fe
jae 0x140069e24
mov rcx, qword [rbp - 0x18]
mov eax, dword [0x140105ac4]
add eax, dword [0x140105ac8]
add eax, 0xfe4387b5
mov r8d, 0x90b631a7
xor edx, edx
div r8d
or eax, 0x929416db
cmp dword [rcx], 0x8000
setl cl
mov byte [rbp - 0x62], cl
cmp eax, 0xa153e030
je 0x1400698c7
mov al, byte [rbp - 0x62]
test al, 1
jne 0x140069913
jmp 0x140069975
mov eax, dword [0x140105acc]
imul eax, dword [0x140105ad0]
add eax, 0x7369be7
xor eax, 0xf65d7959
or eax, 0xe528504e
cmp eax, 0x1a4db2b0
jb 0x140069e29
mov rcx, qword [rbp - 0x18]
mov eax, dword [0x140105ad4]
or eax, dword [0x140105ad8]
add eax, 0x3ca6531
sub eax, 0x3c45edd4
mov r8d, 0x28a3cf1b
xor edx, edx
div r8d
mov dword [rcx], 0x8000
cmp eax, 0x1c8e4d3e
jae 0x14006993a
jmp 0x140069975
mov eax, dword [0x140105adc]
add eax, dword [0x140105ae0]
xor eax, 0x3c2a86e9
and eax, 0x13fefa2b
imul eax, eax, 0xdf58af42
cmp eax, 0xde1a9058
je 0x140069e38
mov rax, qword [rbp - 0x18]
mov ecx, dword [0x140105ae4]
add ecx, dword [0x140105ae8]
or ecx, 0x6941feea
and ecx, 0xb41e09b9
or ecx, 0x4b249809
mov dword [rbp - 0x68], ecx
movsxd rcx, dword [rax]
sub rsp, 0x20
call sub.msvcrt.dll_malloc
mov rdx, qword [rbp - 0x48]
add rsp, 0x20
mov rcx, rax
mov eax, dword [rbp - 0x68]
mov rdx, qword [rdx]
mov qword [rdx + 0x148], rcx
cmp rcx, 0
setne cl
mov byte [rbp - 0x63], cl
cmp eax, 0xcbfa657e
jbe 0x14006999c
mov al, byte [rbp - 0x63]
test al, 1
jne 0x140069a68
jmp 0x140069a0a
mov eax, dword [0x140105aec]
xor edx, edx
div dword [0x140105af0]
add eax, 0x96c68888
or eax, 0x3ea5ae8c
and eax, 0x10db85bf
cmp eax, 0x82387ac0
je 0x140069e62
mov rcx, qword [rbp - 0x50]
mov eax, dword [0x140105af4]
xor eax, dword [0x140105af8]
and eax, 0x416f5982
xor eax, 0xf63e4f82
imul eax, eax, 0x4f681bcc
mov dword [rcx], 0
cmp eax, 0x73022820
jbe 0x140069e62
jmp 0x140069d50
mov rax, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x18]
mov edx, dword [rcx]
mov rcx, qword [rax]
mov dword [rcx + 0x164], edx
mov rcx, qword [rax]
mov dword [rcx + 0x154], 0
mov rax, qword [rax]
mov dword [rax + 0x15c], 0
mov rax, qword [rbp - 0x48]
mov rax, qword [rax]
cmp dword [rax + 0x154], 0
je 0x140069bb1
mov eax, dword [0x140105afc]
and eax, dword [0x140105b00]
imul eax, eax, 0xed3f82a9
mov ecx, 0x40f116f4
xor edx, edx
div ecx
sub eax, 0x4b42a2de
cmp eax, 0xdd3188bf
jae 0x140069e71
mov rdx, qword [rbp - 0x48]
mov eax, dword [0x140105b04]
xor eax, dword [0x140105b08]
or eax, 0xa68c28c1
add eax, 0xa88ba69a
add eax, 0x99309f57
mov rcx, qword [rdx]
mov ecx, dword [rcx + 0x15c]
mov rdx, qword [rdx]
cmp ecx, dword [rdx + 0x154]
setb cl
mov byte [rbp - 0x69], cl
cmp eax, 0xa2fd58c4
jbe 0x140069ad4
mov al, byte [rbp - 0x69]
test al, 1
jne 0x140069b26
jmp 0x140069bb1
mov eax, dword [0x140105b0c]
sub eax, dword [0x140105b10]
sub eax, 0xa26abeb8
xor eax, 0xa8bce156
and eax, 0x3d14b0ee
cmp eax, 0xe877aa92
je 0x140069e76
mov rcx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x48]
mov eax, dword [0x140105b14]
xor eax, dword [0x140105b18]
and eax, 0xbe9abc42
or eax, 0x2074c4eb
mov r9d, 0xc6ed48a
xor edx, edx
div r9d
mov rdx, qword [r8]
mov rdx, qword [rdx + 0x148]
mov r9, qword [r8]
mov r8d, dword [r9 + 0x15c]
mov r10d, r8d
add r10d, 1
mov dword [r9 + 0x15c], r10d
mov r8d, r8d
movzx edx, byte [rdx + r8]
mov dword [rcx], edx
cmp eax, 0xdf6aa610
je 0x140069e76
jmp 0x140069d50
mov r11, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov r10, qword [rbp - 0x48]
mov rcx, qword [r10]
mov dword [rcx + 0x154], 0
mov rcx, qword [r10]
mov dword [rcx + 0x15c], 0
mov rcx, qword [r10]
mov rdx, qword [r10]
mov rdx, qword [rdx + 0x80]
mov r8, qword [r10]
add r8, 0x1b0
mov r9, qword [r10]
mov r9, qword [r9 + 0x148]
mov r10, qword [r10]
mov r10d, dword [r10 + 0x164]
imul eax, dword [rax], 0x3e8
add eax, dword [r11]
sub rsp, 0x30
mov dword [rsp + 0x20], r10d
mov dword [rsp + 0x28], eax
call fcn.140067820
mov rcx, qword [rbp - 0x28]
add rsp, 0x30
mov dword [rcx], eax
cmp eax, 0
jg 0x140069c93
mov eax, dword [0x140105b1c]
sub eax, dword [0x140105b20]
sub eax, 0x65a55162
imul eax, eax, 0x85592083
sub eax, 0x7e8aecb7
cmp eax, 0x5b45aa4
je 0x140069ead
mov rcx, qword [rbp - 0x50]
mov eax, dword [0x140105b24]
add eax, dword [0x140105b28]
imul eax, eax, 0x6e01c3ef
sub eax, 0xbd24853c
mov r8d, 0x8b408cf4
xor edx, edx
div r8d
mov dword [rcx], 0xffffffff
cmp eax, 0x37f65191
je 0x140069c57
jmp 0x140069d50
mov eax, dword [0x140105b2c]
sub eax, dword [0x140105b30]
add eax, 0xe8c80242
and eax, 0xb3bfaf66
mov ecx, 0x8a111c55
xor edx, edx
div ecx
cmp eax, 0x38717d3f
jae 0x140069ebc
mov rcx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x28]
mov eax, dword [0x140105b34]
xor edx, edx
div dword [0x140105b38]
mov r9d, 0x241bbd45
xor edx, edx
div r9d
mov rdx, qword [rbp - 0x48]
imul eax, eax, 0x8384d30f
sub eax, 0x98914656
mov r10d, dword [r8]
mov r9, qword [rdx]
mov dword [r9 + 0x154], r10d
mov r9, qword [rdx]
mov dword [r9 + 0x15c], 1
mov r9, qword [rdx]
mov r10d, dword [r9 + 0x1e0]
add r10d, 1
mov dword [r9 + 0x1e0], r10d
movsxd r9, dword [r8]
mov r8, qword [rdx]
add r9, qword [r8 + 0x1d8]
mov qword [r8 + 0x1d8], r9
mov rdx, qword [rdx]
mov rdx, qword [rdx + 0x148]
movzx edx, byte [rdx]
mov dword [rcx], edx
cmp eax, 0x987e3c54
ja 0x140069ebc
jmp 0x140069d50
mov eax, dword [0x140105b3c]
and eax, dword [0x140105b40]
or eax, 0x993f1539
imul eax, eax, 0xf350d369
sub eax, 0xf823009c
cmp eax, 0xe6f2802a
jae 0x140069f23
mov rcx, qword [rbp - 0x50]
mov eax, dword [0x140105b44]
add eax, dword [0x140105b48]
and eax, 0xf444aa1
xor eax, 0x4acd450a
mov r8d, 0x8d64a071
xor edx, edx
div r8d
mov ecx, dword [rcx]
mov dword [rbp - 0x70], ecx
cmp eax, 0x6724a815
jae 0x140069f23
mov eax, dword [rbp - 0x70]
lea rsp, [rbp + 8]
pop rsi
pop rbp
ret
mov ecx, dword [rbp - 8]
mov r8d, dword [rbp - 4]
mov r10, qword [rbp]
mov eax, 0x10
mov qword [rbp - 0x78], rax
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x78]
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x78]
mov r9, rsp
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x78]
mov rdx, rsp
call fcn.1400ec140
sub rsp, rax
mov rax, rsp
mov qword [r9], r10
mov dword [rdx], r8d
mov dword [rax], ecx
jmp 0x140069632
jmp 0x140069745
jmp 0x1400697c5
mov rax, qword [rbp - 0x18]
mov ecx, dword [rbp - 0x60]
mov dword [rax], ecx
jmp 0x140069844
jmp 0x1400698c7
mov rax, qword [rbp - 0x18]
mov dword [rax], 0x8000
jmp 0x14006993a
mov rax, qword [rbp - 0x18]
movsxd rcx, dword [rax]
sub rsp, 0x20
call sub.msvcrt.dll_malloc
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp - 0x48]
mov rax, qword [rax]
mov qword [rax + 0x148], rcx
jmp 0x14006999c
mov rax, qword [rbp - 0x50]
mov dword [rax], 0
jmp 0x140069a32
jmp 0x140069ad4
mov rax, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rdx]
mov rcx, qword [rcx + 0x148]
mov r8, qword [rdx]
mov edx, dword [r8 + 0x15c]
mov r9d, edx
add r9d, 1
mov dword [r8 + 0x15c], r9d
mov edx, edx
movzx ecx, byte [rcx + rdx]
mov dword [rax], ecx
jmp 0x140069b4c
mov rax, qword [rbp - 0x50]
mov dword [rax], 0xffffffff
jmp 0x140069c57
mov rax, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x28]
mov r9d, dword [rdx]
mov r8, qword [rcx]
mov dword [r8 + 0x154], r9d
mov r8, qword [rcx]
mov dword [r8 + 0x15c], 1
mov r8, qword [rcx]
mov r9d, dword [r8 + 0x1e0]
add r9d, 1
mov dword [r8 + 0x1e0], r9d
movsxd r9, dword [rdx]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x1d8]
add r8, r9
mov qword [rdx + 0x1d8], r8
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x148]
movzx ecx, byte [rcx]
mov dword [rax], ecx
jmp 0x140069cbd
jmp 0x140069d77