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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x5bb204]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x63841c]
test eax, eax
je 0x488528
mov ecx, dword [0x638418]
push edi
lea edx, [eax + ecx*4 + 4]
push 1
push str.magic
mov dword [ebp - 0x34], edx
call fcn.0057bdc0
mov edi, eax
add esp, 8
test edi, edi
je 0x488527
push ebx
push esi
push 0
push edi
push 1
push str.code
call fcn.00483c50
add esp, 0x10
test eax, eax
je 0x48850d
mov ecx, dword [0x63841c]
mov esi, eax
imul esi, esi, 0x25c
add esi, dword [ebp - 0x34]
push 0
push edi
push 1
mov dword [ecx + eax*4], esi
push str.type
mov dword [esi], eax
call fcn.00483c50
push 0
push edi
push 1
push str.name
mov dword [esi + 8], eax
call fcn.00483c50
push 0
push edi
push 1
push str.expend
mov dword [esi + 4], eax
call fcn.00483c50
push 0
push edi
push 1
push str.attack_range
mov dword [esi + 0x2c], eax
call fcn.00483c50
add esp, 0x40
push 0
push edi
push 1
push str.effect_range
mov dword [esi + 0x14], eax
call fcn.00483c50
push 0
push edi
push 1
push str.center_range
mov dword [esi + 0x18], eax
call fcn.00483c50
push 0
push edi
push 1
push str.target_type
mov dword [esi + 0x1c], eax
call fcn.00483c50
push 0
push edi
push 1
push str.cast_act
mov dword [esi + 0x10], eax
call fcn.00483c50
add esp, 0x40
push 0
push edi
push 1
push str.cast_delay
mov dword [esi + 0x28], eax
call fcn.00483c50
push 0x5a
push edi
push 1
push 0x5a1038
mov dword [esi + 0x30], eax
call fcn.00483c50
push 0
push edi
push 1
push str.damagex2
mov word [esi + 0x34], ax
call fcn.00483c50
push 0
push edi
push 1
push str.explain
mov word [esi + 0x36], ax
call fcn.00483c50
add esp, 0x40
mov dword [esi + 0x38], eax
push 0
push edi
push 1
push str.attribute
call fcn.00483c50
push 0
push edi
push 1
push str.show_no_learn
mov dword [esi + 0xc], eax
call fcn.00483c50
push 0
push edi
push 1
push str.learn_exp
mov word [esi + 0xa2], ax
call fcn.00483c50
push 0
push edi
push 1
push str.learn_exp_add
mov dword [esi + 0x82], eax
call fcn.00483c50
add esp, 0x40
push 0
push edi
push 1
push str.power_up
mov dword [esi + 0x86], eax
call fcn.00483c50
push 0
push edi
push 1
push str.spc_start
mov dword [esi + 0x44], eax
call fcn.00483c50
push 0
push edi
push 1
push str.spc_up
mov dword [esi + 0x48], eax
call fcn.00483c50
push 0
push edi
push 1
push str.damage_times
mov dword [esi + 0x4c], eax
call fcn.00483c50
add esp, 0x40
push 0
push edi
push 1
push str.damage_times_add_level
mov dword [esi + 0x8e], eax
call fcn.00483c50
push 0
push edi
push 1
push str.damage_show_delay
mov dword [esi + 0x92], eax
call fcn.00483c50
push 0
push edi
push 1
push str.expend_level_add
mov dword [esi + 0x96], eax
call fcn.00483c50
push 0
push edi
push 1
push str.damage_level_add
mov dword [esi + 0x9a], eax
call fcn.00483c50
add esp, 0x40
push 0
push edi
push 1
push str.target_select_type
mov dword [esi + 0x9e], eax
call fcn.00483c50
mov dword [esi + 0x24], eax
push 0
push edi
push 1
push str.limit_str
call fcn.00483c50
push 0
push edi
push 1
push str.limit_int
mov dword [esi + 0x58], eax
call fcn.00483c50
push 0
push edi
push 1
push str.limit_mind
mov dword [esi + 0x5c], eax
call fcn.00483c50
add esp, 0x40
push 0
push edi
push 1
push str.limit_con
mov dword [esi + 0x60], eax
call fcn.00483c50
push 0
push edi
push 1
push str.limit_dex
mov dword [esi + 0x64], eax
call fcn.00483c50
push 0
push edi
push 1
push str.limit_leader
mov dword [esi + 0x68], eax
call fcn.00483c50
push 1
push edi
push 1
push str.max_level
mov dword [esi + 0x6c], eax
call fcn.00483c50
add esp, 0x40
push 0
push edi
push 1
push str.kill
mov dword [esi + 0x50], eax
call fcn.00483c50
push 0
push edi
push 1
push str.summon
mov dword [esi + 0x54], eax
call fcn.00483c50
push 0
push edi
push 1
push str.summon_time
mov dword [esi + 0x70], eax
call fcn.00483c50
push 0
push edi
push 1
push str.summon_item
mov dword [esi + 0x74], eax
call fcn.00483c50
add esp, 0x40
mov word [esi + 0x78], ax
test ax, ax
jne 0x488163
mov edx, 0x13bf
mov word [esi + 0x78], dx
push 0
push edi
push 1
push str.switch
call fcn.00483c50
push 0
push edi
push 1
push str.add_st
mov dword [esi + 0x7a], eax
call fcn.00483c50
push 0
push edi
push 1
push str.force_backoff
mov dword [esi + 0x7e], eax
call fcn.00483c50
add esp, 0x30
mov dword [esi + 0x8a], eax
test eax, eax
je 0x4881ad
mov dword [esi + 0x8a], 1
push 0
push edi
push 1
push str.leech_hp
call fcn.00483c50
push 0
push edi
push 1
push str.leech_mp
mov word [esi + 0xa4], ax
call fcn.00483c50
push 0
push edi
push 1
push str.leech_st
mov word [esi + 0xa6], ax
call fcn.00483c50
mov word [esi + 0xa8], ax
xor eax, eax
push eax
push edi
mov dword [esi + 0xaa], eax
push 1
mov dword [esi + 0xae], eax
push str.attack_delay1
mov dword [esi + 0xb2], eax
call fcn.00483c50
add esp, 0x40
push 0
push edi
push 1
push str.attack_delay2
mov dword [esi + 0xaa], eax
call fcn.00483c50
push 0
push edi
push 1
push str.attack_delay3
mov dword [esi + 0xae], eax
call fcn.00483c50
push 0
push edi
push 1
push str.function2_hit_add
mov dword [esi + 0xb2], eax
call fcn.00483c50
push 0
push edi
push 1
push str.function2_power_add
mov word [esi + 0xd2], ax
call fcn.00483c50
add esp, 0x40
push 0
push edi
push 1
push str.function2_time_add
mov word [esi + 0xd4], ax
call fcn.00483c50
push 0
push edi
push 1
push str.cd_group
mov word [esi + 0xd6], ax
call fcn.00483c50
push 0
push edi
push 1
push str.cd_tick
mov byte [esi + 0xb6], al
call fcn.00483c50
push 0
push edi
push 1
push str.cd_group_war
mov dword [esi + 0xb8], eax
call fcn.00483c50
add esp, 0x40
push 0
mov byte [esi + 0xb7], al
push edi
push 1
push str.cd_tick_war
call fcn.00483c50
push 0
push edi
push 1
push str.extra_attr1
mov dword [esi + 0xbc], eax
call fcn.00483c50
push 0
push edi
push 1
push str.extra_attr2
mov word [esi + 0xc2], ax
call fcn.00483c50
push 0
push edi
push 1
push str.extra_attr3
mov word [esi + 0xc4], ax
call fcn.00483c50
add esp, 0x40
push 0
push edi
push 1
push str.extra_attr4
mov word [esi + 0xc6], ax
call fcn.00483c50
push 0
push edi
push 1
push str.extra_attr5
mov word [esi + 0xc8], ax
call fcn.00483c50
push 0
push edi
push 1
push str.extra_attr6
mov word [esi + 0xca], ax
call fcn.00483c50
push 0
push edi
push 1
push str.extra_attr7
mov word [esi + 0xcc], ax
call fcn.00483c50
add esp, 0x40
push 0
push edi
push 1
push str.extra_attr8
mov word [esi + 0xce], ax
call fcn.00483c50
push 0
push edi
push 1
push str.mag_cutin
mov word [esi + 0xd0], ax
call fcn.00483c50
lea ebx, [esi + 0xd8]
push edi
push ebx
mov word [esi + 0x256], ax
call fcn.00484770
push edi
push ebx
call fcn.00484b00
push 0
push edi
push 1
push str.attr_none
call fcn.00483c50
add esp, 0x40
mov byte [esi + 0x115], al
test al, al
je 0x4883e2
or dword [ebx], 0x200000
cmp dword [esi + 0x10], 0
jne 0x4883ee
or dword [ebx], 0x80000000
push 0x694c44
push edi
push 1
push str.learn_level
mov dword [ebp - 0x30], 1
call fcn.0057be80
add esp, 0x10
test eax, eax
je 0x488479
mov edi, edi
push 0xa
lea eax, [ebp - 0x2c]
push eax
push 0x694c44
call fcn.00483e50
mov ecx, dword [ebp - 0x2c]
push ecx
mov ebx, eax
call fcn.00479100
add esp, 0x10
test eax, eax
je 0x48845a
cmp eax, 8
jg 0x48845a
mov ecx, dword [ebp - 0x28]
xor edx, edx
cmp ebx, 3
setl dl
and ecx, 0xffff
dec edx
and edx, dword [ebp - 0x24]
push edx
mov edx, dword [esi]
push ecx
push edx
push eax
call fcn.00487cd0
add esp, 0x10
mov eax, dword [ebp - 0x30]
push 0x694c44
inc eax
push edi
push eax
push str.learn_level
mov dword [ebp - 0x30], eax
call fcn.0057be80
add esp, 0x10
test eax, eax
jne 0x488410
push 0x694c44
push edi
push 1
xor ebx, ebx
push str.damage
mov dword [ebp - 0x30], ebx
call fcn.0057be80
add esp, 0x10
test eax, eax
je 0x4884e8
push 0x59cbe4
push 0x694c44
call fcn.0054c2f7
add esp, 8
test eax, eax
je 0x4884e8
cmp byte [eax], 0x20
jne 0x4884b8
inc eax
cmp byte [eax], 0x20
je 0x4884b2
push 0
push eax
call fcn.00483bd0
push 0x59cbe4
push 0
mov ebx, eax
call fcn.0054c2f7
add esp, 0x10
test eax, eax
je 0x4884e5
push 0
push eax
call fcn.00483bd0
add esp, 8
mov dword [ebp - 0x30], eax
jmp 0x4884e8
mov dword [ebp - 0x30], ebx
cmp dword [esi], 0x1c1
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], eax
jne 0x48850d
cmp dword [esi + 0x18], 0
mov dword [esi + 0x24], 0
jne 0x48850d
mov dword [esi + 0x18], 2
push edi
push str.magic
call fcn.0057be20
mov edi, eax
add esp, 8
test edi, edi
jne 0x487e66
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00549540
mov esp, ebp
pop ebp
ret