Function at 0x467520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x799d35
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x1a0], edi
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x58
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0xe4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xe4]
push esi
call fcn.0042efa0
mov dword [ebp - 4], 0
mov eax, 0x10
mov dword [ebp - 0x54], eax
xor ecx, ecx
mov dword [ebp - 0x50], 0xd80097
mov dword [ebp - 0x4c], 0xd200ca
mov dword [ebp - 0x48], 0xd10093
mov dword [ebp - 0x44], 0xdc00d7
mov dword [ebp - 0x40], 0xaf00a5
mov dword [ebp - 0x3c], 0xa600b1
mov dword [ebp - 0x38], 0xa200eb
mov dword [ebp - 0x34], 0xb300a3
mov dword [ebp - 0x30], 0xc8
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x50], ax
inc ecx
mov eax, dword [ebp - 0x54]
cmp ecx, eax
jb 0x4675e0
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov word [ebp + eax*2 - 0x50], cx
xor eax, eax
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x50]
mov word [ebp - 0x2c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467610
sub ecx, edx
lea eax, [ebp - 0x50]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.004044f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0xc4]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.004044f0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00404490
mov eax, dword [edi]
lea ecx, [ebp - 0x8c]
add eax, 0xbc
push eax
call fcn.00404120
xor eax, eax
mov byte [ebp - 4], 2
push eax
push 0x7cd378
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.004044f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push 1
xor eax, eax
mov dword [ebp - 0x1c], 0
push 0x7d73bc
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.004044f0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00405530
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00404490
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.00404490
push 0x70
lea eax, [ebp - 0x154]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0xa
mov dword [ebp - 0x16c], 0xc9dfcaed
add esp, 0xc
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x168], 0xdad9fc91
xor ecx, ecx
mov dword [ebp - 0x164], 0xc2b5ae
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x16c], al
inc ecx
mov eax, dword [ebp - 0x170]
cmp ecx, eax
jb 0x467723
mov byte [ebp + eax - 0x16c], 0
lea ecx, [ebp - 0x1f0]
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x178], eax
mov eax, dword [edi]
add eax, 0x190
push eax
call fcn.00404120
lea eax, [ebp - 0x1f0]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00405710
add esp, 8
push eax
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x280]
call fcn.00468d70
lea ecx, [ebp - 0x208]
call fcn.00407a10
lea ecx, [ebp - 0x1f0]
call fcn.00404490
mov byte [ebp - 4], 7
xor ecx, ecx
mov eax, 4
mov dword [ebp - 0x15c], 0xdfd3ced0
mov dword [ebp - 0x160], eax
mov byte [ebp - 0x158], 0xbc
mov word [ebp - 0x157], cx
mov byte [ebp - 0x155], cl
nop word [eax + eax]
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x15c], al
inc ecx
mov eax, dword [ebp - 0x160]
cmp ecx, eax
jb 0x4677e0
mov byte [ebp + eax - 0x15c], 0
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x178], eax
mov eax, dword [edi]
add eax, 0xd4
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00405710
add esp, 8
push eax
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x334]
call fcn.00468d70
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0xa
call fcn.00407a10
mov dword [ebp - 0x180], 3
xor ecx, ecx
mov dword [ebp - 0x17c], 0xbbded0cd
nop dword [eax]
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x17c], al
inc ecx
mov eax, dword [ebp - 0x180]
cmp ecx, eax
jb 0x467860
mov byte [ebp + eax - 0x17c], 0
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.00405710
add esp, 8
push eax
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x304]
call fcn.00468d70
lea ecx, [ebp - 0x238]
call fcn.00407a10
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x334]
mov dword [ebp - 0x1a8], eax
lea ecx, [ebp - 0x280]
lea eax, [ebp - 0x2d4]
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x250]
push eax
push ecx
lea ecx, [ebp - 0x188]
call fcn.00434560
mov edi, eax
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x1d8]
call fcn.007767c0
mov esi, eax
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0xe4]
call fcn.0042c320
push eax
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 0xf
push eax
call fcn.00405710
push edi
push esi
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x154]
call fcn.00468df0
add esp, 0x10
lea ecx, [ebp - 0x250]
call fcn.00407a10
lea ecx, [ebp - 0x1c0]
call fcn.00404490
lea ecx, [ebp - 0x1d8]
call fcn.00407a10
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x188]
mov esi, dword [ebp - 0x188]
push dword [esi + 4]
call fcn.00435740
mov eax, dword [ebp - 0x188]
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x188]
mov dword [eax], esi
mov eax, dword [ebp - 0x188]
mov dword [eax + 8], esi
push 0x40
push dword [ebp - 0x188]
mov dword [ebp - 0x184], 0
call fcn.0076d313
add esp, 8
push fcn.00430150
push 2
push 0x30
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 0x17
push eax
call fcn.0076d1e5
push fcn.00430150
push 1
push 0x30
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 0x18
push eax
call fcn.0076d1e5
cmp dword [ebp - 0x104], 0
jne 0x467dc4
cmp dword [ebp - 0x154], 0xc8
jne 0x467dc4
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0x190]
call fcn.0043f7e0
push 1
sub esp, 0x28
mov byte [ebp - 4], 0x1b
mov eax, esp
mov dword [eax + 0x24], 0
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0043d0d0
add esp, 0x34
mov byte [ebp - 4], 0x1e
mov esi, dword [ebp - 0x18c]
test esi, esi
je 0x467a74
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x467a74
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x467a74
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x160], 6
mov dword [ebp - 0x15c], 0xcfdbcdcb
mov dword [ebp - 0x158], 0xbecec9
call fcn.004131e0
push eax
lea ecx, [ebp - 0x6c]
call fcn.00435a40
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.0045b9d0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x170], 9
mov dword [ebp - 0x16c], 0xd8d9dcca
mov dword [ebp - 0x168], 0xd1dbcfc9
mov dword [ebp - 0x164], 0xc1b4
call fcn.004131e0
push eax
lea ecx, [ebp - 0x6c]
call fcn.00435a40
cmp byte [eax], 4
jne 0x467f1a
movaps xmm0, xmmword [0x7e35a0]
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x174], 0xe
movups xmmword [ebp - 0x170], xmm0
call fcn.004131e0
push eax
lea ecx, [ebp - 0x6c]
call fcn.00435a40
cmp byte [eax], 4
jne 0x467f70
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x194], 5
mov dword [ebp - 0x190], 0xded1d6cc
mov dword [ebp - 0x18c], 0xbdd2
call fcn.004131e0
push eax
lea ecx, [ebp - 0x6c]
call fcn.00435a40
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.0045b9d0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x170], 0xa
mov dword [ebp - 0x16c], 0xd7d6d6c8
mov dword [ebp - 0x168], 0xd6ccd8ec
mov dword [ebp - 0x164], 0xc2a5af
call fcn.004131e0
push eax
lea ecx, [ebp - 0x6c]
call fcn.00435a40
mov edx, eax
mov cl, byte [edx]
movzx eax, cl
add eax, 0xfffffffc
cmp eax, 3
ja case.default.0x467bc3
jmp dword [eax*4 + 0x46801c]
lea eax, [edx + 8]
xor edx, edx
cmp cl, 6
cmovne eax, edx
mov eax, dword [eax]
jmp 0x467c22
cmp cl, 5
je 0x467bf3
cmp cl, 6
je 0x467bf3
lea eax, [edx + 8]
xor cl, cl
xor edx, edx
test cl, cl
cmove eax, edx
mov eax, dword [eax]
jmp 0x467c22
lea eax, [edx + 8]
mov cl, 1
xor edx, edx
test cl, cl
cmove eax, edx
mov eax, dword [eax]
jmp 0x467c22
lea eax, [edx + 8]
xor edx, edx
cmp cl, 7
cmovne eax, edx
cvttsd2si eax, qword [eax]
jmp 0x467c22
lea eax, [edx + 8]
xor edx, edx
cmp cl, 4
cmovne eax, edx
movzx eax, byte [eax]
mov esi, dword [ebp - 0x1a0]
cdq
mov dword [ebp - 0x160], 5
mov dword [ebp - 0x15c], 0xc9dbcdcb
mov ecx, dword [esi + 4]
mov dword [ebp - 0x158], 0xbdc8
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea ecx, [ebp - 0x160]
call fcn.004131e0
push eax
lea ecx, [ebp - 0x6c]
call fcn.00435a40
mov ecx, eax
call fcn.00468ea0
mov ecx, dword [esi + 4]
push 0x7d7ac0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
lea ecx, [ebp - 0x6c]
call fcn.00435a40
mov ecx, eax
call fcn.00468ea0
mov ecx, dword [esi + 4]
mov dword [ebp - 0x160], 6
mov dword [ebp - 0x15c], 0xd2cedad9
mov dword [ebp - 0x158], 0xbed8ca
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
lea ecx, [ebp - 0x160]
call fcn.004131e0
mov edi, eax
mov edx, edi
lea eax, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x467cc0
sub edx, eax
cmp dword [ebp - 0x18], 0x10
push edx
push edi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0040ffd0
add esp, 0x10
test al, al
je 0x467cf2
mov eax, dword [esi + 4]
mov dword [eax + 8], 1
jmp 0x467d52
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x160], 7
mov dword [ebp - 0x15c], 0xd2cac1dd
mov dword [ebp - 0x158], 0xbfdad8ce
call fcn.004131e0
mov edi, eax
mov edx, edi
lea eax, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x467d22
sub edx, eax
cmp dword [ebp - 0x18], 0x10
push edx
push edi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0040ffd0
add esp, 0x10
test al, al
je 0x467d52
mov eax, dword [esi + 4]
mov dword [eax + 8], 2
lea ecx, [ebp - 0x44]
call fcn.00407a10
lea ecx, [ebp - 0x2c]
call fcn.00407a10
lea ecx, [ebp - 0x6c]
call fcn.00434950
mov esi, dword [ebp - 0x198]
jmp 0x467d7e
mov dword [esi], 0
lea ecx, [ebp - 0x154]
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
mov byte [esi + 0x1c], al
mov byte [esi + 0x34], al
call fcn.00434010
lea ecx, [ebp - 0x8c]
call fcn.00404490
lea ecx, [ebp - 0xe4]
call fcn.0042bd80
jmp 0x467efa
mov eax, 0x14
mov dword [ebp - 0x58], 0xc900d9
mov dword [ebp - 0x5c], eax
xor ecx, ecx
mov dword [ebp - 0x54], 0xe400d3
mov dword [ebp - 0x50], 0xd400d0
mov dword [ebp - 0x4c], 0xda00dd
mov dword [ebp - 0x48], 0xb200ae
mov dword [ebp - 0x44], 0x9c00a7
mov dword [ebp - 0x40], 0xa000a3
mov dword [ebp - 0x3c], 0x9800b2
mov dword [ebp - 0x38], 0xbb00ad
mov dword [ebp - 0x34], 0xb900a5
mov dword [ebp - 0x30], 0xcc
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x58], ax
inc ecx
mov eax, dword [ebp - 0x5c]
cmp ecx, eax
jb 0x467e20
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov word [ebp + eax*2 - 0x58], cx
xor eax, eax
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x58]
mov word [ebp - 0x2c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467e50
sub ecx, edx
lea eax, [ebp - 0x58]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.004044f0
mov esi, dword [ebp - 0x198]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x19
push eax
lea ecx, [esi + 4]
mov dword [esi], 1
call fcn.00404120
lea ecx, [ebp - 0x2c]
mov byte [esi + 0x1c], 0
mov byte [esi + 0x34], 0
call fcn.00404490
lea ecx, [ebp - 0x154]
call fcn.00434010
lea ecx, [ebp - 0x8c]
call fcn.00404490
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x94]
push eax
push dword [eax]
lea eax, [ebp - 0x19c]
push eax
call fcn.0042d190
push 0x40
push dword [ebp - 0x94]
call fcn.0076d313
add esp, 8
lea ecx, [ebp - 0xac]
call fcn.00404490
lea ecx, [ebp - 0xc4]
call fcn.00404490
lea ecx, [ebp - 0xdc]
call fcn.00404490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 8
mov ecx, eax
call fcn.00435670
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00406b50
push eax
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0x20
push str.type_must_be_boolean__but_is
push eax
call fcn.0041ef20
add esp, 0xc
push eax
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0x21
push 0x12e
push eax
call fcn.0042f470
add esp, 0xc
lea eax, [ebp - 0x29c]
push 0x824948
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
mov ecx, eax
call fcn.00435670
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00406b50
push eax
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0x22
push str.type_must_be_boolean__but_is
push eax
call fcn.0041ef20
add esp, 0xc
push eax
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0x23
push 0x12e
push eax
call fcn.0042f470
add esp, 0xc
lea eax, [ebp - 0x2b8]
push 0x824948
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
mov ecx, edx
call fcn.00435670
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00406b50
push eax
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0x25
push str.type_must_be_number__but_is
push eax
call fcn.0041ef20
add esp, 0xc
push eax
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 0x26
push 0x12e
push eax
call fcn.0042f470
add esp, 0xc
lea eax, [ebp - 0x2d4]
push 0x824948
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
adc al, 0x7c
inc esi
add cl, bl
jnp 0x468069
add dl, cl
jnp 0x46806d
add byte [ebx], al
jl 0x468071
add ah, cl
int3
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [eax + 0x138]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], 1
add byte [eax], al
add bh, al
inc edi
adc al, 0xf
add byte [eax], al
add dh, al
pop es
add byte [ebp + 0x13888], cl
add byte [ecx + 0x458dc445], cl
rol bh, 0x45
in al, dx
add dword [eax], eax
add byte [eax], al
mov dword [ebp - 0x40], vtable.j.0
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x1c], eax
push eax
mov dword [ebp - 4], 1
call fcn.0042e9e0
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4680c6
mov esi, dword [ecx]
lea eax, [ebp - 0x40]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 4