Function at 0x410c50
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x129c
call fcn.00435200
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.0041f490
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 0x411677
cmp cl, 0x22
je 0x411677
cmp cl, 0x27
je 0x411677
inc eax
cmp eax, 0xb
jl 0x410cf0
push ebx
push edx
push str.SELECT__FROM_Character_WHERE_AccountID_s_AND_Name_s
push 0x446e50
mov byte [ebp - 0x1274], 1
call fcn.0041ad10
add esp, 0x10
test al, al
je 0x411677
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x411677
push str.cLevel
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x410d60
or eax, eax
jmp 0x410d71
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.Class
mov word [ebp - 0x1272], ax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x410d8b
or eax, eax
jmp 0x410d9c
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.LevelUpPoint
mov byte [ebp - 0x1273], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x410db5
or eax, eax
jmp 0x410dc6
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.Experience
mov dword [ebp - 0x1270], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x410de2
or eax, eax
or edx, 0xffffffff
jmp 0x410df3
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004240e2
add esp, 4
push str.Strength
mov dword [ebp - 0x1268], eax
mov dword [ebp - 0x1264], edx
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x410e12
or eax, eax
jmp 0x410e23
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.Dexterity
mov dword [ebp - 0x125c], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x410e3c
or eax, eax
jmp 0x410e4d
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.Vitality
mov dword [ebp - 0x1258], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x410e66
or eax, eax
jmp 0x410e77
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.Energy
mov dword [ebp - 0x1254], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x410e90
or eax, eax
jmp 0x410ea1
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.Leadership
mov dword [ebp - 0x1250], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x410eba
or eax, eax
jmp 0x410ecb
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov dword [ebp - 0x124c], eax
lea eax, [ebp - 0x1228]
push 0xec0
push eax
push str.Inventory
call fcn.0041afb0
push 0xb4
lea eax, [ebp - 0x2c8]
push eax
push str.MagicList
call fcn.0041afb0
push str.Money
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x410f10
or eax, eax
jmp 0x410f21
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.Life
mov dword [ebp - 0x1260], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x410f40
movss xmm0, dword [0x442dc4]
jmp 0x410f5f
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004273e2
fstp dword [ebp - 0x1294]
movss xmm0, dword [ebp - 0x1294]
add esp, 4
call fcn.00435490
push str.MaxLife
mov dword [ebp - 0x1248], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x410f83
movss xmm0, dword [0x442dc4]
jmp 0x410fa2
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004273e2
fstp dword [ebp - 0x1294]
movss xmm0, dword [ebp - 0x1294]
add esp, 4
call fcn.00435490
push str.Mana
mov dword [ebp - 0x1244], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x410fc6
movss xmm0, dword [0x442dc4]
jmp 0x410fe5
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004273e2
fstp dword [ebp - 0x1294]
movss xmm0, dword [ebp - 0x1294]
add esp, 4
call fcn.00435490
push str.MaxMana
mov dword [ebp - 0x1240], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x411009
movss xmm0, dword [0x442dc4]
jmp 0x411028
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004273e2
fstp dword [ebp - 0x1294]
movss xmm0, dword [ebp - 0x1294]
add esp, 4
call fcn.00435490
push 0x43d8e4
mov dword [ebp - 0x123c], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x41104c
movss xmm0, dword [0x442dc4]
jmp 0x41106b
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004273e2
fstp dword [ebp - 0x1294]
movss xmm0, dword [ebp - 0x1294]
add esp, 4
call fcn.00435490
push str.MaxBP
mov dword [ebp - 0x1238], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x41108f
movss xmm0, dword [0x442dc4]
jmp 0x4110ae
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004273e2
fstp dword [ebp - 0x1294]
movss xmm0, dword [ebp - 0x1294]
add esp, 4
call fcn.00435490
push str.Shield
mov dword [ebp - 0x1234], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x4110d2
movss xmm0, dword [0x442dc4]
jmp 0x4110f1
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004273e2
fstp dword [ebp - 0x1294]
movss xmm0, dword [ebp - 0x1294]
add esp, 4
call fcn.00435490
push str.MaxShield
mov dword [ebp - 0x1230], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x411115
movss xmm0, dword [0x442dc4]
jmp 0x411134
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.004273e2
fstp dword [ebp - 0x1294]
movss xmm0, dword [ebp - 0x1294]
add esp, 4
call fcn.00435490
push str.MapNumber
mov dword [ebp - 0x122c], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x411152
or eax, eax
jmp 0x411163
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.MapPosX
mov byte [ebp - 0x214], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x41117c
or eax, eax
jmp 0x41118d
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.MapPosY
mov byte [ebp - 0x213], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x4111a6
or eax, eax
jmp 0x4111b7
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.MapDir
mov byte [ebp - 0x212], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x4111d0
or eax, eax
jmp 0x4111e1
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.PkCount
mov byte [ebp - 0x211], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x4111fa
or eax, eax
jmp 0x41120b
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.PkLevel
mov dword [ebp - 0x210], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x411224
or eax, eax
jmp 0x411235
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.PkTime
mov dword [ebp - 0x20c], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x41124e
or eax, eax
jmp 0x41125f
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.CtlCode
mov dword [ebp - 0x208], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x411278
or eax, eax
jmp 0x411289
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov byte [ebp - 0x204], al
lea eax, [ebp - 0x203]
push 0x32
push eax
push str.Quest
call fcn.0041afb0
push 0x1a0
lea eax, [ebp - 0x1cc]
push eax
push str.EffectList
call fcn.0041afb0
push str.FruitAddPoint
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x4112cb
or eax, eax
jmp 0x4112dc
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.FruitSubPoint
mov word [ebp - 0x1d0], ax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x4112f6
or eax, eax
jmp 0x411307
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.ItemStart
mov word [ebp - 0x1ce], ax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x411321
or eax, eax
jmp 0x411332
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.ChatLimitTime
mov byte [ebp - 0x14], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x411348
or eax, eax
jmp 0x411359
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.CustomFlag
mov word [ebp - 0x12], ax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x411370
or eax, eax
jmp 0x411381
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.CustomSkin
mov word [ebp - 0x18], ax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x411398
or eax, eax
jmp 0x4113a9
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.LevelUpType
mov word [ebp - 0x16], ax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x4113c0
or eax, eax
jmp 0x4113d1
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov byte [ebp - 0xe], al
lea eax, [ebp - 0x368]
push 0xa0
push eax
push str.NewSlots
call fcn.0041afb0
push str.ExtInventory
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x4113fd
or eax, eax
jmp 0x41140e
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
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.0041ad10
add esp, 0xc
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.ExtWarehouse
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x411466
or eax, eax
jmp 0x411477
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
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.0041ad10
add esp, 0x10
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.Reset
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x4114c4
or eax, eax
jmp 0x4114d5
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
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.0041ad10
add esp, 0x10
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.MasterReset
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x411522
or eax, eax
jmp 0x411533
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
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.0041ad10
add esp, 0x10
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.Kills
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x411580
or eax, eax
jmp 0x411591
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.Deaths
mov dword [ebp - 0x20], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x4115a7
or eax, eax
jmp 0x4115b8
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
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.0041ad10
add esp, 0xc
test al, al
je 0x411632
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x411632
push str.Quest
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x411609
or eax, eax
jmp 0x41161a
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push dword [0x446e5c]
mov word [ebp - 0x10], ax
call esi
push 2
push dword [0x446e5c]
call edi
jmp 0x41164a
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.0041ad10
add esp, 0x10
push dword [0x446e5c]
call esi
push 2
push dword [0x446e5c]
call edi
jmp 0x411698
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.0041c350
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041dc7d
mov esp, ebp
pop ebp
ret