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

Disassembly:
mov eax, dword [0x5e834c]
sub esp, 0x2c
test eax, eax
push edi
je 0x46bfb1
mov ecx, dword [0x5e8348]
push 1
push str.magic
lea edx, [eax + ecx*4 + 4]
mov dword [esp + 0xc], edx
call fcn.00552c60
mov edi, eax
add esp, 8
test edi, edi
je 0x46bfb1
push ebx
push ebp
push esi
push 0
push edi
push 1
push str.code
call fcn.00466a60
add esp, 0x10
test eax, eax
je 0x46bf96
mov edx, dword [esp + 0x10]
mov ecx, eax
shl ecx, 5
sub ecx, eax
push 0
push edi
push 1
lea ecx, [ecx + ecx*8]
push str.type
lea esi, [edx + ecx*2]
mov ecx, dword [0x5e834c]
mov dword [ecx + eax*4], esi
mov dword [esi], eax
call fcn.00466a60
push 0
push edi
push 1
push str.name
mov dword [esi + 8], eax
call fcn.00466a60
push 0
push edi
push 1
push str.expend
mov dword [esi + 4], eax
call fcn.00466a60
push 0
push edi
push 1
push str.attack_range
mov dword [esi + 0x2c], eax
call fcn.00466a60
add esp, 0x40
mov dword [esi + 0x14], eax
push 0
push edi
push 1
push str.effect_range
call fcn.00466a60
push 0
push edi
push 1
push str.center_range
mov dword [esi + 0x18], eax
call fcn.00466a60
push 0
push edi
push 1
push str.target_type
mov dword [esi + 0x1c], eax
call fcn.00466a60
push 0
push edi
push 1
push str.cast_act
mov dword [esi + 0x10], eax
call fcn.00466a60
add esp, 0x40
mov dword [esi + 0x28], eax
push 0
push edi
push 1
push str.cast_delay
call fcn.00466a60
push 0x5a
push edi
push 1
push 0x5769fc
mov dword [esi + 0x30], eax
call fcn.00466a60
push 0
push edi
push 1
push str.damagex2
mov word [esi + 0x34], ax
call fcn.00466a60
push 0
push edi
push 1
mov word [esi + 0x36], ax
push str.explain
call fcn.00466a60
add esp, 0x40
mov dword [esi + 0x38], eax
push 0
push edi
push 1
push str.attribute
call fcn.00466a60
push 0
push edi
push 1
push str.show_no_learn
mov dword [esi + 0xc], eax
call fcn.00466a60
push 0
push edi
push 1
push str.learn_exp
mov word [esi + 0xa2], ax
call fcn.00466a60
push 0
push edi
push 1
push str.learn_exp_add
mov dword [esi + 0x82], eax
call fcn.00466a60
add esp, 0x40
mov dword [esi + 0x86], eax
push 0
push edi
push 1
push str.power_up
call fcn.00466a60
push 0
push edi
push 1
push str.spc_start
mov dword [esi + 0x44], eax
call fcn.00466a60
push 0
push edi
push 1
push str.spc_up
mov dword [esi + 0x48], eax
call fcn.00466a60
push 0
push edi
push 1
push str.damage_times
mov dword [esi + 0x4c], eax
call fcn.00466a60
add esp, 0x40
mov dword [esi + 0x8e], eax
push 0
push edi
push 1
push str.damage_times_add_level
call fcn.00466a60
push 0
push edi
push 1
push str.damage_show_delay
mov dword [esi + 0x92], eax
call fcn.00466a60
push 0
push edi
push 1
push str.expend_level_add
mov dword [esi + 0x96], eax
call fcn.00466a60
push 0
push edi
push 1
push str.damage_level_add
mov dword [esi + 0x9a], eax
call fcn.00466a60
add esp, 0x40
mov dword [esi + 0x9e], eax
push 0
push edi
push 1
push str.target_select_type
call fcn.00466a60
push 0
push edi
push 1
push str.limit_str
mov dword [esi + 0x24], eax
call fcn.00466a60
push 0
push edi
push 1
push str.limit_int
mov dword [esi + 0x58], eax
call fcn.00466a60
push 0
push edi
push 1
push str.limit_mind
mov dword [esi + 0x5c], eax
call fcn.00466a60
add esp, 0x40
mov dword [esi + 0x60], eax
push 0
push edi
push 1
push str.limit_con
call fcn.00466a60
push 0
push edi
push 1
push str.limit_dex
mov dword [esi + 0x64], eax
call fcn.00466a60
push 0
push edi
push 1
push str.limit_leader
mov dword [esi + 0x68], eax
call fcn.00466a60
push 1
push edi
push 1
push str.max_level
mov dword [esi + 0x6c], eax
call fcn.00466a60
add esp, 0x40
mov dword [esi + 0x50], eax
push 0
push edi
push 1
push str.kill
call fcn.00466a60
push 0
push edi
push 1
push str.summon
mov dword [esi + 0x54], eax
call fcn.00466a60
push 0
push edi
push 1
push str.summon_time
mov dword [esi + 0x70], eax
call fcn.00466a60
push 0
push edi
push 1
push str.summon_item
mov dword [esi + 0x74], eax
call fcn.00466a60
add esp, 0x40
mov word [esi + 0x78], ax
push 0
push edi
push 1
push str.switch
call fcn.00466a60
push 0
push edi
mov dword [esi + 0x7a], eax
push 1
push str.add_st
call fcn.00466a60
push 0
push edi
push 1
push str.force_backoff
mov dword [esi + 0x7e], eax
call fcn.00466a60
add esp, 0x30
mov dword [esi + 0x8a], eax
test eax, eax
je 0x46bd7a
mov dword [esi + 0x8a], 1
push 0
push edi
push 1
push str.leech_hp
call fcn.00466a60
push 0
push edi
push 1
push str.leech_mp
mov word [esi + 0xa4], ax
call fcn.00466a60
push 0
push edi
push 1
push str.leech_st
mov word [esi + 0xa6], ax
call fcn.00466a60
lea ebx, [esi + 0xaa]
mov word [esi + 0xa8], ax
mov eax, ebx
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
push edx
push edi
push 1
push str.attack_delay1
mov dword [eax + 8], edx
call fcn.00466a60
add esp, 0x40
mov dword [ebx], eax
push 0
push edi
push 1
push str.attack_delay2
call fcn.00466a60
push 0
push edi
push 1
push str.attack_delay3
mov dword [esi + 0xae], eax
call fcn.00466a60
push 0
push edi
push 1
push str.function2_hit_add
mov dword [esi + 0xb2], eax
call fcn.00466a60
push 0
push edi
push 1
push str.function2_power_add
mov word [esi + 0xbb], ax
call fcn.00466a60
add esp, 0x40
mov word [esi + 0xbd], ax
push 0
push edi
push 1
push str.function2_time_add
call fcn.00466a60
push 0
push edi
push 1
push str.cd_group
mov word [esi + 0xbf], ax
call fcn.00466a60
push 0
push edi
push 1
push str.cd_tick
mov byte [esi + 0xb6], al
call fcn.00466a60
lea ebx, [esi + 0xc1]
push edi
push ebx
mov dword [esi + 0xb7], eax
call fcn.004674c0
push edi
push ebx
call fcn.00467860
mov eax, dword [esi + 0x10]
add esp, 0x40
test eax, eax
jne 0x46be9e
or dword [ebx], 0x80000000
mov ebx, 1
push 0x5eddd4
push edi
push ebx
push str.learn_level
call fcn.00552d20
add esp, 0x10
test eax, eax
je 0x46bf03
lea ecx, [esp + 0x14]
push 0xa
push ecx
push 0x5eddd4
call fcn.00466c40
mov edx, dword [esp + 0x20]
push edx
call fcn.004606c0
mov ecx, dword [esp + 0x28]
and ecx, 0xffff
push ecx
mov ecx, dword [esi]
push ecx
push eax
call fcn.0046b8d0
inc ebx
push 0x5eddd4
push edi
push ebx
push str.learn_level
call fcn.00552d20
add esp, 0x2c
test eax, eax
jne 0x46bebb
push 0x5eddd4
push edi
push 1
push str.damage
xor ebp, ebp
xor ebx, ebx
call fcn.00552d20
add esp, 0x10
test eax, eax
je 0x46bf72
push 0x5731d0
push 0x5eddd4
call fcn.0052b25e
add esp, 8
test eax, eax
je 0x46bf72
cmp byte [eax], 0x20
jne 0x46bf44
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x46bf3b
push 0
push eax
call fcn.004669d0
push 0x5731d0
push 0
mov ebx, eax
call fcn.0052b25e
add esp, 0x10
test eax, eax
je 0x46bf70
push 0
push eax
call fcn.004669d0
add esp, 8
mov ebp, eax
jmp 0x46bf72
mov ebp, ebx
mov eax, dword [esi]
mov dword [esi + 0x3c], ebx
cmp eax, 0x1c1
mov dword [esi + 0x40], ebp
jne 0x46bf96
mov eax, dword [esi + 0x18]
mov dword [esi + 0x24], 0
test eax, eax
jne 0x46bf96
mov dword [esi + 0x18], 2
push edi
push str.magic
call fcn.00552cc0
mov edi, eax
add esp, 8
test edi, edi
jne 0x46ba3b
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x2c
ret