Function at 0x14007f000
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x80], rcx
mov dword [rsp + 0x64], 0
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x114], 1
mov rcx, qword [0x140117df0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x140117de0]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x78], rax
mov eax, dword [0x140108188]
and eax, dword [0x14010818c]
mov ecx, 0x1be465df
xor edx, edx
div ecx
or eax, 0xe3df07f4
mov ecx, 0xf3a5d8bb
xor edx, edx
div ecx
cmp eax, 0x880e8bff
ja 0x14007f810
mov eax, dword [0x140108190]
or eax, dword [0x140108194]
mov ecx, 0xe73d50d0
xor edx, edx
div ecx
or eax, 0xe6cac754
add eax, 0x1d40077b
cmp qword [rsp + 0x78], 0
setne cl
mov byte [rsp + 0x63], cl
cmp eax, 0xeed9c8b3
ja 0x14007f074
mov al, byte [rsp + 0x63]
test al, 1
jne 0x14007f0bc
jmp 0x14007f7f7
mov eax, dword [0x140108198]
sub eax, dword [0x14010819c]
mov ecx, 0xf14ca457
xor edx, edx
div ecx
or eax, 0xe5d27f93
add eax, 0x2865ef29
cmp eax, 0x23645e34
jae 0x14007f815
mov eax, dword [0x1401081a0]
imul eax, dword [0x1401081a4]
sub eax, 0xc0c92956
add eax, 0x405ca09c
mov ecx, 0x37d428c
xor edx, edx
div ecx
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x80]
call fcn.14007c540
mov ecx, eax
mov eax, dword [rsp + 0x5c]
cmp ecx, 0
setne cl
mov byte [rsp + 0x62], cl
cmp eax, 0xf87ca4e
jae 0x14007f0e6
mov al, byte [rsp + 0x62]
test al, 1
jne 0x14007f14c
jmp 0x14007f791
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
cmp dword [rax + 8], 0xa
jne 0x14007f1b4
mov eax, dword [0x1401081a8]
xor edx, edx
div dword [0x1401081ac]
imul eax, eax, 0x40461421
imul eax, eax, 0x1c0bdc48
or eax, 0xaba970af
cmp eax, 0xb08298f9
jae 0x14007f830
mov eax, dword [0x1401081b0]
sub eax, dword [0x1401081b4]
and eax, 0x631449d2
xor eax, 0x32187e03
sub eax, 0xfae4142b
cmp eax, 0x24f219f7
jbe 0x14007f189
jmp 0x14007f7f7
mov eax, dword [0x1401081b8]
add eax, dword [0x1401081bc]
imul eax, eax, 0x24c715ec
or eax, 0x9a1b8512
imul eax, eax, 0x6d359761
cmp eax, 0x98113898
jb 0x14007f835
mov eax, dword [0x1401081c0]
sub eax, dword [0x1401081c4]
sub eax, 0x3f7429fd
and eax, 0xbcdfde51
and eax, 0xca3ed3ec
mov rcx, qword [rsp + 0x78]
cmp dword [rcx + 0x20], 0
setne cl
mov byte [rsp + 0x5b], cl
cmp eax, 0x838933e9
jae 0x14007f1dc
mov al, byte [rsp + 0x5b]
test al, 1
jne 0x14007f36d
jmp 0x14007f223
mov eax, dword [0x1401081c8]
xor eax, dword [0x1401081cc]
or eax, 0x5fca9b52
mov ecx, 0x3083b170
xor edx, edx
div ecx
or eax, 0x84de7ecb
cmp eax, 0xcb6ae6bb
ja 0x14007f83a
mov eax, dword [0x1401081d0]
or eax, dword [0x1401081d4]
xor eax, 0x8f3b5e54
xor eax, 0x518ef43d
sub eax, 0xf09f8157
mov rcx, qword [rsp + 0x78]
mov ecx, dword [rcx + 0x24]
mov rdx, qword [rsp + 0x78]
cmp rcx, qword [rdx + 0x18]
setbe cl
mov byte [rsp + 0x5a], cl
cmp eax, 0xdf6595d0
jae 0x14007f83a
mov al, byte [rsp + 0x5a]
test al, 1
jne 0x14007f29c
jmp 0x14007f301
mov eax, dword [0x1401081d8]
sub eax, dword [0x1401081dc]
xor eax, 0x818d1304
mov ecx, 0xebe3c7c3
xor edx, edx
div ecx
mov ecx, 0x47d0bea4
xor edx, edx
div ecx
cmp eax, 0x3f399694
ja 0x14007f83f
mov eax, dword [0x1401081e0]
and eax, dword [0x1401081e4]
mov ecx, 0x14179c32
xor edx, edx
div ecx
xor eax, 0xbefd379e
xor eax, 0x96a45549
mov dword [rsp + 0x64], 1
cmp eax, 0x7db38d12
jae 0x14007f2ca
jmp 0x14007f7f7
mov eax, dword [0x1401081e8]
imul eax, dword [0x1401081ec]
imul eax, eax, 0x8c036477
sub eax, 0xcc816ff5
imul eax, eax, 0xfdbde7bd
cmp eax, 0x10c5f938
jbe 0x14007f84c
mov eax, dword [0x1401081f0]
imul eax, dword [0x1401081f4]
imul eax, eax, 0x1aa639c5
mov ecx, 0xdc20a59
xor edx, edx
div ecx
imul eax, eax, 0xe4ed6b84
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rcx + 0x18]
add rdx, 1
mov qword [rcx + 0x18], rdx
cmp eax, 0xaea49d0b
ja 0x14007f32a
jmp 0x14007f796
mov eax, dword [0x1401081f8]
and eax, dword [0x1401081fc]
add eax, 0xba483337
mov ecx, 0xd8c4e38b
xor edx, edx
div ecx
and eax, 0x7a39157e
cmp eax, 0x6b943999
jae 0x14007f862
mov eax, dword [0x140108200]
sub eax, dword [0x140108204]
add eax, 0x67ec6eb1
imul eax, eax, 0xb35372e0
add eax, 0xf2437dc1
mov rcx, qword [0x140117de0]
mov rcx, qword [rcx + 0x178]
mov rdx, qword [rsp + 0x78]
sub rcx, qword [rdx + 0x10]
mov qword [rsp + 0x70], rcx
mov rcx, qword [rsp + 0x78]
mov ecx, dword [rcx + 0x20]
cmp rcx, qword [rsp + 0x70]
setle cl
mov byte [rsp + 0x59], cl
cmp eax, 0x3a0e2333
jbe 0x14007f397
mov al, byte [rsp + 0x59]
test al, 1
jne 0x14007f47c
jmp 0x14007f3ff
mov eax, dword [0x140108208]
or eax, dword [0x14010820c]
and eax, 0x24aebad7
imul eax, eax, 0x6e7440f2
xor eax, 0xd963c7af
cmp eax, 0xe271f2de
ja 0x14007f886
mov eax, dword [0x140108210]
sub eax, dword [0x140108214]
and eax, 0x3a7bd511
imul eax, eax, 0xfdd042c4
sub eax, 0x2ccf895a
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [0x140117de0]
cmp rcx, qword [rdx + 0x178]
setg cl
mov byte [rsp + 0x58], cl
cmp eax, 0x2e800b72
je 0x14007f886
mov al, byte [rsp + 0x58]
test al, 1
jne 0x14007f47c
jmp 0x14007f4f9
mov eax, dword [0x140108218]
xor eax, dword [0x14010821c]
imul eax, eax, 0x75f19b1
mov ecx, 0x9b40930c
xor edx, edx
div ecx
xor eax, 0xcadb276e
cmp eax, 0xbe606392
jb 0x14007f88b
mov eax, dword [0x140108220]
xor edx, edx
div dword [0x140108224]
and eax, 0xf4c036d2
imul eax, eax, 0x9ad3202e
or eax, 0x26fe764f
mov rcx, qword [0x140117de0]
mov rdx, qword [rcx + 0x178]
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x10], rdx
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x18], 0x100000
cmp eax, 0xd3dcbd71
jae 0x14007f4a7
jmp 0x14007f796
mov eax, dword [0x140108228]
and eax, dword [0x14010822c]
xor eax, 0x95425fe0
mov ecx, 0xf3ba1e85
xor edx, edx
div ecx
sub eax, 0x786b0869
cmp eax, 0xb69a220b
jae 0x14007f8b4
mov eax, dword [0x140108230]
xor edx, edx
div dword [0x140108234]
add eax, 0x65befc4
add eax, 0xda34f29
and eax, 0xdd5e1bc4
cmp qword [rsp + 0x70], 0
setne cl
mov byte [rsp + 0x57], cl
cmp eax, 0x823f7451
je 0x14007f8b4
mov al, byte [rsp + 0x57]
test al, 1
jne 0x14007f569
jmp 0x14007f607
mov eax, dword [0x140108238]
and eax, dword [0x14010823c]
imul eax, eax, 0xb767553c
xor eax, 0xabfff224
sub eax, 0x83f6cfd0
cmp eax, 0x431aff9c
je 0x14007f8b9
mov eax, dword [0x140108240]
and eax, dword [0x140108244]
mov ecx, 0x585e9a3a
xor edx, edx
div ecx
and eax, 0x67025adf
sub eax, 0xebf3cb49
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x78]
mov ecx, dword [rcx + 0x20]
sub rcx, qword [rsp + 0x70]
imul rax, rcx
mov rcx, qword [rsp + 0x78]
mov ecx, dword [rcx + 0x20]
xor edx, edx
div rcx
mov rcx, rax
mov eax, dword [rsp + 0x44]
add rcx, 0x100000
mov qword [rsp + 0x48], rcx
cmp eax, 0xe2f2f2a1
jae 0x14007f8b9
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
jmp 0x14007f680
mov eax, dword [0x140108248]
sub eax, dword [0x14010824c]
mov ecx, 0x35677e7e
xor edx, edx
div ecx
add eax, 0x47f74f89
imul eax, eax, 0xf1a95cc
cmp eax, 0xd1753738
je 0x14007f8be
mov eax, dword [0x140108250]
and eax, dword [0x140108254]
and eax, 0x8ec7a106
or eax, 0xdb2093da
mov ecx, 0x6fd35132
xor edx, edx
div ecx
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x18]
add rcx, 0x100000
mov qword [rsp + 0x30], rcx
cmp eax, 0x93712511
ja 0x14007f632
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
jmp 0x14007f680
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov eax, dword [0x140108258]
sub eax, dword [0x14010825c]
and eax, 0xb163b92f
sub eax, 0x8d76ce4e
mov ecx, 0xb66e5177
xor edx, edx
div ecx
cmp eax, 0xd1efbaa1
jae 0x14007f8c3
mov rcx, qword [rsp + 0x28]
mov eax, dword [0x140108260]
xor eax, dword [0x140108264]
or eax, 0xdbf9a91f
sub eax, 0x76d3e53
sub eax, 0xe8375d89
mov qword [rsp + 0x68], rcx
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x78]
mov edx, dword [rdx + 0x24]
shl edx, 0x14
mov edx, edx
cmp rcx, rdx
seta cl
mov byte [rsp + 0x27], cl
cmp eax, 0xd6a8f9b3
jbe 0x14007f6b4
mov al, byte [rsp + 0x27]
test al, 1
jne 0x14007f711
jmp 0x14007f76c
mov eax, dword [0x140108268]
xor eax, dword [0x14010826c]
xor eax, 0x7f649d58
sub eax, 0x8a8ec2dd
imul eax, eax, 0x959b7b25
cmp eax, 0x6a7a6345
ja 0x14007f8d2
mov eax, dword [0x140108270]
imul eax, dword [0x140108274]
or eax, 0x9f3af468
add eax, 0x2091104b
xor eax, 0xe6b87566
mov dword [rsp + 0x64], 2
cmp eax, 0x8dd6e7a3
ja 0x14007f738
jmp 0x14007f7f7
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x78]
mov qword [rax + 0x18], rcx
mov rax, qword [0x140117de0]
mov rcx, qword [rax + 0x178]
mov rax, qword [rsp + 0x78]
mov qword [rax + 0x10], rcx
jmp 0x14007f796
mov eax, dword [0x140108278]
imul eax, dword [0x14010827c]
and eax, 0x52497e5
sub eax, 0x77659aee
or eax, 0xe72c6bc3
cmp eax, 0xd1db2990
je 0x14007f8df
mov eax, dword [str.___4_]
imul eax, dword [0x140108284]
xor eax, 0x27b4c954
and eax, 0xb25f2a2d
imul eax, eax, 0xf4fbc0c2
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov qword [rsp + 0x78], rcx
cmp eax, 0x5605b604
jb 0x14007f7bd
jmp 0x14007f046
mov rcx, qword [0x140117df0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [rsp + 0x64]
add rsp, 0x88
ret
jmp 0x14007f074
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x80]
call fcn.14007c540
jmp 0x14007f0e6
jmp 0x14007f189
jmp 0x14007f1dc
jmp 0x14007f24d
mov dword [rsp + 0x64], 1
jmp 0x14007f2ca
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 0x18]
add rcx, 1
mov qword [rax + 0x18], rcx
jmp 0x14007f32a
mov rax, qword [0x140117de0]
mov rax, qword [rax + 0x178]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x10]
sub rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x14007f397
jmp 0x14007f426
mov rax, qword [0x140117de0]
mov rcx, qword [rax + 0x178]
mov rax, qword [rsp + 0x78]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x78]
mov qword [rax + 0x18], 0x100000
jmp 0x14007f4a7
jmp 0x14007f523
jmp 0x14007f590
jmp 0x14007f632
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x68], rax
jmp 0x14007f6b4
mov dword [rsp + 0x64], 2
jmp 0x14007f738
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
jmp 0x14007f7bd