Function at 0x4096bc
Capabilities:
Encode data using xor

Disassembly:
push 0xec
mov eax, 0x432046
call fcn.0041bc0a
and dword [ebp - 4], 0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp + 8]
call fcn.0040dc33
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 0x409bd0
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.00406e82
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0xe0], eax
cmp ebx, eax
je 0x409ba9
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, 0x43c89c
mov byte [ebp - 4], 5
lea edi, [ebp - 0xc4]
push 0x38
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, 0x32
xor byte [ebp + ecx - 0xc4], dl
inc ecx
cmp ecx, 7
jl 0x40977a
push 0
lea eax, [ebp - 0xc4]
mov ecx, ebx
push eax
call fcn.00403fe5
mov esi, eax
cmp esi, 0xffffffff
je 0x40981d
cmp byte [str.9G_QG_f], 0
mov ecx, dword [0x43c828]
mov edx, dword [0x43c82c]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], edx
je 0x4097e0
xor ecx, ecx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x32
xor byte [ebp + ecx - 0xac], dl
inc ecx
cmp ecx, 8
jl 0x4097ca
push esi
lea eax, [ebp - 0xac]
mov ecx, ebx
push eax
call fcn.00403fe5
cmp eax, 0xffffffff
je 0x40981d
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.00403f91
push eax
lea ecx, [ebp - 0x94]
call fcn.0040404f
lea ecx, [ebp - 0x28]
call fcn.00402636
mov esi, 0x43c838
lea edi, [ebp - 0xa4]
push 0x38
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, 0x32
xor byte [ebp + ecx - 0xa4], dl
inc ecx
cmp ecx, 7
jl 0x409831
push 0
lea eax, [ebp - 0xa4]
mov ecx, ebx
push eax
call fcn.00403fe5
mov esi, eax
cmp esi, 0xffffffff
je 0x4098d1
cmp byte [str.9W_WZRV_a], 0
mov ecx, dword [0x43c878]
mov edx, dword [0x43c87c]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], edx
je 0x409897
xor ecx, ecx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x32
xor byte [ebp + ecx - 0xb4], dl
inc ecx
cmp ecx, 8
jl 0x409881
push esi
lea eax, [ebp - 0xb4]
mov ecx, ebx
push eax
call fcn.00403fe5
cmp eax, 0xffffffff
je 0x4098d1
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.00403f91
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040404f
lea ecx, [ebp - 0x28]
call fcn.00402636
mov esi, 0x43c880
lea edi, [ebp - 0x24]
push 0x38
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, 0x32
xor byte [ebp + ecx - 0x24], dl
inc ecx
cmp ecx, 0x13
jl 0x4098e5
push 0
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00403fe5
cmp byte [str.9AZ_P_VVX_N], 0
mov ecx, dword [0x43c854]
mov edx, dword [0x43c858]
lea esi, [eax + 0x12]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], edx
je 0x409941
xor ecx, ecx
xor edx, edx
mov eax, ecx
div edi
add dl, 0x32
xor byte [ebp + ecx - 0xbc], dl
inc ecx
cmp ecx, 8
jl 0x40992b
push 0
lea eax, [ebp - 0xbc]
mov ecx, ebx
push eax
call fcn.00403fe5
cmp esi, 0xffffffff
je 0x4099c5
cmp eax, 0xffffffff
je 0x4099c5
sub eax, esi
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x28]
push eax
call fcn.00403f91
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.00406ce9
push ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf8]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.00408bea
push eax
lea ecx, [ebp - 0x58]
call fcn.0040404f
lea ecx, [ebp - 0xf8]
call fcn.00402636
inc dword [0x44480c]
lea ecx, [ebp - 0x34]
call fcn.0040260e
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00402636
cmp dword [ebp - 0x84], 0
je 0x409a59
mov esi, str.ZGA_f
lea edi, [ebp - 0xcc]
push 0x38
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, 0x32
xor byte [ebp + ecx - 0xcc], dl
inc ecx
cmp ecx, 7
jl 0x4099e6
lea eax, [ebp - 0x94]
push eax
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0xf8]
call fcn.00404e71
pop ecx
push 1
push 0x43bf94
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.004042c1
push eax
lea ecx, [ebp - 0x28]
call fcn.00404084
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
mov ecx, 0x444d88
call fcn.00404245
lea ecx, [ebp - 0x28]
call fcn.00402636
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 5
call fcn.00402636
cmp dword [ebp - 0x6c], 0
je 0x409ae7
mov esi, 0x43c830
lea edi, [ebp - 0xd4]
push 0x38
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, 0x32
xor byte [ebp + ecx - 0xd4], dl
inc ecx
cmp ecx, 7
jl 0x409a77
lea eax, [ebp - 0x7c]
push eax
lea edx, [ebp - 0xd4]
lea ecx, [ebp - 0xf8]
call fcn.00404e71
pop ecx
push 1
push 0x43bf94
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.004042c1
push eax
lea ecx, [ebp - 0x28]
call fcn.00404084
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
mov ecx, 0x444d88
call fcn.00404245
lea ecx, [ebp - 0x28]
call fcn.00402636
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 5
call fcn.00402636
cmp dword [ebp - 0x48], 0
je 0x409b71
mov esi, str.BRGF_f
lea edi, [ebp - 0xdc]
push 0x38
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, 0x32
xor byte [ebp + ecx - 0xdc], dl
inc ecx
cmp ecx, 7
jl 0x409b05
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0xf8]
call fcn.00404e71
pop ecx
push 3
push 0x43c824
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.004042c1
push eax
lea ecx, [ebp - 0x28]
call fcn.00404084
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push eax
mov ecx, 0x444d88
call fcn.00404245
lea ecx, [ebp - 0x28]
call fcn.00402636
lea ecx, [ebp - 0xf8]
call fcn.00402636
mov eax, dword [ebp - 0x44]
push 0xf
pop esi
cmp eax, esi
jbe 0x409b87
inc eax
push eax
push dword [ebp - 0x58]
call fcn.004026d2
pop ecx
pop ecx
lea ecx, [ebp - 0x7c]
call fcn.00402636
lea ecx, [ebp - 0x94]
call fcn.00402636
add ebx, 0x18
cmp ebx, dword [ebp - 0xe0]
jne 0x409723
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004041b7
mov ecx, dword [ebp - 0x98]
add ecx, 0x30
mov dword [ebp - 0x98], ecx
cmp ecx, dword [ebp - 0x9c]
jne 0x4096fc
lea ecx, [ebp - 0x64]
call fcn.0040668e
lea ecx, [ebp + 0x14]
call fcn.0040412d
lea ecx, [ebp + 8]
call fcn.004041b7
call fcn.0041bbb9
ret