Function at 0x4a93c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517896
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push esi
push edi
mov eax, dword [0x57b728]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov ecx, dword [0x57d0f8]
mov eax, dword [ecx]
call dword [eax + 0x180]
mov esi, dword [ebx + 0x1fc]
push 6
mov dword [ebp - 0x20], eax
call fcn.004e1d10
add esp, 4
lea ecx, [ebx + 0x1fc]
push eax
call dword [esi + 8]
mov eax, dword [ebx + 0xac]
push dword [0x57f89c]
lea ecx, [ebx + 0x1fc]
push dword [eax + 0x1c]
call fcn.004d4a00
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x2bc]
movsx eax, word [eax + 0x3c]
push eax
call fcn.004d4680
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x208]
movsx eax, word [eax + 0x40]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x214]
movzx eax, byte [eax + 0x44]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x250]
push dword [eax + 0x84]
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
movzx eax, byte [eax + 0x92]
push 0
push eax
push 0x14e
push dword [ebx + 0x310]
call edi
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x2b0]
movzx eax, byte [eax + 0x93]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
push 0
movzx eax, byte [eax + 0x94]
push eax
push 0x14e
push dword [ebx + 0x2e8]
call edi
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x430]
push dword [eax + 0xb0]
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x43c]
movzx eax, byte [eax + 0xb4]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x448]
push dword [eax + 0xb8]
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x454]
movzx eax, byte [eax + 0xbc]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x244]
movsx eax, word [eax + 0x80]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
push 0
movzx eax, byte [eax + 0xd0]
push eax
push 0x14e
push dword [ebx + 0x470]
call edi
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x574]
movsx eax, word [eax + 0xc2]
push eax
call fcn.004d4680
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x55c]
movzx eax, byte [eax + 0xdc]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x59c]
movsx eax, word [eax + 0xd6]
push eax
call fcn.004d4680
mov eax, dword [ebx + 0xac]
push 0
movzx eax, byte [eax + 0xf8]
push eax
push 0x14e
push dword [ebx + 0x4c0]
call edi
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x520]
movzx eax, word [eax + 0xf4]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x5c4]
movsx eax, word [eax + 0xea]
push eax
call fcn.004d4680
mov ecx, dword [ebx + 0xac]
mov al, byte [ecx + 0x10]
test al, al
jne 0x4aa367
test dword [ecx + 0xc], 0x1000
jne 0x4aa363
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4aa340
push 0xffffffffffffffff
push 0x53f7c0
lea ecx, [ebp - 0xc0]
mov dword [ebx + 0x5c], 0x8000
mov dword [ebx + 0x750], 0x8000
mov dword [ebp - 4], 0
call fcn.00417cd0
push 0xffffffffffffffff
push str.Select__from_PS_GameDefs.dbo.Mobs_where_MobID
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00417cd0
mov eax, dword [ebx + 0xac]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
lea eax, [ebp - 0x54]
push eax
call fcn.00418470
mov eax, dword [esi]
add esp, 8
lea ecx, [ebp - 0x18]
push dword [ebp - 0x50]
push ecx
mov ecx, esi
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x4aa325
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x4aa325
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a96e8
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.Level
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, eax
jmp 0x4a96ea
xor edx, edx
mov eax, dword [ebx + 0xac]
movsx eax, word [eax + 0x40]
cmp edx, eax
je 0x4a970f
mov eax, dword [ebx + 0x34]
lea ecx, [ebx + 0x34]
push 0xff
push dword [ebx + 0x20c]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a972b
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push 0x524bb4
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, eax
jmp 0x4a972d
xor edx, edx
mov eax, dword [ebx + 0xac]
movzx eax, byte [eax + 0x44]
cmp edx, eax
je 0x4a9752
mov eax, dword [ebx + 0x34]
lea ecx, [ebx + 0x34]
push 0xff
push dword [ebx + 0x218]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a976e
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push 0x523f20
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, eax
jmp 0x4a9770
xor edx, edx
mov eax, dword [ebx + 0xac]
cmp edx, dword [eax + 0x84]
je 0x4a9795
mov eax, dword [ebx + 0x34]
lea ecx, [ebx + 0x34]
push 0xff
push dword [ebx + 0x254]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a97ac
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push 0x523f24
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a97ae
xor eax, eax
push eax
lea ecx, [ebx + 0x25c]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a97d4
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push 0x523f28
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a97d6
xor eax, eax
push eax
lea ecx, [ebx + 0x268]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a97fc
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push 0x523f0c
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a97fe
xor eax, eax
push eax
lea ecx, [ebx + 0x274]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9824
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push 0x523f18
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9826
xor eax, eax
push eax
lea ecx, [ebx + 0x280]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a984c
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push 0x523f1c
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a984e
xor eax, eax
push eax
lea ecx, [ebx + 0x28c]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9879
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.Attrib
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, eax
jmp 0x4a987b
xor edx, edx
mov eax, dword [ebx + 0xac]
movzx eax, byte [eax + 0x94]
cmp edx, eax
je 0x4a98a3
mov eax, dword [ebx + 0x34]
lea ecx, [ebx + 0x34]
push 0xff
push dword [ebx + 0x2e8]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a98bf
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push 0x524bd4
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, eax
jmp 0x4a98c1
xor edx, edx
mov eax, dword [ebx + 0xac]
movzx eax, byte [eax + 0x92]
cmp edx, eax
je 0x4a98e9
mov eax, dword [ebx + 0x34]
lea ecx, [ebx + 0x34]
push 0xff
push dword [ebx + 0x310]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9905
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.Size
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, eax
jmp 0x4a9907
xor edx, edx
mov eax, dword [ebx + 0xac]
movzx eax, byte [eax + 0x93]
cmp edx, eax
je 0x4a992f
mov eax, dword [ebx + 0x34]
lea ecx, [ebx + 0x34]
push 0xff
push dword [ebx + 0x2b4]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a994b
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.NormalTime
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, eax
jmp 0x4a994d
xor edx, edx
mov eax, dword [ebx + 0xac]
cmp edx, dword [eax + 0xb0]
je 0x4a9972
mov eax, dword [ebx + 0x34]
lea ecx, [ebx + 0x34]
push 0xff
push dword [ebx + 0x434]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a998e
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.NormalStep
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, eax
jmp 0x4a9990
xor edx, edx
mov eax, dword [ebx + 0xac]
movzx eax, byte [eax + 0xb4]
cmp edx, eax
je 0x4a99b8
mov eax, dword [ebx + 0x34]
lea ecx, [ebx + 0x34]
push 0xff
push dword [ebx + 0x440]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a99d4
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.ChaseTime
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, eax
jmp 0x4a99d6
xor edx, edx
mov eax, dword [ebx + 0xac]
cmp edx, dword [eax + 0xb8]
je 0x4a99fb
mov eax, dword [ebx + 0x34]
lea ecx, [ebx + 0x34]
push 0xff
push dword [ebx + 0x44c]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9a17
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.ChaseStep
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, eax
jmp 0x4a9a19
xor edx, edx
mov eax, dword [ebx + 0xac]
movzx eax, byte [eax + 0xbc]
cmp edx, eax
je 0x4a9a41
mov eax, dword [ebx + 0x34]
lea ecx, [ebx + 0x34]
push 0xff
push dword [ebx + 0x458]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9a5d
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.QuestItemID
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, eax
jmp 0x4a9a5f
xor edx, edx
mov eax, dword [ebx + 0xac]
movsx eax, word [eax + 0x80]
cmp edx, eax
je 0x4a9a87
mov eax, dword [ebx + 0x34]
lea ecx, [ebx + 0x34]
push 0xff
push dword [ebx + 0x248]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9a9e
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.Defense
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9aa0
xor eax, eax
push eax
lea ecx, [ebx + 0x298]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9ac6
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.Magic
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9ac8
xor eax, eax
push eax
lea ecx, [ebx + 0x2a4]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9aee
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.ChaseRange
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9af0
xor eax, eax
push eax
lea ecx, [ebx + 0x460]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9b16
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push 0x523f34
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9b18
xor eax, eax
push eax
lea ecx, [ebx + 0x220]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9b3e
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.Money1
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9b40
xor eax, eax
push eax
lea ecx, [ebx + 0x22c]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9b66
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.Money2
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9b68
xor eax, eax
push eax
lea ecx, [ebx + 0x238]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9b93
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackOK1
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, eax
jmp 0x4a9b95
xor edx, edx
mov eax, dword [ebx + 0xac]
movzx eax, byte [eax + 0xd0]
cmp edx, eax
je 0x4a9bbd
mov eax, dword [ebx + 0x34]
lea ecx, [ebx + 0x34]
push 0xff
push dword [ebx + 0x470]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9bd4
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.Attack1
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9bd6
xor eax, eax
push eax
lea ecx, [ebx + 0x4e4]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9bfc
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackPlus1
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9bfe
xor eax, eax
push eax
lea ecx, [ebx + 0x508]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9c24
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackTime1
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9c26
xor eax, eax
push eax
lea ecx, [ebx + 0x52c]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9c4c
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackRange1
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9c4e
xor eax, eax
push eax
lea ecx, [ebx + 0x550]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9c74
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackType1
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9c76
xor eax, eax
push eax
lea ecx, [ebx + 0x574]
call fcn.004d4680
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9c9c
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackSpecial1
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9c9e
xor eax, eax
push eax
lea ecx, [ebx + 0x5ec]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9cc4
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackAttrib1
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9cc6
xor eax, eax
push 0
push eax
push 0x14e
push dword [ebx + 0x614]
call edi
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9cf0
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackOK2
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9cf2
xor eax, eax
push 0
push eax
push 0x14e
push dword [ebx + 0x498]
call edi
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9d1c
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.Attack2
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9d1e
xor eax, eax
push eax
lea ecx, [ebx + 0x4f0]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9d44
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackPlus2
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9d46
xor eax, eax
push eax
lea ecx, [ebx + 0x514]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9d6c
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackTime2
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9d6e
xor eax, eax
push eax
lea ecx, [ebx + 0x538]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9d99
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackRange2
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, eax
jmp 0x4a9d9b
xor edx, edx
mov eax, dword [ebx + 0xac]
movzx eax, byte [eax + 0xdc]
cmp edx, eax
je 0x4a9e41
lea ecx, [ebp - 0x78]
call fcn.00417d90
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x4a9dd8
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackRange2
mov ecx, eax
call dword [edx + 0x18]
mov esi, eax
jmp 0x4a9dda
xor esi, esi
mov eax, dword [ebx + 0xac]
movzx eax, byte [eax + 0xdc]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00418140
add esp, 8
push 0x53f800
push eax
call fcn.004013c0
add esp, 8
push esi
push eax
call fcn.00418470
mov eax, dword [ebx + 0x55c]
add esp, 8
lea ecx, [ebx + 0x55c]
push dword [ebp - 0x74]
call dword [eax + 0x28]
mov eax, dword [ebx + 0x34]
lea ecx, [ebx + 0x34]
push 0xff
push dword [ebx + 0x560]
call dword [eax + 4]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00417dd0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9e58
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackType2
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9e5a
xor eax, eax
push eax
lea ecx, [ebx + 0x59c]
call fcn.004d4680
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9e80
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackSpecial2
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9e82
xor eax, eax
push eax
lea ecx, [ebx + 0x5f8]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9ea8
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackAttrib2
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9eaa
xor eax, eax
push 0
push eax
push 0x14e
push dword [ebx + 0x63c]
call edi
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9ed9
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackOK3
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, eax
jmp 0x4a9edb
xor edx, edx
mov eax, dword [ebx + 0xac]
movzx eax, byte [eax + 0xf8]
cmp edx, eax
je 0x4a9f03
mov eax, dword [ebx + 0x34]
lea ecx, [ebx + 0x34]
push 0xff
push dword [ebx + 0x4c0]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9f1a
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.Attack3
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9f1c
xor eax, eax
push eax
lea ecx, [ebx + 0x4fc]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9f47
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackPlus3
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, eax
jmp 0x4a9f49
xor edx, edx
mov eax, dword [ebx + 0xac]
movzx eax, word [eax + 0xf4]
cmp edx, eax
je 0x4a9f71
mov eax, dword [ebx + 0x34]
lea ecx, [ebx + 0x34]
push 0xff
push dword [ebx + 0x524]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9f88
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackTime3
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9f8a
xor eax, eax
push eax
lea ecx, [ebx + 0x544]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9fb0
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackRange3
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9fb2
xor eax, eax
push eax
lea ecx, [ebx + 0x568]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a9fd8
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackType3
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4a9fda
xor eax, eax
push eax
lea ecx, [ebx + 0x5c4]
call fcn.004d4680
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4aa000
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackSpecial3
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4aa002
xor eax, eax
push eax
lea ecx, [ebx + 0x604]
call fcn.004d4af0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4aa028
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.AttackAttrib3
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4aa02a
xor eax, eax
push 0
push eax
push 0x14e
push dword [ebx + 0x664]
call edi
push 0xffffffffffffffff
push str.ResistState
lea ecx, [ebp - 0x9c]
call fcn.00417cd0
mov byte [ebp - 4], 5
xor esi, esi
cmp esi, 0xf
jge 0x4aa0c7
lea edi, [esi + 1]
push edi
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0048f730
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov byte [ebp - 4], 6
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x4aa093
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push dword [ebp - 0x1c]
mov ecx, eax
call dword [edx + 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x4aa09a
mov dword [ebp - 0x1c], 0
lea ecx, [esi*2 + 0xcd]
add ecx, esi
cmp dword [ebp - 0x1c], 1
mov edx, dword [ebx + ecx*4]
sete al
lea ecx, [ebx + ecx*4]
movzx eax, al
push eax
call dword [edx + 0x38]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 5
call fcn.00417dd0
mov esi, edi
jmp 0x4aa052
push str.ResistSkill
lea ecx, [ebp - 0x9c]
call fcn.00417e70
xor esi, esi
lea esp, [esp]
cmp esi, 6
jge 0x4aa13f
lea edi, [esi + 1]
push edi
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0048f730
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov byte [ebp - 4], 7
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x4aa11e
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push dword [ebp - 0x1c]
mov ecx, eax
call dword [edx + 0x18]
jmp 0x4aa120
xor eax, eax
lea ecx, [esi + 0x7d]
push eax
lea ecx, [esi + ecx*2]
lea ecx, [ebx + ecx*4]
call fcn.004d4af0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 5
call fcn.00417dd0
mov esi, edi
jmp 0x4aa0e0
lea ecx, [ebp - 0x54]
call fcn.00419080
cmp dword [0x57604c], 0x53f858
lea ecx, [ebp - 0x54]
jne 0x4aa15d
call fcn.00419670
jmp 0x4aa16b
push 0
push 0xffffffffffffffff
push str.SELECT_Grade_DropRate_FROM_PS_GameDefs.dbo.MobItems_WHERE_MobID
call fcn.00418a80
mov ecx, eax
mov eax, dword [ebx + 0xac]
push dword [eax + 0x14]
push ecx
call fcn.00418470
add esp, 8
cmp dword [0x57604c], 0x53f840
mov ecx, eax
jne 0x4aa194
call fcn.00419670
jmp 0x4aa1a2
push 0
push 0xffffffffffffffff
push str._ORDER_BY_ItemOrder
call fcn.00418a80
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x50]
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
call dword [eax + 0x24]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.0040e9c0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.0040e860
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4aa310
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x4aa310
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4aa1fe
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
mov edx, eax
jmp 0x4aa200
xor edx, edx
mov eax, 9
cmp edx, eax
cmovg eax, edx
mov dword [ebp - 0x1c], eax
xor esi, esi
nop
cmp esi, eax
jge 0x4aa2b6
test ecx, ecx
je 0x4aa246
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x1c]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
test ecx, ecx
je 0x4aa24d
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 0x1c]
mov edi, eax
jmp 0x4aa24f
mov dword [ebp - 0x20], 0
xor edi, edi
mov eax, dword [ebx + 0x7f8]
lea ecx, [ebx + 0x7f8]
push esi
call dword [eax + 0x10]
test eax, eax
je 0x4aa291
movzx ecx, di
mov dword [eax + 0xc], ecx
cmp esi, 6
jge 0x4aa278
movss xmm1, dword [0x51ea44]
jmp 0x4aa280
movss xmm1, dword [0x53fc5c]
movd xmm0, dword [ebp - 0x20]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4aa2b6
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x4aa2b6
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
inc esi
jmp 0x4aa210
mov eax, dword [ebx + 0x700]
lea ecx, [ebx + 0x700]
call dword [eax + 0x12c]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.00417dd0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040e860
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00417dd0
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.00417dd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x562bf0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], 0
call fcn.004eff77
push 0x562bf0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0
call fcn.004eff77
mov eax, 0x4aa2fe
ret
mov dword [ebx + 0x750], 0x606060
mov dword [ebx + 0x5c], 0x606060
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, al
je 0x4aa37a
mov dword [ebx + 0x5c], 0x101010
mov dword [ebx + 0x750], 0x101010
jmp 0x4aa38b
mov dword [ebx + 0x5c], 0x800000
mov dword [ebx + 0x750], 0x800000
movzx eax, word [ecx + 0x88]
push eax
lea ecx, [ebx + 0x25c]
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x268]
movzx eax, word [eax + 0x8a]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x274]
movzx eax, word [eax + 0x8c]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x280]
movzx eax, word [eax + 0x8e]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x28c]
movzx eax, word [eax + 0x90]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x298]
movzx eax, word [eax + 0x96]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x2a4]
movzx eax, word [eax + 0x98]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x460]
movzx eax, byte [eax + 0xbd]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x220]
movzx eax, word [eax + 0x42]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x22c]
movzx eax, word [eax + 0x46]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x238]
movzx eax, word [eax + 0x48]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
push 0
movzx eax, byte [eax + 0xd0]
push eax
push 0x14e
push dword [ebx + 0x470]
call edi
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x4e4]
movzx eax, word [eax + 0xca]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x508]
movzx eax, word [eax + 0xcc]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x52c]
push dword [eax + 0xc4]
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x550]
movzx eax, byte [eax + 0xc8]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
movsx eax, word [eax + 0xc2]
push eax
lea ecx, [ebx + 0x574]
call fcn.004d4680
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x5ec]
movzx eax, byte [eax + 0xcf]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
push 0
movzx eax, byte [eax + 0xce]
push eax
push 0x14e
push dword [ebx + 0x614]
call edi
mov eax, dword [ebx + 0xac]
push 0
movzx eax, byte [eax + 0xe4]
push eax
push 0x14e
push dword [ebx + 0x498]
call edi
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x4f0]
movzx eax, word [eax + 0xde]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x514]
movzx eax, word [eax + 0xe0]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x538]
push dword [eax + 0xd8]
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x55c]
movzx eax, byte [eax + 0xdc]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x59c]
movsx eax, word [eax + 0xd6]
push eax
call fcn.004d4680
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x5f8]
movzx eax, byte [eax + 0xe3]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
push 0
movzx eax, byte [eax + 0xe2]
push eax
push 0x14e
push dword [ebx + 0x63c]
call edi
mov eax, dword [ebx + 0xac]
push 0
movzx eax, byte [eax + 0xf8]
push eax
push 0x14e
push dword [ebx + 0x4c0]
call edi
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x4fc]
movzx eax, word [eax + 0xf2]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x520]
movzx eax, word [eax + 0xf4]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x544]
push dword [eax + 0xec]
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
movzx eax, byte [eax + 0xf0]
push eax
lea ecx, [ebx + 0x568]
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x5c4]
movsx eax, word [eax + 0xea]
push eax
call fcn.004d4680
mov eax, dword [ebx + 0xac]
lea ecx, [ebx + 0x604]
movzx eax, byte [eax + 0xf7]
push eax
call fcn.004d4af0
mov eax, dword [ebx + 0xac]
push 0
movzx eax, byte [eax + 0xf6]
push eax
push 0x14e
push dword [ebx + 0x664]
call edi
xor esi, esi
lea edi, [ebx + 0x334]
jmp 0x4aa710
mov eax, dword [ebx + 0xac]
mov edx, dword [edi]
cmp byte [eax + esi + 0x9a], 1
mov ecx, edi
sete al
movzx eax, al
push eax
call dword [edx + 0x38]
inc esi
add edi, 0xc
cmp esi, 0xf
jl 0x4aa710
xor esi, esi
lea edi, [ebx + 0x3e8]
lea ecx, [ecx]
mov eax, dword [ebx + 0xac]
mov ecx, edi
movzx eax, byte [eax + esi + 0xa9]
push eax
call fcn.004d4af0
inc esi
add edi, 0xc
cmp esi, 6
jl 0x4aa740
mov ecx, 0x4a
xor edi, edi
mov dword [ebp - 0x20], ecx
mov esi, 0x5c
mov edi, edi
mov eax, dword [ebx + 0xac]
push edi
mov edx, dword [eax + esi]
movzx eax, word [eax + ecx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x7f8]
lea ecx, [ebx + 0x7f8]
mov dword [ebp - 0x24], edx
call dword [eax + 0x10]
test eax, eax
je 0x4aa7c8
mov ecx, dword [ebp - 0x1c]
movzx ecx, cx
mov dword [eax + 0xc], ecx
cmp edi, 6
jge 0x4aa7af
movss xmm1, dword [0x51ea44]
jmp 0x4aa7b7
movss xmm1, dword [0x53fc5c]
movd xmm0, dword [ebp - 0x24]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0x20]
add esi, 4
add ecx, 2
inc edi
mov dword [ebp - 0x20], ecx
cmp esi, 0x80
jl 0x4aa770
mov eax, dword [ebx + 0x700]
lea ecx, [ebx + 0x700]
call dword [eax + 0x12c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret