Function at 0x46f790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79c055
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x831184]
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 edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xac], 3
mov dword [ebp - 0xa8], 0x8500c7
mov dword [ebp - 0xa4], 0xac00ca
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xa8], ax
inc ecx
mov eax, dword [ebp - 0xac]
cmp ecx, eax
jb 0x46f7f0
xor ecx, ecx
mov dword [ebp - 0x8c], 7
mov word [ebp + eax*2 - 0xa8], cx
xor eax, eax
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0xa8]
mov word [ebp - 0xa0], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f835
sub ecx, edx
lea eax, [ebp - 0xa8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa0]
call fcn.004044f0
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0xac], 3
mov dword [ebp - 0xa8], 0x8500c7
mov dword [ebp - 0xa4], 0xac00ca
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xa8], ax
inc ecx
mov eax, dword [ebp - 0xac]
cmp ecx, eax
jb 0x46f880
xor ecx, ecx
mov dword [ebp - 0x74], 7
mov word [ebp + eax*2 - 0xa8], cx
xor eax, eax
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0xa8]
mov word [ebp - 0x88], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f8c0
sub ecx, edx
lea eax, [ebp - 0xa8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.004044f0
mov byte [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0xac], 3
mov dword [ebp - 0xa8], 0x8500c7
mov dword [ebp - 0xa4], 0xac00ca
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xa8], ax
inc ecx
mov eax, dword [ebp - 0xac]
cmp ecx, eax
jb 0x46f910
xor ecx, ecx
mov word [ebp + eax*2 - 0xa8], cx
xor eax, eax
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x14], 7
lea edx, [ecx + 2]
mov word [ebp - 0x28], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f950
sub ecx, edx
lea eax, [ebp - 0xa8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004044f0
mov byte [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0xac], 3
mov dword [ebp - 0xa8], 0x8500c7
mov dword [ebp - 0xa4], 0xac00ca
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xa8], ax
inc ecx
mov eax, dword [ebp - 0xac]
cmp ecx, eax
jb 0x46f9a0
xor ecx, ecx
mov dword [ebp - 0x5c], 7
mov word [ebp + eax*2 - 0xa8], cx
xor eax, eax
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0xa8]
mov word [ebp - 0x70], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f9e0
sub ecx, edx
lea eax, [ebp - 0xa8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.004044f0
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0xac], 3
mov dword [ebp - 0xa8], 0x8500c7
mov dword [ebp - 0xa4], 0xac00ca
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xa8], ax
inc ecx
mov eax, dword [ebp - 0xac]
cmp ecx, eax
jb 0x46fa30
xor ecx, ecx
mov dword [ebp - 0x44], 7
mov word [ebp + eax*2 - 0xa8], cx
xor eax, eax
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0xa8]
mov word [ebp - 0x58], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46fa70
sub ecx, edx
lea eax, [ebp - 0xa8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.004044f0
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0xac], 3
mov dword [ebp - 0xa8], 0x8500c7
mov dword [ebp - 0xa4], 0xac00ca
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xa8], ax
inc ecx
mov eax, dword [ebp - 0xac]
cmp ecx, eax
jb 0x46fac0
xor ecx, ecx
mov dword [ebp - 0x2c], 7
mov word [ebp + eax*2 - 0xa8], cx
xor eax, eax
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0xa8]
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46fb00
sub ecx, edx
lea eax, [ebp - 0xa8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004044f0
mov byte [ebp - 4], 5
mov ecx, dword [esi + 0x100]
test ecx, ecx
je 0x46fb52
lea eax, [esi + 0xf0]
lea edx, [ebp - 0xa0]
cmp edx, eax
je 0x46fb52
cmp dword [eax + 0x14], 8
jb 0x46fb45
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xa0]
call fcn.004044f0
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x46fb7b
lea eax, [esi + 0x24]
lea edx, [ebp - 0x88]
cmp edx, eax
je 0x46fb7b
cmp dword [eax + 0x14], 8
jb 0x46fb6e
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.004044f0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x46fc3a
lea ecx, [ebp - 0x28]
cmp ecx, esi
je 0x46fba1
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x46fb97
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004044f0
xor eax, eax
mov dword [ebp - 0xcc], 0
push eax
push 0x7cf388
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
call fcn.004044f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb8]
push 1
xor eax, eax
mov dword [ebp - 0xa8], 0
push 0x7d93cc
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
call fcn.004044f0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00405530
add esp, 0xc
lea ecx, [ebp - 0xb8]
call fcn.00404490
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 5
call fcn.00404490
mov ecx, dword [esi + 0xb4]
test ecx, ecx
je 0x46fc63
lea eax, [esi + 0xa4]
lea edx, [ebp - 0x70]
cmp edx, eax
je 0x46fc63
cmp dword [eax + 0x14], 8
jb 0x46fc59
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.004044f0
mov ecx, dword [esi + 0xe4]
test ecx, ecx
je 0x46fc8c
lea eax, [esi + 0xd4]
lea edx, [ebp - 0x58]
cmp edx, eax
je 0x46fc8c
cmp dword [eax + 0x14], 8
jb 0x46fc82
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.004044f0
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x46fcb5
add esi, 0xbc
lea ecx, [ebp - 0x40]
cmp ecx, esi
je 0x46fcb5
cmp dword [esi + 0x14], 8
jb 0x46fcab
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.004044f0
mov dword [ebp - 0xc4], 0xf
xor eax, eax
mov dword [ebp - 0xc0], 0xcf00fd
mov dword [ebp - 0xbc], 0xcd00c7
mov dword [ebp - 0xb8], 0xc100c0
mov dword [ebp - 0xb4], 0xf300c1
mov dword [ebp - 0xb0], 0xd700dd
mov dword [ebp - 0xac], 0xda00d2
mov dword [ebp - 0xa8], 0xc400d0
mov dword [ebp - 0xa4], 0xb80098
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0xc0], cx
inc eax
mov ecx, dword [ebp - 0xc4]
cmp eax, ecx
jb 0x46fd11
xor eax, eax
mov word [ebp + ecx*2 - 0xc0], ax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x1d0]
push eax
call fcn.0041ee30
push 0x7d9bec
push eax
lea eax, [ebp - 0x1b8]
mov byte [ebp - 4], 8
push eax
call fcn.00408060
add esp, 0x18
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
push dword [ebp - 0x78]
cmovae ecx, dword [ebp - 0x88]
push ecx
mov ecx, eax
call fcn.00407c50
mov dword [ebp - 0x130], 0
xor ecx, ecx
mov dword [ebp - 0x12c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x140], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x130], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x7d75dc
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.00408060
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00407c50
mov dword [ebp - 0x118], 0
xor ecx, ecx
mov dword [ebp - 0x114], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x128], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x118], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x7d9be4
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.00408060
add esp, 0xc
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
push dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.00407c50
mov dword [ebp - 0x100], 0
xor ecx, ecx
mov dword [ebp - 0xfc], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x110], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x100], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x7d75dc
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.00408060
add esp, 0xc
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
push dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.00407c50
mov dword [ebp - 0xe8], 0
xor ecx, ecx
mov dword [ebp - 0xe4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x7d75dc
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00408060
add esp, 0xc
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.00407c50
mov dword [ebp - 0xcc], 0
xor ecx, ecx
mov dword [ebp - 0xc8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xdc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xcc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x7cf38c
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0x12
push eax
push edi
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0xdc]
call fcn.00404490
lea ecx, [ebp - 0x158]
call fcn.00404490
lea ecx, [ebp - 0xf8]
call fcn.00404490
lea ecx, [ebp - 0x170]
call fcn.00404490
lea ecx, [ebp - 0x110]
call fcn.00404490
lea ecx, [ebp - 0x188]
call fcn.00404490
lea ecx, [ebp - 0x128]
call fcn.00404490
lea ecx, [ebp - 0x1a0]
call fcn.00404490
lea ecx, [ebp - 0x140]
call fcn.00404490
lea ecx, [ebp - 0x1b8]
call fcn.00404490
lea ecx, [ebp - 0x1d0]
call fcn.00404490
lea ecx, [ebp - 0x40]
call fcn.00404490
lea ecx, [ebp - 0x58]
call fcn.00404490
lea ecx, [ebp - 0x70]
call fcn.00404490
lea ecx, [ebp - 0x28]
call fcn.00404490
lea ecx, [ebp - 0x88]
call fcn.00404490
lea ecx, [ebp - 0xa0]
call fcn.00404490
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.0076eb7e
mov esp, ebp
pop ebp
ret 4