Function at 0x100a6b20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f96b0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1b0
mov eax, dword [0x10136080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x184], ecx
cmp byte [0x8092d8], 0
je 0x100a7a4b
cmp dword [ecx + 0x20], 0
je 0x100a6b84
cmp byte [ebx + 8], 0
je 0x100a7a4b
cmp dword [0x7f94cc], 0
je 0x100a7a4b
mov eax, dword [0x809478]
test eax, eax
je 0x100a7a4b
mov eax, dword [eax + 0x5ac]
cmp eax, 0xffffffff
je 0x100a7a4b
cmp eax, 5
jne 0x100a7a4b
mov esi, dword [0x101417d0]
mov dword [ebp - 0x1c], esi
call fcn.100a69f0
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x38]
push 0x20
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
push str.SpellGemWnd_Book_HandleRButtonUp
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.10007860
cmp dword [ebp - 0x24], 0xf
lea esi, [ebp - 0x38]
mov edi, dword [ebp - 0x38]
mov ecx, 0x811c9dc5
seta byte [ebp - 0x185]
cmova esi, edi
xor edx, edx
cmp dword [ebp - 0x28], edx
jbe 0x100a6c22
nop
movzx eax, byte [edx + esi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, dword [ebp - 0x28]
jb 0x100a6c10
push ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.1000e460
cmp byte [ebp - 0x185], 0
mov esi, dword [eax + 4]
je 0x100a6c6e
mov ecx, dword [ebp - 0x24]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x100a6c64
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7a7a
push ecx
push edi
call fcn.100b6085
add esp, 8
test esi, esi
jne 0x100a6d96
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push 0x20
xorps xmm0, xmm0
push str.SpellGemWnd_Book_HandleRButtonUp
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [0x63d648]
mov eax, dword [eax + 0x15c]
mov edi, dword [eax]
add edi, 0x48
mov dword [ebp - 0x28], esi
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], esi
call fcn.10007860
push 0x18
mov dword [ebp - 4], esi
call fcn.100b6050
mov esi, eax
add esp, 4
mov dword [ebp - 0x1a8], esi
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push 1
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x10], 4
call fcn.100b6050
push 4
mov edx, edi
mov ecx, eax
mov byte [eax], 4
mov dword [esi], eax
mov dword [esi + 8], edi
mov dword [esi + 4], 0x100a6780
mov dword [esi + 0x14], 3
mov dword [esi + 0xc], 0
call fcn.1003be00
mov eax, dword [esi + 0x14]
add esp, 8
cmp eax, 3
ja case.default.0x100a6d10
jmp dword [eax*4 + 0x100a7a80]
push 0x100a6780
push edi
mov ecx, esi
call fcn.10037b40
jmp case.default.0x100a6d10
push 0x100a6780
push edi
mov ecx, esi
call fcn.10037dc0
jmp case.default.0x100a6d10
push 0x100a6780
push edi
mov ecx, esi
call fcn.10037e70
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
push eax
call fcn.1000e230
mov dword [ebp - 4], 0xffffffff
mov dword [eax], esi
mov dword [esi + 0x14], 3
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x100a6d96
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a6d8c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7a6b
push ecx
push edx
call fcn.100b6085
add esp, 8
mov eax, dword [0x7f94cc]
xorps xmm0, xmm0
xor edx, edx
mov eax, dword [eax + 0x88]
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], 2
mov edi, 0x7f94cc
mov esi, 0x732
nop word [eax + eax]
mov eax, dword [edi]
mov eax, dword [eax + 0x88]
movzx ecx, word [esi + eax]
test ecx, ecx
je 0x100a6e2b
cmp ecx, 0xfa0
jae 0x100a6e2b
mov eax, dword [0x805cb0]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100a6e32
cmp edx, dword [ebp - 0x3c]
je 0x100a6e19
mov dword [edx], eax
mov edx, dword [ebp - 0x40]
add edx, 4
mov dword [ebp - 0x40], edx
jmp 0x100a6e32
lea eax, [ebp - 0x18]
push eax
push edx
lea ecx, [ebp - 0x44]
call fcn.1001fbf0
mov edx, dword [ebp - 0x40]
jmp 0x100a6e32
mov dword [ebp - 0x18], 0
add esi, 2
cmp esi, 0xb32
jl 0x100a6de0
mov ecx, dword [ebp - 0x44]
mov eax, edx
sub eax, ecx
sar eax, 2
push 0x100a6880
push eax
call fcn.10034480
mov eax, dword [ebp - 0x184]
add esp, 8
add eax, 0x38
mov dword [ebp - 0x18], eax
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edi, dword [ecx + 4]
cmp byte [edi + 0xd], 0
jne 0x100a6e9e
nop
push dword [edi + 8]
mov ecx, eax
push eax
call fcn.100a8f30
mov esi, edi
mov edi, dword [edi]
lea ecx, [esi + 0x10]
call fcn.100a99a0
push 0x30
push esi
call fcn.100b6085
mov eax, dword [ebp - 0x18]
add esp, 8
cmp byte [edi + 0xd], 0
je 0x100a6e70
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], ecx
mov dword [ecx], ecx
mov dword [ecx + 8], ecx
mov esi, dword [ebp - 0x44]
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18c], eax
cmp esi, eax
je 0x100a721a
mov eax, dword [esi]
push dword [eax]
lea eax, [ebp - 0x180]
push eax
call fcn.100451d0
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0x9c], 0xf
movups xmmword [ebp - 0x98], xmm0
mov byte [ebp - 0xb0], 0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov byte [ebp - 4], 4
mov ecx, dword [esi]
push 0xb0
push 0
mov eax, dword [ecx]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x194]
movzx eax, word [eax + 0x8c]
movzx edi, byte [eax + ecx + 0x9c]
lea eax, [ebp - 0x160]
push eax
call fcn.100b7e20
add esp, 0x10
lea ecx, [ebp - 0x160]
call fcn.1002f460
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x150]
cmp dword [ebp - 0x168], 0
push edi
je 0x100a6fbd
call fcn.10004dc0
mov edx, 0x1010cae4
mov ecx, eax
call fcn.100072d0
cmp dword [ebp - 0x164], 0xf
lea edx, [ebp - 0x178]
push dword [ebp - 0x168]
cmova edx, dword [ebp - 0x178]
mov ecx, eax
call fcn.1000cac0
add esp, 4
jmp 0x100a6fdd
call fcn.10004dc0
mov edx, 0x1010cae4
mov ecx, eax
call fcn.100072d0
mov ecx, dword [esi]
mov edx, dword [ecx + 0xd0]
mov ecx, eax
call fcn.100072d0
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x148]
call fcn.10005f30
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0xb0]
call fcn.10007110
mov ecx, dword [ebp - 0x1a8]
cmp ecx, 0xf
jbe 0x100a703b
mov edx, dword [ebp - 0x1bc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a7031
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7a6b
push ecx
push edx
call fcn.100b6085
add esp, 8
mov edx, dword [ebp - 0x180]
lea ecx, [ebp - 0x38]
call fcn.100a52a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x60]
mov edx, dword [ebp - 0x17c]
call fcn.100a52a0
mov ecx, dword [ebp - 0x184]
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 7
lea ecx, [ecx + 0x38]
call fcn.100a8a10
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call fcn.100a8580
mov dword [ebp - 0x1c], eax
cmp dword [eax + 4], 0x30c30c3
mov ecx, dword [eax]
mov dword [ebp - 0x190], ecx
je 0x100a7a70
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 8
push 0x54
mov dword [ebp - 0x1a0], 0
call fcn.100b6050
mov edi, eax
add esp, 4
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x1a0], edi
lea esi, [edi + 8]
push eax
mov ecx, esi
mov dword [ebp - 0x1a8], esi
call fcn.10005160
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 9
lea ecx, [esi + 0x18]
push eax
call fcn.10005160
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x30]
push eax
call fcn.10005160
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x190]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1a0], 0
inc dword [eax + 4]
mov eax, dword [ecx + 4]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [ecx + 4], edi
mov dword [eax], edi
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x100a7155
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a714b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7a6b
push ecx
push edx
call fcn.100b6085
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0xf
jbe 0x100a719f
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a7195
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7a6b
push ecx
push edx
call fcn.100b6085
add esp, 8
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.1002b210
lea ecx, [ebp - 0xb0]
call fcn.100a7a90
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x164]
cmp ecx, 0xf
jbe 0x100a7205
mov edx, dword [ebp - 0x178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a71fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7a6b
push ecx
push edx
call fcn.100b6085
add esp, 8
mov esi, dword [ebp - 0x18]
add esi, 4
mov dword [ebp - 0x18], esi
cmp esi, dword [ebp - 0x18c]
jne 0x100a6ec4
mov esi, dword [ebp - 0x184]
mov edi, dword [esi + 0x20]
test edi, edi
jne 0x100a72b1
push 0x180
call fcn.100b6050
mov edi, eax
add esp, 4
mov dword [ebp - 0x1a8], edi
push 0x180
push 0
push edi
mov byte [ebp - 4], 0xb
call fcn.100b7e20
movaps xmm0, xmmword [str.dddd]
push ecx
mov eax, esp
mov dword [edi + 0x6c], 0
push 0
push 0
mov ecx, edi
movups xmmword [eax], xmm0
mov eax, 0x417785
call eax
push 0x120
call fcn.100b6050
add esp, 4
mov esi, eax
push 0x120
push 0
push esi
call fcn.100b7e20
mov edx, dword [edi]
add esp, 8
mov ecx, esi
push 0x120
call fcn.1003be00
mov dword [edi], esi
add esp, 8
mov esi, dword [ebp - 0x184]
mov byte [ebp - 4], 2
mov dword [esi + 0x20], edi
mov byte [edi + 0x28], 1
mov eax, dword [esi + 0x20]
mov byte [eax + 0x29], 1
mov eax, dword [esi + 0x20]
mov byte [eax + 0x15], 0
mov eax, dword [esi + 0x20]
mov byte [eax + 0x16], 0
mov eax, dword [esi + 0x20]
mov byte [eax + 0x17], 0
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
mov dword [eax + 0x84], 0x100a65b0
mov eax, 0x417ed4
mov edi, dword [esi + 0x38]
mov edi, dword [edi]
mov dword [ebp - 0x194], edi
cmp byte [edi + 0xd], 0
jne 0x100a7735
nop word [eax + eax]
push 0x180
call fcn.100b6050
mov esi, eax
add esp, 4
mov dword [ebp - 0x190], esi
push 0x180
push 0
push esi
mov byte [ebp - 4], 0xc
call fcn.100b7e20
movaps xmm0, xmmword [str.dddd]
push ecx
mov eax, esp
mov dword [esi + 0x6c], 0
push 0
push 0
mov ecx, esi
movups xmmword [eax], xmm0
mov eax, 0x417785
call eax
push 0x120
call fcn.100b6050
add esp, 4
mov esi, eax
push 0x120
push 0
push esi
call fcn.100b7e20
mov edx, dword [ebp - 0x190]
add esp, 8
mov ecx, esi
mov edx, dword [edx]
push 0x120
call fcn.1003be00
mov eax, dword [ebp - 0x190]
add esp, 8
mov byte [ebp - 4], 2
mov dword [eax], esi
mov esi, dword [edi + 0x28]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x100a75fa
nop dword [eax + eax]
push 0x180
call fcn.100b6050
mov edi, eax
add esp, 4
mov dword [ebp - 0x18c], edi
push 0x180
push 0
push edi
mov byte [ebp - 4], 0xd
call fcn.100b7e20
movaps xmm0, xmmword [str.dddd]
push ecx
mov eax, esp
mov dword [edi + 0x6c], 0
push 0
push 0
mov ecx, edi
movups xmmword [eax], xmm0
mov eax, 0x417785
call eax
push 0x120
call fcn.100b6050
add esp, 4
mov edi, eax
push 0x120
push 0
push edi
call fcn.100b7e20
mov edx, dword [ebp - 0x18c]
add esp, 8
mov ecx, edi
mov edx, dword [edx]
push 0x120
call fcn.1003be00
mov eax, dword [ebp - 0x18c]
add esp, 8
mov byte [ebp - 4], 2
mov dword [eax], edi
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x198], eax
mov edi, dword [eax]
cmp edi, eax
je 0x100a74ed
nop dword [eax]
mov ecx, dword [edi + 0x50]
lea eax, [edi + 8]
add ecx, 0x10000
mov dword [ebp - 0x1c0], ecx
lea ecx, [ebp - 0x38]
push eax
call fcn.10005160
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0xf
lea ecx, [ebp - 0x19c]
cmova eax, dword [ebp - 0x38]
push eax
mov eax, 0x575f30
call eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x100a74b0
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a74a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7a6b
push ecx
push edx
call fcn.100b6085
add esp, 8
mov ecx, dword [ebp - 0x18c]
mov eax, 0x417910
push 0
push dword [ebp - 0x1c0]
mov dword [ebp - 0x28], 0
push dword [ebp - 0x19c]
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call eax
mov eax, dword [edi]
mov edi, eax
cmp eax, dword [ebp - 0x198]
jne 0x100a7440
mov edi, dword [ebp - 0x18c]
mov eax, 0x417ed4
mov ecx, dword [0x63d5cc]
push edi
call eax
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ecx + 0x40]
call fcn.100a88f0
lea ecx, [ebp - 0x38]
mov dword [eax], edi
lea eax, [esi + 0x10]
mov edi, dword [ebp - 0x1c]
or edi, 0x80000000
push eax
mov dword [ebp - 0x1c], edi
call fcn.10005160
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0xf
lea ecx, [ebp - 0x1a0]
cmova eax, dword [ebp - 0x38]
push eax
mov eax, 0x575f30
call eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x100a7585
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a757b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7a6b
push ecx
push edx
call fcn.100b6085
add esp, 8
mov ecx, dword [ebp - 0x190]
mov eax, 0x417910
push 0
push edi
push dword [ebp - 0x1a0]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call eax
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100a75d4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100a75d0
nop
cmp esi, dword [eax + 8]
jne 0x100a75d0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100a75c0
mov esi, eax
jmp 0x100a75ea
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100a75ea
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100a75e0
cmp byte [esi + 0xd], 0
je 0x100a73a0
mov edi, dword [ebp - 0x194]
mov esi, dword [ebp - 0x190]
mov eax, 0x417ed4
mov ecx, dword [0x63d5cc]
push esi
call eax
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ecx + 0x40]
call fcn.100a88f0
lea ecx, [ebp - 0x38]
mov dword [eax], esi
mov eax, dword [ebp - 0x184]
mov esi, dword [ebp - 0x18]
or esi, 0x80000000
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x198], eax
lea eax, [edi + 0x10]
push eax
call fcn.10005160
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0xf
lea ecx, [ebp - 0x1a8]
cmova eax, dword [ebp - 0x38]
push eax
mov eax, 0x575f30
call eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x100a76a1
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a7697
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7a6b
push ecx
push edx
call fcn.100b6085
add esp, 8
mov ecx, dword [ebp - 0x198]
mov eax, 0x417910
push 0
push esi
push dword [ebp - 0x1a8]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call eax
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
je 0x100a76fa
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x100a76f0
nop dword [eax + eax]
cmp edi, dword [eax + 8]
jne 0x100a76f0
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100a76e0
mov edi, eax
mov dword [ebp - 0x194], edi
jmp 0x100a7720
mov edi, eax
mov dword [ebp - 0x194], edi
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
jne 0x100a7720
nop word [eax + eax]
mov edi, eax
mov dword [ebp - 0x194], edi
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
je 0x100a7710
cmp byte [edi + 0xd], 0
je 0x100a7300
mov esi, dword [ebp - 0x184]
mov eax, 0x417ed4
push dword [esi + 0x20]
mov ecx, dword [0x63d5cc]
lea edi, [esi + 0x2c]
call eax
mov ecx, dword [ebp - 0x184]
mov esi, dword [esi + 0x20]
add ecx, 0x40
push edi
mov dword [edi], eax
call fcn.100a88f0
mov dword [eax], esi
mov esi, dword [ebp - 0x184]
mov edi, dword [esi + 0x24]
test edi, edi
jne 0x100a77f0
push 0x180
call fcn.100b6050
mov edi, eax
add esp, 4
mov dword [ebp - 0x1a8], edi
push 0x180
push 0
push edi
mov byte [ebp - 4], 0x11
call fcn.100b7e20
movaps xmm0, xmmword [str.dddd]
push ecx
mov eax, esp
mov dword [edi + 0x6c], 0
push 0
push 0
mov ecx, edi
movups xmmword [eax], xmm0
mov eax, 0x417785
call eax
push 0x120
call fcn.100b6050
add esp, 4
mov esi, eax
push 0x120
push 0
push esi
call fcn.100b7e20
mov edx, dword [edi]
add esp, 8
mov ecx, esi
push 0x120
call fcn.1003be00
mov dword [edi], esi
add esp, 8
mov esi, dword [ebp - 0x184]
mov byte [ebp - 4], 2
mov dword [esi + 0x24], edi
mov byte [edi + 0x28], 1
lea edi, [esi + 0x50]
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
mov dword [eax + 0x84], 0x100a6570
mov ecx, dword [edi]
mov edx, dword [edi + 4]
cmp ecx, edx
je 0x100a781d
push ecx
call fcn.10008e90
mov eax, dword [edi]
add esp, 4
mov dword [edi + 4], eax
mov ecx, dword [esi]
lea eax, [ebp - 0x1b0]
push eax
call fcn.10044f00
mov esi, eax
cmp edi, esi
je 0x100a785c
mov ecx, edi
call fcn.10008dd0
mov ecx, dword [esi]
mov dword [edi], ecx
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x1b0]
call fcn.10008dd0
mov edx, dword [edi + 4]
mov eax, 0x2aaaaaab
mov ecx, dword [edi]
sub edx, ecx
imul edx
mov byte [ebp - 0x1a8], 0
push dword [ebp - 0x1a8]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [edi + 4]
push eax
call fcn.100a95f0
mov eax, dword [ebp - 0x184]
lea ecx, [ebp - 0x1a8]
add esp, 8
mov esi, dword [eax + 0x24]
mov eax, 0x575f30
push str.Spell_Sets
call eax
push 0
push 0x30000
push dword [ebp - 0x1a8]
mov ecx, esi
mov eax, 0x417910
call eax
mov esi, dword [ebp - 0x184]
push 0
push eax
mov eax, 0x579f90
mov ecx, dword [esi + 0x24]
call eax
mov ecx, dword [esi + 0x24]
mov eax, 0x417a41
call eax
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [ebp - 0x198], eax
cmp esi, eax
je 0x100a79e9
mov eax, dword [ebp - 0x184]
mov edi, 0x20000
add eax, 0x48
mov dword [ebp - 0x19c], eax
nop dword [eax]
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x1a8], edi
push ecx
mov ecx, eax
call fcn.100a87f0
cmp eax, esi
je 0x100a793d
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x100a7932
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.10006190
mov eax, dword [ebp - 0x184]
lea ecx, [ebp - 0x60]
push esi
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1a8], eax
call fcn.10005160
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
lea ecx, [ebp - 0x1a0]
cmova eax, dword [ebp - 0x60]
push eax
mov eax, 0x575f30
call eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x100a79aa
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a79a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7a6b
push ecx
push edx
call fcn.100b6085
add esp, 8
mov ecx, dword [ebp - 0x1a8]
mov eax, 0x417910
push 0
push edi
push dword [ebp - 0x1a0]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call eax
add esi, 0x18
inc edi
cmp esi, dword [ebp - 0x198]
je 0x100a79e9
mov eax, dword [ebp - 0x19c]
jmp 0x100a7910
mov esi, dword [ebp - 0x184]
mov eax, 0x417ed4
mov ecx, dword [0x63d5cc]
push dword [esi + 0x24]
lea edi, [esi + 0x30]
call eax
mov ecx, dword [ebp - 0x184]
mov esi, dword [esi + 0x24]
push edi
mov dword [edi], eax
lea ecx, [ecx + 0x40]
call fcn.100a88f0
mov dword [eax], esi
mov edx, dword [ebp - 0x44]
test edx, edx
je 0x100a7a4b
mov ecx, dword [ebp - 0x3c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x100a7a41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7a7a
push ecx
push edx
call fcn.100b6085
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b603d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.100bd324
push str.list_too_long
call fcn.100b4a56
call fcn.100bd324
nop
insd dword es:[edi], dx
or dl, byte [eax]
insd dword es:[edi], dx
or dl, byte [eax]
pop ss
insd dword es:[edi], dx
or dl, byte [eax]
xor eax, 0x56100a6d
push esi
mov esi, ecx
mov ecx, dword [esi + 0x44]
cmp ecx, 0xf
jbe 0x100a7ac7
mov eax, dword [esi + 0x30]
inc ecx
cmp ecx, 0x1000
jb 0x100a7abd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7b5d
mov eax, edx
push ecx
push eax
call fcn.100b6085
add esp, 8
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xf
mov byte [esi + 0x30], 0
mov ecx, dword [esi + 0x2c]
cmp ecx, 0xf
jbe 0x100a7b09
mov eax, dword [esi + 0x18]
inc ecx
cmp ecx, 0x1000
jb 0x100a7aff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7b5d
mov eax, edx
push ecx
push eax
call fcn.100b6085
add esp, 8
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xf
mov byte [esi + 0x18], 0
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x100a7b4a
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x100a7b40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7b5d
mov eax, edx
push ecx
push eax
call fcn.100b6085
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
pop esi
ret
call fcn.100bd324
int3