Function at 0x651850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b7f35
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
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 edi, dword [ebp + 8]
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x220], edi
call fcn.006516f0
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x218], 9
mov dword [ebp - 0x214], 0xc900e4
mov dword [ebp - 0x210], 0xde00c8
mov dword [ebp - 0x20c], 0xce00da
mov dword [ebp - 0x208], 0xd50090
mov dword [ebp - 0x204], 0xc100b3
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x214], ax
inc ecx
mov eax, dword [ebp - 0x218]
cmp ecx, eax
jb 0x6518e0
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 0x6519b9
lea eax, [ebp - 0x1d0]
mov ecx, edi
push eax
call fcn.00652540
jmp 0x6524df
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.00649d20
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
call fcn.006480b0
mov byte [ebp - 4], 9
mov eax, 0x12
mov dword [ebp - 0x7c], eax
xor ecx, ecx
mov dword [ebp - 0x78], 0xdc00d6
mov dword [ebp - 0x74], 0xcc00ce
mov dword [ebp - 0x70], 0xcf00d3
mov dword [ebp - 0x6c], 0x9100d5
mov dword [ebp - 0x68], 0xb300b0
mov dword [ebp - 0x64], 0xbb00ad
mov dword [ebp - 0x60], 0xeb00bd
mov dword [ebp - 0x5c], 0xb300ae
mov dword [ebp - 0x58], 0xb900bc
mov dword [ebp - 0x54], 0xca
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x78], ax
inc ecx
mov eax, dword [ebp - 0x7c]
cmp ecx, eax
jb 0x651a60
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 0x651aa0
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.00648b80
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], 0xdc00d6
mov dword [ebp - 0x11c], 0xcc00ce
mov dword [ebp - 0x118], 0xcf00d3
mov dword [ebp - 0x114], 0x9100d5
mov dword [ebp - 0x110], 0xb300b0
mov dword [ebp - 0x10c], 0xbb00ad
mov dword [ebp - 0x108], 0xeb00bd
mov dword [ebp - 0x104], 0xb300a0
mov dword [ebp - 0x100], 0xc900b8
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x120], ax
inc ecx
mov eax, dword [ebp - 0x124]
cmp ecx, eax
jb 0x651b70
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 0x651bb5
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.00648b80
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], 0xdc00d6
mov dword [ebp - 0xc0], 0xcc00ce
mov dword [ebp - 0xbc], 0xcf00d3
mov dword [ebp - 0xb8], 0x9100d5
mov dword [ebp - 0xb4], 0xb300b0
mov dword [ebp - 0xb0], 0xbb00ad
mov dword [ebp - 0xac], 0xeb00bd
mov dword [ebp - 0xa8], 0xa800b5
mov dword [ebp - 0xa4], 0xa200ab
mov dword [ebp - 0xa0], 0xcb00b9
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xc4], ax
inc ecx
mov eax, dword [ebp - 0xc8]
cmp ecx, eax
jb 0x651ca0
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 0x651ce5
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.00648b80
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], 0xdc00d6
mov dword [ebp - 0xec], 0xcc00ce
mov dword [ebp - 0xe8], 0xcf00d3
mov dword [ebp - 0xe4], 0x9100d5
mov dword [ebp - 0xe0], 0xb300b0
mov dword [ebp - 0xdc], 0xbb00ad
mov dword [ebp - 0xd8], 0xeb00bd
mov dword [ebp - 0xd4], 0xb400b5
mov dword [ebp - 0xd0], 0xc900a4
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xf0], ax
inc ecx
mov eax, dword [ebp - 0xf4]
cmp ecx, eax
jb 0x651dc0
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 0x651e05
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.00648b80
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], 0xdc00d6
mov dword [ebp - 0x50], eax
xor ecx, ecx
mov dword [ebp - 0x48], 0xcc00ce
mov dword [ebp - 0x44], 0xcf00d3
mov dword [ebp - 0x40], 0x9100d5
mov dword [ebp - 0x3c], 0xb300b0
mov dword [ebp - 0x38], 0xbb00ad
mov dword [ebp - 0x34], 0xeb00bd
mov dword [ebp - 0x30], 0xb200a7
mov dword [ebp - 0x2c], 0xa600bc
mov dword [ebp - 0x28], 0xa400a9
mov dword [ebp - 0x24], 0xab00a2
mov dword [ebp - 0x20], 0xa800a7
mov dword [ebp - 0x1c], 0xa4008f
mov dword [ebp - 0x18], 0xbf00a0
mov dword [ebp - 0x14], 0xd4
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x4c], ax
inc ecx
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jb 0x651ef0
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 0x651f30
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.00648b80
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 0x6520a4
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], 0xdc00d6
mov dword [ebp - 0x3c], 0xcc00ce
mov dword [ebp - 0x38], 0xcf00d3
mov dword [ebp - 0x34], 0x9100d5
mov dword [ebp - 0x30], 0xb300b0
mov dword [ebp - 0x2c], 0xbb00ad
mov dword [ebp - 0x28], 0xeb00bd
mov dword [ebp - 0x24], 0xb300ae
mov dword [ebp - 0x20], 0xb900bc
mov dword [ebp - 0x1c], 0xbb0095
mov dword [ebp - 0x18], 0xbf00a3
mov dword [ebp - 0x14], 0xcf00ba
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x652013
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 0x652050
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.00648ce0
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 0x6521c4
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], 0xdc00d6
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0x3c], 0xcc00ce
mov dword [ebp - 0x38], 0xcf00d3
mov dword [ebp - 0x34], 0x9100d5
mov dword [ebp - 0x30], 0xb300b0
mov dword [ebp - 0x2c], 0xbb00ad
mov dword [ebp - 0x28], 0xeb00bd
mov dword [ebp - 0x24], 0xb300a0
mov dword [ebp - 0x20], 0x9600b8
mov dword [ebp - 0x1c], 0xa400ba
mov dword [ebp - 0x18], 0xb900be
mov dword [ebp - 0x14], 0xce
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x652131
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 0x652170
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.00648ce0
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 0x6522f4
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], 0xdc00d6
mov dword [ebp - 0x48], eax
xor ecx, ecx
mov dword [ebp - 0x40], 0xcc00ce
mov dword [ebp - 0x3c], 0xcf00d3
mov dword [ebp - 0x38], 0x9100d5
mov dword [ebp - 0x34], 0xb300b0
mov dword [ebp - 0x30], 0xbb00ad
mov dword [ebp - 0x2c], 0xeb00bd
mov dword [ebp - 0x28], 0xa800b5
mov dword [ebp - 0x24], 0xa200ab
mov dword [ebp - 0x20], 0x9400b9
mov dword [ebp - 0x1c], 0xa200bc
mov dword [ebp - 0x18], 0xbb00bc
mov dword [ebp - 0x14], 0xd0
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x44], ax
inc ecx
mov eax, dword [ebp - 0x48]
cmp ecx, eax
jb 0x652260
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 0x6522a0
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.00648ce0
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 0x652414
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], 0xdc00d6
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0x3c], 0xcc00ce
mov dword [ebp - 0x38], 0xcf00d3
mov dword [ebp - 0x34], 0x9100d5
mov dword [ebp - 0x30], 0xb300b0
mov dword [ebp - 0x2c], 0xbb00ad
mov dword [ebp - 0x28], 0xeb00bd
mov dword [ebp - 0x24], 0xb400b5
mov dword [ebp - 0x20], 0x9600a4
mov dword [ebp - 0x1c], 0xa400ba
mov dword [ebp - 0x18], 0xb900be
mov dword [ebp - 0x14], 0xce
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x652381
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 0x6523c0
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.00648ce0
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 0x652449
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.00652540
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.006499a0
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.0076d313
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.0076d59e
mov esp, ebp
pop ebp
ret 4