Function at 0x509000
Capabilities:
Encode data using xor

Disassembly:
push eax
push ecx
push edx
push ebx
push ebp
push esi
push edi
call 0x50900c
pop ecx
sub ecx, 0x8c20c
push 0
pop edi
push ecx
not dword [ecx + 0x12c]
xor dword [ecx + 0x25c], 0x526745e7
xor dword [ecx + 0x188], 0x12526070
sub dword [ecx + 0x190], 0x3e1c64c6
not dword [ecx + 0x1f0]
not dword [ecx + 0x2cc]
xor dword [ecx + 0x26c], 0x166f70d3
xor dword [ecx + 0x224], 0x2aec6c95
add dword [ecx + 0x10], 0x2ac0246d
sub dword [ecx + 0x7c], 0x54266239
sub dword [ecx + 0x20c], 0x473d28e0
sub dword [ecx + 0x58], 0x31d71b6f
xor dword [ecx + 0x3f8], 0x777040fe
sub dword [ecx + 0xbc], 0x4b0f0228
xor dword [ecx + 0x358], 0x45fd004f
sub dword [ecx + 0x244], 0x74962b54
sub dword [ecx + 0xa0], 0x7e942983
add dword [ecx + 0x2ec], 0x6c9849b6
sub dword [ecx + 0x1e8], 0x48441d34
not dword [ecx + 0x2e8]
sub dword [ecx + 0x2bc], 0x90321ce
xor dword [ecx + 0x35c], 0x58cd7e76
xor dword [ecx + 0x3b0], 0x258900e3
add dword [ecx + 8], 0x281b5eff
not dword [ecx + 0x8c]
add dword [ecx + 0x2d0], 0x6ec7a0c
xor dword [ecx + 0xf4], 0x510cb5
sub dword [ecx + 0x39c], 0x215906b6
sub dword [ecx + 0x370], 0x18956110
add dword [ecx + 0x308], 0x59ea7381
xor dword [ecx + 0x284], 0x71b013c2
not dword [ecx + 0x3a4]
sub dword [ecx + 0x314], 0x638e53ab
sub dword [ecx + 0xec], 0x188a71ce
sub dword [ecx + 0x36c], 0x7eb6545c
not dword [ecx + 0x3f0]
sub dword [ecx + 0x250], 0x1a2c7a84
xor dword [ecx + 0x330], 0x126b7ad5
xor dword [ecx + 0x340], 0x6f5045b7
add dword [ecx + 0xf8], 0x698c4568
not dword [ecx + 0x1b8]
sub dword [ecx + 0x2f0], 0x55560ec3
not dword [ecx + 0x20]
sub dword [ecx + 0x24], 0x10934b21
sub dword [ecx + 0x11c], 0xc5c3266
sub dword [ecx + 0x398], 0x84c1b23
sub dword [ecx + 0x288], 0x58c50e62
not dword [ecx + 0x1c4]
add dword [ecx + 0x230], 0x3a5f12ea
xor dword [ecx + 0x134], 0x1daa5419
xor dword [ecx + 0x240], 0x69b7ba9
not dword [ecx + 0x38c]
add dword [ecx + 0x1c8], 0x2af7358d
not dword [ecx + 0x1b0]
sub dword [ecx + 0x1d0], 0x189b5ead
xor dword [ecx + 0xd8], 0xc427259
not dword [ecx + 0x44]
sub dword [ecx + 0x13c], 0x17a7122
not dword [ecx + 0x174]
sub dword [ecx + 0x218], 0x12277ae4
sub dword [ecx + 0x3f4], 0x4a195b5e
sub dword [ecx + 0x310], 0xd146400
add dword [ecx + 0x6c], 0x230a2508
sub dword [ecx + 0x1c0], 0x5742176c
add dword [ecx + 0x264], 0x5ebb3d25
xor dword [ecx + 0x120], 0x1d653b3d
not dword [ecx + 0x248]
sub dword [ecx + 0x1d8], 0x2f7e024d
add dword [ecx + 0x210], 0x6baf7f92
add dword [ecx + 0x3d4], 0x56b35184
xor dword [ecx + 0x170], 0x1c026ee2
add dword [ecx + 0x380], 0xb8239b1
xor dword [ecx + 0x60], 0x57f85bff
add dword [ecx + 0x194], 0x3c743339
add dword [ecx + 0x368], 0x1d880d91
not dword [ecx + 0x378]
sub dword [ecx + 0x40], 0x3c1a4e3f
sub dword [ecx + 4], 0x23fe792d
not dword [ecx + 0x1cc]
sub dword [ecx + 0x78], 0x3c6f015e
add dword [ecx + 0x1d4], 0x22b57e52
add dword [ecx + 0x300], 0x3c3410b
add dword [ecx + 0x34], 0x3daa79b5
add dword [ecx + 0x124], 0x708e136b
not dword [ecx + 0x1a8]
not dword [ecx + 0x388]
not dword [ecx + 0x298]
xor dword [ecx + 0x328], 0x2bb92c8b
sub dword [ecx + 0x3e0], 0x57c7612e
xor dword [ecx + 0x3b4], 0x6f4d5e7c
add dword [ecx + 0x3d0], 0x74565e0d
not dword [ecx + 0x280]
not dword [ecx + 0x28]
xor dword [ecx + 0xc], 0x2dd361ac
sub dword [ecx + 0x168], 0x3a771c2
xor dword [ecx + 0x144], 0x6e485e44
not dword [ecx + 0x268]
sub dword [ecx + 0x3cc], 0x64bf7339
add dword [ecx + 0x334], 0x2b240162
sub dword [ecx + 0xcc], 0x3c7102e5
sub dword [ecx + 0x2a8], 0x32c74255
not dword [ecx + 0xd4]
xor dword [ecx + 0xb8], 0x44257828
xor dword [ecx + 0x2fc], 0x37605e86
not dword [ecx + 0xd0]
add dword [ecx + 0x164], 0xbef6db5
not dword [ecx + 0x18c]
not dword [ecx + 0xb0]
not dword [ecx + 0x2dc]
add dword [ecx + 0x3fc], 0x37105507
xor dword [ecx + 0xc8], 0x682723fa
not dword [ecx + 0x1a4]
not dword [ecx + 0xfc]
add dword [ecx + 0x344], 0x24fe395a
add dword [ecx + 0x2d4], 0x45090af9
xor dword [ecx + 0x48], 0x12b51caa
xor dword [ecx + 0x304], 0x9554c4b
sub dword [ecx + 0x14], 0x3f911fca
add dword [ecx + 0x384], 0x13b40255
sub dword [ecx + 0x31c], 0x4caa6d2d
sub dword [ecx + 0x10c], 0x5cc033b3
xor dword [ecx + 0x150], 0x56a0150e
not dword [ecx + 0x158]
not dword [ecx + 0x2f8]
not dword [ecx + 0x2b4]
sub dword [ecx + 0x38], 0x3b6f34b1
add dword [ecx + 0x198], 0x6927554b
not dword [ecx + 0x5c]
not dword [ecx]
sub dword [ecx + 0x23c], 0x5b3c0d5d
xor dword [ecx + 0x3ac], 0x7f9375e8
add dword [ecx + 0x28c], 0x2f9e2c60
xor dword [ecx + 0x27c], 0x28245707
sub dword [ecx + 0x18], 0x5f7801e5
add dword [ecx + 0x324], 0x5b6c4d5e
xor dword [ecx + 0x1e0], 0x2d306361
sub dword [ecx + 0x148], 0x752058de
add dword [ecx + 0xc0], 0x31194baf
not dword [ecx + 0x110]
add dword [ecx + 0x3a0], 0xde52cfc
sub dword [ecx + 0x2c4], 0x5acb23cc
xor dword [ecx + 0xe4], 0x2f04361f
not dword [ecx + 0x2ac]
add dword [ecx + 0x3ec], 0x98371de
xor dword [ecx + 0x208], 0x475a741a
xor dword [ecx + 0x1dc], 0x157704d4
not dword [ecx + 0x184]
xor dword [ecx + 0x14c], 0x43782b23
sub dword [ecx + 0x160], 0x75a10771
not dword [ecx + 0x2f4]
add dword [ecx + 0xb4], 0x3b3e2fd6
add dword [ecx + 0x1ac], 0x292541a0
sub dword [ecx + 0xe0], 0x51ec4af8
xor dword [ecx + 0x1ec], 0x3857c9b
add dword [ecx + 0x104], 0x627118c5
xor dword [ecx + 0xe8], 0x565e3149
xor dword [ecx + 0x290], 0x142528d2
not dword [ecx + 0x2c]
add dword [ecx + 0x364], 0x489a73e4
add dword [ecx + 0x15c], 0x65bd6119
add dword [ecx + 0x260], 0x76b054c1
add dword [ecx + 0x9c], 0x47cc6192
not dword [ecx + 0x234]
xor dword [ecx + 0x2e4], 0x5f8c66ae
not dword [ecx + 0x3e8]
not dword [ecx + 0x258]
xor dword [ecx + 0x394], 0xc445da6
sub dword [ecx + 0x17c], 0x28cb2593
add dword [ecx + 0x2b0], 0x8e53baa
add dword [ecx + 0x360], 0x1be303b0
add dword [ecx + 0x80], 0x8d85fca
xor dword [ecx + 0x90], 0x213c40ab
not dword [ecx + 0x274]
xor dword [ecx + 0x1bc], 0x30775c56
add dword [ecx + 0x1c], 0x2567571b
not dword [ecx + 0x390]
not dword [ecx + 0x1a0]
add dword [ecx + 0x118], 0x6e442468
add dword [ecx + 0x21c], 0x38dd3d81
xor dword [ecx + 0x1e4], 0x2aaf606f
sub dword [ecx + 0x2a4], 0xc2c741a
add dword [ecx + 0x19c], 0x414e7a2d
add dword [ecx + 0xa4], 0x70806416
not dword [ecx + 0x3c]
add dword [ecx + 0x94], 0x7e6660f
not dword [ecx + 0x180]
xor dword [ecx + 0x254], 0x1ff05a15
not dword [ecx + 0x270]
not dword [ecx + 0xf0]
not dword [ecx + 0x3d8]
add dword [ecx + 0x3c0], 0x1edb1978
xor dword [ecx + 0x178], 0x599919e2
xor dword [ecx + 0x320], 0x40a111a9
xor dword [ecx + 0x3b8], 0x5e4368c0
not dword [ecx + 0x204]
xor dword [ecx + 0x200], 0x25845441
xor dword [ecx + 0x2c0], 0x1398296f
sub dword [ecx + 0x278], 0x19e31707
not dword [ecx + 0x2e0]
sub dword [ecx + 0x2a0], 0x680a5030
xor dword [ecx + 0x34c], 0x6b475c60
not dword [ecx + 0x348]
not dword [ecx + 0x64]
xor dword [ecx + 0x29c], 0x493e54f9
add dword [ecx + 0x16c], 0x7f2133f7
not dword [ecx + 0x74]
xor dword [ecx + 0x1f8], 0x256e1684
sub dword [ecx + 0x138], 0x36df19b3
add dword [ecx + 0x130], 0x37f436c8
sub dword [ecx + 0x37c], 0xbf16353
add dword [ecx + 0x22c], 0x4e763e2b
not dword [ecx + 0xdc]
sub dword [ecx + 0x50], 0x70c269a
add dword [ecx + 0x98], 0xba74f83
sub dword [ecx + 0x3bc], 0x1e730f4f
xor dword [ecx + 0x1fc], 0x5105313e
sub dword [ecx + 0x3c8], 0x51ea4e96
sub dword [ecx + 0x108], 0x1a55132e
sub dword [ecx + 0x24c], 0x360068b7
add dword [ecx + 0xac], 0x68cb3108
not dword [ecx + 0x32c]
sub dword [ecx + 0x228], 0x388630a4
xor dword [ecx + 0x3dc], 0x5eb37722
add dword [ecx + 0x1b4], 0x2ae519d7
xor dword [ecx + 0x3e4], 0x195c2f9d
not dword [ecx + 0x30c]
not dword [ecx + 0x374]
xor dword [ecx + 0x68], 0x62133091
xor dword [ecx + 0x2d8], 0x78e10089
xor dword [ecx + 0x220], 0x5408589c
sub dword [ecx + 0x3a8], 0x57b4287d
not dword [ecx + 0x2b8]
add dword [ecx + 0x100], 0xda25dac
add dword [ecx + 0x154], 0x465f2f57
xor dword [ecx + 0x318], 0x49e25b18
add dword [ecx + 0xc4], 0x153f31fe
add dword [ecx + 0x238], 0x9bf11e6
not dword [ecx + 0x33c]
sub dword [ecx + 0x54], 0x8845a5c
not dword [ecx + 0x114]
not dword [ecx + 0x128]
xor dword [ecx + 0x70], 0x1a323e23
sub dword [ecx + 0x88], 0x340a501b
add dword [ecx + 0x214], 0x269e7acd
add dword [ecx + 0x3c4], 0x69a859d6
sub dword [ecx + 0x338], 0x1ace7b09
add dword [ecx + 0x354], 0x3cf74d56
add dword [ecx + 0xa8], 0x2770e80
sub dword [ecx + 0x2c8], 0x1aa3632b
not dword [ecx + 0x140]
add dword [ecx + 0x30], 0x266a32b1
sub dword [ecx + 0x4c], 0x5f152e5
sub dword [ecx + 0x1f4], 0x3d462a08
add dword [ecx + 0x350], 0x5e7252bc
add dword [ecx + 0x84], 0x110617d4
not dword [ecx + 0x294]
add edi, 0x400
add ecx, 0x400
cmp edi, 0x8c000
jne 0x509017
call fcn.004c6d54
pop edi
pop esi
pop ebp
pop ebx
pop edx
pop ecx
pop eax