Function at 0x4097bf
Capabilities:
Encode data using xor

Disassembly:
push 0xec
mov eax, 0x42ef16
call fcn.0041a90a
and dword [ebp - 4], 0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp + 8]
call fcn.0040da3a
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x9c], eax
cmp ecx, eax
je 0x409cd3
push 0xf
pop esi
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
lea edx, [ecx + 0x18]
lea ecx, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004070fb
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0xe0], eax
cmp ebx, eax
je 0x409cac
xor eax, eax
lea edi, [ebp - 0x94]
stosd dword es:[edi], eax
xor ecx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], esi
mov byte [ebp - 0x94], cl
xor eax, eax
lea edi, [ebp - 0x7c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], esi
mov byte [ebp - 0x7c], cl
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x58], cl
mov esi, 0x439868
mov byte [ebp - 4], 5
lea edi, [ebp - 0xc4]
push 0x32
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
xor edx, edx
mov eax, ecx
div edi
add dl, 0x39
xor byte [ebp + ecx - 0xc4], dl
inc ecx
cmp ecx, 7
jl 0x40987d
push 0
lea eax, [ebp - 0xc4]
mov ecx, ebx
push eax
call fcn.004041eb
mov esi, eax
cmp esi, 0xffffffff
je 0x409920
cmp byte [str._JSOYP_Q_1jHeRPXdV__], 0
mov ecx, dword [0x439888]
mov edx, dword [0x43988c]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], edx
je 0x4098e3
xor ecx, ecx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x39
xor byte [ebp + ecx - 0xac], dl
inc ecx
cmp ecx, 8
jl 0x4098cd
push esi
lea eax, [ebp - 0xac]
mov ecx, ebx
push eax
call fcn.004041eb
cmp eax, 0xffffffff
je 0x409920
sub eax, esi
mov ecx, ebx
sub eax, 6
push eax
lea eax, [esi + 6]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404197
push eax
lea ecx, [ebp - 0x94]
call fcn.00404255
lea ecx, [ebp - 0x28]
call fcn.00402616
mov esi, 0x4398c0
lea edi, [ebp - 0xa4]
push 0x32
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
xor edx, edx
mov eax, ecx
div edi
add dl, 0x39
xor byte [ebp + ecx - 0xa4], dl
inc ecx
cmp ecx, 7
jl 0x409934
push 0
lea eax, [ebp - 0xa4]
mov ecx, ebx
push eax
call fcn.004041eb
mov esi, eax
cmp esi, 0xffffffff
je 0x4099d4
cmp byte [0x439887], 0
mov ecx, dword [0x439880]
mov edx, dword [0x439884]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], edx
je 0x40999a
xor ecx, ecx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x39
xor byte [ebp + ecx - 0xb4], dl
inc ecx
cmp ecx, 8
jl 0x409984
push esi
lea eax, [ebp - 0xb4]
mov ecx, ebx
push eax
call fcn.004041eb
cmp eax, 0xffffffff
je 0x4099d4
sub eax, esi
mov ecx, ebx
sub eax, 6
push eax
lea eax, [esi + 6]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404197
push eax
lea ecx, [ebp - 0x7c]
call fcn.00404255
lea ecx, [ebp - 0x28]
call fcn.00402616
mov esi, 0x4398ac
lea edi, [ebp - 0x24]
push 0x32
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
xor edx, edx
mov eax, ecx
div edi
add dl, 0x39
xor byte [ebp + ecx - 0x24], dl
inc ecx
cmp ecx, 0x13
jl 0x4099e8
push 0
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.004041eb
cmp byte [0x43987f], 0
mov ecx, dword [0x439878]
mov edx, dword [0x43987c]
lea esi, [eax + 0x12]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], edx
je 0x409a44
xor ecx, ecx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x39
xor byte [ebp + ecx - 0xbc], dl
inc ecx
cmp ecx, 8
jl 0x409a2e
push 0
lea eax, [ebp - 0xbc]
mov ecx, ebx
push eax
call fcn.004041eb
cmp esi, 0xffffffff
je 0x409ac8
cmp eax, 0xffffffff
je 0x409ac8
sub eax, esi
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x28]
push eax
call fcn.00404197
mov byte [ebp - 4], 6
lea edi, [ebp - 0x34]
xor eax, eax
lea edx, [ebp - 0x28]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00406f62
push ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf8]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.004068b2
push eax
lea ecx, [ebp - 0x58]
call fcn.00404255
lea ecx, [ebp - 0xf8]
call fcn.00402616
inc dword [0x44180c]
lea ecx, [ebp - 0x34]
call fcn.004025ee
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00402616
cmp dword [ebp - 0x84], 0
je 0x409b5c
mov esi, str.QUHH_a
lea edi, [ebp - 0xcc]
push 0x32
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
xor edx, edx
mov eax, ecx
div edi
add dl, 0x39
xor byte [ebp + ecx - 0xcc], dl
inc ecx
cmp ecx, 7
jl 0x409ae9
lea eax, [ebp - 0x94]
push eax
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0xf8]
call fcn.00405093
pop ecx
push 1
push 0x438f48
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.004044c7
push eax
lea ecx, [ebp - 0x28]
call fcn.0040428a
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
mov ecx, 0x441d60
call fcn.0040444b
lea ecx, [ebp - 0x28]
call fcn.00402616
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 5
call fcn.00402616
cmp dword [ebp - 0x6c], 0
je 0x409bea
mov esi, str.LIN_a
lea edi, [ebp - 0xd4]
push 0x32
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
xor edx, edx
mov eax, ecx
div edi
add dl, 0x39
xor byte [ebp + ecx - 0xd4], dl
inc ecx
cmp ecx, 7
jl 0x409b7a
lea eax, [ebp - 0x7c]
push eax
lea edx, [ebp - 0xd4]
lea ecx, [ebp - 0xf8]
call fcn.00405093
pop ecx
push 1
push 0x438f48
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.004044c7
push eax
lea ecx, [ebp - 0x28]
call fcn.0040428a
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
mov ecx, 0x441d60
call fcn.0040444b
lea ecx, [ebp - 0x28]
call fcn.00402616
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 5
call fcn.00402616
cmp dword [ebp - 0x48], 0
je 0x409c74
mov esi, str.I_HO_a
lea edi, [ebp - 0xdc]
push 0x32
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
xor edx, edx
mov eax, ecx
div edi
add dl, 0x39
xor byte [ebp + ecx - 0xdc], dl
inc ecx
cmp ecx, 7
jl 0x409c08
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0xf8]
call fcn.00405093
pop ecx
push 3
push 0x439840
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.004044c7
push eax
lea ecx, [ebp - 0x28]
call fcn.0040428a
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push eax
mov ecx, 0x441d60
call fcn.0040444b
lea ecx, [ebp - 0x28]
call fcn.00402616
lea ecx, [ebp - 0xf8]
call fcn.00402616
mov eax, dword [ebp - 0x44]
push 0xf
pop esi
cmp eax, esi
jbe 0x409c8a
inc eax
push eax
push dword [ebp - 0x58]
call fcn.004026b2
pop ecx
pop ecx
lea ecx, [ebp - 0x7c]
call fcn.00402616
lea ecx, [ebp - 0x94]
call fcn.00402616
add ebx, 0x18
cmp ebx, dword [ebp - 0xe0]
jne 0x409826
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004043bd
mov ecx, dword [ebp - 0x98]
add ecx, 0x30
mov dword [ebp - 0x98], ecx
cmp ecx, dword [ebp - 0x9c]
jne 0x4097ff
lea ecx, [ebp - 0x64]
call fcn.00406841
lea ecx, [ebp + 0x14]
call fcn.00404333
lea ecx, [ebp + 8]
call fcn.004043bd
call fcn.0041a8b9
ret