Function at 0x410a80
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, word [ecx + 4]
add ecx, 6
push esi
mov word [ebp - 0x34], ax
mov esi, edx
push ecx
movzx eax, word [ecx + 8]
movq xmm0, qword [ecx]
mov word [ebp - 0x2a], ax
mov al, byte [ecx + 0xa]
push str.SELECT__FROM_CustomAttack_WHERE_Name_s
push 0x447690
mov word [ebp - 0x38], 0x38c1
mov byte [ebp - 0x36], 0xf5
movq qword [ebp - 0x32], xmm0
mov byte [ebp - 0x28], al
call fcn.00416db0
add esp, 0xc
test al, al
je 0x410d14
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x410d14
push str.Active
call fcn.00417040
cmp eax, 0xffffffff
jne 0x410af9
or eax, eax
jmp 0x410b0a
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.Skill
mov word [ebp - 0x26], ax
call fcn.00417040
cmp eax, 0xffffffff
jne 0x410b21
or eax, eax
jmp 0x410b32
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push 0x43c3b4
mov word [ebp - 0x24], ax
call fcn.00417040
cmp eax, 0xffffffff
jne 0x410b49
or eax, eax
jmp 0x410b5a
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.PosX
mov word [ebp - 0x22], ax
call fcn.00417040
cmp eax, 0xffffffff
jne 0x410b71
or eax, eax
jmp 0x410b82
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.PosY
mov word [ebp - 0x20], ax
call fcn.00417040
cmp eax, 0xffffffff
jne 0x410b99
or eax, eax
jmp 0x410baa
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.AutoBuff
mov word [ebp - 0x1e], ax
call fcn.00417040
cmp eax, 0xffffffff
jne 0x410bc1
or eax, eax
jmp 0x410bd2
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.OffPvP
mov word [ebp - 0x1c], ax
call fcn.00417040
cmp eax, 0xffffffff
jne 0x410be9
or eax, eax
jmp 0x410bfa
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.AutoReset
mov word [ebp - 0x1a], ax
call fcn.00417040
cmp eax, 0xffffffff
jne 0x410c11
or eax, eax
jmp 0x410c22
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.AutoAddStr
mov word [ebp - 0x18], ax
call fcn.00417040
cmp eax, 0xffffffff
jne 0x410c39
or eax, eax
jmp 0x410c4a
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.AutoAddAgi
mov dword [ebp - 0x14], eax
call fcn.00417040
cmp eax, 0xffffffff
jne 0x410c60
or eax, eax
jmp 0x410c71
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.AutoAddVit
mov dword [ebp - 0x10], eax
call fcn.00417040
cmp eax, 0xffffffff
jne 0x410c87
or eax, eax
jmp 0x410c98
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.AutoAddEne
mov dword [ebp - 0xc], eax
call fcn.00417040
cmp eax, 0xffffffff
jne 0x410cae
or eax, eax
jmp 0x410cbf
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push str.AutoAddCmd
mov dword [ebp - 8], eax
call fcn.00417040
cmp eax, 0xffffffff
jne 0x410cd5
or eax, eax
jmp 0x410ce6
shl eax, 0xd
add eax, 0x4482be
push eax
call fcn.00420b26
add esp, 4
push dword [0x44769c]
mov dword [ebp - 4], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x38
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.004182a0
pop esi
mov esp, ebp
pop ebp
ret
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
mov esp, ebp
pop ebp
ret