Function at 0x46f5c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79aace
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xec], eax
push 0x70
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x9c], 0
xor eax, eax
mov dword [ebp - 0x98], 7
lea ecx, [ebp - 0xac]
mov word [ebp - 0xac], ax
push eax
push 0x7cd378
call fcn.004044f0
lea eax, [esi + 0x13c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x110]
call fcn.00404120
mov byte [ebp - 4], 2
lea eax, [ebp - 0xf8]
push dword [ebp - 0x94]
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xf8], 0
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0xf4], 0
push eax
mov dword [ebp - 0xf0], 0
call fcn.0042bac0
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x80]
call fcn.0042e370
lea ecx, [ebp - 0xf8]
call fcn.00404220
push fcn.00404020
push 1
push 0x18
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 6
push eax
call fcn.0076d1e5
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 7
call fcn.00404490
mov dword [ebp - 0x90], 3
xor ecx, ecx
mov dword [ebp - 0x8c], 0xd000cd
mov dword [ebp - 0x88], 0xbb00de
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x8c], ax
inc ecx
mov eax, dword [ebp - 0x90]
cmp ecx, eax
jb 0x46f720
xor ecx, ecx
mov word [ebp + eax*2 - 0x8c], cx
xor eax, eax
mov dword [ebp - 0x1c0], ecx
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x1bc], 7
lea edx, [ecx + 2]
mov word [ebp - 0x1d0], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f765
sub ecx, edx
lea eax, [ebp - 0x8c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1d0]
call fcn.004044f0
push esi
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 8
call fcn.00404120
mov byte [ebp - 4], 9
mov eax, 4
mov dword [ebp - 0xbc], eax
xor ecx, ecx
mov dword [ebp - 0xb8], 0xce00d0
mov dword [ebp - 0xb4], 0xdf00d3
mov dword [ebp - 0xb0], 0xbc
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xb8], ax
inc ecx
mov eax, dword [ebp - 0xbc]
cmp ecx, eax
jb 0x46f7d0
xor ecx, ecx
mov word [ebp + eax*2 - 0xb8], cx
xor eax, eax
mov dword [ebp - 0x190], ecx
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x18c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x1a0], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f815
sub ecx, edx
lea eax, [ebp - 0xb8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1a0]
call fcn.004044f0
lea eax, [esi + 0x24]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x188]
call fcn.00404120
mov byte [ebp - 4], 0xb
xor ecx, ecx
mov dword [ebp - 0xd8], 7
mov dword [ebp - 0xd4], 0xd800c8
mov dword [ebp - 0xd0], 0xcf00c8
mov dword [ebp - 0xcc], 0xd800d2
mov dword [ebp - 0xc8], 0xbf00cc
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xd4], ax
inc ecx
mov eax, dword [ebp - 0xd8]
cmp ecx, eax
jb 0x46f890
xor ecx, ecx
mov word [ebp + eax*2 - 0xd4], cx
xor eax, eax
mov dword [ebp - 0x160], ecx
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x15c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x170], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f8d5
sub ecx, edx
lea eax, [ebp - 0xd4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x170]
call fcn.004044f0
lea eax, [esi + 0xa4]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x158]
call fcn.00404120
mov byte [ebp - 4], 0xd
xor ecx, ecx
mov dword [ebp - 0xa8], 7
mov dword [ebp - 0xa4], 0xdc00ce
mov dword [ebp - 0xa0], 0xc800c8
mov dword [ebp - 0x9c], 0xd200d5
mov dword [ebp - 0x98], 0xbf00d0
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xa4], ax
inc ecx
mov eax, dword [ebp - 0xa8]
cmp ecx, eax
jb 0x46f950
xor ecx, ecx
mov word [ebp + eax*2 - 0xa4], cx
xor eax, eax
mov dword [ebp - 0x130], ecx
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x12c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x140], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f995
sub ecx, edx
lea eax, [ebp - 0xa4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x140]
call fcn.004044f0
lea eax, [esi + 0xf0]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x128]
call fcn.00404120
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x110]
push dword [ebp - 0x94]
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0
push eax
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0xe0], 0
push eax
mov dword [ebp - 0xdc], 0
call fcn.0046e4d0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x34]
push dword [ebp - 0x94]
push dword [ebp - 0xe0]
push dword [ebp - 0xe4]
push dword [ebp - 0x30]
call fcn.00472640
lea ecx, [ebp - 0xe4]
call fcn.00420a90
push fcn.00420a60
push 4
push 0x30
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 7
push eax
call fcn.0076d1e5
lea eax, [esi + 0x120]
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x46fa75
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x46fa6b
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004044f0
push 0x7c
call fcn.0076d2e3
add esp, 4
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 0x11
lea ecx, [eax + 8]
lea edi, [eax + 4]
mov dword [eax], vtable._.106.0
lea esi, [eax + 0xc]
mov dword [ebp - 0xc4], ecx
lea eax, [ebp - 0x80]
mov dword [ecx], 1
push eax
mov ecx, esi
mov dword [edi], 1
call fcn.00430200
mov eax, dword [ebp - 0xc0]
xorps xmm0, xmm0
movq qword [ebp - 0x8c], xmm0
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x84]
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [edi]
mov dword [eax], esi
mov esi, dword [ebp - 0xc0]
mov dword [eax + 4], esi
lea ecx, [eax + 8]
mov byte [ebp - 4], 0x13
lea eax, [ebp + 0xc]
push eax
call fcn.00403f00
push dword [ebp - 0xe8]
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x84]
lea ecx, [eax + 0x18]
mov dword [eax + 0x14], 0
call fcn.00406bb0
push dword [ebp - 0xec]
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x84]
lea ecx, [ecx + 0x30]
call fcn.00404120
mov eax, dword [ebp - 0x84]
xor ecx, ecx
mov byte [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 7
mov word [eax + 0x58], cx
mov byte [ebp - 4], 0x16
or eax, 0xffffffff
lock xadd dword [edi], eax
jne 0x46fb96
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp - 0xc4]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x46fb96
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea ecx, [ebp - 0x80]
call fcn.00430170
lea ecx, [ebp + 0xc]
call fcn.00404220
mov eax, dword [ebp - 0x84]
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 0x18