Function at 0x410ba0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, word [ecx + 4]
add ecx, 6
push esi
push edi
mov word [ebp - 0x34], ax
mov edi, edx
movzx eax, word [ecx + 8]
movq xmm0, qword [ecx]
push ecx
mov word [ebp - 0x2a], ax
mov al, byte [ecx + 0xa]
push str.SELECT__FROM_CustomAttack_WHERE_Name_s
push 0x422408
mov word [ebp - 0x38], 0x38c1
mov byte [ebp - 0x36], 0xf5
movq qword [ebp - 0x32], xmm0
mov byte [ebp - 0x28], al
call fcn.00414eb0
add esp, 0xc
test al, al
je 0x410e16
push dword [0x422414]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x410e16
push str.Active
call fcn.00415100
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
cmp eax, 0xffffffff
jne 0x410c21
or eax, 0xffffffff
jmp 0x410c2f
shl eax, 0xd
add eax, 0x423036
push eax
call esi
add esp, 4
push str.Skill
mov word [ebp - 0x26], ax
call fcn.00415100
cmp eax, 0xffffffff
jne 0x410c46
or eax, eax
jmp 0x410c54
shl eax, 0xd
add eax, 0x423036
push eax
call esi
add esp, 4
push 0x41ce5c
mov word [ebp - 0x24], ax
call fcn.00415100
cmp eax, 0xffffffff
jne 0x410c6b
or eax, eax
jmp 0x410c79
shl eax, 0xd
add eax, 0x423036
push eax
call esi
add esp, 4
push str.PosX
mov word [ebp - 0x22], ax
call fcn.00415100
cmp eax, 0xffffffff
jne 0x410c90
or eax, eax
jmp 0x410c9e
shl eax, 0xd
add eax, 0x423036
push eax
call esi
add esp, 4
push str.PosY
mov word [ebp - 0x20], ax
call fcn.00415100
cmp eax, 0xffffffff
jne 0x410cb5
or eax, eax
jmp 0x410cc3
shl eax, 0xd
add eax, 0x423036
push eax
call esi
add esp, 4
push str.AutoBuff
mov word [ebp - 0x1e], ax
call fcn.00415100
cmp eax, 0xffffffff
jne 0x410cda
or eax, eax
jmp 0x410ce8
shl eax, 0xd
add eax, 0x423036
push eax
call esi
add esp, 4
push str.OffPvP
mov word [ebp - 0x1c], ax
call fcn.00415100
cmp eax, 0xffffffff
jne 0x410cff
or eax, eax
jmp 0x410d0d
shl eax, 0xd
add eax, 0x423036
push eax
call esi
add esp, 4
push str.AutoReset
mov word [ebp - 0x1a], ax
call fcn.00415100
cmp eax, 0xffffffff
jne 0x410d24
or eax, eax
jmp 0x410d32
shl eax, 0xd
add eax, 0x423036
push eax
call esi
add esp, 4
push str.AutoAddStr
mov word [ebp - 0x18], ax
call fcn.00415100
cmp eax, 0xffffffff
jne 0x410d49
or eax, eax
jmp 0x410d57
shl eax, 0xd
add eax, 0x423036
push eax
call esi
add esp, 4
push str.AutoAddAgi
mov dword [ebp - 0x14], eax
call fcn.00415100
cmp eax, 0xffffffff
jne 0x410d6d
or eax, eax
jmp 0x410d7b
shl eax, 0xd
add eax, 0x423036
push eax
call esi
add esp, 4
push str.AutoAddVit
mov dword [ebp - 0x10], eax
call fcn.00415100
cmp eax, 0xffffffff
jne 0x410d91
or eax, eax
jmp 0x410d9f
shl eax, 0xd
add eax, 0x423036
push eax
call esi
add esp, 4
push str.AutoAddEne
mov dword [ebp - 0xc], eax
call fcn.00415100
cmp eax, 0xffffffff
jne 0x410db5
or eax, eax
jmp 0x410dc3
shl eax, 0xd
add eax, 0x423036
push eax
call esi
add esp, 4
push str.AutoAddCmd
mov dword [ebp - 8], eax
call fcn.00415100
cmp eax, 0xffffffff
jne 0x410dd9
or eax, eax
jmp 0x410de7
shl eax, 0xd
add eax, 0x423036
push eax
call esi
add esp, 4
push dword [0x422414]
mov dword [ebp - 4], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x422414]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x38
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004163f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [0x422414]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x422414]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop edi
pop esi
mov esp, ebp
pop ebp
ret