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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x721c90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x9c8]
push edi
movzx edi, byte [ecx + 0x96c]
push edi
mov eax, ecx
call fcn.004d2b50
mov ecx, dword [eax + 0x40]
movzx ebx, byte [eax + 0x3a]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x9c8]
mov dword [esp + 0x34], ecx
push ebx
mov ecx, eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x10], 0
call fcn.004d4ff0
test eax, eax
mov dword [esp + 0x24], eax
je 0x5a7f21
mov eax, dword [eax + 0xc]
mov edx, dword [0x7a3a28]
mov ecx, dword [edx + 0x34]
push eax
call fcn.005b31a0
mov ecx, esi
call fcn.005a60d0
cmp ebx, 2
mov dword [esp + 0xc], eax
jne 0x5a7f4d
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x9c8]
mov ecx, dword [ecx + 0x998]
mov eax, dword [eax + 0x9c8]
inc ecx
mov dword [eax + 0x998], ecx
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov byte [eax + 0xc7], bl
mov eax, dword [0x8327e4]
test eax, eax
je 0x5a800e
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x9c8]
push edi
mov ecx, eax
call fcn.004d2b50
add eax, 0x78
push eax
lea ecx, [esp + 0x30]
call fcn.005e5b00
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0
call fcn.005b3190
push ebx
lea ecx, [esp + 0x40]
push str.___d__Base_Attack_Bonus_
push ecx
mov byte [esp + 0x78], 1
call fcn.005e5680
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
call fcn.005e5d10
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx + 0x9c8]
push eax
push edi
mov byte [esp + 0x74], 2
call fcn.004d2b50
mov ecx, eax
add ecx, 0x78
call fcn.005e5c50
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 1
call fcn.005e5c20
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0
call fcn.005e5c20
lea ecx, [esp + 0x2c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.005e5c20
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0xa2c]
push 0x20
mov ecx, eax
call fcn.005a4c20
mov ebx, eax
test ebx, ebx
jne 0x5a8072
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0xa2c]
push 0x10
mov ecx, eax
call fcn.005a4c20
mov ebx, eax
test ebx, ebx
je 0x5a8072
mov eax, dword [ebx + 0xc]
mov ecx, dword [0x7a3a28]
mov ecx, dword [ecx + 0x34]
push eax
call fcn.005b31a0
test eax, eax
je 0x5a8072
cmp byte [eax + 8], 3
je 0x5a8072
xor ebx, ebx
mov eax, dword [esp + 0x48]
cmp eax, 1
jne 0x5a8154
test ebx, ebx
mov edx, dword [esp + 0x10]
mov dword [edx + 0xc8], 0
je 0x5a81dd
mov eax, dword [ebx + 0xc]
push eax
mov eax, dword [0x7a3a28]
mov ecx, dword [eax + 0x34]
call fcn.005b31a0
mov cl, byte [eax + 9]
test cl, cl
je 0x5a81dd
mov ecx, dword [esi + 0x24]
mov eax, 0xfffffffa
push ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
call fcn.004ed190
cmp eax, 0xffffffff
je 0x5a80e4
mov ebx, dword [ebx + 0xc]
mov ecx, dword [0x7a3a28]
mov ecx, dword [ecx + 0x34]
push ebx
call fcn.005b31a0
cmp byte [eax + 8], 3
jne 0x5a80f4
mov dword [esp + 0x3c], 2
mov dword [esp + 0x18], 0xfffffffc
push 0x55
mov ecx, esi
call fcn.005a6630
test eax, eax
je 0x5a8124
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], 4
mov edx, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0x1c], 0x55
mov dword [esp + 0x18], eax
jmp 0x5a81dd
push 9
mov ecx, esi
call fcn.005a6630
test eax, eax
je 0x5a8141
mov dword [esp + 0x14], 2
mov dword [esp + 0x1c], 9
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0x18], eax
jmp 0x5a81dd
cmp eax, 2
jne 0x5a81dd
test ebx, ebx
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc8], 1
je 0x5a81dd
push 0x55
mov ecx, esi
mov dword [esp + 0x30], 0xfffffff6
call fcn.005a6630
test eax, eax
je 0x5a8196
mov dword [esp + 0x14], 8
mov dword [esp + 0x1c], 0x55
jmp 0x5a81d2
push 9
mov ecx, esi
call fcn.005a6630
test eax, eax
je 0x5a81b5
mov dword [esp + 0x14], 6
mov dword [esp + 0x1c], 9
jmp 0x5a81d2
push 3
mov ecx, esi
call fcn.005a6630
test eax, eax
je 0x5a81d2
mov dword [esp + 0x14], 4
mov dword [esp + 0x1c], 3
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff6
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov cl, byte [esp + 0x2c]
add edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], edx
mov dl, byte [esp + 0x3c]
mov byte [eax + 0xcc], cl
mov cl, byte [esp + 0x14]
mov byte [eax + 0xcd], dl
mov dl, byte [esp + 0x1c]
mov byte [eax + 0xce], cl
mov byte [eax + 0xcf], dl
mov eax, dword [0x8327e4]
test eax, eax
je 0x5a82da
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5a82da
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x9c8]
push edi
mov ecx, eax
call fcn.004d2b50
add eax, 0x78
push eax
lea ecx, [esp + 0x40]
call fcn.005e5b00
lea ecx, [esp + 0x48]
mov dword [esp + 0x6c], 3
call fcn.005b3190
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
push str.___d__Offhand_Attack_Penalty_
push ecx
mov byte [esp + 0x78], 4
call fcn.005e5680
add esp, 0xc
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
call fcn.005e5d10
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx + 0x9c8]
push eax
push edi
mov byte [esp + 0x74], 5
call fcn.004d2b50
mov ecx, eax
add ecx, 0x78
call fcn.005e5c50
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 4
call fcn.005e5c20
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 3
call fcn.005e5c20
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.005e5c20
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.005a4ec0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov ebx, eax
mov byte [edx + 0xc6], bl
mov eax, dword [0x8327e4]
add ecx, ebx
test eax, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0xc], ecx
je 0x5a83ba
test ebx, ebx
je 0x5a83ba
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x9c8]
push edi
mov ecx, eax
call fcn.004d2b50
add eax, 0x78
push eax
lea ecx, [esp + 0x30]
call fcn.005e5b00
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 6
call fcn.005b3190
push ebx
lea eax, [esp + 0x40]
push str.___d__Special_Attack_To_Hit_Modifier_
push eax
mov byte [esp + 0x78], 7
call fcn.005e5680
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
call fcn.005e5d10
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx + 0x9c8]
push eax
push edi
mov byte [esp + 0x74], 8
call fcn.004d2b50
mov ecx, eax
add ecx, 0x78
call fcn.005e5c50
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 7
call fcn.005e5c20
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 6
call fcn.005e5c20
lea ecx, [esp + 0x2c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.005e5c20
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0xa2c]
xor ebx, ebx
push 0x10
mov ecx, eax
mov dword [esp + 0x20], ebx
call fcn.005a4c20
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0xa2c]
push 0x20
mov ecx, eax
call fcn.005a4c20
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x5a845a
test eax, eax
jne 0x5a845a
call fcn.005b4790
test eax, eax
je 0x5a845a
mov al, byte [eax + 8]
cmp al, 2
je 0x5a8408
cmp al, 4
jne 0x5a845a
push 0x73
mov ecx, esi
call fcn.005a6630
test eax, eax
je 0x5a8424
mov ebx, 3
mov dword [esp + 0x1c], 0x73
jmp 0x5a845a
push 0x72
mov ecx, esi
call fcn.005a6630
test eax, eax
je 0x5a8440
mov ebx, 2
mov dword [esp + 0x1c], 0x72
jmp 0x5a845a
push 0x71
mov ecx, esi
call fcn.005a6630
test eax, eax
je 0x5a845a
mov ebx, 1
mov dword [esp + 0x1c], 0x71
mov edx, dword [esp + 0x10]
mov al, byte [esp + 0x1c]
mov ecx, dword [esp + 0xc]
mov byte [edx + 0xd0], bl
mov byte [edx + 0xd1], al
mov eax, dword [0x8327e4]
add ecx, ebx
test eax, eax
mov dword [esp + 0xc], ecx
je 0x5a853b
mov eax, dword [esp + 0x48]
test eax, eax
je 0x5a853b
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x9c8]
push edi
mov ecx, eax
call fcn.004d2b50
add eax, 0x78
push eax
lea ecx, [esp + 0x40]
call fcn.005e5b00
lea ecx, [esp + 0x48]
mov dword [esp + 0x6c], 9
call fcn.005b3190
push ebx
lea ecx, [esp + 0x4c]
push str.___d__Dueling_To_Hit_Modifier_
push ecx
mov byte [esp + 0x78], 0xa
call fcn.005e5680
add esp, 0xc
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
call fcn.005e5d10
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx + 0x9c8]
push eax
push edi
mov byte [esp + 0x74], 0xb
call fcn.004d2b50
mov ecx, eax
add ecx, 0x78
call fcn.005e5c50
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 0xa
call fcn.005e5c20
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 9
call fcn.005e5c20
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.005e5c20
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
xor ebx, ebx
test eax, eax
je 0x5a859b
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x5a859b
mov eax, dword [esi + 0x24]
fld dword [eax + 0x98]
fsub dword [ecx + 0x98]
fld dword [eax + 0x94]
fsub dword [ecx + 0x94]
fld dword [eax + 0x90]
fsub dword [ecx + 0x90]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fcomp dword [0x745e5c]
fnstsw ax
test ah, 0x41
jp 0x5a859b
mov ebx, 0xa
mov ecx, dword [esp + 0xc]
mov byte [edx + 0xd2], bl
mov eax, dword [0x8327e4]
add ecx, ebx
test eax, eax
mov dword [esp + 0xc], ecx
je 0x5a8666
test ebx, ebx
je 0x5a8666
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x9c8]
push edi
mov ecx, eax
call fcn.004d2b50
add eax, 0x78
push eax
lea ecx, [esp + 0x40]
call fcn.005e5b00
lea ecx, [esp + 0x48]
mov dword [esp + 0x6c], 0xc
call fcn.005b3190
push ebx
lea ecx, [esp + 0x4c]
push str.___d__Good_Aim_
push ecx
mov byte [esp + 0x78], 0xd
call fcn.005e5680
add esp, 0xc
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
call fcn.005e5d10
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx + 0x9c8]
push eax
push edi
mov byte [esp + 0x74], 0xe
call fcn.004d2b50
mov ecx, eax
add ecx, 0x78
call fcn.005e5c50
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 0xd
call fcn.005e5c20
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 0xc
call fcn.005e5c20
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.005e5c20
mov eax, dword [esp + 0x34]
xor ebx, ebx
test eax, eax
jne 0x5a869d
mov eax, dword [ebp + 8]
test eax, eax
je 0x5a869d
mov ecx, eax
mov ecx, dword [ecx + 0xa2c]
push 0x10
call fcn.005a4c20
test eax, eax
je 0x5a869d
mov ecx, eax
call fcn.005b4790
mov cl, byte [eax + 0x1a]
test cl, cl
jbe 0x5a869d
mov ebx, 0xa
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov byte [edx + 0xd3], bl
mov eax, dword [0x8327e4]
add ecx, ebx
test eax, eax
mov dword [esp + 0xc], ecx
je 0x5a876c
test ebx, ebx
je 0x5a876c
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x9c8]
push edi
mov ecx, eax
call fcn.004d2b50
add eax, 0x78
push eax
lea ecx, [esp + 0x40]
call fcn.005e5b00
lea ecx, [esp + 0x48]
mov dword [esp + 0x6c], 0xf
call fcn.005b3190
push ebx
lea eax, [esp + 0x4c]
push str.___d__Offensive_Training_Bonus__vs_Race__
push eax
mov byte [esp + 0x78], 0x10
call fcn.005e5680
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x44]
call fcn.005e5d10
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx + 0x9c8]
push eax
push edi
mov byte [esp + 0x74], 0x11
call fcn.004d2b50
mov ecx, eax
add ecx, 0x78
call fcn.005e5c50
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 0x10
call fcn.005e5c20
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 0xf
call fcn.005e5c20
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.005e5c20
mov ecx, dword [esp + 0x34]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
je 0x5a87b4
mov ecx, dword [esi + 0x24]
call fcn.005b4880
test eax, eax
je 0x5a87a4
movsx ecx, byte [esi + 0xec]
xor eax, eax
test ecx, ecx
setge al
dec eax
and eax, ecx
movsx eax, al
mov dword [esp + 0x1c], eax
jmp 0x5a8806
movsx eax, byte [esi + 0xec]
movsx eax, al
mov dword [esp + 0x1c], eax
jmp 0x5a8806
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
call fcn.005a54f0
cmp eax, 1
jne 0x5a87fb
mov ecx, dword [esi + 0x24]
call fcn.005b4880
test eax, eax
je 0x5a87eb
movsx ecx, byte [esi + 0xec]
xor eax, eax
test ecx, ecx
setge al
dec eax
and eax, ecx
movsx edx, al
mov dword [esp + 0x1c], edx
jmp 0x5a8806
movsx eax, byte [esi + 0xec]
movsx edx, al
mov dword [esp + 0x1c], edx
jmp 0x5a8806
movsx eax, byte [esi + 0xea]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov eax, dword [esi + 0x24]
add ecx, edx
add ebx, ecx
mov dword [esp + 0xc], ebx
mov ebx, dword [eax + 0x9c8]
movzx eax, byte [ebx + 0x96c]
push eax
mov ecx, ebx
call fcn.004d2b50
mov cl, byte [esp + 0x18]
mov byte [eax + 0xc3], cl
movzx edx, byte [ebx + 0x96c]
push edx
mov ecx, ebx
call fcn.004d2b50
mov ebx, dword [esp + 0x1c]
mov byte [eax + 0xc4], bl
mov eax, dword [0x8327e4]
test eax, eax
je 0x5a89a3
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x9c8]
push edi
mov ecx, eax
call fcn.004d2b50
add eax, 0x78
push eax
lea ecx, [esp + 0x40]
call fcn.005e5b00
lea ecx, [esp + 0x48]
mov dword [esp + 0x6c], 0x12
call fcn.005b3190
test ebx, ebx
mov byte [esp + 0x6c], 0x13
je 0x5a890b
push ebx
lea eax, [esp + 0x4c]
push str.___d__Dex_Modifier_
push eax
call fcn.005e5680
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x44]
call fcn.005e5d10
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx + 0x9c8]
push eax
push edi
mov byte [esp + 0x74], 0x14
call fcn.004d2b50
mov ecx, eax
add ecx, 0x78
call fcn.005e5c50
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 0x13
call fcn.005e5c20
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x9c8]
push edi
mov ecx, eax
call fcn.004d2b50
add eax, 0x78
push eax
lea ecx, [esp + 0x40]
call fcn.005e5c50
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5a8984
push eax
lea eax, [esp + 0x4c]
push str.___d__Str_Modifier_
push eax
call fcn.005e5680
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x44]
call fcn.005e5d10
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx + 0x9c8]
push eax
push edi
mov byte [esp + 0x74], 0x15
call fcn.004d2b50
mov ecx, eax
add ecx, 0x78
call fcn.005e5c50
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 0x13
call fcn.005e5c20
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x9c8]
push edi
mov ecx, eax
call fcn.004d2b50
add eax, 0x78
push eax
lea ecx, [esp + 0x40]
call fcn.005e5c50
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 0x12
call fcn.005e5c20
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.005e5c20
mov eax, dword [esp + 0x24]
xor ebx, ebx
test eax, eax
je 0x5a89de
mov ecx, eax
call fcn.005b4790
test eax, eax
je 0x5a89de
mov ecx, dword [esp + 0x24]
call fcn.005b4790
movzx eax, word [eax + 0xb2]
test ax, ax
je 0x5a89de
push eax
mov ecx, esi
call fcn.005a6630
test eax, eax
je 0x5a89de
mov ebx, 1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov byte [eax + 0xd4], bl
mov eax, dword [0x8327e4]
add ecx, ebx
test eax, eax
mov dword [esp + 0xc], ecx
je 0x5a8aad
test ebx, ebx
je 0x5a8aad
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x9c8]
push edi
mov ecx, eax
call fcn.004d2b50
add eax, 0x78
push eax
lea ecx, [esp + 0x40]
call fcn.005e5b00
lea ecx, [esp + 0x48]
mov dword [esp + 0x6c], 0x16
call fcn.005b3190
push ebx
lea ecx, [esp + 0x4c]
push str.___d__Weapon_Focus_Bonus_
push ecx
mov byte [esp + 0x78], 0x17
call fcn.005e5680
add esp, 0xc
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x44]
call fcn.005e5d10
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx + 0x9c8]
push eax
push edi
mov byte [esp + 0x74], 0x18
call fcn.004d2b50
mov ecx, eax
add ecx, 0x78
call fcn.005e5c50
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 0x17
call fcn.005e5c20
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 0x16
call fcn.005e5c20
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.005e5c20
mov ecx, dword [ebp + 8]
test ecx, ecx
push 0
push 0xff
push 0xff
push 0
push 0
push 0
lea edx, [esp + 0x5c]
push 0
mov dword [esp + 0x60], 0
push edx
je 0x5a8ae2
mov eax, dword [ecx]
mov ebx, dword [esi + 0x24]
call dword [eax + 0x10]
push eax
mov ecx, ebx
jmp 0x5a8ae7
mov ecx, dword [esi + 0x24]
push 0
push 1
call fcn.004f3fe0
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0xc]
mov byte [ecx + 0xd5], bl
mov ecx, dword [0x8327e4]
add eax, ebx
test ecx, ecx
mov dword [esp + 0xc], eax
je 0x5a8bc4
test ebx, ebx
je 0x5a8bc4
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x9c8]
push edi
mov ecx, eax
call fcn.004d2b50
add eax, 0x78
push eax
lea ecx, [esp + 0x54]
call fcn.005e5b00
lea ecx, [esp + 0x24]
mov dword [esp + 0x6c], 0x19
call fcn.005b3190
push ebx
lea edx, [esp + 0x28]
push str.___d__Effect_Attack_Bonus_
push edx
mov byte [esp + 0x78], 0x1a
call fcn.005e5680
add esp, 0xc
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x58]
call fcn.005e5d10
mov esi, dword [esi + 0x24]
mov ecx, dword [esi + 0x9c8]
push eax
push edi
mov byte [esp + 0x74], 0x1b
call fcn.004d2b50
mov ecx, eax
add ecx, 0x78
call fcn.005e5c50
lea ecx, [esp + 0x58]
mov byte [esp + 0x6c], 0x1a
call fcn.005e5c20
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 0x19
call fcn.005e5c20
lea ecx, [esp + 0x50]
mov dword [esp + 0x6c], 0xffffffff
call fcn.005e5c20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4