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 ebx
sub ebx, 0x8c20c
push 0
pop ecx
push ebx
sub dword [ebx + 0x39c], 0x46bc0306
not dword [ebx + 0x374]
sub dword [ebx + 0x204], 0x2b634637
sub dword [ebx + 0x35c], 0x55594d19
add dword [ebx + 0x6c], 0x71df36cd
xor dword [ebx + 0x24], 0x168c54d9
not dword [ebx + 0x18c]
not dword [ebx + 0x3b0]
sub dword [ebx + 0x320], 0x76e0411e
xor dword [ebx + 0x60], 0x29cf1595
not dword [ebx + 0x9c]
add dword [ebx + 0x194], 0x4f1a7f8e
add dword [ebx + 0x200], 0x1c69128f
sub dword [ebx + 0x2f0], 0x6e6c7df9
xor dword [ebx + 0x1c0], 0x6c80797e
xor dword [ebx + 0xf8], 0x5e9f0911
not dword [ebx + 0x23c]
sub dword [ebx + 0xec], 0x110e1862
xor dword [ebx + 0x210], 0x64c16bf9
not dword [ebx + 0x310]
sub dword [ebx + 0xd0], 0x43092333
xor dword [ebx + 0x2e8], 0x6eee6ad9
xor dword [ebx + 0x1e4], 0x3145002e
not dword [ebx + 0x280]
sub dword [ebx + 0x300], 0x175f0e6b
not dword [ebx + 0xdc]
xor dword [ebx + 0x3ac], 0x66662f8e
sub dword [ebx + 0x358], 0x40da342e
sub dword [ebx + 0x10c], 0x329a0bd0
sub dword [ebx + 0x380], 0x6e516f7c
add dword [ebx + 0x108], 0x15615edc
add dword [ebx + 0xc], 0x5ba82de1
not dword [ebx + 0x2c4]
sub dword [ebx + 0x388], 0x43a41740
sub dword [ebx + 0x170], 0x6c393d37
not dword [ebx + 0x3d4]
not dword [ebx + 0x2e4]
sub dword [ebx + 0x160], 0x48630a87
add dword [ebx + 0x230], 0x46592b08
sub dword [ebx + 0x190], 0x7c742963
add dword [ebx + 0x110], 0x7b083aee
add dword [ebx + 0x338], 0x40e22d15
sub dword [ebx + 0x54], 0x1d976db
sub dword [ebx + 0xa4], 0x7d63441b
not dword [ebx + 0x90]
xor dword [ebx + 0x188], 0x3d280d87
add dword [ebx + 0x2f8], 0x7cb366b7
add dword [ebx + 0xf4], 0x597234fc
sub dword [ebx + 0x288], 0x2fb049cb
not dword [ebx + 0x318]
sub dword [ebx + 0x25c], 0x774f16c2
sub dword [ebx + 0x224], 0x5c02917
not dword [ebx + 0x12c]
sub dword [ebx + 0x2a8], 0x1f0f12b8
xor dword [ebx + 0x128], 0x6f9d2284
sub dword [ebx + 0x2b8], 0x72f83af8
xor dword [ebx + 0x3dc], 0x16806eae
not dword [ebx + 0x20]
add dword [ebx + 0x1b0], 0x32614711
xor dword [ebx + 0x2b0], 0x21a7004d
add dword [ebx + 0x154], 0x14aa634d
xor dword [ebx + 0x2ac], 0x30b749fe
add dword [ebx + 0x278], 0x775b49f4
sub dword [ebx + 0x38c], 0x7b3b4404
add dword [ebx + 0x58], 0x3af85e96
xor dword [ebx + 0x19c], 0x3fe53e1a
not dword [ebx + 0x398]
sub dword [ebx + 0x3e0], 0x112b0668
xor dword [ebx + 0x1dc], 0x4d3c7110
xor dword [ebx + 0x238], 0x71c62d08
sub dword [ebx + 0x3a4], 0x31972f00
add dword [ebx + 0x100], 0x383958c6
add dword [ebx + 0x360], 0x5a957fbe
sub dword [ebx + 0x3c0], 0x422c30cc
not dword [ebx + 0x394]
sub dword [ebx + 0x2b4], 0x3ebc7bba
not dword [ebx + 0x3e4]
add dword [ebx + 0x33c], 0x3d8a1c33
not dword [ebx + 0x228]
sub dword [ebx + 0x1f4], 0x3ddd3470
add dword [ebx + 0x248], 0x16161265
not dword [ebx + 0x2a4]
xor dword [ebx + 0x10], 0x2af25b01
xor dword [ebx + 0x24c], 0x655316c4
sub dword [ebx + 0x174], 0x5d9a615a
add dword [ebx + 0x1b8], 0x2d94132e
sub dword [ebx + 0xe0], 0x40771df
add dword [ebx + 0x22c], 0xdd70ad
not dword [ebx + 0x270]
xor dword [ebx + 0x30c], 0x4b9c2cf9
add dword [ebx + 0xe4], 0x2ae15c3d
not dword [ebx + 0x3fc]
add dword [ebx + 0x2a0], 0x6d0729d5
add dword [ebx + 0xb4], 0x535442d8
sub dword [ebx + 0x3b4], 0x34d86ddd
add dword [ebx + 0x350], 0x671275fc
add dword [ebx + 0x240], 0x44ee12b0
sub dword [ebx + 0x370], 0x39d7ee8
add dword [ebx + 0x78], 0x48683e43
xor dword [ebx + 0xb0], 0x2a960fac
sub dword [ebx + 0x1a8], 0x64420900
add dword [ebx + 0xcc], 0x37ea1a5d
add dword [ebx + 0x168], 0x4df82087
not dword [ebx + 0x1cc]
sub dword [ebx + 0x50], 0x1b6d5718
xor dword [ebx + 0x31c], 0x40622437
add dword [ebx + 0x2d0], 0x3de75fa6
add dword [ebx + 0xbc], 0x50c400b
xor dword [ebx + 0xd4], 0x323b6c0c
not dword [ebx + 0x140]
sub dword [ebx + 0x94], 0x1ca6783d
xor dword [ebx + 8], 0x55b4717a
xor dword [ebx + 0x244], 0x2506206b
not dword [ebx + 0x218]
add dword [ebx + 0x354], 0x1dc7515e
xor dword [ebx + 0x32c], 0x28dd7ea2
xor dword [ebx + 0x21c], 0x198e1839
not dword [ebx + 0x20c]
sub dword [ebx + 0x1d0], 0x3c3f4b55
add dword [ebx + 0x18], 0x7ef27388
add dword [ebx + 0x1f8], 0x6e6046d2
sub dword [ebx + 0x258], 0x529732f9
xor dword [ebx + 0x1a0], 0x5df473a2
xor dword [ebx + 0x340], 0x5acd7fff
sub dword [ebx + 0x37c], 0x16ed0f09
not dword [ebx + 0x390]
xor dword [ebx + 0x130], 0x3f48168f
add dword [ebx + 0x3c4], 0x66d13dbd
sub dword [ebx + 0x1ec], 0x166c58cd
add dword [ebx + 0x8c], 0x233e186f
sub dword [ebx + 0xb8], 0x71505f58
sub dword [ebx + 0x98], 0x36da4dcb
add dword [ebx + 0x26c], 0x7eca2193
add dword [ebx + 0x2d8], 0x3e1649e9
sub dword [ebx + 0x15c], 0x54560a65
sub dword [ebx + 0x1d4], 0x3f7e1fd8
xor dword [ebx + 0x2d4], 0xbb409a8
add dword [ebx + 0x208], 0x4bdb164f
xor dword [ebx + 0x290], 0x51664387
not dword [ebx + 0x68]
not dword [ebx + 0x268]
not dword [ebx + 0x3a8]
add dword [ebx + 0x1fc], 0x142e2d51
not dword [ebx + 0x5c]
not dword [ebx + 0x3bc]
not dword [ebx + 0x368]
not dword [ebx + 0x324]
add dword [ebx + 0x114], 0x1e84524f
add dword [ebx + 0x34c], 0x261a7582
not dword [ebx + 0x48]
xor dword [ebx + 0x27c], 0x54dc32ff
not dword [ebx + 0x254]
add dword [ebx + 0x2fc], 0x4a933e6a
not dword [ebx + 0x64]
add dword [ebx + 0x164], 0x50275f7a
xor dword [ebx + 0x13c], 0x28d950cf
add dword [ebx + 0x148], 0x552304b0
xor dword [ebx + 0x2ec], 0x786732ae
sub dword [ebx + 0xf0], 0x2e62437f
sub dword [ebx + 0x3d8], 0x2f9d4add
sub dword [ebx + 0x1c], 0x26cb059b
sub dword [ebx + 0x304], 0x16712a8
not dword [ebx + 0x3d0]
sub dword [ebx + 0x1c8], 0x76d96f96
sub dword [ebx + 0x3e8], 0x526f3a6a
not dword [ebx + 0xac]
xor dword [ebx + 0xfc], 0x4f92294b
not dword [ebx + 0x384]
add dword [ebx + 0x4c], 0x4a340025
add dword [ebx + 0x314], 0x60a34289
add dword [ebx + 0x134], 0x31f05fb0
sub dword [ebx + 0x1c4], 0x7a712223
add dword [ebx + 0x274], 0x51920674
xor dword [ebx + 0xc4], 0x113b4883
add dword [ebx + 0x38], 0x2dce492e
xor dword [ebx + 0x2c0], 0x3e0b6e14
xor dword [ebx + 0x364], 0x701d6c4d
not dword [ebx + 0x3c]
sub dword [ebx + 0x34], 0x774f4fe3
sub dword [ebx + 0x348], 0x12053e1c
sub dword [ebx + 0xc8], 0x4bc6b19
not dword [ebx + 0x36c]
not dword [ebx + 0x1f0]
not dword [ebx + 0x44]
sub dword [ebx + 0x7c], 0x2c742002
add dword [ebx + 0x3b8], 0x2f3c0777
not dword [ebx + 0x214]
add dword [ebx + 0x1d8], 0x6da62a43
xor dword [ebx + 0x28], 0x4fbf4a53
add dword [ebx + 0x3ec], 0x7fbf0dc6
add dword [ebx + 0x2f4], 0x641333a0
xor dword [ebx + 0xa8], 0x45da5cd2
not dword [ebx + 0x11c]
sub dword [ebx + 0x330], 0x4ec338b8
not dword [ebx + 0x70]
not dword [ebx + 0x3a0]
xor dword [ebx + 0xd8], 0x488f132a
xor dword [ebx + 0x158], 0x428b7eb1
add dword [ebx + 0x378], 0x701e1734
not dword [ebx]
xor dword [ebx + 0x2dc], 0x5b266df2
xor dword [ebx + 0x1ac], 0x303575b4
sub dword [ebx + 0x220], 0x12b67d1e
xor dword [ebx + 0x3f0], 0x5d05f40
add dword [ebx + 0x3c8], 0x5b273834
xor dword [ebx + 0x234], 0x104c63e9
not dword [ebx + 0x17c]
xor dword [ebx + 0x198], 0x64016f1f
sub dword [ebx + 0x344], 0x715e3180
add dword [ebx + 0x2c8], 0x631227b4
sub dword [ebx + 0x84], 0x8ec3d53
sub dword [ebx + 0x260], 0x73657a55
sub dword [ebx + 0x178], 0x340a7739
xor dword [ebx + 0x138], 0x5aaa1150
sub dword [ebx + 0x40], 0x25957b9c
sub dword [ebx + 0x1bc], 0x6d345e23
sub dword [ebx + 0x144], 0x167575be
add dword [ebx + 0x118], 0x224d61f5
xor dword [ebx + 0x1a4], 0x64257e82
add dword [ebx + 0xe8], 0x25eb4163
not dword [ebx + 0x1b4]
sub dword [ebx + 0x3f8], 0x7556982
xor dword [ebx + 0x294], 0x71d26c73
sub dword [ebx + 0x284], 0x2c764db5
not dword [ebx + 0x334]
xor dword [ebx + 0x16c], 0x20366d65
sub dword [ebx + 0x150], 0x60d263aa
not dword [ebx + 0xc0]
add dword [ebx + 0x1e8], 0x3e0206c2
add dword [ebx + 4], 0x44e01c7e
xor dword [ebx + 0x124], 0x1a4e62c0
add dword [ebx + 0x2e0], 0x25fb782a
sub dword [ebx + 0x29c], 0x1e302e1b
sub dword [ebx + 0x184], 0x48554378
not dword [ebx + 0x104]
add dword [ebx + 0x28c], 0x643c3e99
xor dword [ebx + 0x328], 0x27a73523
add dword [ebx + 0x250], 0xc9410b
not dword [ebx + 0x2c]
not dword [ebx + 0x1e0]
not dword [ebx + 0xa0]
xor dword [ebx + 0x2cc], 0x74de7e0b
sub dword [ebx + 0x14c], 0x46f144e5
xor dword [ebx + 0x298], 0x491154d0
add dword [ebx + 0x74], 0x4e0d5b1c
xor dword [ebx + 0x2bc], 0x69f5685d
sub dword [ebx + 0x180], 0x72740f14
add dword [ebx + 0x30], 0x15d25c8e
not dword [ebx + 0x3cc]
not dword [ebx + 0x264]
add dword [ebx + 0x120], 0x68c93a09
sub dword [ebx + 0x88], 0x6a4d0db5
xor dword [ebx + 0x80], 0x44bf5d4d
add dword [ebx + 0x14], 0x2d293020
xor dword [ebx + 0x308], 0x5ae14c93
xor dword [ebx + 0x3f4], 0x76d4244c
add ecx, 0x400
add ebx, 0x400
cmp ecx, 0x8c000
jne 0x509017
call fcn.004c6d54
pop edi
pop esi
pop ebp
pop ebx
pop edx
pop ecx
pop eax