Function at 0x40dfd0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x11dc
call fcn.0042e9c0
mov eax, dword [0x43d040]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ecx + 4]
movq xmm0, qword [ecx + 6]
mov word [ebp - 0x11cc], ax
movzx eax, word [ecx + 0xe]
mov dword [ebp - 0x11dc], edx
lea edx, [ecx + 6]
mov word [ebp - 0x11c2], ax
mov al, byte [edx + 0xa]
push ebx
lea ebx, [ecx + 0x11]
mov byte [ebp - 0x11c0], al
movzx eax, word [ebx + 8]
mov word [ebp - 0x11b7], ax
mov al, byte [ebx + 0xa]
movq qword [ebp - 0x11ca], xmm0
movq xmm0, qword [ebx]
push esi
mov byte [ebp - 0x11b5], al
xor eax, eax
push edi
mov dword [ebp - 0x11d0], 0x4c411c2
mov dword [ebp - 0x11d8], edx
movq qword [ebp - 0x11bf], xmm0
mov cl, byte [ebx + eax]
cmp cl, 0x20
je 0x40e75f
cmp cl, 0x22
je 0x40e75f
cmp cl, 0x27
je 0x40e75f
inc eax
cmp eax, 0xb
jl 0x40e054
push ebx
push edx
push str.SELECT__FROM_Character_WHERE_AccountID_s_AND_Name_s
push 0x43ddd8
mov byte [ebp - 0x11b4], 1
call fcn.00414560
add esp, 0x10
test al, al
je 0x40e75f
push dword [0x43dde4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40e75f
push str.cLevel
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e0c4
or eax, eax
jmp 0x40e0d5
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push str.Class
mov word [ebp - 0x11b2], ax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e0ef
or eax, eax
jmp 0x40e100
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push str.LevelUpPoint
mov byte [ebp - 0x11b3], al
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e119
or eax, eax
jmp 0x40e12a
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push str.Experience
mov dword [ebp - 0x11b0], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e143
or eax, eax
jmp 0x40e154
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push str.Strength
mov dword [ebp - 0x11ac], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e16d
or eax, eax
jmp 0x40e17e
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push str.Dexterity
mov dword [ebp - 0x11a4], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e197
or eax, eax
jmp 0x40e1a8
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push str.Vitality
mov dword [ebp - 0x11a0], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e1c1
or eax, eax
jmp 0x40e1d2
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push str.Energy
mov dword [ebp - 0x119c], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e1eb
or eax, eax
jmp 0x40e1fc
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push str.Leadership
mov dword [ebp - 0x1198], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e215
or eax, eax
jmp 0x40e226
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
mov dword [ebp - 0x1194], eax
lea eax, [ebp - 0x1170]
push 0xf90
push eax
push str.Inventory
call fcn.00414800
push 0xb4
lea eax, [ebp - 0x1e0]
push eax
push str.MagicList
call fcn.00414800
push str.Money
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e26b
or eax, eax
jmp 0x40e27c
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push str.Life
mov dword [ebp - 0x11a8], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e29b
movss xmm0, dword [0x43a424]
jmp 0x40e2ba
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.00420c02
fstp dword [ebp - 0x11d4]
movss xmm0, dword [ebp - 0x11d4]
add esp, 4
call fcn.0042ec50
push str.MaxLife
mov dword [ebp - 0x1190], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e2de
movss xmm0, dword [0x43a424]
jmp 0x40e2fd
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.00420c02
fstp dword [ebp - 0x11d4]
movss xmm0, dword [ebp - 0x11d4]
add esp, 4
call fcn.0042ec50
push str.Mana
mov dword [ebp - 0x118c], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e321
movss xmm0, dword [0x43a424]
jmp 0x40e340
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.00420c02
fstp dword [ebp - 0x11d4]
movss xmm0, dword [ebp - 0x11d4]
add esp, 4
call fcn.0042ec50
push str.MaxMana
mov dword [ebp - 0x1188], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e364
movss xmm0, dword [0x43a424]
jmp 0x40e383
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.00420c02
fstp dword [ebp - 0x11d4]
movss xmm0, dword [ebp - 0x11d4]
add esp, 4
call fcn.0042ec50
push 0x4377cc
mov dword [ebp - 0x1184], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e3a7
movss xmm0, dword [0x43a424]
jmp 0x40e3c6
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.00420c02
fstp dword [ebp - 0x11d4]
movss xmm0, dword [ebp - 0x11d4]
add esp, 4
call fcn.0042ec50
push str.MaxBP
mov dword [ebp - 0x1180], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e3ea
movss xmm0, dword [0x43a424]
jmp 0x40e409
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.00420c02
fstp dword [ebp - 0x11d4]
movss xmm0, dword [ebp - 0x11d4]
add esp, 4
call fcn.0042ec50
push str.Shield
mov dword [ebp - 0x117c], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e42d
movss xmm0, dword [0x43a424]
jmp 0x40e44c
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.00420c02
fstp dword [ebp - 0x11d4]
movss xmm0, dword [ebp - 0x11d4]
add esp, 4
call fcn.0042ec50
push str.MaxShield
mov dword [ebp - 0x1178], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e470
movss xmm0, dword [0x43a424]
jmp 0x40e48f
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.00420c02
fstp dword [ebp - 0x11d4]
movss xmm0, dword [ebp - 0x11d4]
add esp, 4
call fcn.0042ec50
push str.MapNumber
mov dword [ebp - 0x1174], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e4ad
or eax, eax
jmp 0x40e4be
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push str.MapPosX
mov byte [ebp - 0x12c], al
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e4d7
or eax, eax
jmp 0x40e4e8
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push str.MapPosY
mov byte [ebp - 0x12b], al
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e501
or eax, eax
jmp 0x40e512
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push str.MapDir
mov byte [ebp - 0x12a], al
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e52b
or eax, eax
jmp 0x40e53c
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push str.PkCount
mov byte [ebp - 0x129], al
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e555
or eax, eax
jmp 0x40e566
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push str.PkLevel
mov dword [ebp - 0x128], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e57f
or eax, eax
jmp 0x40e590
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push str.PkTime
mov dword [ebp - 0x124], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e5a9
or eax, eax
jmp 0x40e5ba
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push str.CtlCode
mov dword [ebp - 0x120], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e5d3
or eax, eax
jmp 0x40e5e4
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
mov byte [ebp - 0x11c], al
lea eax, [ebp - 0x11b]
push 0x32
push eax
push str.Quest
call fcn.00414800
push 0xd0
lea eax, [ebp - 0xe4]
push eax
push str.EffectList
call fcn.00414800
push str.FruitAddPoint
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e626
or eax, eax
jmp 0x40e637
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push str.FruitSubPoint
mov word [ebp - 0xe8], ax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e651
or eax, eax
jmp 0x40e662
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push 0x5d1704
mov word [ebp - 0xe6], ax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e67c
or eax, eax
jmp 0x40e68d
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push str.ExtInventory
mov dword [ebp - 0x10], eax
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e6a3
or eax, eax
jmp 0x40e6b4
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push dword [0x43dde4]
mov esi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov byte [ebp - 0x14], al
call esi
mov edi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43dde4]
call edi
push dword [ebp - 0x11d8]
push str.SELECT_ExtWarehouse_FROM_AccountCharacter_WHERE_Id_s
push 0x43ddd8
call fcn.00414560
add esp, 0xc
push dword [0x43dde4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.ExtWarehouse
call fcn.004147b0
cmp eax, 0xffffffff
jne 0x40e70c
or eax, eax
jmp 0x40e71d
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d99e
add esp, 4
push dword [0x43dde4]
mov byte [ebp - 0x13], al
call esi
push 2
push dword [0x43dde4]
call edi
push dword [ebp - 0x11d8]
push ebx
push str.UPDATE_AccountCharacter_SET_GameIDC_s_WHERE_Id_s
push 0x43ddd8
call fcn.00414560
add esp, 0x10
push dword [0x43dde4]
call esi
push 2
push dword [0x43dde4]
call edi
jmp 0x40e780
push dword [0x43dde4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43dde4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov byte [ebp - 0x11b4], 0
push 0x11c4
lea eax, [ebp - 0x11d0]
push eax
push dword [ebp - 0x11dc]
call fcn.00415e20
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417427
mov esp, ebp
pop ebp
ret