Function at 0x10030a20
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

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 0x1006485e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
push esi
push edi
mov eax, dword [0x10080080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [edi + 8], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
mov byte [edi + 8], 0
mov byte [ebp - 4], 1
lea esi, [edi + 0x38]
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [ebp - 0x14], esi
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1003a330
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 2
lea esi, [edi + 0x40]
mov dword [ebp - 0x14], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1003a330
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0x48]
mov dword [ebp - 0x14], esi
push 0x2c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1003a330
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov byte [ebp - 4], 6
push 0x18
mov dword [edi + 0x20], 0
mov dword [edi + 0x6c], 0x64
mov dword [edi + 0x24], 0
call fcn.1003a330
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
xorps xmm0, xmm0
mov byte [ebp - 4], 7
movups xmmword [ebp - 0x38], xmm0
push 0xf
push str.._spellsets.ini
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.100054c0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
mov dword [ebp - 0x18], 1
call fcn.10002f30
mov dword [ebp - 0x14], esi
push 0x10
mov dword [ebp - 4], 0xa
call fcn.1003a330
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
add esp, 4
movups xmmword [eax], xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_class_IO_ini_.0
mov dword [eax + 0xc], esi
mov dword [edi], esi
mov esi, dword [edi + 4]
mov dword [edi + 4], eax
test esi, esi
je 0x10030c48
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x10030c48
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10030c48
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x10030c83
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10030c79
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10030f38
push ecx
push edx
call fcn.1003a365
add esp, 8
mov esi, dword [ebp - 0x1c]
sub esp, 0x28
mov eax, esp
mov ecx, dword [esi + 0x30]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_SpellSets::constructor_class_ZealService__::_2::_lambda_1___void___.0
mov dword [eax + 4], edi
push 3
mov dword [eax + 0x24], eax
call fcn.1001dfb0
mov ecx, dword [esi + 0x30]
sub esp, 0x28
mov eax, esp
push 2
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_SpellSets::constructor_class_ZealService__::_2::_lambda_2___void___.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
call fcn.1001dfb0
mov ecx, dword [esi + 0x30]
sub esp, 0x28
mov eax, esp
push 4
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_SpellSets::constructor_class_ZealService__::_2::_lambda_3___void___.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
call fcn.1001dfb0
mov esi, dword [esi + 8]
sub esp, 0x18
mov ecx, esp
xorps xmm0, xmm0
push 0x10
movups xmmword [ecx], xmm0
push str.FinishMemorizing
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100054c0
push 0xffffffffffffffff
push 2
push 0x1002f270
push 0x434b38
mov ecx, esi
call fcn.100100d0
mov esi, dword [ebp - 0x1c]
sub esp, 0x18
mov ecx, esp
xorps xmm0, xmm0
mov esi, dword [esi + 8]
push 0xe
movups xmmword [ecx], xmm0
push str.FinishScribing
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100054c0
push 0xffffffffffffffff
push 2
push 0x1002f3e0
push 0x43501f
mov ecx, esi
call fcn.100100d0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push str.SpellGemRbutton
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
call fcn.100054c0
mov ecx, 0x5a67b0
mov byte [ebp - 4], 0xb
call fcn.100066f0
mov ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, 5
jge 0x10030db8
nop dword [eax]
add ecx, 0x5a67b0
call fcn.100066f0
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, 5
jl 0x10030da0
push 0x18
call fcn.1003a330
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 0xc
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
movups xmmword [esi], xmm0
push 1
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x10], eax
call fcn.1003a330
mov ecx, dword [ebp - 0x18]
mov edx, 0x5a67b0
push ecx
mov byte [eax], cl
mov ecx, eax
mov dword [esi], eax
mov dword [esi + 8], 0x5a67b0
mov dword [esi + 4], 0x1002f610
mov dword [esi + 0x14], 2
mov dword [esi + 0xc], 0
call fcn.1001f3a0
mov eax, dword [esi + 0x14]
add esp, 8
cmp eax, 3
ja case.default.0x10030e1e
jmp dword [eax*4 + 0x10030f44]
push 0x1002f610
push 0x5a67b0
mov ecx, esi
call fcn.1001c3f0
jmp case.default.0x10030e1e
push 0x1002f610
push 0x5a67b0
mov ecx, esi
call fcn.1001c670
jmp case.default.0x10030e1e
push 0x1002f610
push 0x5a67b0
mov ecx, esi
call fcn.1001c750
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x14]
push eax
call fcn.100079a0
mov byte [ebp - 4], 6
mov dword [eax], esi
mov dword [esi + 0x14], 2
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x10030ead
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10030ea3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10030f3d
push ecx
push edx
call fcn.1003a365
add esp, 8
cmp byte [0x8092d8], 0
je 0x10030f20
mov ecx, dword [ebp - 0x1c]
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x20], esp
mov esi, dword [ecx + 0x28]
mov dword [eax], 0x10072084
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0x24], eax
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
xorps xmm0, xmm0
push 9
movups xmmword [ecx], xmm0
push str._spellset
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100054c0
sub esp, 0xc
mov ecx, esi
mov edx, esp
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov byte [ebp - 4], 6
call fcn.100153c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.100415d4
call fcn.100415d4
nop
cmp byte [esi], cl
add edx, dword [eax]
cmp byte [esi], cl
add edx, dword [eax]
and eax, 0x4b10030e
push cs
add edx, dword [eax]
int3