Function at 0x10025350
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 0x10081a31
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x100a9080]
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 - 0x17c]
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x16c], 0
push str.SpellbookAutostand
movups xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0x168], 0
call fcn.10007860
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x134]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
push 0x10090228
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x120], 0
call fcn.10007860
cmp dword [esi + 0x14], 0xf
jbe 0x10025405
mov esi, dword [esi]
cmp dword [ebp - 0x168], 0xf
lea edx, [ebp - 0x118]
push esi
push 0x100
push edx
lea ecx, [ebp - 0x17c]
cmova ecx, dword [ebp - 0x17c]
lea eax, [ebp - 0x134]
cmp dword [ebp - 0x120], 0xf
push 0x1008fa09
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 0x10025483
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10025479
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100256b5
push ecx
push edx
call fcn.10056002
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp ecx, 0xf
jbe 0x100254df
mov edx, dword [ebp - 0x17c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100254d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100256b5
push ecx
push edx
call fcn.10056002
add esp, 8
test esi, esi
jne 0x1002562d
mov esi, dword [edi + 0x10]
lea ecx, [ebp - 0x164]
push 0x12
xorps xmm0, xmm0
mov byte [ebp - 0x119], 0
push str.SpellbookAutostand
movups xmmword [ebp - 0x164], xmm0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
call fcn.10007860
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14c]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x13c], 0
push 0x10090228
movups xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x138], 0
call fcn.10007860
lea eax, [ebp - 0x119]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x164]
mov ecx, esi
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.1000fdc0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x138]
cmp ecx, 0xf
jbe 0x100255b6
mov edx, dword [ebp - 0x14c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100255ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100256ba
push ecx
push edx
call fcn.10056002
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0xf
mov byte [ebp - 0x14c], 0
cmp ecx, 0xf
jbe 0x10025612
mov edx, dword [ebp - 0x164]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10025608
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100256ba
push ecx
push edx
call fcn.10056002
add esp, 8
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0xf
mov byte [ebp - 0x164], 0
mov esi, dword [edi + 0x10]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x180], esp
xorps xmm0, xmm0
push 0x12
movups xmmword [ecx], xmm0
push str.SpellbookAutostand
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10007860
sub esp, 0x18
mov dword [ebp - 4], 3
mov ecx, esp
xorps xmm0, xmm0
push 4
movups xmmword [ecx], xmm0
push 0x10090228
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10007860
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.1000fed0
mov byte [edi], 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.10055fba
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1005d2a4
call fcn.1005d2a4
int3