Function at 0x1001721f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x10017237
xor eax, eax
jmp 0x10017c83
push ebx
mov dword [ebp - 0x400], esi
mov dword [ebp - 0x3fc], 0x1021
mov dword [ebp - 0x3f8], 0x2042
mov dword [ebp - 0x3f4], 0x3063
mov dword [ebp - 0x3f0], 0x4084
mov dword [ebp - 0x3ec], 0x50a5
mov dword [ebp - 0x3e8], 0x60c6
mov dword [ebp - 0x3e4], 0x70e7
mov dword [ebp - 0x3e0], 0x8108
mov dword [ebp - 0x3dc], 0x9129
mov dword [ebp - 0x3d8], 0xa14a
mov dword [ebp - 0x3d4], 0xb16b
mov dword [ebp - 0x3d0], 0xc18c
mov dword [ebp - 0x3cc], 0xd1ad
mov dword [ebp - 0x3c8], 0xe1ce
mov dword [ebp - 0x3c4], 0xf1ef
mov dword [ebp - 0x3c0], 0x1231
mov dword [ebp - 0x3bc], 0x210
mov dword [ebp - 0x3b8], 0x3273
mov dword [ebp - 0x3b4], 0x2252
mov dword [ebp - 0x3b0], 0x52b5
mov dword [ebp - 0x3ac], 0x4294
mov dword [ebp - 0x3a8], 0x72f7
mov dword [ebp - 0x3a4], 0x62d6
mov dword [ebp - 0x3a0], 0x9339
mov dword [ebp - 0x39c], 0x8318
mov dword [ebp - 0x398], 0xb37b
mov dword [ebp - 0x394], 0xa35a
mov dword [ebp - 0x390], 0xd3bd
mov dword [ebp - 0x38c], 0xc39c
mov dword [ebp - 0x388], 0xf3ff
mov dword [ebp - 0x384], 0xe3de
mov dword [ebp - 0x380], 0x2462
mov dword [ebp - 0x37c], 0x3443
mov dword [ebp - 0x378], 0x420
mov dword [ebp - 0x374], 0x1401
mov dword [ebp - 0x370], 0x64e6
mov dword [ebp - 0x36c], 0x74c7
mov dword [ebp - 0x368], 0x44a4
mov dword [ebp - 0x364], 0x5485
mov dword [ebp - 0x360], 0xa56a
mov dword [ebp - 0x35c], 0xb54b
mov dword [ebp - 0x358], 0x8528
mov dword [ebp - 0x354], 0x9509
mov dword [ebp - 0x350], 0xe5ee
mov dword [ebp - 0x34c], 0xf5cf
mov dword [ebp - 0x348], 0xc5ac
mov dword [ebp - 0x344], 0xd58d
mov dword [ebp - 0x340], 0x3653
mov dword [ebp - 0x33c], 0x2672
mov dword [ebp - 0x338], 0x1611
mov dword [ebp - 0x334], 0x630
mov dword [ebp - 0x330], 0x76d7
mov dword [ebp - 0x32c], 0x66f6
mov dword [ebp - 0x328], 0x5695
mov dword [ebp - 0x324], 0x46b4
mov dword [ebp - 0x320], 0xb75b
mov dword [ebp - 0x31c], 0xa77a
mov dword [ebp - 0x318], 0x9719
mov dword [ebp - 0x314], 0x8738
mov dword [ebp - 0x310], 0xf7df
mov dword [ebp - 0x30c], 0xe7fe
mov dword [ebp - 0x308], 0xd79d
mov dword [ebp - 0x304], 0xc7bc
mov dword [ebp - 0x300], 0x48c4
mov dword [ebp - 0x2fc], 0x58e5
mov dword [ebp - 0x2f8], 0x6886
mov dword [ebp - 0x2f4], 0x78a7
mov dword [ebp - 0x2f0], 0x840
mov dword [ebp - 0x2ec], 0x1861
mov dword [ebp - 0x2e8], 0x2802
mov dword [ebp - 0x2e4], 0x3823
mov dword [ebp - 0x2e0], 0xc9cc
mov dword [ebp - 0x2dc], 0xd9ed
mov dword [ebp - 0x2d8], 0xe98e
mov dword [ebp - 0x2d4], 0xf9af
mov dword [ebp - 0x2d0], 0x8948
mov dword [ebp - 0x2cc], 0x9969
mov dword [ebp - 0x2c8], 0xa90a
mov dword [ebp - 0x2c4], 0xb92b
mov dword [ebp - 0x2c0], 0x5af5
mov dword [ebp - 0x2bc], 0x4ad4
mov dword [ebp - 0x2b8], 0x7ab7
mov dword [ebp - 0x2b4], 0x6a96
mov dword [ebp - 0x2b0], 0x1a71
mov dword [ebp - 0x2ac], 0xa50
mov dword [ebp - 0x2a8], 0x3a33
mov dword [ebp - 0x2a4], 0x2a12
mov dword [ebp - 0x2a0], 0xdbfd
mov dword [ebp - 0x29c], 0xcbdc
mov dword [ebp - 0x298], 0xfbbf
mov dword [ebp - 0x294], 0xeb9e
mov dword [ebp - 0x290], 0x9b79
mov dword [ebp - 0x28c], 0x8b58
mov dword [ebp - 0x288], 0xbb3b
mov dword [ebp - 0x284], 0xab1a
mov dword [ebp - 0x280], 0x6ca6
mov dword [ebp - 0x27c], 0x7c87
mov dword [ebp - 0x278], 0x4ce4
mov dword [ebp - 0x274], 0x5cc5
mov dword [ebp - 0x270], 0x2c22
mov dword [ebp - 0x26c], 0x3c03
mov dword [ebp - 0x268], 0xc60
mov dword [ebp - 0x264], 0x1c41
mov dword [ebp - 0x260], 0xedae
mov dword [ebp - 0x25c], 0xfd8f
mov dword [ebp - 0x258], 0xcdec
mov dword [ebp - 0x254], 0xddcd
mov dword [ebp - 0x250], 0xad2a
mov dword [ebp - 0x24c], 0xbd0b
mov dword [ebp - 0x248], 0x8d68
mov dword [ebp - 0x244], 0x9d49
mov dword [ebp - 0x240], 0x7e97
mov dword [ebp - 0x23c], 0x6eb6
mov dword [ebp - 0x238], 0x5ed5
mov dword [ebp - 0x234], 0x4ef4
mov dword [ebp - 0x230], 0x3e13
mov dword [ebp - 0x22c], 0x2e32
mov dword [ebp - 0x228], 0x1e51
mov dword [ebp - 0x224], 0xe70
mov dword [ebp - 0x220], 0xff9f
mov dword [ebp - 0x21c], 0xefbe
mov dword [ebp - 0x218], 0xdfdd
mov dword [ebp - 0x214], 0xcffc
mov dword [ebp - 0x210], 0xbf1b
mov dword [ebp - 0x20c], 0xaf3a
mov dword [ebp - 0x208], 0x9f59
mov dword [ebp - 0x204], 0x8f78
mov dword [ebp - 0x200], 0x9188
mov dword [ebp - 0x1fc], 0x81a9
mov dword [ebp - 0x1f8], 0xb1ca
mov dword [ebp - 0x1f4], 0xa1eb
mov dword [ebp - 0x1f0], 0xd10c
mov dword [ebp - 0x1ec], 0xc12d
mov dword [ebp - 0x1e8], 0xf14e
mov dword [ebp - 0x1e4], 0xe16f
mov dword [ebp - 0x1e0], 0x1080
mov dword [ebp - 0x1dc], 0xa1
mov dword [ebp - 0x1d8], 0x30c2
mov dword [ebp - 0x1d4], 0x20e3
mov dword [ebp - 0x1d0], 0x5004
mov dword [ebp - 0x1cc], 0x4025
mov dword [ebp - 0x1c8], 0x7046
mov dword [ebp - 0x1c4], 0x6067
mov dword [ebp - 0x1c0], 0x83b9
mov dword [ebp - 0x1bc], 0x9398
mov dword [ebp - 0x1b8], 0xa3fb
mov dword [ebp - 0x1b4], 0xb3da
mov dword [ebp - 0x1b0], 0xc33d
mov dword [ebp - 0x1ac], 0xd31c
mov dword [ebp - 0x1a8], 0xe37f
mov dword [ebp - 0x1a4], 0xf35e
mov dword [ebp - 0x1a0], 0x2b1
mov dword [ebp - 0x19c], 0x1290
mov dword [ebp - 0x198], 0x22f3
mov dword [ebp - 0x194], 0x32d2
mov dword [ebp - 0x190], 0x4235
mov dword [ebp - 0x18c], 0x5214
mov dword [ebp - 0x188], 0x6277
mov dword [ebp - 0x184], 0x7256
mov dword [ebp - 0x180], 0xb5ea
mov dword [ebp - 0x17c], 0xa5cb
mov dword [ebp - 0x178], 0x95a8
mov dword [ebp - 0x174], 0x8589
mov dword [ebp - 0x170], 0xf56e
mov dword [ebp - 0x16c], 0xe54f
mov dword [ebp - 0x168], 0xd52c
mov dword [ebp - 0x164], 0xc50d
mov dword [ebp - 0x160], 0x34e2
mov dword [ebp - 0x15c], 0x24c3
mov dword [ebp - 0x158], 0x14a0
mov dword [ebp - 0x154], 0x481
mov dword [ebp - 0x150], 0x7466
mov dword [ebp - 0x14c], 0x6447
mov dword [ebp - 0x148], 0x5424
mov dword [ebp - 0x144], 0x4405
mov dword [ebp - 0x140], 0xa7db
mov dword [ebp - 0x13c], 0xb7fa
mov dword [ebp - 0x138], 0x8799
mov dword [ebp - 0x134], 0x97b8
mov dword [ebp - 0x130], 0xe75f
mov dword [ebp - 0x12c], 0xf77e
mov dword [ebp - 0x128], 0xc71d
mov dword [ebp - 0x124], 0xd73c
mov dword [ebp - 0x120], 0x26d3
mov dword [ebp - 0x11c], 0x36f2
mov dword [ebp - 0x118], 0x691
mov dword [ebp - 0x114], 0x16b0
mov dword [ebp - 0x110], 0x6657
mov dword [ebp - 0x10c], 0x7676
mov dword [ebp - 0x108], 0x4615
mov dword [ebp - 0x104], 0x5634
mov dword [ebp - 0x100], 0xd94c
mov dword [ebp - 0xfc], 0xc96d
mov dword [ebp - 0xf8], 0xf90e
mov dword [ebp - 0xf4], 0xe92f
mov dword [ebp - 0xf0], 0x99c8
mov dword [ebp - 0xec], 0x89e9
mov dword [ebp - 0xe8], 0xb98a
mov dword [ebp - 0xe4], 0xa9ab
mov dword [ebp - 0xe0], 0x5844
mov dword [ebp - 0xdc], 0x4865
mov dword [ebp - 0xd8], 0x7806
mov dword [ebp - 0xd4], 0x6827
mov dword [ebp - 0xd0], 0x18c0
mov dword [ebp - 0xcc], 0x8e1
mov dword [ebp - 0xc8], 0x3882
mov dword [ebp - 0xc4], 0x28a3
mov dword [ebp - 0xc0], 0xcb7d
mov dword [ebp - 0xbc], 0xdb5c
mov dword [ebp - 0xb8], 0xeb3f
mov dword [ebp - 0xb4], 0xfb1e
mov dword [ebp - 0xb0], 0x8bf9
mov dword [ebp - 0xac], 0x9bd8
mov dword [ebp - 0xa8], 0xabbb
mov dword [ebp - 0xa4], 0xbb9a
mov dword [ebp - 0xa0], 0x4a75
mov dword [ebp - 0x9c], 0x5a54
mov dword [ebp - 0x98], 0x6a37
mov dword [ebp - 0x94], 0x7a16
mov dword [ebp - 0x90], 0xaf1
mov dword [ebp - 0x8c], 0x1ad0
mov dword [ebp - 0x88], 0x2ab3
mov dword [ebp - 0x84], 0x3a92
mov dword [ebp - 0x80], 0xfd2e
mov dword [ebp - 0x7c], 0xed0f
mov dword [ebp - 0x78], 0xdd6c
mov dword [ebp - 0x74], 0xcd4d
mov dword [ebp - 0x70], 0xbdaa
mov dword [ebp - 0x6c], 0xad8b
mov dword [ebp - 0x68], 0x9de8
mov dword [ebp - 0x64], 0x8dc9
mov dword [ebp - 0x60], 0x7c26
mov dword [ebp - 0x5c], 0x6c07
mov dword [ebp - 0x58], 0x5c64
mov dword [ebp - 0x54], 0x4c45
mov dword [ebp - 0x50], 0x3ca2
mov dword [ebp - 0x4c], 0x2c83
mov dword [ebp - 0x48], 0x1ce0
mov dword [ebp - 0x44], 0xcc1
mov dword [ebp - 0x40], 0xef1f
mov dword [ebp - 0x3c], 0xff3e
xor ebx, ebx
mov dword [ebp - 0x38], 0xcf5d
mov dword [ebp - 0x34], 0xdf7c
mov dword [ebp - 0x30], 0xaf9b
mov dword [ebp - 0x2c], 0xbfba
mov dword [ebp - 0x28], 0x8fd9
mov dword [ebp - 0x24], 0x9ff8
mov dword [ebp - 0x20], 0x6e17
mov dword [ebp - 0x1c], 0x7e36
mov dword [ebp - 0x18], 0x4e55
mov dword [ebp - 0x14], 0x5e74
mov dword [ebp - 0x10], 0x2e93
mov dword [ebp - 0xc], 0x3eb2
mov dword [ebp - 8], 0xed1
mov dword [ebp - 4], 0x1ef0
xor eax, eax
movzx ecx, byte [eax + 0x10046304]
mov edx, ebx
shr edx, 8
movzx edx, dl
shl ebx, 8
xor ecx, edx
xor bx, word [ebp + ecx*4 - 0x400]
inc eax
cmp eax, 0x17
movzx ebx, bx
jl 0x10017bd8
push edi
push 2
push esi
push dword [ebp + 8]
call fcn.1001e1da
push dword [ebp + 8]
call fcn.1001e0e2
mov esi, eax
sub esi, 4
push esi
call fcn.1001a311
mov edi, eax
add esp, 0x14
test edi, edi
je 0x10017c4c
push 0
push 4
push dword [ebp + 8]
call fcn.1001e1da
push dword [ebp + 8]
push 1
push esi
push edi
call fcn.1001df28
add esp, 0x1c
cmp eax, 1
je 0x10017c50
push edi
call fcn.1001a989
pop ecx
xor eax, eax
jmp 0x10017c81
xor eax, eax
test esi, esi
jbe 0x10017c77
movzx ecx, byte [eax + edi]
mov edx, ebx
shr edx, 8
movzx edx, dl
shl ebx, 8
xor ecx, edx
xor bx, word [ebp + ecx*4 - 0x400]
inc eax
movzx ebx, bx
cmp eax, esi
jb 0x10017c56
push edi
call fcn.1001a989
pop ecx
movzx eax, bx
pop edi
pop ebx
pop esi
leave
ret 4