Function at 0x40bce3
Capabilities:
Encode data using xor

Disassembly:
push 0x14c
mov eax, 0x44361e
call fcn.0043e2c1
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x124], eax
cmp dword [0x45b010], ebx
jne 0x40bd47
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x11d]
call fcn.00413792
mov esi, eax
cmp byte [esi + 0xd], bl
je 0x40c235
mov edx, ebx
mov al, dl
lea ecx, [edx + esi]
and al, 0xf
add al, 0x36
xor byte [ecx], al
inc edx
cmp edx, 0xe
jge 0x40c235
jmp 0x40bd30
lea edi, [ebp - 0x48]
mov esi, str.CLI
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
push 0x14
pop esi
cmp byte [0x44a82b], bl
je 0x40bd76
push 0x11
mov ecx, ebx
pop edi
xor edx, edx
mov eax, ecx
div edi
add dl, 0x36
xor byte [ebp + ecx - 0x48], dl
inc ecx
cmp ecx, esi
jl 0x40bd64
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x74]
call fcn.004034b0
push eax
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 1
call fcn.00410ab2
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.00403370
mov esi, 0x44a82c
lea edi, [ebp - 0x5c]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
push 0x12
pop esi
div esi
add dl, 0x36
xor byte [ebp + ecx - 0x5c], dl
inc ecx
cmp ecx, 0xb
jl 0x40bdb0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.004034b0
mov dword [ebp - 0x20], eax
cmp byte [0x44a843], 0
lea edi, [ebp - 0x34]
mov esi, str.p_MAy
mov byte [ebp - 4], 4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x40be08
mov ecx, ebx
xor edx, edx
mov eax, ecx
push 0x13
pop esi
div esi
add dl, 0x36
xor byte [ebp + ecx - 0x34], dl
inc ecx
cmp ecx, 0xc
jl 0x40bdf2
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x104]
call fcn.004034b0
mov esi, eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0xec]
call fcn.00403460
push esi
lea ecx, [ebp - 0xd4]
call fcn.00403460
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xec]
push eax
push ecx
lea ecx, [ebp - 0x134]
call fcn.004101c0
push fcn.00401a60
push 1
push 0x30
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 8
push eax
call fcn.0043e068
lea ecx, [ebp - 0x104]
call fcn.00403370
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xa
call fcn.00403370
mov edi, 0x45ff88
push str.token
mov ecx, edi
call fcn.0040b083
test al, al
je 0x40bf5b
mov eax, dword [str.BXST_]
mov dword [ebp - 0x1c], eax
mov ax, word [0x44a858]
mov word [ebp - 0x18], ax
test ah, ah
je 0x40beca
mov ecx, ebx
xor edx, edx
mov eax, ecx
push 0x15
pop esi
div esi
add dl, 0x36
xor byte [ebp + ecx - 0x1c], dl
inc ecx
cmp ecx, 6
jl 0x40beb4
sub esp, 0x18
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.004034b0
mov ecx, edi
call fcn.00412e02
push dword [ebp - 0x128]
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, eax
call fcn.0040c2c6
mov esi, 0x44a844
mov byte [ebp - 4], 0xb
lea edi, [ebp - 0x44]
mov ecx, ebx
push 0x14
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 esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x36
xor byte [ebp + ecx - 0x44], dl
inc ecx
cmp ecx, 0xf
jl 0x40bf0a
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x74]
call fcn.004034b0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x134]
call fcn.004081c6
lea ecx, [ebp - 0x74]
call fcn.00403370
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xa
call fcn.00403370
cmp byte [0x44a873], 0
lea edi, [ebp - 0x28]
mov esi, 0x44a868
push 0x17
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x40bf85
xor edx, edx
mov eax, ebx
div ecx
add dl, 0x36
xor byte [ebp + ebx - 0x28], dl
inc ebx
cmp ebx, 0xc
jl 0x40bf72
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa4]
call fcn.004034b0
mov ebx, eax
mov esi, 0x44a85c
mov byte [ebp - 4], 0xd
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
mov ecx, esi
xor edx, edx
mov eax, ecx
push 0x16
pop edi
div edi
add dl, 0x36
xor byte [ebp + ecx - 0x1c], dl
inc ecx
cmp ecx, 9
jl 0x40bfa9
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.004034b0
mov ecx, eax
cmp dword [0x45b014], 0x10
mov eax, section..data
push dword [0x45b010]
cmovae eax, dword [section..data]
push eax
mov byte [ebp - 4], 0xe
call fcn.00419136
push eax
lea ecx, [ebp - 0x74]
call fcn.00403460
push ebx
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xf
push eax
push dword [ebp - 0x128]
lea ecx, [ebp - 0x4c]
call fcn.0040fdb1
push dword [ebp - 0x124]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.004190a7
push eax
lea ecx, [ebp - 0x8c]
call fcn.00403460
mov ecx, dword [ebp - 0x12c]
push 0x11
pop eax
sub esp, 0x28
mov byte [ebp - 4], al
mov eax, esp
mov dword [eax + 0x24], esi
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00414a05
lea ecx, [ebp - 0x8c]
call fcn.00403370
lea ecx, [ebp - 0x4c]
call fcn.00403370
lea ecx, [ebp - 0x74]
call fcn.00403370
lea ecx, [ebp - 0x11c]
call fcn.00403370
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x17
call fcn.00403370
mov eax, dword [ebp - 0x158]
add eax, 0x3c
push 0x45ff6c
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.0041a612
add esp, 0xc
mov ecx, eax
push 0x18
pop ebx
push esi
push 1
sub esp, 0x28
mov byte [ebp - 4], bl
mov eax, esp
mov dword [eax + 0x24], esi
lea eax, [ebp - 0x144]
push ecx
push eax
call fcn.0040d621
add esp, 0x38
push 0x1a
pop eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], al
call fcn.00403370
mov eax, dword [0x44a874]
mov dword [ebp - 0x1c], eax
mov ax, word [0x44a878]
mov word [ebp - 0x18], ax
test ah, ah
je 0x40c111
mov ecx, esi
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x36
xor byte [ebp + ecx - 0x1c], dl
inc ecx
cmp ecx, 6
jl 0x40c0fe
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xa4]
call fcn.004034b0
push eax
lea ecx, [ebp - 0x144]
call fcn.00419e0c
lea ecx, [ebp - 0xa4]
mov bl, al
call fcn.00403370
test bl, bl
je 0x40c196
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x11d]
call fcn.004130aa
mov edi, eax
cmp byte [edi + 5], 0
je 0x40c169
xor edx, edx
mov eax, esi
push 0x19
pop ecx
div ecx
add dl, 0x36
xor byte [esi + edi], dl
inc esi
cmp esi, 6
jl 0x40c154
sub esp, 0x18
mov ecx, esp
push edi
call fcn.004034b0
lea ecx, [ebp - 0x144]
call fcn.00412e02
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, eax
call fcn.0040c25c
mov byte [ebp - 4], 0x1b
jmp 0x40c244
mov eax, dword [str._VTL__]
mov dword [ebp - 0x1c], eax
mov ax, word [0x44a888]
mov word [ebp - 0x18], ax
test ah, ah
je 0x40c1c2
push 0x1a
pop ecx
xor edx, edx
mov eax, esi
div ecx
add dl, 0x36
xor byte [ebp + esi - 0x1c], dl
inc esi
cmp esi, 6
jl 0x40c1af
sub esp, 0x18
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.004034b0
lea ecx, [ebp - 0x144]
call fcn.00412e02
push dword [ebp - 0x128]
mov esi, dword [ebp - 0x128]
mov ecx, eax
push esi
call fcn.0040c2c6
push dword [ebp - 0x144]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x1c
call fcn.0041a828
lea ecx, [ebp - 0x158]
call fcn.00412827
lea eax, [ebp - 0x134]
push eax
mov ecx, eax
call fcn.00404b40
mov ecx, dword [ebp - 0x12c]
test ecx, ecx
je 0x40c22d
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, esi
call fcn.0043e27f
ret
push esi
lea ecx, [ebp - 0xa4]
call fcn.004034b0
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x34]
call fcn.00411e15
push 0x458a74
lea eax, [ebp - 0x34]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3