Function at 0x1000a0f0
Capabilities:
Read .ini file

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 0x10062fb5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x10081080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x10]
lea ecx, [ebp - 0x14c]
push 0x1a
xorps xmm0, xmm0
mov dword [ebp - 0x13c], 0
push str.LeftTurnSpellbookAutostand
movups xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x138], 0
call fcn.100054c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x134]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
push 0x10070e6c
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x120], 0
call fcn.100054c0
cmp dword [esi + 0x14], 0xf
jbe 0x1000a1a5
mov esi, dword [esi]
cmp dword [ebp - 0x138], 0xf
lea edx, [ebp - 0x118]
push esi
push pe_nt_image_headers32
push edx
lea ecx, [ebp - 0x14c]
cmova ecx, dword [ebp - 0x14c]
lea eax, [ebp - 0x134]
cmp dword [ebp - 0x120], 0xf
push 0x1006f089
cmova eax, dword [ebp - 0x134]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x120]
mov esi, eax
cmp ecx, 0xf
jbe 0x1000a223
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a219
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad13
push ecx
push edx
call fcn.1003b6a6
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp ecx, 0xf
jbe 0x1000a27f
mov edx, dword [ebp - 0x14c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a275
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad13
push ecx
push edx
call fcn.1003b6a6
add esp, 8
test esi, esi
jne 0x1000a3b2
mov esi, dword [edi + 0x10]
lea ecx, [ebp - 0x14c]
push 0x1a
xorps xmm0, xmm0
mov byte [ebp - 0x119], 0
push str.LeftTurnSpellbookAutostand
movups xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
call fcn.100054c0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x134]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
push 0x10070e6c
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x120], 0
call fcn.100054c0
lea eax, [ebp - 0x119]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x14c]
mov ecx, esi
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.1000bca0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x120]
cmp ecx, 0xf
jbe 0x1000a356
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a34c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad18
push ecx
push edx
call fcn.1003b6a6
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp ecx, 0xf
jbe 0x1000a3b2
mov edx, dword [ebp - 0x14c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a3a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad18
push ecx
push edx
call fcn.1003b6a6
add esp, 8
mov esi, dword [edi + 0x10]
lea ecx, [ebp - 0x14c]
push 0x1b
xorps xmm0, xmm0
mov dword [ebp - 0x13c], 0
push str.RightTurnSpellbookAutostand
movups xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x138], 0
call fcn.100054c0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x134]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
push 0x10070e6c
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x120], 0
call fcn.100054c0
cmp dword [esi + 0x14], 0xf
jbe 0x1000a424
mov esi, dword [esi]
cmp dword [ebp - 0x138], 0xf
lea edx, [ebp - 0x118]
push esi
push pe_nt_image_headers32
push edx
lea ecx, [ebp - 0x14c]
cmova ecx, dword [ebp - 0x14c]
lea eax, [ebp - 0x134]
cmp dword [ebp - 0x120], 0xf
push 0x1006f089
cmova eax, dword [ebp - 0x134]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x120]
mov esi, eax
cmp ecx, 0xf
jbe 0x1000a4a2
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a498
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad1d
push ecx
push edx
call fcn.1003b6a6
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp ecx, 0xf
jbe 0x1000a4fe
mov edx, dword [ebp - 0x14c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a4f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad1d
push ecx
push edx
call fcn.1003b6a6
add esp, 8
test esi, esi
jne 0x1000a631
mov esi, dword [edi + 0x10]
lea ecx, [ebp - 0x14c]
push 0x1b
xorps xmm0, xmm0
mov byte [ebp - 0x119], 0
push str.RightTurnSpellbookAutostand
movups xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
call fcn.100054c0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x134]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
push 0x10070e6c
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x120], 0
call fcn.100054c0
lea eax, [ebp - 0x119]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x14c]
mov ecx, esi
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.1000bca0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x120]
cmp ecx, 0xf
jbe 0x1000a5d5
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a5cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad22
push ecx
push edx
call fcn.1003b6a6
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp ecx, 0xf
jbe 0x1000a631
mov edx, dword [ebp - 0x14c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a627
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad22
push ecx
push edx
call fcn.1003b6a6
add esp, 8
mov esi, dword [edi + 0x10]
lea ecx, [ebp - 0x14c]
push 0x1c
xorps xmm0, xmm0
mov dword [ebp - 0x13c], 0
push str.LeftStrafeSpellbookAutostand
movups xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x138], 0
call fcn.100054c0
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x134]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
push 0x10070e6c
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x120], 0
call fcn.100054c0
cmp dword [esi + 0x14], 0xf
jbe 0x1000a6a3
mov esi, dword [esi]
cmp dword [ebp - 0x138], 0xf
lea edx, [ebp - 0x118]
push esi
push pe_nt_image_headers32
push edx
lea ecx, [ebp - 0x14c]
cmova ecx, dword [ebp - 0x14c]
lea eax, [ebp - 0x134]
cmp dword [ebp - 0x120], 0xf
push 0x1006f089
cmova eax, dword [ebp - 0x134]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x120]
mov esi, eax
cmp ecx, 0xf
jbe 0x1000a721
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a717
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad27
push ecx
push edx
call fcn.1003b6a6
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp ecx, 0xf
jbe 0x1000a77d
mov edx, dword [ebp - 0x14c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a773
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad27
push ecx
push edx
call fcn.1003b6a6
add esp, 8
test esi, esi
jne 0x1000a8b0
mov esi, dword [edi + 0x10]
lea ecx, [ebp - 0x14c]
push 0x1c
xorps xmm0, xmm0
mov byte [ebp - 0x119], 1
push str.LeftStrafeSpellbookAutostand
movups xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
call fcn.100054c0
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x134]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
push 0x10070e6c
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x120], 0
call fcn.100054c0
lea eax, [ebp - 0x119]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x14c]
mov ecx, esi
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.1000bca0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x120]
cmp ecx, 0xf
jbe 0x1000a854
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a84a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad2c
push ecx
push edx
call fcn.1003b6a6
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp ecx, 0xf
jbe 0x1000a8b0
mov edx, dword [ebp - 0x14c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a8a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad2c
push ecx
push edx
call fcn.1003b6a6
add esp, 8
mov esi, dword [edi + 0x10]
lea ecx, [ebp - 0x14c]
push 0x1d
xorps xmm0, xmm0
mov dword [ebp - 0x13c], 0
push str.RightStrafeSpellbookAutostand
movups xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x138], 0
call fcn.100054c0
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x134]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
push 0x10070e6c
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x120], 0
call fcn.100054c0
cmp dword [esi + 0x14], 0xf
jbe 0x1000a922
mov esi, dword [esi]
cmp dword [ebp - 0x138], 0xf
lea edx, [ebp - 0x118]
push esi
push pe_nt_image_headers32
push edx
lea ecx, [ebp - 0x14c]
cmova ecx, dword [ebp - 0x14c]
lea eax, [ebp - 0x134]
cmp dword [ebp - 0x120], 0xf
push 0x1006f089
cmova eax, dword [ebp - 0x134]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x120]
mov esi, eax
cmp ecx, 0xf
jbe 0x1000a9a0
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a996
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad31
push ecx
push edx
call fcn.1003b6a6
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp ecx, 0xf
jbe 0x1000a9fc
mov edx, dword [ebp - 0x14c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a9f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad31
push ecx
push edx
call fcn.1003b6a6
add esp, 8
test esi, esi
jne 0x1000ab4a
mov esi, dword [edi + 0x10]
lea ecx, [ebp - 0x184]
push 0x1d
xorps xmm0, xmm0
mov byte [ebp - 0x119], 1
push str.RightStrafeSpellbookAutostand
movups xmmword [ebp - 0x184], xmm0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
call fcn.100054c0
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x16c]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x15c], 0
push 0x10070e6c
movups xmmword [ebp - 0x16c], xmm0
mov dword [ebp - 0x158], 0
call fcn.100054c0
lea eax, [ebp - 0x119]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.1000bca0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x158]
cmp ecx, 0xf
jbe 0x1000aad3
mov edx, dword [ebp - 0x16c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000aac9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad36
push ecx
push edx
call fcn.1003b6a6
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0xf
mov byte [ebp - 0x16c], 0
cmp ecx, 0xf
jbe 0x1000ab2f
mov edx, dword [ebp - 0x184]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ab25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad36
push ecx
push edx
call fcn.1003b6a6
add esp, 8
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0xf
mov byte [ebp - 0x184], 0
mov esi, dword [edi + 0x10]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x150], esp
xorps xmm0, xmm0
push 0x1a
movups xmmword [ecx], xmm0
push str.LeftTurnSpellbookAutostand
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100054c0
sub esp, 0x18
mov dword [ebp - 4], 0xc
mov ecx, esp
xorps xmm0, xmm0
push 4
movups xmmword [ecx], xmm0
push 0x10070e6c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100054c0
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.1000bdb0
mov esi, dword [edi + 0x10]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x154], esp
mov byte [edi], al
xorps xmm0, xmm0
push 0x1b
movups xmmword [ecx], xmm0
push str.RightTurnSpellbookAutostand
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100054c0
sub esp, 0x18
mov dword [ebp - 4], 0xd
mov ecx, esp
xorps xmm0, xmm0
push 4
movups xmmword [ecx], xmm0
push 0x10070e6c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100054c0
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.1000bdb0
mov esi, dword [edi + 0x10]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x154], esp
mov byte [edi + 1], al
xorps xmm0, xmm0
push 0x1c
movups xmmword [ecx], xmm0
push str.LeftStrafeSpellbookAutostand
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100054c0
sub esp, 0x18
mov dword [ebp - 4], 0xe
mov ecx, esp
xorps xmm0, xmm0
push 4
movups xmmword [ecx], xmm0
push 0x10070e6c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100054c0
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.1000bdb0
mov esi, dword [edi + 0x10]
sub esp, 0x18
mov byte [edi + 2], al
mov dword [ebp - 0x154], esp
mov ecx, esp
xorps xmm0, xmm0
push 0x1d
push str.RightStrafeSpellbookAutostand
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100054c0
sub esp, 0x18
mov dword [ebp - 4], 0xf
mov ecx, esp
xorps xmm0, xmm0
push 4
movups xmmword [ecx], xmm0
push 0x10070e6c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100054c0
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.1000bdb0
mov byte [edi + 3], al
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.1003b65e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10042864
call fcn.10042864
call fcn.10042864
call fcn.10042864
call fcn.10042864
call fcn.10042864
call fcn.10042864
call fcn.10042864
int3