Function at 0x40d6fb
Capabilities:
Encode data using xor

Disassembly:
push 0x14c
mov eax, 0x442064
call fcn.0044041f
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 [0x462010], ebx
jne 0x40d75f
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x11d]
call fcn.00415411
mov esi, eax
cmp byte [esi + 0xd], bl
je 0x40dc4d
mov edx, ebx
mov al, dl
lea ecx, [edx + esi]
and al, 0xf
add al, 0x37
xor byte [ecx], al
inc edx
cmp edx, 0xe
jge 0x40dc4d
jmp 0x40d748
lea edi, [ebp - 0x48]
mov esi, str._LMJ
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
push 0x14
pop esi
cmp byte [0x44889b], bl
je 0x40d78e
push 0x11
mov ecx, ebx
pop edi
xor edx, edx
mov eax, ecx
div edi
add dl, 0x37
xor byte [ebp + ecx - 0x48], dl
inc ecx
cmp ecx, esi
jl 0x40d77c
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x74]
call fcn.00405390
push eax
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 1
call fcn.004126f6
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.004052f0
mov esi, 0x44889c
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, 0x37
xor byte [ebp + ecx - 0x5c], dl
inc ecx
cmp ecx, 0xb
jl 0x40d7c8
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00405390
mov dword [ebp - 0x20], eax
cmp byte [0x4488b3], 0
lea edi, [ebp - 0x34]
mov esi, str.qTLBx
mov byte [ebp - 4], 4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x40d820
mov ecx, ebx
xor edx, edx
mov eax, ecx
push 0x13
pop esi
div esi
add dl, 0x37
xor byte [ebp + ecx - 0x34], dl
inc ecx
cmp ecx, 0xc
jl 0x40d80a
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x104]
call fcn.00405390
mov esi, eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0xec]
call fcn.00405340
push esi
lea ecx, [ebp - 0xd4]
call fcn.00405340
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xec]
push eax
push ecx
lea ecx, [ebp - 0x134]
call fcn.00411dfc
push 0x413f78
push 1
push 0x30
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 8
push eax
call fcn.004401d4
lea ecx, [ebp - 0x104]
call fcn.004052f0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xa
call fcn.004052f0
mov edi, 0x467058
push str.token
mov ecx, edi
call fcn.0040cad5
test al, al
je 0x40d973
mov eax, dword [str.CWR_U_]
mov dword [ebp - 0x1c], eax
mov ax, word [0x4488c8]
mov word [ebp - 0x18], ax
test ah, ah
je 0x40d8e2
mov ecx, ebx
xor edx, edx
mov eax, ecx
push 0x15
pop esi
div esi
add dl, 0x37
xor byte [ebp + ecx - 0x1c], dl
inc ecx
cmp ecx, 6
jl 0x40d8cc
sub esp, 0x18
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00405390
mov ecx, edi
call fcn.00414ade
push dword [ebp - 0x128]
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, eax
call fcn.0040dcde
mov esi, 0x4488b4
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, 0x37
xor byte [ebp + ecx - 0x44], dl
inc ecx
cmp ecx, 0xf
jl 0x40d922
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x74]
call fcn.00405390
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.00409d2f
lea ecx, [ebp - 0x74]
call fcn.004052f0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xa
call fcn.004052f0
cmp byte [0x4488e3], 0
lea edi, [ebp - 0x28]
mov esi, 0x4488d8
push 0x17
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x40d99d
xor edx, edx
mov eax, ebx
div ecx
add dl, 0x37
xor byte [ebp + ebx - 0x28], dl
inc ebx
cmp ebx, 0xc
jl 0x40d98a
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa4]
call fcn.00405390
mov ebx, eax
mov esi, 0x4488cc
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, 0x37
xor byte [ebp + ecx - 0x1c], dl
inc ecx
cmp ecx, 9
jl 0x40d9c1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00405390
mov ecx, eax
cmp dword [0x462014], 0x10
mov eax, section..data
push dword [0x462010]
cmovae eax, dword [section..data]
push eax
mov byte [ebp - 4], 0xe
call fcn.00405760
push eax
lea ecx, [ebp - 0x74]
call fcn.00405340
push ebx
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xf
push eax
push dword [ebp - 0x128]
lea ecx, [ebp - 0x4c]
call fcn.004119a1
push dword [ebp - 0x124]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.00405270
push eax
lea ecx, [ebp - 0x8c]
call fcn.00405340
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.0041670a
lea ecx, [ebp - 0x8c]
call fcn.004052f0
lea ecx, [ebp - 0x4c]
call fcn.004052f0
lea ecx, [ebp - 0x74]
call fcn.004052f0
lea ecx, [ebp - 0x11c]
call fcn.004052f0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x17
call fcn.004052f0
mov eax, dword [ebp - 0x158]
add eax, 0x3c
push 0x46703c
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.0041c449
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.0040f167
add esp, 0x38
push 0x1a
pop eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], al
call fcn.004052f0
mov eax, dword [0x4488e4]
mov dword [ebp - 0x1c], eax
mov ax, word [0x4488e8]
mov word [ebp - 0x18], ax
test ah, ah
je 0x40db29
mov ecx, esi
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x37
xor byte [ebp + ecx - 0x1c], dl
inc ecx
cmp ecx, 6
jl 0x40db16
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xa4]
call fcn.00405390
push eax
lea ecx, [ebp - 0x144]
call fcn.0041bc43
lea ecx, [ebp - 0xa4]
mov bl, al
call fcn.004052f0
test bl, bl
je 0x40dbae
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x11d]
call fcn.00414d86
mov edi, eax
cmp byte [edi + 5], 0
je 0x40db81
xor edx, edx
mov eax, esi
push 0x19
pop ecx
div ecx
add dl, 0x37
xor byte [esi + edi], dl
inc esi
cmp esi, 6
jl 0x40db6c
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00405390
lea ecx, [ebp - 0x144]
call fcn.00414ade
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, eax
call fcn.0040dc74
mov byte [ebp - 4], 0x1b
jmp 0x40dc5c
mov eax, dword [str.AYUO_]
mov dword [ebp - 0x1c], eax
mov ax, word [0x4488f8]
mov word [ebp - 0x18], ax
test ah, ah
je 0x40dbda
push 0x1a
pop ecx
xor edx, edx
mov eax, esi
div ecx
add dl, 0x37
xor byte [ebp + esi - 0x1c], dl
inc esi
cmp esi, 6
jl 0x40dbc7
sub esp, 0x18
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00405390
lea ecx, [ebp - 0x144]
call fcn.00414ade
push dword [ebp - 0x128]
mov esi, dword [ebp - 0x128]
mov ecx, eax
push esi
call fcn.0040dcde
push dword [ebp - 0x144]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x1c
call fcn.0041c5a3
lea ecx, [ebp - 0x158]
call fcn.004144bf
lea eax, [ebp - 0x134]
push eax
mov ecx, eax
call fcn.0040a8b0
mov ecx, dword [ebp - 0x12c]
test ecx, ecx
je 0x40dc45
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, esi
call fcn.004403dd
ret
push esi
lea ecx, [ebp - 0xa4]
call fcn.00405390
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x34]
call fcn.00401470
push 0x45ecc4
lea eax, [ebp - 0x34]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3