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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x71d62e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
push esi
push edi
push 0x54
mov esi, ecx
call fcn.006fa7e6
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x8c], ebp
je 0x5505f0
push ebp
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.Skills
call fcn.00406d80
mov ecx, edi
call fcn.00413cc0
mov ebx, eax
jmp 0x5505f2
xor ebx, ebx
mov ecx, ebx
mov dword [esp + 0x8c], 0xffffffff
call int.004143b0
mov eax, dword [ebx + 0x24]
movzx edi, al
mov byte [esi + 0xab], al
mov eax, edi
shl eax, 5
add eax, 4
push eax
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov dword [esp + 0x8c], 1
je 0x55064c
push fcn.0059d7c0
push 0x5cd8a0
push edi
lea ebp, [eax + 4]
push 0x20
push ebp
mov dword [eax], edi
call fcn.006fb55f
mov al, byte [esi + 0xab]
mov dword [esi + 0xb4], ebp
xor ebp, ebp
test al, al
mov dword [esp + 0x8c], 0xffffffff
jbe 0x550b40
xor edi, edi
nop
lea ecx, [esp + 0x18]
call fcn.005b3190
push str.Name
lea ecx, [esp + 0x24]
mov dword [esp + 0x90], 2
call fcn.005e5a90
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
mov ecx, ebx
mov byte [esp + 0x98], 3
call fcn.00413660
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 2
call fcn.005e5c20
mov eax, dword [esi + 0xb4]
mov ecx, dword [esp + 0x14]
add eax, edi
mov dword [eax], ecx
push str.Description
lea ecx, [esp + 0x2c]
call fcn.005e5a90
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x2c]
push eax
push ebp
mov ecx, ebx
mov byte [esp + 0x98], 4
call fcn.00413660
lea ecx, [esp + 0x28]
mov byte [esp + 0x8c], 2
call fcn.005e5c20
mov eax, dword [esi + 0xb4]
mov ecx, dword [esp + 0x14]
add eax, edi
mov dword [eax + 4], ecx
push str.Icon
lea ecx, [esp + 0x34]
call fcn.005e5a90
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x34]
push eax
push ebp
mov ecx, ebx
mov byte [esp + 0x98], 5
call int.00413270
lea ecx, [esp + 0x30]
mov byte [esp + 0x8c], 2
call fcn.005e5c20
mov eax, dword [esi + 0xb4]
lea ecx, [esp + 0x18]
add eax, edi
push ecx
lea ecx, [eax + 0x10]
call fcn.005e5c50
push str.Untrained
lea ecx, [esp + 0x3c]
call fcn.005e5a90
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x3c]
push eax
push ebp
mov ecx, ebx
mov byte [esp + 0x98], 6
call fcn.00413660
lea ecx, [esp + 0x38]
mov byte [esp + 0x8c], 2
call fcn.005e5c20
mov eax, dword [esi + 0xb4]
mov ecx, dword [esp + 0x14]
add eax, edi
lea edx, [ecx + ecx]
mov ecx, dword [eax + 0x1c]
xor edx, ecx
and edx, 2
xor ecx, edx
mov dword [eax + 0x1c], ecx
push str.KeyAbility
lea ecx, [esp + 0x44]
call fcn.005e5a90
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
push ecx
push ebp
mov ecx, ebx
mov byte [esp + 0x98], 7
call int.00413270
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 2
call fcn.005e5c20
mov eax, dword [esi + 0xb4]
add eax, edi
push 0x7487dc
lea ecx, [esp + 0x1c]
mov dword [eax + 0x18], 0
call fcn.005e5290
test eax, eax
je 0x550824
mov eax, dword [esi + 0xb4]
add eax, edi
mov dword [eax + 0x18], 0
jmp 0x5508d4
push 0x7487d8
lea ecx, [esp + 0x1c]
call fcn.005e5290
test eax, eax
je 0x55084a
mov eax, dword [esi + 0xb4]
add eax, edi
mov dword [eax + 0x18], 1
jmp 0x5508d4
push 0x7487d4
lea ecx, [esp + 0x1c]
call fcn.005e5290
test eax, eax
je 0x55086d
mov eax, dword [esi + 0xb4]
add eax, edi
mov dword [eax + 0x18], 2
jmp 0x5508d4
push 0x7487d0
lea ecx, [esp + 0x1c]
call fcn.005e5290
test eax, eax
je 0x550890
mov eax, dword [esi + 0xb4]
add eax, edi
mov dword [eax + 0x18], 3
jmp 0x5508d4
push 0x7487cc
lea ecx, [esp + 0x1c]
call fcn.005e5290
test eax, eax
je 0x5508b3
mov eax, dword [esi + 0xb4]
add eax, edi
mov dword [eax + 0x18], 4
jmp 0x5508d4
push 0x7487c8
lea ecx, [esp + 0x1c]
call fcn.005e5290
test eax, eax
je 0x5508d4
mov eax, dword [esi + 0xb4]
add eax, edi
mov dword [eax + 0x18], 5
push str.ArmorCheckPenalty
lea ecx, [esp + 0x4c]
call fcn.005e5a90
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x4c]
push eax
push ebp
mov ecx, ebx
mov byte [esp + 0x98], 8
call fcn.00413660
lea ecx, [esp + 0x48]
mov byte [esp + 0x8c], 2
call fcn.005e5c20
mov eax, dword [esi + 0xb4]
mov ecx, dword [esp + 0x14]
lea edx, [ecx*4]
mov ecx, dword [eax + edi + 0x1c]
add eax, edi
xor edx, ecx
and edx, 4
xor ecx, edx
mov dword [eax + 0x1c], ecx
push str.AllClassesCanUse
lea ecx, [esp + 0x54]
call fcn.005e5a90
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x54]
push ecx
push ebp
mov ecx, ebx
mov byte [esp + 0x98], 9
call fcn.00413660
lea ecx, [esp + 0x50]
mov byte [esp + 0x8c], 2
call fcn.005e5c20
mov eax, dword [esi + 0xb4]
mov edx, dword [esp + 0x14]
add eax, edi
lea ecx, [edx*8]
mov edx, dword [eax + 0x1c]
xor ecx, edx
and ecx, 8
xor edx, ecx
push str.Category
lea ecx, [esp + 0x5c]
mov dword [eax + 0x1c], edx
call fcn.005e5a90
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x5c]
push eax
push ebp
mov ecx, ebx
mov byte [esp + 0x98], 0xa
call fcn.00413660
lea ecx, [esp + 0x58]
mov byte [esp + 0x8c], 2
call fcn.005e5c20
mov eax, dword [esi + 0xb4]
mov ecx, dword [esp + 0x14]
add eax, edi
mov dword [eax + 8], ecx
push str.MaxCR
lea ecx, [esp + 0x64]
call fcn.005e5a90
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x64]
push eax
push ebp
mov ecx, ebx
mov byte [esp + 0x98], 0xb
call fcn.00413660
mov byte [esp + 0x8c], 2
lea ecx, [esp + 0x60]
call fcn.005e5c20
mov eax, dword [esi + 0xb4]
mov ecx, dword [esp + 0x14]
add eax, edi
mov dword [eax + 0xc], ecx
push str.HostileSkill
lea ecx, [esp + 0x6c]
call fcn.005e5a90
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x6c]
push eax
push ebp
mov ecx, ebx
mov byte [esp + 0x98], 0xc
call fcn.00413660
lea ecx, [esp + 0x68]
mov byte [esp + 0x8c], 2
call fcn.005e5c20
mov eax, dword [esi + 0xb4]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + edi + 0x1c]
add eax, edi
xor ecx, edx
mov edx, dword [eax + 0x1c]
and ecx, 1
xor edx, ecx
push str.NPCCanUse
lea ecx, [esp + 0x74]
mov dword [eax + 0x1c], edx
call fcn.005e5a90
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x74]
push eax
push ebp
mov ecx, ebx
mov byte [esp + 0x98], 0xd
call fcn.00413660
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 2
call fcn.005e5c20
mov eax, dword [esi + 0xb4]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + edi + 0x1c]
add eax, edi
shl ecx, 4
xor ecx, edx
and ecx, 0x10
xor edx, ecx
push str.DroidCanUse
lea ecx, [esp + 0x7c]
mov dword [eax + 0x1c], edx
call fcn.005e5a90
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x7c]
push eax
push ebp
mov ecx, ebx
mov byte [esp + 0x98], 0xe
call fcn.00413660
lea ecx, [esp + 0x78]
mov byte [esp + 0x8c], 2
call fcn.005e5c20
mov eax, dword [esi + 0xb4]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + edi + 0x1c]
add eax, edi
shl ecx, 5
xor ecx, edx
and ecx, 0x20
xor edx, ecx
lea ecx, [esp + 0x18]
mov dword [eax + 0x1c], edx
mov dword [esp + 0x8c], 0xffffffff
call fcn.005e5c20
inc ebp
movzx edx, byte [esi + 0xab]
add edi, 0x20
cmp ebp, edx
jl 0x550670
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
mov ecx, dword [esp + 0x84]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret