Function at 0x10008e60
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1001c808]
test eax, eax
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edx + 2]
mov ecx, 1
mov dword [ebp - 4], edi
cmove eax, ecx
xor ebx, ebx
mov dword [0x1001c808], eax
mov eax, edi
mov dword [edi + 0x200], 0xa
movzx edx, byte [esi - 2]
lea esi, [esi + 4]
movzx ecx, byte [esi - 5]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi - 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi - 3]
shl edx, 8
or edx, ecx
mov dword [edi + ebx*4], edx
inc ebx
cmp ebx, 4
jl 0x10008e93
mov ecx, dword [edi + 0x200]
sub ecx, 0xa
je 0x100099a2
sub ecx, 2
je 0x1000955f
sub ecx, 2
jne 0x10009dd0
mov ecx, dword [edi + 0x1c]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov esi, dword [edi + 0xc]
mov dword [ebp - 0xc], ecx
movzx edx, byte [eax + str.cw]
mov eax, ecx
shr eax, 8
xor edx, 1
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
xor edx, eax
movzx eax, cl
shl edx, 8
movzx eax, byte [eax + str.cw]
xor edx, eax
mov eax, ecx
shr eax, 0x18
mov ecx, dword [edi + 4]
shl edx, 8
movzx eax, byte [eax + str.cw]
xor edx, eax
xor edx, dword [edi]
xor ecx, edx
mov dword [edi + 0x20], edx
mov dword [ebp - 0x10], edx
mov edx, dword [edi + 8]
xor edx, ecx
mov dword [edi + 0x24], ecx
xor esi, edx
mov dword [edi + 0x28], edx
mov eax, esi
mov dword [edi + 0x2c], esi
shr eax, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 4]
movzx ebx, byte [eax + str.cw]
mov eax, esi
shr eax, 0x10
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, esi
shr eax, 8
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
movzx eax, byte [edi + 0x2c]
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, dword [ebp - 4]
xor ebx, dword [edi + 0x10]
mov dword [edi + 0x30], ebx
mov edi, dword [edi + 0x14]
xor edi, ebx
mov dword [ebp - 0x18], ebx
mov ebx, dword [eax + 0x18]
mov dword [eax + 0x34], edi
xor ebx, edi
mov dword [eax + 0x38], ebx
mov eax, dword [ebp - 0xc]
xor eax, ebx
mov dword [ebp - 0xc], eax
mov dword [ecx + 0x3c], eax
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + str.cw]
xor eax, 2
shl eax, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
movzx eax, byte [eax + str.cw]
xor dword [ebp - 8], eax
shl dword [ebp - 8], 8
mov eax, ecx
movzx eax, byte [eax + 0x3c]
movzx eax, byte [eax + str.cw]
xor dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
shr eax, 0x18
shl dword [ebp - 8], 8
movzx eax, byte [eax + str.cw]
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ecx + 0x40], eax
mov dword [ebp - 8], eax
xor eax, dword [ebp - 0x14]
mov dword [ecx + 0x44], eax
mov ecx, eax
mov dword [ebp - 0x14], eax
xor ecx, edx
mov eax, dword [ebp - 4]
mov edx, ecx
xor edx, esi
mov dword [ebp - 0x10], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], edx
mov eax, edx
shr eax, 0x18
movzx esi, byte [eax + str.cw]
mov eax, edx
shr eax, 0x10
movzx eax, al
shl esi, 8
movzx eax, byte [eax + str.cw]
xor esi, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + str.cw]
xor esi, eax
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax + 0x4c]
movzx eax, byte [eax + str.cw]
xor esi, eax
mov eax, dword [ebp - 4]
xor esi, dword [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [eax + 0x50], esi
xor esi, edi
mov dword [eax + 0x54], esi
mov edi, esi
xor edi, ebx
mov dword [eax + 0x58], edi
mov ebx, edi
xor ebx, dword [ebp - 0xc]
mov dword [eax + 0x5c], ebx
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + str.cw]
xor eax, 4
shl eax, 8
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, 8
movzx eax, al
movzx eax, byte [eax + str.cw]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0xc], 8
movzx eax, byte [eax + 0x5c]
movzx eax, byte [eax + str.cw]
xor dword [ebp - 0xc], eax
mov eax, ebx
shl dword [ebp - 0xc], 8
shr eax, 0x18
movzx eax, byte [eax + str.cw]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], eax
xor eax, dword [ebp - 0x14]
mov dword [ecx + 0x64], eax
mov dword [ebp - 0x14], eax
xor eax, dword [ebp - 0x10]
mov dword [ecx + 0x68], eax
mov ecx, eax
mov dword [ebp - 0x10], eax
xor ecx, edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x6c], ecx
mov eax, ecx
shr eax, 0x18
movzx edx, byte [eax + str.cw]
mov eax, ecx
shr eax, 0x10
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
xor edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
xor edx, eax
mov eax, dword [ebp - 4]
shl edx, 8
movzx eax, byte [eax + 0x6c]
movzx eax, byte [eax + str.cw]
xor edx, eax
mov eax, dword [ebp - 4]
xor edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
mov dword [eax + 0x70], edx
xor edx, esi
mov dword [eax + 0x74], edx
mov esi, edx
xor esi, edi
mov dword [ebp - 0x1c], edx
mov dword [eax + 0x78], esi
mov edi, esi
xor edi, ebx
mov edx, dword [ebp - 4]
mov dword [eax + 0x7c], edi
mov eax, edi
shr eax, 0x10
movzx eax, al
movzx ebx, byte [eax + str.cw]
mov eax, edi
shr eax, 8
xor ebx, 8
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x7c]
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, edi
shr eax, 0x18
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, dword [ebp - 4]
xor ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov dword [eax + 0x80], ebx
xor ebx, dword [ebp - 0x14]
mov dword [eax + 0x84], ebx
mov eax, ebx
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov dword [edx + 0x88], eax
xor eax, ecx
mov ecx, edx
mov dword [ebp - 0x18], eax
mov dword [ecx + 0x8c], eax
shr eax, 0x18
mov ecx, dword [ebp - 0x18]
movzx eax, byte [eax + str.cw]
shl eax, 8
mov dword [ebp - 0xc], eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + str.cw]
xor dword [ebp - 0xc], eax
mov eax, ecx
shr eax, 8
shl dword [ebp - 0xc], 8
movzx eax, al
movzx eax, byte [eax + str.cw]
xor dword [ebp - 0xc], eax
mov eax, edx
shl dword [ebp - 0xc], 8
movzx eax, byte [eax + 0x8c]
movzx eax, byte [eax + str.cw]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 8]
mov dword [edx + 0x90], eax
mov dword [ebp - 0xc], eax
xor eax, dword [ebp - 0x1c]
mov dword [edx + 0x94], eax
mov edx, eax
mov dword [ebp - 0x1c], eax
xor edx, esi
mov eax, dword [ebp - 4]
mov esi, edx
xor esi, edi
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], esi
mov eax, esi
shr eax, 0x10
movzx eax, al
movzx edi, byte [eax + str.cw]
mov eax, esi
shr eax, 8
xor edi, 0x10
movzx eax, al
shl edi, 8
movzx eax, byte [eax + str.cw]
xor edi, eax
mov eax, dword [ebp - 4]
shl edi, 8
movzx eax, byte [eax + 0x9c]
movzx eax, byte [eax + str.cw]
xor edi, eax
mov eax, esi
shr eax, 0x18
shl edi, 8
movzx eax, byte [eax + str.cw]
xor edi, eax
mov eax, dword [ebp - 4]
xor edi, dword [ebp - 0x20]
mov dword [ebp - 0x20], edi
mov dword [eax + 0xa0], edi
xor edi, ebx
mov dword [eax + 0xa4], edi
mov ebx, edi
xor ebx, dword [ebp - 0x14]
mov dword [eax + 0xa8], ebx
mov eax, ebx
xor eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ecx + 0xac], eax
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + str.cw]
xor dword [ebp - 8], eax
shl dword [ebp - 8], 8
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
movzx eax, byte [eax + str.cw]
xor dword [ebp - 8], eax
mov eax, ecx
shl dword [ebp - 8], 8
movzx eax, byte [eax + 0xac]
movzx eax, byte [eax + str.cw]
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0xc]
mov dword [ecx + 0xb0], eax
mov dword [ebp - 8], eax
xor eax, dword [ebp - 0x1c]
mov dword [ecx + 0xb4], eax
mov dword [ebp - 0x1c], eax
xor eax, edx
mov dword [ebp - 0x18], eax
mov edx, ecx
mov dword [edx + 0xb8], eax
mov edx, eax
xor edx, esi
mov eax, ecx
mov dword [eax + 0xbc], edx
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx esi, byte [eax + str.cw]
mov eax, edx
shr eax, 8
xor esi, 0x20
movzx eax, al
shl esi, 8
movzx eax, byte [eax + str.cw]
xor esi, eax
mov eax, ecx
shl esi, 8
movzx eax, byte [eax + 0xbc]
movzx eax, byte [eax + str.cw]
xor esi, eax
mov eax, edx
shr eax, 0x18
shl esi, 8
movzx eax, byte [eax + str.cw]
xor esi, eax
mov eax, ecx
xor esi, dword [ebp - 0x20]
mov dword [ebp - 0x20], esi
mov dword [eax + 0xc0], esi
xor esi, edi
mov dword [eax + 0xc4], esi
mov edi, esi
xor edi, ebx
mov dword [eax + 0xc8], edi
mov ebx, edi
xor ebx, dword [ebp - 0x10]
mov dword [eax + 0xcc], ebx
mov eax, ebx
shr eax, 0x18
mov dword [ebp - 0x14], ebx
movzx ecx, byte [eax + str.cw]
mov eax, ebx
shr eax, 0x10
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
mov eax, ebx
mov ebx, dword [ebp - 4]
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
movzx eax, byte [ebx + 0xcc]
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
xor ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov dword [ebx + 0xd0], ecx
xor ecx, dword [ebp - 0x1c]
mov dword [ebx + 0xd4], ecx
mov dword [ebp - 0x1c], ecx
xor ecx, dword [ebp - 0x18]
mov dword [ebx + 0xd8], ecx
mov dword [ebp - 0x18], ecx
xor ecx, edx
mov edx, dword [ebp - 4]
mov eax, ecx
mov dword [ebx + 0xdc], ecx
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0xc], ecx
movzx ebx, byte [eax + str.cw]
mov eax, ecx
shr eax, 8
xor ebx, 0x40
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
movzx eax, byte [edx + 0xdc]
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, ecx
shr eax, 0x18
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
lea eax, [edx + 0xe0]
xor ebx, dword [ebp - 0x20]
mov dword [eax], ebx
xor ebx, esi
mov dword [edx + 0xe4], ebx
xor ebx, edi
mov edi, edx
mov dword [edi + 0xe8], ebx
xor ebx, dword [ebp - 0x14]
mov ecx, ebx
mov dword [edi + 0xec], ebx
shr ecx, 0x18
movzx edx, byte [ecx + str.cw]
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
shr ebx, 8
movzx ecx, byte [ecx + str.cw]
xor edx, ecx
movzx ecx, bl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
xor edx, ecx
movzx ecx, byte [edi + 0xec]
shl edx, 8
movzx ecx, byte [ecx + str.cw]
xor edx, ecx
xor edx, dword [ebp - 0x10]
mov dword [edi + 0xf0], edx
xor edx, dword [ebp - 0x1c]
mov dword [edi + 0xf4], edx
xor edx, dword [ebp - 0x18]
mov dword [edi + 0xf8], edx
xor edx, dword [ebp - 0xc]
mov dword [edi + 0xfc], edx
jmp 0x10009dd0
mov ecx, dword [edi + 0x14]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov esi, dword [edi + 4]
movzx edx, byte [eax + str.cw]
mov eax, ecx
shr eax, 8
xor edx, 1
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
xor edx, eax
movzx eax, cl
shl edx, 8
movzx eax, byte [eax + str.cw]
xor edx, eax
mov eax, ecx
shr eax, 0x18
shl edx, 8
movzx eax, byte [eax + str.cw]
xor edx, eax
mov eax, dword [ebp - 4]
xor edx, dword [edi]
xor esi, edx
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], esi
mov ebx, dword [eax + 0xc]
mov edi, dword [edi + 8]
xor edi, esi
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 4]
xor ebx, edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], ebx
mov eax, dword [eax + 0x10]
xor eax, ebx
mov dword [edx + 0x28], eax
mov dword [ebp - 8], eax
xor eax, ecx
mov dword [ebp - 0xc], eax
mov ecx, edx
mov dword [ecx + 0x2c], eax
shr eax, 0x10
movzx eax, al
movzx ecx, byte [eax + str.cw]
mov eax, dword [ebp - 0xc]
xor ecx, 2
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
mov eax, edx
shl ecx, 8
movzx eax, byte [eax + 0x2c]
movzx eax, byte [eax + str.cw]
xor ecx, eax
mov eax, dword [ebp - 0xc]
shr eax, 0x18
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
mov eax, dword [ebp - 8]
xor ecx, dword [ebp - 0x20]
xor esi, ecx
mov dword [edx + 0x30], ecx
xor edi, esi
mov dword [edx + 0x34], esi
xor ebx, edi
mov dword [edx + 0x38], edi
xor eax, ebx
mov dword [edx + 0x3c], ebx
mov dword [edx + 0x40], eax
mov edx, dword [ebp - 0xc]
xor edx, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov dword [eax + 0x44], edx
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + str.cw]
mov eax, dword [ebp - 0xc]
xor edx, 4
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
xor edx, eax
mov eax, dword [ebp - 4]
shl edx, 8
movzx eax, byte [eax + 0x44]
movzx eax, byte [eax + str.cw]
xor edx, eax
mov eax, dword [ebp - 0xc]
shr eax, 0x18
shl edx, 8
movzx eax, byte [eax + str.cw]
xor edx, eax
mov eax, dword [ebp - 4]
xor edx, ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
mov dword [eax + 0x48], edx
xor edx, esi
mov dword [eax + 0x4c], edx
mov dword [ebp - 0x1c], edx
xor edx, edi
mov dword [eax + 0x50], edx
mov esi, edx
xor esi, ebx
mov dword [eax + 0x54], esi
mov edi, esi
xor edi, dword [ebp - 8]
mov dword [eax + 0x58], edi
mov ebx, edi
xor ebx, dword [ebp - 0xc]
mov dword [eax + 0x5c], ebx
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + str.cw]
xor eax, 8
shl eax, 8
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, 8
movzx eax, al
movzx eax, byte [eax + str.cw]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0xc], 8
movzx eax, byte [eax + 0x5c]
movzx eax, byte [eax + str.cw]
xor dword [ebp - 0xc], eax
mov eax, ebx
shl dword [ebp - 0xc], 8
shr eax, 0x18
movzx eax, byte [eax + str.cw]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x20]
mov dword [ecx + 0x60], eax
mov dword [ebp - 0xc], eax
xor eax, dword [ebp - 0x1c]
mov dword [ecx + 0x64], eax
mov ecx, eax
xor ecx, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov edx, ecx
xor edx, esi
mov esi, edx
xor esi, edi
mov edi, esi
mov dword [eax + 0x68], ecx
xor edi, ebx
mov dword [eax + 0x6c], edx
mov dword [eax + 0x70], esi
mov dword [eax + 0x74], edi
mov eax, edi
shr eax, 0x10
movzx eax, al
movzx ebx, byte [eax + str.cw]
mov eax, edi
shr eax, 8
xor ebx, 0x10
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x74]
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, edi
shr eax, 0x18
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, dword [ebp - 4]
xor ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov dword [eax + 0x78], ebx
xor ebx, dword [ebp - 0x20]
mov dword [eax + 0x7c], ebx
mov eax, ebx
xor eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov dword [ecx + 0x80], eax
mov ecx, eax
mov eax, dword [ebp - 4]
xor ecx, edx
mov edx, ecx
xor edx, esi
mov esi, edx
mov dword [eax + 0x84], ecx
xor esi, edi
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], esi
mov eax, esi
shr eax, 0x10
movzx eax, al
movzx edi, byte [eax + str.cw]
mov eax, esi
shr eax, 8
xor edi, 0x20
movzx eax, al
shl edi, 8
movzx eax, byte [eax + str.cw]
xor edi, eax
mov eax, dword [ebp - 4]
shl edi, 8
movzx eax, byte [eax + 0x8c]
movzx eax, byte [eax + str.cw]
xor edi, eax
mov eax, esi
shr eax, 0x18
shl edi, 8
movzx eax, byte [eax + str.cw]
xor edi, eax
mov eax, dword [ebp - 4]
xor edi, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov dword [eax + 0x90], edi
xor edi, ebx
mov ebx, edi
mov dword [eax + 0x94], edi
xor ebx, dword [ebp - 0x20]
mov dword [eax + 0x98], ebx
mov eax, ebx
xor eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov dword [ecx + 0x9c], eax
mov ecx, eax
mov eax, dword [ebp - 4]
xor ecx, edx
mov dword [eax + 0xa0], ecx
mov edx, ecx
xor edx, esi
mov dword [eax + 0xa4], edx
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx esi, byte [eax + str.cw]
mov eax, edx
shr eax, 8
xor esi, 0x40
movzx eax, al
shl esi, 8
movzx eax, byte [eax + str.cw]
xor esi, eax
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax + 0xa4]
movzx eax, byte [eax + str.cw]
xor esi, eax
mov eax, edx
shr eax, 0x18
shl esi, 8
movzx eax, byte [eax + str.cw]
xor esi, eax
mov eax, dword [ebp - 4]
xor esi, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
mov dword [eax + 0xa8], esi
xor esi, edi
mov dword [eax + 0xac], esi
mov edi, esi
xor edi, ebx
mov dword [eax + 0xb0], edi
mov ebx, edi
xor ebx, dword [ebp - 0x20]
mov dword [eax + 0xb4], ebx
mov eax, ebx
xor eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov dword [ecx + 0xb8], eax
xor eax, edx
mov dword [ecx + 0xbc], eax
mov dword [ebp - 0x20], eax
mov edx, eax
shr eax, 0x10
movzx eax, al
movzx ecx, byte [eax + str.cw]
mov eax, edx
shr eax, 8
xor ecx, 0xffffff80
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
mov eax, dword [ebp - 4]
shl ecx, 8
movzx eax, byte [eax + 0xbc]
movzx eax, byte [eax + str.cw]
xor ecx, eax
mov eax, edx
shr eax, 0x18
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
mov eax, dword [ebp - 4]
xor ecx, dword [ebp - 0x1c]
add eax, 0xc0
mov dword [eax], ecx
xor ecx, esi
mov esi, dword [ebp - 4]
mov dword [esi + 0xc4], ecx
xor ecx, edi
mov edi, esi
mov dword [edi + 0xc8], ecx
xor ecx, ebx
mov dword [edi + 0xcc], ecx
xor ecx, dword [ebp - 0x18]
mov dword [edi + 0xd0], ecx
xor ecx, edx
mov dword [edi + 0xd4], ecx
jmp 0x10009dd0
mov ecx, dword [edi + 0xc]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov edx, dword [edi + 4]
mov esi, dword [edi + 8]
movzx ebx, byte [eax + str.cw]
mov eax, ecx
shr eax, 8
xor ebx, 1
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
movzx eax, cl
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, ecx
shr eax, 0x18
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, dword [ebp - 4]
xor ebx, dword [edi]
xor edx, ebx
mov dword [edi + 0x10], ebx
xor esi, edx
mov dword [edi + 0x14], edx
mov dword [edi + 0x18], esi
mov edi, esi
xor edi, ecx
mov dword [eax + 0x1c], edi
mov eax, edi
shr eax, 0x10
movzx eax, al
movzx ecx, byte [eax + str.cw]
mov eax, edi
shr eax, 8
xor ecx, 2
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
mov eax, dword [ebp - 4]
shl ecx, 8
movzx eax, byte [eax + 0x1c]
movzx eax, byte [eax + str.cw]
xor ecx, eax
mov eax, edi
shr eax, 0x18
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
mov eax, dword [ebp - 4]
xor ecx, ebx
mov dword [ebp - 0x20], ecx
mov dword [eax + 0x20], ecx
xor ecx, edx
mov dword [eax + 0x24], ecx
mov edx, ecx
xor edx, esi
mov dword [eax + 0x28], edx
mov esi, edx
xor esi, edi
mov dword [eax + 0x2c], esi
mov eax, esi
shr eax, 0x10
movzx eax, al
movzx ebx, byte [eax + str.cw]
mov eax, esi
shr eax, 8
xor ebx, 4
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x2c]
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, esi
shr eax, 0x18
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, dword [ebp - 4]
xor ebx, dword [ebp - 0x20]
mov edi, ebx
xor edi, ecx
mov dword [eax + 0x30], ebx
mov ecx, edi
mov dword [eax + 0x34], edi
xor ecx, edx
mov dword [eax + 0x38], ecx
mov edx, ecx
xor edx, esi
mov dword [eax + 0x3c], edx
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx esi, byte [eax + str.cw]
mov eax, edx
shr eax, 8
xor esi, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + str.cw]
xor esi, eax
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax + 0x3c]
movzx eax, byte [eax + str.cw]
xor esi, eax
mov eax, edx
shr eax, 0x18
shl esi, 8
movzx eax, byte [eax + str.cw]
xor esi, eax
mov eax, dword [ebp - 4]
xor esi, ebx
mov dword [ebp - 0x20], esi
mov dword [eax + 0x40], esi
xor esi, edi
mov dword [eax + 0x44], esi
mov edi, esi
xor edi, ecx
mov dword [eax + 0x48], edi
mov ecx, edi
xor ecx, edx
mov dword [eax + 0x4c], ecx
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx ebx, byte [eax + str.cw]
mov eax, ecx
shr eax, 8
xor ebx, 0x10
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x4c]
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, ecx
shr eax, 0x18
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, dword [ebp - 4]
xor ebx, dword [ebp - 0x20]
mov edx, ebx
xor edx, esi
mov esi, edx
mov dword [eax + 0x50], ebx
xor esi, edi
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], esi
mov edi, esi
xor edi, ecx
mov dword [eax + 0x5c], edi
mov eax, edi
shr eax, 0x10
movzx eax, al
movzx ecx, byte [eax + str.cw]
mov eax, edi
shr eax, 8
xor ecx, 0x20
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
mov eax, dword [ebp - 4]
shl ecx, 8
movzx eax, byte [eax + 0x5c]
movzx eax, byte [eax + str.cw]
xor ecx, eax
mov eax, edi
shr eax, 0x18
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
xor ecx, ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x20], ecx
mov dword [ebx + 0x60], ecx
xor ecx, edx
mov edx, ecx
mov dword [ebx + 0x64], ecx
xor edx, esi
mov esi, edx
mov dword [ebx + 0x68], edx
xor esi, edi
mov eax, esi
mov dword [ebx + 0x6c], esi
shr eax, 0x10
movzx eax, al
movzx edi, byte [eax + str.cw]
mov eax, esi
shr eax, 8
xor edi, 0x40
movzx eax, al
shl edi, 8
movzx eax, byte [eax + str.cw]
xor edi, eax
movzx eax, byte [ebx + 0x6c]
shl edi, 8
movzx eax, byte [eax + str.cw]
xor edi, eax
mov eax, esi
shr eax, 0x18
shl edi, 8
movzx eax, byte [eax + str.cw]
xor edi, eax
xor edi, dword [ebp - 0x20]
mov dword [ebx + 0x70], edi
mov ebx, edi
xor ebx, ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
xor eax, edx
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ecx + 0x78], eax
xor edx, esi
mov eax, edx
mov dword [ecx + 0x74], ebx
shr eax, 0x10
mov esi, ecx
movzx eax, al
mov dword [esi + 0x7c], edx
movzx ecx, byte [eax + str.cw]
mov eax, edx
shr eax, 8
xor ecx, 0xffffff80
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
shl ecx, 8
movzx eax, dl
movzx eax, byte [eax + str.cw]
xor ecx, eax
mov eax, edx
shr eax, 0x18
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
xor ecx, edi
mov edi, dword [ebp - 0x20]
xor ebx, ecx
mov dword [esi + 0x80], ecx
xor edi, ebx
mov dword [esi + 0x84], ebx
xor edx, edi
mov dword [ebp - 0x1c], ebx
mov eax, edx
mov dword [esi + 0x8c], edx
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x20], edx
mov dword [esi + 0x88], edi
movzx ebx, byte [eax + str.cw]
mov eax, edx
shr eax, 8
xor ebx, 0x1b
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
movzx eax, dl
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, edx
shr eax, 0x18
shl ebx, 8
movzx eax, byte [eax + str.cw]
xor ebx, eax
mov eax, dword [ebp - 4]
xor ebx, ecx
mov edx, ebx
mov dword [esi + 0x90], ebx
xor edx, dword [ebp - 0x1c]
mov dword [esi + 0x94], edx
mov esi, edx
xor esi, edi
mov dword [eax + 0x98], esi
mov edi, esi
xor edi, dword [ebp - 0x20]
mov dword [eax + 0x9c], edi
mov eax, edi
shr eax, 0x10
movzx eax, al
movzx ecx, byte [eax + str.cw]
mov eax, edi
shr eax, 8
xor ecx, 0x36
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
mov eax, dword [ebp - 4]
shl ecx, 8
movzx eax, byte [eax + 0x9c]
movzx eax, byte [eax + str.cw]
xor ecx, eax
mov eax, edi
shr eax, 0x18
shl ecx, 8
movzx eax, byte [eax + str.cw]
xor ecx, eax
xor ecx, ebx
mov ebx, dword [ebp - 4]
lea eax, [ebx + 0xa0]
mov dword [eax], ecx
xor ecx, edx
mov dword [ebx + 0xa4], ecx
xor ecx, esi
mov dword [ebx + 0xa8], ecx
xor ecx, edi
mov edi, ebx
mov dword [edi + 0xac], ecx
cmp dword [0x1001c80c], 0
jne 0x10009e32
xor esi, esi
nop dword [eax + eax]
movzx edx, byte [esi + str.cw]
mov ecx, dword [edx*4 + 0x100168e8]
mov dword [esi*4 + 0x1001bc00], ecx
mov ecx, dword [edx*4 + 0x10016ce8]
mov dword [esi*4 + 0x1001c400], ecx
mov ecx, dword [edx*4 + 0x10015ce8]
mov dword [esi*4 + 0x1001c000], ecx
mov ecx, dword [edx*4 + 0x10017910]
mov dword [esi*4 + 0x1001b800], ecx
inc esi
cmp esi, 0x100
jl 0x10009de0
mov dword [0x1001c80c], 1
mov ecx, dword [eax]
lea esi, [edi + 0x100]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0xc], ecx
add esi, 0x10
cmp dword [edi + 0x200], 1
mov dword [ebp - 0x10], 1
jle 0x10009f64
mov ebx, dword [eax - 0x20]
mov edx, ebx
shr edx, 0x18
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shr ebx, 8
mov edx, dword [edx*4 + 0x1001bc00]
xor edx, dword [ecx*4 + 0x1001c400]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x1001c000]
movzx ecx, byte [eax - 0x20]
xor edx, dword [ecx*4 + 0x1001b800]
mov dword [esi], edx
mov ebx, dword [eax - 0x1c]
mov edx, ebx
shr edx, 0x18
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shr ebx, 8
mov edx, dword [edx*4 + 0x1001bc00]
xor edx, dword [ecx*4 + 0x1001c400]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x1001c000]
movzx ecx, byte [eax - 0x1c]
xor edx, dword [ecx*4 + 0x1001b800]
mov dword [esi + 4], edx
mov ebx, dword [eax - 0x18]
mov edx, ebx
shr edx, 0x18
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shr ebx, 8
mov edx, dword [edx*4 + 0x1001bc00]
xor edx, dword [ecx*4 + 0x1001c400]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x1001c000]
movzx ecx, byte [eax - 0x18]
xor edx, dword [ecx*4 + 0x1001b800]
mov dword [esi + 8], edx
mov ebx, dword [eax - 0x14]
mov edx, ebx
shr edx, 0x18
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shr ebx, 8
mov edx, dword [edx*4 + 0x1001bc00]
xor edx, dword [ecx*4 + 0x1001c400]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x1001c000]
movzx ecx, byte [eax - 0x14]
add eax, 0xfffffff0
xor edx, dword [ecx*4 + 0x1001b800]
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0xc], edx
inc ecx
add esi, 0x10
mov dword [ebp - 0x10], ecx
cmp ecx, dword [edi + 0x200]
jl 0x10009e68
mov ecx, dword [eax - 0x20]
mov dword [esi], ecx
mov ecx, dword [eax - 0x1c]
mov dword [esi + 4], ecx
mov ecx, dword [eax - 0x18]
mov dword [esi + 8], ecx
mov eax, dword [eax - 0x14]
pop edi
mov dword [esi + 0xc], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret