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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x5c43dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x642284]
test eax, eax
je 0x489478
mov ecx, dword [0x642280]
push edi
lea edx, [eax + ecx*4 + 4]
push 1
push str.magic
mov dword [ebp - 0x34], edx
call fcn.00584520
mov edi, eax
add esp, 8
test edi, edi
je 0x489477
push ebx
push esi
push 0
push edi
push 1
push str.code
call fcn.00484b70
add esp, 0x10
test eax, eax
je 0x48945d
mov ecx, dword [0x642284]
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.00484b70
push 0
push edi
push 1
push str.name
mov dword [esi + 8], eax
call fcn.00484b70
push 0
push edi
push 1
push str.expend
mov dword [esi + 4], eax
call fcn.00484b70
push 0
push edi
push 1
push str.attack_range
mov dword [esi + 0x2c], eax
call fcn.00484b70
add esp, 0x40
push 0
push edi
push 1
push str.effect_range
mov dword [esi + 0x14], eax
call fcn.00484b70
push 0
push edi
push 1
push str.center_range
mov dword [esi + 0x18], eax
call fcn.00484b70
push 0
push edi
push 1
push str.target_type
mov dword [esi + 0x1c], eax
call fcn.00484b70
push 0
push edi
push 1
push str.cast_act
mov dword [esi + 0x10], eax
call fcn.00484b70
add esp, 0x40
push 0
push edi
push 1
push str.cast_delay
mov dword [esi + 0x28], eax
call fcn.00484b70
push 0x5a
push edi
push 1
push 0x5a90c8
mov dword [esi + 0x30], eax
call fcn.00484b70
push 0
push edi
push 1
push str.damagex2
mov word [esi + 0x34], ax
call fcn.00484b70
push 0
push edi
push 1
push str.explain
mov word [esi + 0x36], ax
call fcn.00484b70
add esp, 0x40
mov dword [esi + 0x38], eax
push 0
push edi
push 1
push str.attribute
call fcn.00484b70
push 0
push edi
push 1
push str.show_no_learn
mov dword [esi + 0xc], eax
call fcn.00484b70
push 0
push edi
push 1
push str.learn_exp
mov word [esi + 0xa2], ax
call fcn.00484b70
push 0
push edi
push 1
push str.learn_exp_add
mov dword [esi + 0x82], eax
call fcn.00484b70
add esp, 0x40
push 0
push edi
push 1
push str.power_up
mov dword [esi + 0x86], eax
call fcn.00484b70
push 0
push edi
push 1
push str.spc_start
mov dword [esi + 0x44], eax
call fcn.00484b70
push 0
push edi
push 1
push str.spc_up
mov dword [esi + 0x48], eax
call fcn.00484b70
push 0
push edi
push 1
push str.damage_times
mov dword [esi + 0x4c], eax
call fcn.00484b70
add esp, 0x40
push 0
push edi
push 1
push str.damage_times_add_level
mov dword [esi + 0x8e], eax
call fcn.00484b70
push 0
push edi
push 1
push str.damage_show_delay
mov dword [esi + 0x92], eax
call fcn.00484b70
push 0
push edi
push 1
push str.expend_level_add
mov dword [esi + 0x96], eax
call fcn.00484b70
push 0
push edi
push 1
push str.damage_level_add
mov dword [esi + 0x9a], eax
call fcn.00484b70
add esp, 0x40
push 0
push edi
push 1
push str.target_select_type
mov dword [esi + 0x9e], eax
call fcn.00484b70
mov dword [esi + 0x24], eax
push 0
push edi
push 1
push str.limit_str
call fcn.00484b70
push 0
push edi
push 1
push str.limit_int
mov dword [esi + 0x58], eax
call fcn.00484b70
push 0
push edi
push 1
push str.limit_mind
mov dword [esi + 0x5c], eax
call fcn.00484b70
add esp, 0x40
push 0
push edi
push 1
push str.limit_con
mov dword [esi + 0x60], eax
call fcn.00484b70
push 0
push edi
push 1
push str.limit_dex
mov dword [esi + 0x64], eax
call fcn.00484b70
push 0
push edi
push 1
push str.limit_leader
mov dword [esi + 0x68], eax
call fcn.00484b70
push 1
push edi
push 1
push str.max_level
mov dword [esi + 0x6c], eax
call fcn.00484b70
add esp, 0x40
push 0
push edi
push 1
push str.kill
mov dword [esi + 0x50], eax
call fcn.00484b70
push 0
push edi
push 1
push str.summon
mov dword [esi + 0x54], eax
call fcn.00484b70
push 0
push edi
push 1
push str.summon_time
mov dword [esi + 0x70], eax
call fcn.00484b70
push 0
push edi
push 1
push str.summon_item
mov dword [esi + 0x74], eax
call fcn.00484b70
add esp, 0x40
mov word [esi + 0x78], ax
test ax, ax
jne 0x4890b3
mov edx, 0x13bf
mov word [esi + 0x78], dx
push 0
push edi
push 1
push str.switch
call fcn.00484b70
push 0
push edi
push 1
push str.add_st
mov dword [esi + 0x7a], eax
call fcn.00484b70
push 0
push edi
push 1
push str.force_backoff
mov dword [esi + 0x7e], eax
call fcn.00484b70
add esp, 0x30
mov dword [esi + 0x8a], eax
test eax, eax
je 0x4890fd
mov dword [esi + 0x8a], 1
push 0
push edi
push 1
push str.leech_hp
call fcn.00484b70
push 0
push edi
push 1
push str.leech_mp
mov word [esi + 0xa4], ax
call fcn.00484b70
push 0
push edi
push 1
push str.leech_st
mov word [esi + 0xa6], ax
call fcn.00484b70
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.00484b70
add esp, 0x40
push 0
push edi
push 1
push str.attack_delay2
mov dword [esi + 0xaa], eax
call fcn.00484b70
push 0
push edi
push 1
push str.attack_delay3
mov dword [esi + 0xae], eax
call fcn.00484b70
push 0
push edi
push 1
push str.function2_hit_add
mov dword [esi + 0xb2], eax
call fcn.00484b70
push 0
push edi
push 1
push str.function2_power_add
mov word [esi + 0xd2], ax
call fcn.00484b70
add esp, 0x40
push 0
push edi
push 1
push str.function2_time_add
mov word [esi + 0xd4], ax
call fcn.00484b70
push 0
push edi
push 1
push str.cd_group
mov word [esi + 0xd6], ax
call fcn.00484b70
push 0
push edi
push 1
push str.cd_tick
mov byte [esi + 0xb6], al
call fcn.00484b70
push 0
push edi
push 1
push str.cd_group_war
mov dword [esi + 0xb8], eax
call fcn.00484b70
add esp, 0x40
push 0
mov byte [esi + 0xb7], al
push edi
push 1
push str.cd_tick_war
call fcn.00484b70
push 0
push edi
push 1
push str.extra_attr1
mov dword [esi + 0xbc], eax
call fcn.00484b70
push 0
push edi
push 1
push str.extra_attr2
mov word [esi + 0xc2], ax
call fcn.00484b70
push 0
push edi
push 1
push str.extra_attr3
mov word [esi + 0xc4], ax
call fcn.00484b70
add esp, 0x40
push 0
push edi
push 1
push str.extra_attr4
mov word [esi + 0xc6], ax
call fcn.00484b70
push 0
push edi
push 1
push str.extra_attr5
mov word [esi + 0xc8], ax
call fcn.00484b70
push 0
push edi
push 1
push str.extra_attr6
mov word [esi + 0xca], ax
call fcn.00484b70
push 0
push edi
push 1
push str.extra_attr7
mov word [esi + 0xcc], ax
call fcn.00484b70
add esp, 0x40
push 0
push edi
push 1
push str.extra_attr8
mov word [esi + 0xce], ax
call fcn.00484b70
push 0
push edi
push 1
push str.mag_cutin
mov word [esi + 0xd0], ax
call fcn.00484b70
lea ebx, [esi + 0xd8]
push edi
push ebx
mov word [esi + 0x256], ax
call fcn.00485690
push edi
push ebx
call fcn.00485a20
push 0
push edi
push 1
push str.attr_none
call fcn.00484b70
add esp, 0x40
mov byte [esi + 0x115], al
test al, al
je 0x489332
or dword [ebx], 0x200000
cmp dword [esi + 0x10], 0
jne 0x48933e
or dword [ebx], 0x80000000
push 0x69267c
push edi
push 1
push str.learn_level
mov dword [ebp - 0x30], 1
call fcn.005845e0
add esp, 0x10
test eax, eax
je 0x4893c9
mov edi, edi
push 0xa
lea eax, [ebp - 0x2c]
push eax
push 0x69267c
call fcn.00484d70
mov ecx, dword [ebp - 0x2c]
push ecx
mov ebx, eax
call fcn.00479f40
add esp, 0x10
test eax, eax
je 0x4893aa
cmp eax, 4
jg 0x4893aa
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.00488c20
add esp, 0x10
mov eax, dword [ebp - 0x30]
push 0x69267c
inc eax
push edi
push eax
push str.learn_level
mov dword [ebp - 0x30], eax
call fcn.005845e0
add esp, 0x10
test eax, eax
jne 0x489360
push 0x69267c
push edi
push 1
xor ebx, ebx
push str.damage
mov dword [ebp - 0x30], ebx
call fcn.005845e0
add esp, 0x10
test eax, eax
je 0x489438
push 0x5a4bd4
push 0x69267c
call fcn.00553e97
add esp, 8
test eax, eax
je 0x489438
cmp byte [eax], 0x20
jne 0x489408
inc eax
cmp byte [eax], 0x20
je 0x489402
push 0
push eax
call fcn.00484af0
push 0x5a4bd4
push 0
mov ebx, eax
call fcn.00553e97
add esp, 0x10
test eax, eax
je 0x489435
push 0
push eax
call fcn.00484af0
add esp, 8
mov dword [ebp - 0x30], eax
jmp 0x489438
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 0x48945d
cmp dword [esi + 0x18], 0
mov dword [esi + 0x24], 0
jne 0x48945d
mov dword [esi + 0x18], 2
push edi
push str.magic
call fcn.00584580
mov edi, eax
add esp, 8
test edi, edi
jne 0x488db6
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005517d0
mov esp, ebp
pop ebp
ret