Function at 0x54f2c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x71d4cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0x54
call fcn.006fa7e6
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x124], ebx
je 0x54f323
push ebx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.CLASSES
call fcn.00406d80
mov ecx, esi
call fcn.00413cc0
mov edi, eax
jmp 0x54f325
xor edi, edi
mov ecx, edi
mov dword [esp + 0x124], 0xffffffff
call int.004143b0
mov eax, dword [edi + 0x24]
movzx esi, al
mov byte [ebp + 0xa9], al
mov eax, esi
imul eax, eax, 0x1a0
add eax, 4
push eax
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov dword [esp + 0x124], 1
je 0x54f385
push 0x5bcbb0
push 0x5bcac0
push esi
lea ebx, [eax + 4]
push 0x1a0
push ebx
mov dword [eax], esi
call fcn.006fb55f
mov al, byte [ebp + 0xa9]
xor esi, esi
test al, al
mov dword [esp + 0x124], 0xffffffff
mov dword [ebp + 0xac], ebx
jbe 0x54fe98
xor ebx, ebx
jmp 0x54f3b0
lea ecx, [esp + 0x1c]
call fcn.005b3190
push str.Name
lea ecx, [esp + 0x10c]
mov dword [esp + 0x128], 2
call fcn.005e5a90
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x10c]
push edx
push esi
mov ecx, edi
mov byte [esp + 0x130], 3
call fcn.00413660
lea ecx, [esp + 0x108]
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [ebp + 0xac]
mov ecx, dword [esp + 0x24]
add eax, ebx
mov dword [eax], ecx
push str.SkillPointBase
lea ecx, [esp + 0x4c]
call fcn.005e5a90
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x4c]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 4
call fcn.00413660
lea ecx, [esp + 0x48]
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [ebp + 0xac]
mov cl, byte [esp + 0x2c]
add eax, ebx
mov byte [eax + 0x56], cl
push str.Lower
lea ecx, [esp + 0xfc]
call fcn.005e5a90
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0xfc]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 5
call fcn.00413660
lea ecx, [esp + 0xf8]
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [ebp + 0xac]
mov ecx, dword [esp + 0x24]
add eax, ebx
mov dword [eax + 4], ecx
push str.Plural
lea ecx, [esp + 0x5c]
call fcn.005e5a90
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x5c]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 6
call fcn.00413660
lea ecx, [esp + 0x58]
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [ebp + 0xac]
mov ecx, dword [esp + 0x24]
add eax, ebx
mov dword [eax + 8], ecx
push str.Description
lea ecx, [esp + 0xbc]
call fcn.005e5a90
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0xbc]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 7
call fcn.00413660
lea ecx, [esp + 0xb8]
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [ebp + 0xac]
mov ecx, dword [esp + 0x24]
add eax, ebx
mov dword [eax + 0xc], ecx
push str.Icon
lea ecx, [esp + 0x6c]
call fcn.005e5a90
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x6c]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 8
call int.00413270
lea ecx, [esp + 0x68]
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [ebp + 0xac]
lea ecx, [esp + 0x1c]
add eax, ebx
push ecx
lea ecx, [eax + 0x10]
call fcn.005e5c50
push str.HitDie
lea ecx, [esp + 0xec]
call fcn.005e5a90
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0xec]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 9
call fcn.00413660
lea ecx, [esp + 0xe8]
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [ebp + 0xac]
mov cl, byte [esp + 0x28]
add eax, ebx
mov byte [eax + 0x54], cl
push str.ForceDie
lea ecx, [esp + 0x7c]
call fcn.005e5a90
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x7c]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 0xa
call fcn.00413660
lea ecx, [esp + 0x78]
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [ebp + 0xac]
mov cl, byte [esp + 0x28]
add eax, ebx
mov byte [eax + 0x55], cl
push str.AttackBonusTable
lea ecx, [esp + 0xcc]
call fcn.005e5a90
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xcc]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 0xb
call int.00413270
lea ecx, [esp + 0xc8]
mov dword [esp + 0x14], eax
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x54f68d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0xac]
add ecx, ebx
call fcn.005bcda0
push str.FeatsTable
lea ecx, [esp + 0x8c]
call fcn.005e5a90
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x8c]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 0xc
call int.00413270
lea ecx, [esp + 0x88]
mov dword [esp + 0x14], eax
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x54f6ee
push ebp
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [ebp + 0xac]
add ecx, ebx
call fcn.005bd0f0
push str.SavingThrowTable
lea ecx, [esp + 0x3c]
call fcn.005e5a90
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 0xd
call int.00413270
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], eax
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x54f745
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0xac]
add ecx, ebx
call fcn.005bd480
push str.SkillsTable
lea ecx, [esp + 0x9c]
call fcn.005e5a90
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x9c]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 0xe
call int.00413270
lea ecx, [esp + 0x98]
mov dword [esp + 0x14], eax
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x54f7a5
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0xac]
add ecx, ebx
call fcn.005bd6c0
push str.SpellGainTable
lea ecx, [esp + 0xdc]
call fcn.005e5a90
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xdc]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 0xf
call int.00413270
lea ecx, [esp + 0xd8]
mov dword [esp + 0x14], eax
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x54f805
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0xac]
add ecx, ebx
call fcn.005bd900
push str.SpellKnownTable
lea ecx, [esp + 0xac]
call fcn.005e5a90
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xac]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 0x10
call int.00413270
lea ecx, [esp + 0xa8]
mov dword [esp + 0x14], eax
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x54f865
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0xac]
add ecx, ebx
call fcn.005bdbe0
push str.FeatGain
lea ecx, [esp + 0x44]
call fcn.005e5a90
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x44]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 0x11
call int.00413270
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], eax
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x54f8bc
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0xac]
add ecx, ebx
call fcn.005bcf70
push str.ArmorClassColumn
lea ecx, [esp + 0x54]
call fcn.005e5a90
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x54]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 0x12
call int.00413270
lea ecx, [esp + 0x50]
mov dword [esp + 0x14], eax
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x54f913
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0xac]
add ecx, ebx
call fcn.005bde80
mov ecx, dword [ebp + 0xac]
add ecx, ebx
call fcn.005be4c0
push str.PlayerClass
lea ecx, [esp + 0x64]
call fcn.005e5a90
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x64]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 0x13
call fcn.00413660
lea ecx, [esp + 0x60]
mov dword [esp + 0x14], eax
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x54f97e
mov eax, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 0xac]
setne cl
add eax, ebx
mov dword [eax + 0x198], ecx
push str.SpellCaster
lea ecx, [esp + 0x74]
call fcn.005e5a90
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x74]
push edx
push esi
mov ecx, edi
mov byte [esp + 0x130], 0x14
call fcn.00413660
lea ecx, [esp + 0x70]
mov dword [esp + 0x14], eax
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x54f9dc
mov eax, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 0xac]
setne cl
add eax, ebx
mov dword [eax + 0x19c], ecx
push str.AlignRestrict
lea ecx, [esp + 0x84]
call fcn.005e5a90
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x84]
push ecx
push esi
mov ecx, edi
mov byte [esp + 0x130], 0x15
call fcn.00413660
lea ecx, [esp + 0x80]
mov dword [esp + 0x14], eax
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x54fa3c
mov eax, dword [ebp + 0xac]
mov dl, byte [esp + 0x18]
add eax, ebx
mov byte [eax + 0x181], dl
push str.AlignRstrctType
lea ecx, [esp + 0x94]
call fcn.005e5a90
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x94]
push ecx
push esi
mov ecx, edi
mov byte [esp + 0x130], 0x16
call fcn.00413660
lea ecx, [esp + 0x90]
mov dword [esp + 0x14], eax
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x54fa9c
mov eax, dword [ebp + 0xac]
mov dl, byte [esp + 0x18]
add eax, ebx
mov byte [eax + 0x182], dl
push str.PrimaryAbil
lea ecx, [esp + 0xa4]
call fcn.005e5a90
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xa4]
push ecx
push esi
mov ecx, edi
mov byte [esp + 0x130], 0x17
call int.00413270
lea ecx, [esp + 0xa0]
mov dword [esp + 0x14], eax
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x54fbc4
push 0x7487dc
lea ecx, [esp + 0x20]
call fcn.005e5290
test eax, eax
je 0x54fb14
mov eax, dword [ebp + 0xac]
add eax, ebx
mov byte [eax + 0x17a], 0
jmp 0x54fbc4
push 0x7487d8
lea ecx, [esp + 0x20]
call fcn.005e5290
test eax, eax
je 0x54fb3a
mov eax, dword [ebp + 0xac]
add eax, ebx
mov byte [eax + 0x17a], 1
jmp 0x54fbc4
push 0x7487d4
lea ecx, [esp + 0x20]
call fcn.005e5290
test eax, eax
je 0x54fb5d
mov eax, dword [ebp + 0xac]
add eax, ebx
mov byte [eax + 0x17a], 2
jmp 0x54fbc4
push 0x7487d0
lea ecx, [esp + 0x20]
call fcn.005e5290
test eax, eax
je 0x54fb80
mov eax, dword [ebp + 0xac]
add eax, ebx
mov byte [eax + 0x17a], 3
jmp 0x54fbc4
push 0x7487cc
lea ecx, [esp + 0x20]
call fcn.005e5290
test eax, eax
je 0x54fba3
mov eax, dword [ebp + 0xac]
add eax, ebx
mov byte [eax + 0x17a], 4
jmp 0x54fbc4
push 0x7487c8
lea ecx, [esp + 0x20]
call fcn.005e5290
test eax, eax
je 0x54fbc4
mov eax, dword [ebp + 0xac]
add eax, ebx
mov byte [eax + 0x17a], 5
push 0x7487c4
lea ecx, [esp + 0xb4]
call fcn.005e5a90
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xb4]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 0x18
call fcn.00413660
lea ecx, [esp + 0xb0]
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [ebp + 0xac]
mov cl, byte [esp + 0x18]
add eax, ebx
mov byte [eax + 0x17b], cl
push 0x7487c0
lea ecx, [esp + 0xc4]
call fcn.005e5a90
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xc4]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 0x19
call fcn.00413660
lea ecx, [esp + 0xc0]
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [ebp + 0xac]
mov cl, byte [esp + 0x18]
add eax, ebx
mov byte [eax + 0x17c], cl
push 0x7487bc
lea ecx, [esp + 0xd4]
call fcn.005e5a90
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xd4]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 0x1a
call fcn.00413660
lea ecx, [esp + 0xd0]
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [ebp + 0xac]
mov cl, byte [esp + 0x18]
add eax, ebx
mov byte [eax + 0x17d], cl
push 0x7487b8
lea ecx, [esp + 0xe4]
call fcn.005e5a90
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xe4]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 0x1b
call fcn.00413660
lea ecx, [esp + 0xe0]
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [ebp + 0xac]
mov cl, byte [esp + 0x18]
add eax, ebx
mov byte [eax + 0x17e], cl
push 0x7487b4
lea ecx, [esp + 0xf4]
call fcn.005e5a90
mov byte [esp + 0x124], 0x1c
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xf4]
push eax
push esi
mov ecx, edi
call fcn.00413660
lea ecx, [esp + 0xf0]
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [ebp + 0xac]
mov cl, byte [esp + 0x18]
add eax, ebx
mov byte [eax + 0x17f], cl
push 0x7487b0
lea ecx, [esp + 0x104]
call fcn.005e5a90
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x104]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x130], 0x1d
call fcn.00413660
lea ecx, [esp + 0x100]
mov byte [esp + 0x124], 2
call fcn.005e5c20
mov eax, dword [ebp + 0xac]
mov cl, byte [esp + 0x18]
add eax, ebx
mov byte [eax + 0x180], cl
lea ecx, [esp + 0x30]
call fcn.005b3190
mov byte [esp + 0x124], 0x1e
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x34]
push str.EffCRLvl_02d
push eax
call fcn.005e5680
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.005e5670
push eax
lea ecx, [esp + 0x114]
call fcn.005e5a90
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x114]
push edx
push esi
mov ecx, edi
mov byte [esp + 0x130], 0x1f
call fcn.00413660
lea ecx, [esp + 0x110]
mov byte [esp + 0x124], 0x1e
call fcn.005e5c20
mov eax, dword [ebp + 0xac]
movzx ecx, byte [esp + 0x14]
mov dl, byte [esp + 0x18]
add eax, ebx
mov byte [ecx + eax + 0x183], dl
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x14
mov dword [esp + 0x14], eax
jle 0x54fdd5
lea ecx, [esp + 0x30]
mov byte [esp + 0x124], 2
call fcn.005e5c20
lea ecx, [esp + 0x1c]
mov dword [esp + 0x124], 0xffffffff
call fcn.005e5c20
movzx eax, byte [ebp + 0xa9]
inc esi
add ebx, 0x1a0
cmp esi, eax
jl 0x54f3b0
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov ecx, dword [esp + 0x11c]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret