Function at 0x1002b9b0
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 0x1005928e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
push esi
push edi
mov eax, dword [0x10071080]
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.10031273
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.10031273
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.10031273
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.10031273
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.100054b0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
mov dword [ebp - 0x18], 1
call fcn.10002f20
mov dword [ebp - 0x14], esi
push 0x10
mov dword [ebp - 4], 0xa
call fcn.10031273
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 0x1002bbd8
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1002bbd8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1002bbd8
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 0x1002bc13
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002bc09
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002bec8
push ecx
push edx
call fcn.100312a8
add esp, 8
mov esi, dword [ebp - 0x1c]
sub esp, 0x28
mov eax, esp
mov ecx, dword [esi + 0x34]
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.1001a140
mov ecx, dword [esi + 0x34]
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.1001a140
mov ecx, dword [esi + 0x34]
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.1001a140
mov esi, dword [esi + 0xc]
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.100054b0
push 0xffffffffffffffff
push 2
push 0x1002a1e0
push 0x434b38
mov ecx, esi
call fcn.1000e0b0
mov esi, dword [ebp - 0x1c]
sub esp, 0x18
mov ecx, esp
xorps xmm0, xmm0
mov esi, dword [esi + 0xc]
push 0xe
movups xmmword [ecx], xmm0
push str.FinishScribing
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100054b0
push 0xffffffffffffffff
push 2
push 0x1002a370
push 0x43501f
mov ecx, esi
call fcn.1000e0b0
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 + 0xc]
mov dword [ebp - 0x14], eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
call fcn.100054b0
mov ecx, 0x5a67b0
mov byte [ebp - 4], 0xb
call fcn.1000c910
mov ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, 5
jge 0x1002bd48
nop dword [eax]
add ecx, 0x5a67b0
call fcn.1000c910
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, 5
jl 0x1002bd30
push 0x18
call fcn.10031273
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.10031273
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], 0x1002a5c0
mov dword [esi + 0x14], 2
mov dword [esi + 0xc], 0
call fcn.1001b100
mov eax, dword [esi + 0x14]
add esp, 8
cmp eax, 3
ja case.default.0x1002bdae
jmp dword [eax*4 + 0x1002bed4]
push 0x1002a5c0
push 0x5a67b0
mov ecx, esi
call fcn.100184b0
jmp case.default.0x1002bdae
push 0x1002a5c0
push 0x5a67b0
mov ecx, esi
call fcn.10018730
jmp case.default.0x1002bdae
push 0x1002a5c0
push 0x5a67b0
mov ecx, esi
call fcn.10018810
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x14]
push eax
call fcn.1000ea70
mov byte [ebp - 4], 6
mov dword [eax], esi
mov dword [esi + 0x14], 2
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x1002be3d
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002be33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002becd
push ecx
push edx
call fcn.100312a8
add esp, 8
cmp byte [0x8092d8], 0
je 0x1002beb0
mov ecx, dword [ebp - 0x1c]
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x20], esp
mov esi, dword [ecx + 0x2c]
mov dword [eax], 0x100653f4
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.100054b0
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.100127e0
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.10038464
call fcn.10038464
nop
enter 0x2bd, 0x10
enter 701, 0x10
mov ch, 189
add dl, byte [eax]
fstp xword [ebp - 0x3333effe]
int3