Function at 0x1005ee00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
je 0x1005f1a2
mov eax, dword [0x100bee54]
add eax, dword [0x100bee58]
add eax, 0x1232d1c7
or eax, 0xe9813cf3
xor eax, 0x3d55cf0e
sub eax, 0xf9295d5
imul eax, eax, 0xdc98c426
xor eax, 0xb1eaef66
and eax, 0xd6e2a495
sub eax, 0xc9ded464
or eax, 0xb0db27cb
and eax, 0x776d79f0
or eax, 0xa62200be
xor eax, 0xe69ab365
sub eax, 0x6d744a46
mov ecx, 0x934f2f23
xor edx, edx
div ecx
or eax, 0x54a479ac
and eax, 0x1570eb18
imul eax, eax, 0x65b1db93
or eax, 0xc90041ad
xor eax, 0x92bb49f
add eax, 0xec022600
mov ecx, 0x1450e46f
xor edx, edx
div ecx
mov ecx, 0x81b1799e
xor edx, edx
div ecx
and eax, 0x82f75a27
imul eax, eax, 0x4a16c255
and eax, 0xf5c12b4d
imul eax, eax, 0xdb54096f
sub eax, 0xdb95ae5f
and eax, 0xb1ef8899
mov ecx, 0x706d7f65
xor edx, edx
div ecx
or eax, 0xf77d548c
xor eax, 0xe818b6ca
mov ecx, 0x6af25e3e
xor edx, edx
div ecx
sub eax, 0x107bb5e2
imul eax, eax, 0x49f794f4
or eax, 0xd0d5f09
sub eax, 0xc64f745f
xor eax, 0x2fde879d
imul eax, eax, 0xb6495184
or eax, 0x6a6ae4bd
and eax, 0x531cb4b4
xor eax, 0x38d2eefb
xor eax, 0xa50d85f4
sub eax, 0xd48a4466
mov ecx, 0xd3808ed2
xor edx, edx
div ecx
xor eax, 0xa7e4607
imul eax, eax, 0x9c6d4cdb
and eax, 0x1937c2fa
xor eax, 0x649467a8
and eax, 0x1d6d442d
sub eax, 0xf438730a
imul eax, eax, 0x9a7bbaa0
mov ecx, 0x573e6f81
xor edx, edx
div ecx
or eax, 0x27c59e8a
sub eax, 0xb96e820d
imul eax, eax, 0xdbf6b418
imul eax, eax, 0x1aeafd50
sub eax, 0x4001011a
add eax, 0x5378b34
or eax, 0xf4517ef9
add eax, 0xa307f3e7
xor eax, 0xca11f1a0
and eax, 0x5c566e8f
xor eax, 0xac3cbd4a
xor eax, 0x55001617
mov ecx, 0xa4bc3083
xor edx, edx
div ecx
imul eax, eax, 0x542c11bc
add eax, 0x8bf01f0e
sub eax, 0xeedb4073
imul eax, eax, 0x35ae21f
and eax, 0x651c93d
sub eax, 0xb0e7a535
imul eax, eax, 0x44c3f0f1
cmp eax, 0x9912d67a
jae 0x1005f1aa
mov ecx, dword [ebp - 0x10]
mov eax, dword [str.wS]
sub eax, dword [0x100bee60]
or eax, 0xc039f176
add eax, 0xc158b360
imul eax, eax, 0xcd702248
add eax, 0x9b6d5a3b
xor eax, 0xd3c0fde7
add eax, 0x422e98d4
add eax, 0x17a19a92
add eax, 0xc1b679b7
sub eax, 0xa49bf338
sub eax, 0x1b0b0d21
imul eax, eax, 0x3f05d821
and eax, 0xd6dc002f
imul eax, eax, 0xefa874c4
and eax, 0x1d5a2b2a
imul eax, eax, 0x6cf46e1b
and eax, 0x1e997656
mov esi, 0x7d436f54
xor edx, edx
div esi
sub eax, 0x951ca5a3
and eax, 0x17852b17
or eax, 0x59c693ff
add eax, 0x478c68d0
add eax, 0xbf333bba
add eax, 0xcd30ceb1
mov esi, 0x3f7ebb00
xor edx, edx
div esi
sub eax, 0x597f8bbe
or eax, 0x94da810d
add eax, 0xe8e61831
sub eax, 0x1a7c20da
or eax, 0x7d98b63e
sub eax, 0xfc6011e7
mov esi, 0xa2ffa216
xor edx, edx
div esi
imul eax, eax, 0x6087a176
xor eax, 0x3ce0bc6e
sub eax, 0x783fee7e
xor eax, 0x782da5bb
or eax, 0xc151eeb8
and eax, 0x2a589970
sub eax, 0x66240a30
or eax, 0xefed4c66
sub eax, 0x860d4e3b
add eax, 0x691adab5
sub eax, 0x2a77020d
xor eax, 0x3d44a4d5
sub eax, 0x236bff7c
mov esi, 0xdd555a18
xor edx, edx
div esi
imul eax, eax, 0xc139798f
imul eax, eax, 0x33322386
mov esi, 0xd5e52862
xor edx, edx
div esi
imul eax, eax, 0x635761b1
add eax, 0x7aa187ff
xor eax, 0x3f271255
xor eax, 0xf0c226eb
and eax, 0xf2bf9644
or eax, 0x46f9059c
add eax, 0x917ceced
add eax, 0xfe9d1cf8
and eax, 0x340468e9
mov esi, 0xffeac08e
xor edx, edx
div esi
mov esi, 0x32b079f9
xor edx, edx
div esi
xor eax, 0x140ab3e7
mov esi, 0x286e492f
xor edx, edx
div esi
add eax, 0x53501013
add eax, 0x5fb7533e
and eax, 0xbfc4a153
xor eax, 0x839b3014
xor eax, 0xabb549eb
add eax, 0x9640b528
or eax, 0xd6fc44ee
imul eax, eax, 0x2594bdaf
or eax, 0xfc376588
and eax, 0x23979f0f
sub eax, 0x13f6f618
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + 4]
xor edx, edx
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
sub esp, 0xc
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
cmp eax, 0x899026d1
ja 0x1005efc8
jmp 0x1005f1a2
add esp, 0x1c
pop esi
pop ebp
ret 4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + 4]
xor edx, edx
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
sub esp, 0xc
mov dword [ebp - 0xc], eax
jmp 0x1005efc8