Function at 0x410c30
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x129c
call fcn.004351e0
mov eax, dword [0x446040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1287
lea eax, [ebp - 0x128f]
mov dword [ebp - 0x129c], edx
push 0
push eax
mov esi, ecx
call fcn.0041f470
movzx eax, word [esi + 4]
lea edx, [esi + 6]
movq xmm0, qword [edx]
lea ebx, [esi + 0x11]
mov word [ebp - 0x128c], ax
add esp, 0xc
movzx eax, word [edx + 8]
mov word [ebp - 0x1282], ax
mov al, byte [edx + 0xa]
mov byte [ebp - 0x1280], al
movzx eax, word [ebx + 8]
mov word [ebp - 0x1277], ax
mov al, byte [ebx + 0xa]
movq qword [ebp - 0x128a], xmm0
movq xmm0, qword [ebx]
mov byte [ebp - 0x1275], al
xor eax, eax
mov dword [ebp - 0x1290], 0x48812c2
mov dword [ebp - 0x1298], edx
movq qword [ebp - 0x127f], xmm0
nop dword [eax + eax]
mov cl, byte [ebx + eax]
cmp cl, 0x20
je 0x411657
cmp cl, 0x22
je 0x411657
cmp cl, 0x27
je 0x411657
inc eax
cmp eax, 0xb
jl 0x410cd0
push ebx
push edx
push str.SELECT__FROM_Character_WHERE_AccountID_s_AND_Name_s
push 0x446e50
mov byte [ebp - 0x1274], 1
call fcn.0041ad00
add esp, 0x10
test al, al
je 0x411657
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x411657
push str.cLevel
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x410d40
or eax, eax
jmp 0x410d51
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.Class
mov word [ebp - 0x1272], ax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x410d6b
or eax, eax
jmp 0x410d7c
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.LevelUpPoint
mov byte [ebp - 0x1273], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x410d95
or eax, eax
jmp 0x410da6
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.Experience
mov dword [ebp - 0x1270], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x410dc2
or eax, eax
or edx, 0xffffffff
jmp 0x410dd3
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004240c2
add esp, 4
push str.Strength
mov dword [ebp - 0x1268], eax
mov dword [ebp - 0x1264], edx
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x410df2
or eax, eax
jmp 0x410e03
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.Dexterity
mov dword [ebp - 0x125c], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x410e1c
or eax, eax
jmp 0x410e2d
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.Vitality
mov dword [ebp - 0x1258], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x410e46
or eax, eax
jmp 0x410e57
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.Energy
mov dword [ebp - 0x1254], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x410e70
or eax, eax
jmp 0x410e81
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.Leadership
mov dword [ebp - 0x1250], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x410e9a
or eax, eax
jmp 0x410eab
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x124c], eax
lea eax, [ebp - 0x1228]
push 0xec0
push eax
push str.Inventory
call fcn.0041afa0
push 0xb4
lea eax, [ebp - 0x2c8]
push eax
push str.MagicList
call fcn.0041afa0
push str.Money
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x410ef0
or eax, eax
jmp 0x410f01
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.Life
mov dword [ebp - 0x1260], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x410f20
movss xmm0, dword [0x442dc4]
jmp 0x410f3f
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004273c2
fstp dword [ebp - 0x1294]
movss xmm0, dword [ebp - 0x1294]
add esp, 4
call fcn.00435470
push str.MaxLife
mov dword [ebp - 0x1248], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x410f63
movss xmm0, dword [0x442dc4]
jmp 0x410f82
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004273c2
fstp dword [ebp - 0x1294]
movss xmm0, dword [ebp - 0x1294]
add esp, 4
call fcn.00435470
push str.Mana
mov dword [ebp - 0x1244], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x410fa6
movss xmm0, dword [0x442dc4]
jmp 0x410fc5
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004273c2
fstp dword [ebp - 0x1294]
movss xmm0, dword [ebp - 0x1294]
add esp, 4
call fcn.00435470
push str.MaxMana
mov dword [ebp - 0x1240], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x410fe9
movss xmm0, dword [0x442dc4]
jmp 0x411008
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004273c2
fstp dword [ebp - 0x1294]
movss xmm0, dword [ebp - 0x1294]
add esp, 4
call fcn.00435470
push 0x43d8e4
mov dword [ebp - 0x123c], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41102c
movss xmm0, dword [0x442dc4]
jmp 0x41104b
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004273c2
fstp dword [ebp - 0x1294]
movss xmm0, dword [ebp - 0x1294]
add esp, 4
call fcn.00435470
push str.MaxBP
mov dword [ebp - 0x1238], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41106f
movss xmm0, dword [0x442dc4]
jmp 0x41108e
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004273c2
fstp dword [ebp - 0x1294]
movss xmm0, dword [ebp - 0x1294]
add esp, 4
call fcn.00435470
push str.Shield
mov dword [ebp - 0x1234], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4110b2
movss xmm0, dword [0x442dc4]
jmp 0x4110d1
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004273c2
fstp dword [ebp - 0x1294]
movss xmm0, dword [ebp - 0x1294]
add esp, 4
call fcn.00435470
push str.MaxShield
mov dword [ebp - 0x1230], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4110f5
movss xmm0, dword [0x442dc4]
jmp 0x411114
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004273c2
fstp dword [ebp - 0x1294]
movss xmm0, dword [ebp - 0x1294]
add esp, 4
call fcn.00435470
push str.MapNumber
mov dword [ebp - 0x122c], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x411132
or eax, eax
jmp 0x411143
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.MapPosX
mov byte [ebp - 0x214], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41115c
or eax, eax
jmp 0x41116d
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.MapPosY
mov byte [ebp - 0x213], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x411186
or eax, eax
jmp 0x411197
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.MapDir
mov byte [ebp - 0x212], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4111b0
or eax, eax
jmp 0x4111c1
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.PkCount
mov byte [ebp - 0x211], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4111da
or eax, eax
jmp 0x4111eb
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.PkLevel
mov dword [ebp - 0x210], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x411204
or eax, eax
jmp 0x411215
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.PkTime
mov dword [ebp - 0x20c], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41122e
or eax, eax
jmp 0x41123f
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.CtlCode
mov dword [ebp - 0x208], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x411258
or eax, eax
jmp 0x411269
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov byte [ebp - 0x204], al
lea eax, [ebp - 0x203]
push 0x32
push eax
push str.Quest
call fcn.0041afa0
push 0x1a0
lea eax, [ebp - 0x1cc]
push eax
push str.EffectList
call fcn.0041afa0
push str.FruitAddPoint
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4112ab
or eax, eax
jmp 0x4112bc
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.FruitSubPoint
mov word [ebp - 0x1d0], ax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4112d6
or eax, eax
jmp 0x4112e7
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.ItemStart
mov word [ebp - 0x1ce], ax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x411301
or eax, eax
jmp 0x411312
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.ChatLimitTime
mov byte [ebp - 0x14], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x411328
or eax, eax
jmp 0x411339
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.CustomFlag
mov word [ebp - 0x12], ax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x411350
or eax, eax
jmp 0x411361
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.CustomSkin
mov word [ebp - 0x18], ax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x411378
or eax, eax
jmp 0x411389
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.LevelUpType
mov word [ebp - 0x16], ax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4113a0
or eax, eax
jmp 0x4113b1
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov byte [ebp - 0xe], al
lea eax, [ebp - 0x368]
push 0xa0
push eax
push str.NewSlots
call fcn.0041afa0
push str.ExtInventory
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4113dd
or eax, eax
jmp 0x4113ee
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov esi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov byte [ebp - 0x2c], al
call esi
mov edi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call edi
push dword [ebp - 0x1298]
push str.SELECT_ExtWarehouse_FROM_AccountCharacter_WHERE_Id_s
push 0x446e50
call fcn.0041ad00
add esp, 0xc
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.ExtWarehouse
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x411446
or eax, eax
jmp 0x411457
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov byte [ebp - 0x2b], al
call esi
push 2
push dword [0x446e5c]
call edi
push ebx
push dword [ebp - 0x1298]
push str.EXEC_WZ_GetResetInfo__s__s
push 0x446e50
call fcn.0041ad00
add esp, 0x10
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.Reset
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4114a4
or eax, eax
jmp 0x4114b5
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 0x28], eax
call esi
push 2
push dword [0x446e5c]
call edi
push ebx
push dword [ebp - 0x1298]
push str.EXEC_WZ_GetMasterResetInfo__s__s
push 0x446e50
call fcn.0041ad00
add esp, 0x10
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.MasterReset
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x411502
or eax, eax
jmp 0x411513
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 0x24], eax
call esi
push 2
push dword [0x446e5c]
call edi
push ebx
push dword [ebp - 0x1298]
push str.EXEC_WZ_GetPlayerKiller__s__s
push 0x446e50
call fcn.0041ad00
add esp, 0x10
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.Kills
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x411560
or eax, eax
jmp 0x411571
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.Deaths
mov dword [ebp - 0x20], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x411587
or eax, eax
jmp 0x411598
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 0x1c], eax
call esi
push 2
push dword [0x446e5c]
call edi
push ebx
push str.SELECT__FROM_CustomQuest_WHERE_Name_s
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x411612
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x411612
push str.Quest
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4115e9
or eax, eax
jmp 0x4115fa
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov word [ebp - 0x10], ax
call esi
push 2
push dword [0x446e5c]
call edi
jmp 0x41162a
push dword [0x446e5c]
call esi
push 2
push dword [0x446e5c]
call edi
xor eax, eax
mov word [ebp - 0x10], ax
push dword [ebp - 0x1298]
push ebx
push str.UPDATE_AccountCharacter_SET_GameIDC_s_WHERE_Id_s
push 0x446e50
call fcn.0041ad00
add esp, 0x10
push dword [0x446e5c]
call esi
push 2
push dword [0x446e5c]
call edi
jmp 0x411678
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov byte [ebp - 0x1274], 0
push 0x1288
lea eax, [ebp - 0x1290]
push eax
push dword [ebp - 0x129c]
call fcn.0041c330
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041dc5d
mov esp, ebp
pop ebp
ret