Function at 0x40bcc3
Capabilities:
Encode data using xor

Disassembly:
push 0x14c
mov eax, 0x44360e
call fcn.0043e2a1
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 0x40bd27
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x11d]
call fcn.00413772
mov esi, eax
cmp byte [esi + 0xd], bl
je 0x40c215
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 0x40c215
jmp 0x40bd10
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 [0x44a80b], bl
je 0x40bd56
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 0x40bd44
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.00410a92
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.00403370
mov esi, 0x44a80c
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 0x40bd90
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.004034b0
mov dword [ebp - 0x20], eax
cmp byte [0x44a823], 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 0x40bde8
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 0x40bdd2
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.004101a0
push fcn.00401a60
push 1
push 0x30
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 8
push eax
call fcn.0043e048
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.0040b063
test al, al
je 0x40bf3b
mov eax, dword [str.BXST_]
mov dword [ebp - 0x1c], eax
mov ax, word [0x44a838]
mov word [ebp - 0x18], ax
test ah, ah
je 0x40beaa
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 0x40be94
sub esp, 0x18
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.004034b0
mov ecx, edi
call fcn.00412de2
push dword [ebp - 0x128]
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, eax
call fcn.0040c2a6
mov esi, 0x44a824
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 0x40beea
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.004081a6
lea ecx, [ebp - 0x74]
call fcn.00403370
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xa
call fcn.00403370
cmp byte [0x44a853], 0
lea edi, [ebp - 0x28]
mov esi, 0x44a848
push 0x17
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x40bf65
xor edx, edx
mov eax, ebx
div ecx
add dl, 0x36
xor byte [ebp + ebx - 0x28], dl
inc ebx
cmp ebx, 0xc
jl 0x40bf52
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa4]
call fcn.004034b0
mov ebx, eax
mov esi, 0x44a83c
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 0x40bf89
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.00419116
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.0040fd91
push dword [ebp - 0x124]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.00419087
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.004149e5
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.0041a5f2
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.0040d601
add esp, 0x38
push 0x1a
pop eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], al
call fcn.00403370
mov eax, dword [0x44a854]
mov dword [ebp - 0x1c], eax
mov ax, word [0x44a858]
mov word [ebp - 0x18], ax
test ah, ah
je 0x40c0f1
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 0x40c0de
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xa4]
call fcn.004034b0
push eax
lea ecx, [ebp - 0x144]
call fcn.00419dec
lea ecx, [ebp - 0xa4]
mov bl, al
call fcn.00403370
test bl, bl
je 0x40c176
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x11d]
call fcn.0041308a
mov edi, eax
cmp byte [edi + 5], 0
je 0x40c149
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 0x40c134
sub esp, 0x18
mov ecx, esp
push edi
call fcn.004034b0
lea ecx, [ebp - 0x144]
call fcn.00412de2
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, eax
call fcn.0040c23c
mov byte [ebp - 4], 0x1b
jmp 0x40c224
mov eax, dword [str._VTL__]
mov dword [ebp - 0x1c], eax
mov ax, word [0x44a868]
mov word [ebp - 0x18], ax
test ah, ah
je 0x40c1a2
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 0x40c18f
sub esp, 0x18
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.004034b0
lea ecx, [ebp - 0x144]
call fcn.00412de2
push dword [ebp - 0x128]
mov esi, dword [ebp - 0x128]
mov ecx, eax
push esi
call fcn.0040c2a6
push dword [ebp - 0x144]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x1c
call fcn.0041a808
lea ecx, [ebp - 0x158]
call fcn.00412807
lea eax, [ebp - 0x134]
push eax
mov ecx, eax
call fcn.00404b30
mov ecx, dword [ebp - 0x12c]
test ecx, ecx
je 0x40c20d
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, esi
call fcn.0043e25f
ret
push esi
lea ecx, [ebp - 0xa4]
call fcn.004034b0
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x34]
call fcn.00411df5
push 0x458a34
lea eax, [ebp - 0x34]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3