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

Disassembly:
sub esp, 0xd4
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.004cdcc0
movsx edi, al
cmp edi, 0x22
mov dword [esp + 0x1c], edi
ja case.default.0x4ce551
jmp dword [edi*4 + 0x4cec68]
mov eax, dword [ebp + 0x2cf88]
mov dword [esp + 0x10], eax
jmp case.default.0x4ce551
mov ecx, dword [ebp + 0x2cf8c]
jmp 0x4ce63f
mov edx, dword [ebp + 0x2cf90]
mov dword [esp + 0x10], edx
jmp case.default.0x4ce551
mov eax, dword [ebp + 0x2cf94]
mov dword [esp + 0x10], eax
jmp case.default.0x4ce551
mov ecx, dword [ebp + 0x2cf98]
jmp 0x4ce63f
mov edx, dword [ebp + 0x2cf9c]
mov dword [esp + 0x10], edx
jmp case.default.0x4ce551
mov eax, dword [ebp + 0x2cfa0]
mov dword [esp + 0x10], eax
jmp case.default.0x4ce551
mov ecx, dword [ebp + 0x2cfa4]
jmp 0x4ce63f
mov edx, dword [ebp + 0x2cfa8]
mov dword [esp + 0x10], edx
jmp case.default.0x4ce551
mov eax, dword [ebp + 0x2cfac]
mov dword [esp + 0x10], eax
jmp case.default.0x4ce551
mov ecx, dword [ebp + 0x2cfb0]
jmp 0x4ce63f
mov edx, dword [ebp + 0x2cfb4]
mov dword [esp + 0x10], edx
jmp case.default.0x4ce551
mov eax, dword [ebp + 0x2cfb8]
mov dword [esp + 0x10], eax
jmp case.default.0x4ce551
mov ecx, dword [ebp + 0x2cfbc]
jmp 0x4ce63f
mov edx, dword [ebp + 0x2cfc0]
mov dword [esp + 0x10], edx
jmp case.default.0x4ce551
mov eax, dword [ebp + 0x2cfc4]
mov dword [esp + 0x10], eax
jmp case.default.0x4ce551
mov ecx, dword [ebp + 0x2cfc8]
jmp 0x4ce63f
mov edx, dword [ebp + 0x2cfcc]
mov dword [esp + 0x10], edx
jmp case.default.0x4ce551
mov eax, dword [ebp + 0x2cfcc]
mov dword [esp + 0x10], eax
jmp case.default.0x4ce551
mov ecx, dword [ebp + 0x2cfcc]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x661330]
push 0x41000000
push 0x41940000
call fcn.0049a020
mov ecx, dword [esp + 0x10]
call fcn.004a6280
movsx eax, al
test eax, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
jle 0x4cec5a
mov ebx, dword [esp + 0x20]
lea esi, [ebp + 0x2a060]
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x10]
call fcn.004a6270
movsx edx, al
mov eax, dword [esp + 0x14]
sub edx, 4
cmp eax, edx
jl 0x4cec3e
mov ecx, dword [esp + 0x10]
call fcn.004a6270
mov ecx, dword [esp + 0x14]
movsx eax, al
add eax, 4
cmp ecx, eax
jg 0x4cec3e
cmp edi, 0x22
ja case.default.0x4ce6c5
jmp dword [edi*4 + 0x4cecf4]
mov edx, dword [ebp + 0x2a0d0]
xor eax, eax
mov ax, word [esi - 0x38]
lea ecx, [eax + eax*2]
shl ecx, 6
add ecx, eax
mov eax, dword [edx + 0x48]
lea ebx, [eax + ecx*4]
jmp case.default.0x4ce6c5
mov ecx, dword [ebp + 0x2a0d0]
xor eax, eax
mov ax, word [esi]
mov ebx, eax
shl ebx, 5
sub ebx, eax
mov eax, dword [ecx + 0x8c]
shl ebx, 5
add ebx, eax
jmp case.default.0x4ce6c5
xor eax, eax
mov edx, dword [ebp + 0x2a0d0]
mov ax, word [esi + 0x20]
mov ebx, eax
shl ebx, 5
sub ebx, eax
mov eax, dword [edx + 0x94]
lea ebx, [ebx + ebx*2]
shl ebx, 5
add ebx, eax
jmp case.default.0x4ce6c5
xor eax, eax
mov ax, word [esi + 0x14]
mov ebx, eax
shl ebx, 5
sub ebx, eax
mov eax, dword [ebp + 0x2a0d0]
shl ebx, 5
add ebx, dword [eax + 0x90]
jmp case.default.0x4ce6c5
xor eax, eax
mov ecx, dword [ebp + 0x2a0d0]
mov ax, word [esi + 0x2e]
mov ebx, eax
shl ebx, 5
sub ebx, eax
mov eax, dword [ecx + 0x98]
lea ebx, [ebx + ebx*2]
shl ebx, 5
add ebx, eax
jmp case.default.0x4ce6c5
xor eax, eax
mov ax, word [esi - 0x28]
lea ecx, [eax + eax*2]
shl ecx, 3
sub ecx, eax
mov eax, dword [ebp + 0x2a0d0]
lea edx, [ecx + ecx*2]
mov ecx, dword [eax + 0x50]
jmp 0x4ceba6
xor eax, eax
mov edx, dword [ebp + 0x2a0d0]
mov ax, word [esi + 0x4c]
mov ebx, eax
shl ebx, 5
sub ebx, eax
mov eax, dword [edx + 0xa4]
lea ebx, [ebx + ebx*4]
shl ebx, 4
add ebx, eax
jmp case.default.0x4ce6c5
xor eax, eax
mov ax, word [esi + 0x50]
mov ebx, eax
shl ebx, 5
sub ebx, eax
mov eax, dword [ebp + 0x2a0d0]
mov ecx, dword [eax + 0xa8]
lea ebx, [ebx + ebx*4]
shl ebx, 4
add ebx, ecx
jmp case.default.0x4ce6c5
xor eax, eax
mov ecx, dword [ebp + 0x2a0d0]
mov ax, word [esi + 0x54]
mov ebx, eax
shl ebx, 5
sub ebx, eax
mov eax, dword [ecx + 0xac]
lea ebx, [ebx + ebx*4]
shl ebx, 4
add ebx, eax
jmp case.default.0x4ce6c5
xor eax, eax
mov edx, dword [ebp + 0x2a0d0]
mov ax, word [esi + 0x58]
mov ebx, eax
shl ebx, 5
sub ebx, eax
mov eax, dword [edx + 0xb0]
lea ebx, [ebx + ebx*4]
shl ebx, 4
add ebx, eax
jmp case.default.0x4ce6c5
xor eax, eax
mov ax, word [esi - 0x18]
mov ecx, eax
shl ecx, 6
add ecx, eax
lea edx, [eax + ecx*2]
mov eax, dword [ebp + 0x2a0d0]
mov ecx, dword [eax + 0x68]
lea ebx, [ecx + edx*8]
jmp case.default.0x4ce6c5
xor eax, eax
mov ax, word [esi + 0x5c]
lea edx, [eax + eax*2]
shl edx, 6
add edx, eax
mov eax, dword [ebp + 0x2a0d0]
mov ecx, dword [eax + 0xb4]
jmp 0x4ceba6
xor eax, eax
mov ecx, dword [ebp + 0x2a0d0]
mov ax, word [esi - 0x24]
mov edx, eax
shl edx, 6
add edx, eax
lea eax, [eax + edx*2]
mov edx, dword [ecx + 0x54]
lea ebx, [edx + eax*8]
jmp case.default.0x4ce6c5
xor eax, eax
mov ax, word [esi + 0x3c]
mov ebx, eax
shl ebx, 5
sub ebx, eax
mov eax, dword [ebp + 0x2a0d0]
mov ecx, dword [eax + 0x9c]
lea ebx, [ebx + ebx*2]
shl ebx, 5
add ebx, ecx
jmp case.default.0x4ce6c5
xor eax, eax
mov ecx, dword [ebp + 0x2a0d0]
mov ax, word [esi + 0x44]
mov ebx, eax
shl ebx, 5
sub ebx, eax
mov eax, dword [ecx + 0xa0]
lea ebx, [ebx + ebx*2]
shl ebx, 5
add ebx, eax
jmp case.default.0x4ce6c5
mov edx, dword [ebp + 0x2a0d0]
xor eax, eax
mov ax, word [esi - 6]
mov ebx, eax
shl ebx, 8
sub ebx, eax
mov eax, dword [edx + 0x88]
shl ebx, 4
add ebx, eax
jmp case.default.0x4ce6c5
xor eax, eax
mov ax, word [esi - 0x2c]
lea ecx, [eax + eax*2]
shl ecx, 3
sub ecx, eax
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp + 0x2a0d0]
mov edx, dword [ecx + 0x4c]
lea ebx, [edx + eax*4]
jmp case.default.0x4ce6c5
xor eax, eax
mov ax, word [ebp + 0x2a04c]
lea ecx, [eax + eax*2]
shl ecx, 3
sub ecx, eax
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp + 0x2a0d0]
mov edx, dword [ecx + 0x6c]
lea ebx, [edx + eax*4]
jmp case.default.0x4ce6c5
xor eax, eax
mov ax, word [ebp + 0x2a0c6]
mov ebx, eax
shl ebx, 5
sub ebx, eax
mov eax, dword [ebp + 0x2a0d0]
shl ebx, 4
add ebx, dword [eax + 0xc0]
jmp case.default.0x4ce6c5
mov ecx, dword [ebp + 0x2a0d0]
xor eax, eax
mov ax, word [ebp + 0x2a0c8]
mov ebx, eax
shl ebx, 5
sub ebx, eax
mov eax, dword [ecx + 0xc4]
shl ebx, 4
add ebx, eax
jmp case.default.0x4ce6c5
mov edx, dword [ebp + 0x2a0d0]
xor eax, eax
mov ax, word [ebp + 0x2a0c2]
mov ebx, eax
shl ebx, 5
sub ebx, eax
mov eax, dword [edx + 0xb8]
shl ebx, 4
add ebx, eax
jmp case.default.0x4ce6c5
xor eax, eax
mov ax, word [ebp + 0x2a0c4]
mov ebx, eax
shl ebx, 5
sub ebx, eax
mov eax, dword [ebp + 0x2a0d0]
shl ebx, 4
add ebx, dword [eax + 0xbc]
jmp case.default.0x4ce6c5
xor eax, eax
mov ax, word [ebp + 0x2a044]
mov ecx, eax
shl ecx, 6
add ecx, eax
lea edx, [eax + ecx*2]
mov eax, dword [ebp + 0x2a0d0]
mov ecx, dword [eax + 0x60]
lea ebx, [ecx + edx*8]
jmp case.default.0x4ce6c5
mov edx, dword [ebp + 0x2a0d0]
xor eax, eax
mov ax, word [ebp + 0x2a0cc]
mov ebx, eax
shl ebx, 5
sub ebx, eax
mov eax, dword [edx + 0xcc]
shl ebx, 4
add ebx, eax
jmp case.default.0x4ce6c5
xor eax, eax
mov ax, word [ebp + 0x2a0ce]
mov ebx, eax
shl ebx, 5
sub ebx, eax
mov eax, dword [ebp + 0x2a0d0]
shl ebx, 4
add ebx, dword [eax + 0xd0]
jmp case.default.0x4ce6c5
mov ecx, dword [ebp + 0x2a0d0]
xor eax, eax
mov ax, word [ebp + 0x2a0ca]
mov ebx, eax
shl ebx, 5
sub ebx, eax
mov eax, dword [ecx + 0xc8]
shl ebx, 4
add ebx, eax
jmp case.default.0x4ce6c5
xor eax, eax
mov ecx, dword [ebp + 0x2a0d0]
mov ax, word [ebp + 0x2a042]
mov edx, eax
shl edx, 6
add edx, eax
lea eax, [eax + edx*2]
mov edx, dword [ecx + 0x5c]
lea ebx, [edx + eax*8]
jmp case.default.0x4ce6c5
xor eax, eax
mov ax, word [ebp + 0x2a04e]
mov ecx, eax
shl ecx, 6
add ecx, eax
lea edx, [eax + ecx*2]
mov eax, dword [ebp + 0x2a0d0]
mov ecx, dword [eax + 0x70]
lea ebx, [ecx + edx*8]
jmp case.default.0x4ce6c5
xor eax, eax
mov ecx, dword [ebp + 0x2a0d0]
mov ax, word [ebp + 0x2a052]
mov edx, eax
shl edx, 6
add edx, eax
lea eax, [eax + edx*2]
mov edx, dword [ecx + 0x78]
lea ebx, [edx + eax*8]
jmp case.default.0x4ce6c5
xor eax, eax
mov ax, word [ebp + 0x2a054]
mov ecx, eax
shl ecx, 5
add ecx, eax
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*2]
mov eax, dword [ebp + 0x2a0d0]
mov ecx, dword [eax + 0x7c]
jmp 0x4ceba6
xor eax, eax
mov ecx, dword [ebp + 0x2a0d0]
mov ax, word [ebp + 0x2a050]
mov edx, eax
shl edx, 6
add edx, eax
lea eax, [eax + edx*2]
mov edx, dword [ecx + 0x74]
lea ebx, [edx + eax*8]
jmp case.default.0x4ce6c5
xor eax, eax
mov ax, word [ebp + 0x2a040]
mov ecx, eax
shl ecx, 6
add ecx, eax
lea edx, [eax + ecx*2]
mov eax, dword [ebp + 0x2a0d0]
mov ecx, dword [eax + 0x58]
lea ebx, [ecx + edx*8]
jmp case.default.0x4ce6c5
xor eax, eax
mov ax, word [ebp + 0x2a058]
lea ecx, [eax + eax*2]
shl ecx, 3
sub ecx, eax
mov eax, dword [ebp + 0x2a0d0]
lea edx, [ecx + ecx*2]
mov ecx, dword [eax + 0x84]
jmp 0x4ceba6
xor eax, eax
mov ax, word [ebp + 0x2a046]
lea ecx, [eax + eax*2]
shl ecx, 3
sub ecx, eax
mov eax, dword [ebp + 0x2a0d0]
lea edx, [ecx + ecx*2]
mov ecx, dword [eax + 0x64]
jmp 0x4ceba6
xor eax, eax
mov ax, word [ebp + 0x2a056]
lea ecx, [eax + eax*2]
shl ecx, 3
sub ecx, eax
mov eax, dword [ebp + 0x2a0d0]
lea edx, [ecx + ecx*2]
mov ecx, dword [eax + 0x80]
lea ebx, [ecx + edx*4]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x64]
push edx
push eax
call fcn.004a6220
push 0xbdcccccd
push 0xbfe66666
lea ecx, [esp + 0xac]
push 0
push ecx
mov ecx, 0x65cb50
call fcn.004937c0
lea edx, [esp + 0x64]
push edx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0055734a
mov ecx, ebp
call fcn.004cde90
test ax, ax
push 0x3f800000
push 0x40200000
je 0x4cec16
sub esp, 0x40
mov ecx, 0x10
lea esi, [esp + 0x6c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 4]
push ecx
jmp 0x4cec2b
sub esp, 0x40
mov ecx, 0x10
lea esi, [esp + 0x6c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push str.Cannot_Select_Skill...
mov ecx, dword [0x661330]
call fcn.0049bd20
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc eax
add esi, 2
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
jl 0x4ce686
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret