Function at 0x652590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b9665
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
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]
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x220], edi
call fcn.00652430
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x218], 9
mov dword [ebp - 0x214], 0xda00f5
mov dword [ebp - 0x210], 0xc900d9
mov dword [ebp - 0x20c], 0xdd00cb
mov dword [ebp - 0x208], 0xda0081
mov dword [ebp - 0x204], 0xb200c2
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x214], ax
inc ecx
mov eax, dword [ebp - 0x218]
cmp ecx, eax
jb 0x652620
xor ecx, ecx
mov word [ebp + eax*2 - 0x214], cx
lea ecx, [ebp - 0x238]
mov eax, dword [esi + 8]
add eax, 0x84
push eax
call fcn.00404120
lea eax, [ebp - 0x214]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0x238]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x74]
call fcn.00403b80
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 6
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x219], al
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.00404220
lea ecx, [ebp - 0x74]
call fcn.00404490
cmp byte [ebp - 0x219], 0
jne 0x6526f9
lea eax, [ebp - 0x1d0]
mov ecx, edi
push eax
call fcn.00653280
jmp 0x65321f
xorps xmm0, xmm0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x9c]
movups xmmword [ebp - 0x9c], xmm0
movups xmmword [ebp - 0x8c], xmm0
call fcn.00404120
mov byte [ebp - 4], 7
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
call fcn.0064aa50
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
call fcn.00648de0
mov byte [ebp - 4], 9
mov eax, 0x12
mov dword [ebp - 0x7c], eax
xor ecx, ecx
mov dword [ebp - 0x78], 0xcf00c7
mov dword [ebp - 0x74], 0xdb00df
mov dword [ebp - 0x70], 0xdc00c2
mov dword [ebp - 0x6c], 0x9e00c4
mov dword [ebp - 0x68], 0xc000c1
mov dword [ebp - 0x64], 0xcc00dc
mov dword [ebp - 0x60], 0x9800cc
mov dword [ebp - 0x5c], 0xcc00df
mov dword [ebp - 0x58], 0xca00cd
mov dword [ebp - 0x54], 0xbb
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x78], ax
inc ecx
mov eax, dword [ebp - 0x7c]
cmp ecx, eax
jb 0x6527a0
xor ecx, ecx
mov dword [ebp - 0x204], 7
mov word [ebp + eax*2 - 0x78], cx
xor eax, eax
mov dword [ebp - 0x208], ecx
lea ecx, [ebp - 0x78]
mov word [ebp - 0x218], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6527e0
sub ecx, edx
lea eax, [ebp - 0x78]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x218]
call fcn.004044f0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x9c]
call fcn.006498b0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x68]
call fcn.00404120
lea ecx, [ebp - 0x128]
call fcn.00404490
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0xd
call fcn.00404490
mov dword [ebp - 0x124], 0x11
xor ecx, ecx
mov dword [ebp - 0x120], 0xcf00c7
mov dword [ebp - 0x11c], 0xdb00df
mov dword [ebp - 0x118], 0xdc00c2
mov dword [ebp - 0x114], 0x9e00c4
mov dword [ebp - 0x110], 0xc000c1
mov dword [ebp - 0x10c], 0xcc00dc
mov dword [ebp - 0x108], 0x9800cc
mov dword [ebp - 0x104], 0xcc00d1
mov dword [ebp - 0x100], 0xba00c9
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x120], ax
inc ecx
mov eax, dword [ebp - 0x124]
cmp ecx, eax
jb 0x6528b0
xor ecx, ecx
mov dword [ebp - 0x204], 7
mov word [ebp + eax*2 - 0x120], cx
xor eax, eax
mov dword [ebp - 0x208], ecx
lea ecx, [ebp - 0x120]
mov word [ebp - 0x218], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6528f5
sub ecx, edx
lea eax, [ebp - 0x120]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x218]
call fcn.004044f0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x9c]
call fcn.006498b0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x114]
call fcn.00404120
lea ecx, [ebp - 0xc8]
call fcn.00404490
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x11
call fcn.00404490
mov dword [ebp - 0xc8], 0x13
xor ecx, ecx
mov dword [ebp - 0xc4], 0xcf00c7
mov dword [ebp - 0xc0], 0xdb00df
mov dword [ebp - 0xbc], 0xdc00c2
mov dword [ebp - 0xb8], 0x9e00c4
mov dword [ebp - 0xb4], 0xc000c1
mov dword [ebp - 0xb0], 0xcc00dc
mov dword [ebp - 0xac], 0x9800cc
mov dword [ebp - 0xa8], 0xd700c4
mov dword [ebp - 0xa4], 0xd100da
mov dword [ebp - 0xa0], 0xbc00c8
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xc4], ax
inc ecx
mov eax, dword [ebp - 0xc8]
cmp ecx, eax
jb 0x6529e0
xor ecx, ecx
mov dword [ebp - 0x204], 7
mov word [ebp + eax*2 - 0xc4], cx
xor eax, eax
mov dword [ebp - 0x208], ecx
lea ecx, [ebp - 0xc4]
mov word [ebp - 0x218], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x652a25
sub ecx, edx
lea eax, [ebp - 0xc4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x218]
call fcn.004044f0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x9c]
call fcn.006498b0
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0xb4]
call fcn.00404120
lea ecx, [ebp - 0xf8]
call fcn.00404490
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x15
call fcn.00404490
mov dword [ebp - 0xf4], 0x11
xor ecx, ecx
mov dword [ebp - 0xf0], 0xcf00c7
mov dword [ebp - 0xec], 0xdb00df
mov dword [ebp - 0xe8], 0xdc00c2
mov dword [ebp - 0xe4], 0x9e00c4
mov dword [ebp - 0xe0], 0xc000c1
mov dword [ebp - 0xdc], 0xcc00dc
mov dword [ebp - 0xd8], 0x9800cc
mov dword [ebp - 0xd4], 0xcb00c4
mov dword [ebp - 0xd0], 0xba00d5
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xf0], ax
inc ecx
mov eax, dword [ebp - 0xf4]
cmp ecx, eax
jb 0x652b00
xor ecx, ecx
mov dword [ebp - 0x204], 7
mov word [ebp + eax*2 - 0xf0], cx
xor eax, eax
mov dword [ebp - 0x208], ecx
lea ecx, [ebp - 0xf0]
mov word [ebp - 0x218], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x652b45
sub ecx, edx
lea eax, [ebp - 0xf0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x218]
call fcn.004044f0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x9c]
call fcn.006498b0
lea eax, [ebp - 0x1fc]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0xe4]
call fcn.00404120
lea ecx, [ebp - 0x1fc]
call fcn.00404490
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x19
call fcn.00404490
mov eax, 0x1c
mov dword [ebp - 0x4c], 0xcf00c7
mov dword [ebp - 0x50], eax
xor ecx, ecx
mov dword [ebp - 0x48], 0xdb00df
mov dword [ebp - 0x44], 0xdc00c2
mov dword [ebp - 0x40], 0x9e00c4
mov dword [ebp - 0x3c], 0xc000c1
mov dword [ebp - 0x38], 0xcc00dc
mov dword [ebp - 0x34], 0x9800cc
mov dword [ebp - 0x30], 0xcd00d6
mov dword [ebp - 0x2c], 0xd500cd
mov dword [ebp - 0x28], 0xd300d8
mov dword [ebp - 0x24], 0xd800d3
mov dword [ebp - 0x20], 0xa700d6
mov dword [ebp - 0x1c], 0xb7009e
mov dword [ebp - 0x18], 0xa800b1
mov dword [ebp - 0x14], 0xc5
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x4c], ax
inc ecx
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jb 0x652c30
xor ecx, ecx
mov dword [ebp - 0x204], 7
mov word [ebp + eax*2 - 0x4c], cx
xor eax, eax
mov dword [ebp - 0x208], ecx
lea ecx, [ebp - 0x4c]
mov word [ebp - 0x218], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x652c70
sub ecx, edx
lea eax, [ebp - 0x4c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x218]
call fcn.004044f0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x9c]
call fcn.006498b0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00404120
lea ecx, [ebp - 0x3c]
call fcn.00404490
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x1d
call fcn.00404490
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x652de4
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
push ecx
cmovae eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x1cc]
push eax
call fcn.004044f0
mov dword [ebp - 0x44], 0x17
xor ecx, ecx
mov dword [ebp - 0x40], 0xcf00c7
mov dword [ebp - 0x3c], 0xdb00df
mov dword [ebp - 0x38], 0xdc00c2
mov dword [ebp - 0x34], 0x9e00c4
mov dword [ebp - 0x30], 0xc000c1
mov dword [ebp - 0x2c], 0xcc00dc
mov dword [ebp - 0x28], 0x9800cc
mov dword [ebp - 0x24], 0xcc00df
mov dword [ebp - 0x20], 0xca00cd
mov dword [ebp - 0x1c], 0xcc00e4
mov dword [ebp - 0x18], 0xcc00d2
mov dword [ebp - 0x14], 0xc000cb
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x652d53
xor ecx, ecx
mov dword [ebp - 0x204], 7
mov word [ebp + eax*2 - 0x40], cx
xor eax, eax
mov dword [ebp - 0x208], ecx
lea ecx, [ebp - 0x40]
mov word [ebp - 0x218], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x652d90
sub ecx, edx
lea eax, [ebp - 0x40]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x218]
call fcn.004044f0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x9c]
call fcn.00649a10
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 0x1d
call fcn.00404490
mov dword [ebp - 0x1d0], 1
mov ecx, dword [ebp - 0x104]
test ecx, ecx
je 0x652f04
cmp dword [ebp - 0x100], 8
lea eax, [ebp - 0x114]
push ecx
cmovae eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x1b0]
push eax
call fcn.004044f0
mov eax, 0x16
mov dword [ebp - 0x40], 0xcf00c7
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0x3c], 0xdb00df
mov dword [ebp - 0x38], 0xdc00c2
mov dword [ebp - 0x34], 0x9e00c4
mov dword [ebp - 0x30], 0xc000c1
mov dword [ebp - 0x2c], 0xcc00dc
mov dword [ebp - 0x28], 0x9800cc
mov dword [ebp - 0x24], 0xcc00d1
mov dword [ebp - 0x20], 0xe500c9
mov dword [ebp - 0x1c], 0xd300cb
mov dword [ebp - 0x18], 0xca00cf
mov dword [ebp - 0x14], 0xbf
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x652e71
xor ecx, ecx
mov dword [ebp - 0x204], 7
mov word [ebp + eax*2 - 0x40], cx
xor eax, eax
mov dword [ebp - 0x208], ecx
lea ecx, [ebp - 0x40]
mov word [ebp - 0x218], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x652eb0
sub ecx, edx
lea eax, [ebp - 0x40]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x218]
call fcn.004044f0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebp - 0x9c]
call fcn.00649a10
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x198], eax
mov byte [ebp - 4], 0x1d
call fcn.00404490
mov dword [ebp - 0x1d0], 1
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x653034
cmp dword [ebp - 0xa0], 8
lea eax, [ebp - 0xb4]
push ecx
cmovae eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0x194]
push eax
call fcn.004044f0
mov eax, 0x18
mov dword [ebp - 0x44], 0xcf00c7
mov dword [ebp - 0x48], eax
xor ecx, ecx
mov dword [ebp - 0x40], 0xdb00df
mov dword [ebp - 0x3c], 0xdc00c2
mov dword [ebp - 0x38], 0x9e00c4
mov dword [ebp - 0x34], 0xc000c1
mov dword [ebp - 0x30], 0xcc00dc
mov dword [ebp - 0x2c], 0x9800cc
mov dword [ebp - 0x28], 0xd700c4
mov dword [ebp - 0x24], 0xd100da
mov dword [ebp - 0x20], 0xe300c8
mov dword [ebp - 0x1c], 0xd100cd
mov dword [ebp - 0x18], 0xb400cd
mov dword [ebp - 0x14], 0xc1
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x44], ax
inc ecx
mov eax, dword [ebp - 0x48]
cmp ecx, eax
jb 0x652fa0
xor ecx, ecx
mov dword [ebp - 0x204], 7
mov word [ebp + eax*2 - 0x44], cx
xor eax, eax
mov dword [ebp - 0x208], ecx
lea ecx, [ebp - 0x44]
mov word [ebp - 0x218], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x652fe0
sub ecx, edx
lea eax, [ebp - 0x44]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x218]
call fcn.004044f0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0x9c]
call fcn.00649a10
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x17c], eax
mov byte [ebp - 4], 0x1d
call fcn.00404490
mov dword [ebp - 0x1d0], 1
mov ecx, dword [ebp - 0xd4]
test ecx, ecx
je 0x653154
cmp dword [ebp - 0xd0], 8
lea eax, [ebp - 0xe4]
push ecx
cmovae eax, dword [ebp - 0xe4]
lea ecx, [ebp - 0x178]
push eax
call fcn.004044f0
mov eax, 0x16
mov dword [ebp - 0x40], 0xcf00c7
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0x3c], 0xdb00df
mov dword [ebp - 0x38], 0xdc00c2
mov dword [ebp - 0x34], 0x9e00c4
mov dword [ebp - 0x30], 0xc000c1
mov dword [ebp - 0x2c], 0xcc00dc
mov dword [ebp - 0x28], 0x9800cc
mov dword [ebp - 0x24], 0xcb00c4
mov dword [ebp - 0x20], 0xe500d5
mov dword [ebp - 0x1c], 0xd300cb
mov dword [ebp - 0x18], 0xca00cf
mov dword [ebp - 0x14], 0xbf
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x6530c1
xor ecx, ecx
mov dword [ebp - 0x204], 7
mov word [ebp + eax*2 - 0x40], cx
xor eax, eax
mov dword [ebp - 0x208], ecx
lea ecx, [ebp - 0x40]
mov word [ebp - 0x218], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x653100
sub ecx, edx
lea eax, [ebp - 0x40]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x218]
call fcn.004044f0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0x21
push eax
lea ecx, [ebp - 0x9c]
call fcn.00649a10
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x160], eax
mov byte [ebp - 4], 0x1d
call fcn.00404490
mov dword [ebp - 0x1d0], 1
mov ecx, dword [ebp - 0x1d8]
test ecx, ecx
je 0x653189
cmp dword [ebp - 0x1d4], 8
lea eax, [ebp - 0x1e8]
push ecx
cmovae eax, dword [ebp - 0x1e8]
lea ecx, [ebp - 0x15c]
push eax
call fcn.004044f0
mov dword [ebp - 0x1d0], 1
lea eax, [ebp - 0x1d0]
mov ecx, edi
push eax
call fcn.00653280
lea ecx, [ebp - 0x1e8]
call fcn.00404490
lea ecx, [ebp - 0xe4]
call fcn.00404490
lea ecx, [ebp - 0xb4]
call fcn.00404490
lea ecx, [ebp - 0x114]
call fcn.00404490
lea ecx, [ebp - 0x68]
call fcn.00404490
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x84]
mov esi, dword [ebp - 0x84]
push dword [esi + 4]
call fcn.0064a6d0
mov eax, dword [ebp - 0x84]
push 0x58
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x84]
mov dword [eax], esi
mov eax, dword [ebp - 0x84]
mov dword [eax + 8], esi
push dword [ebp - 0x84]
mov dword [ebp - 0x80], 0
call fcn.0076e8f3
add esp, 8
lea ecx, [ebp - 0x9c]
call fcn.00404490
lea ecx, [ebp - 0x144]
call fcn.00404490
lea ecx, [ebp - 0x15c]
call fcn.00404490
lea ecx, [ebp - 0x178]
call fcn.00404490
lea ecx, [ebp - 0x194]
call fcn.00404490
lea ecx, [ebp - 0x1b0]
call fcn.00404490
lea ecx, [ebp - 0x1cc]
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