Function at 0x40e3d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x120c
call fcn.0042ee60
mov eax, dword [0x43e040]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ecx + 4]
movq xmm0, qword [ecx + 6]
mov word [ebp - 0x11fc], ax
movzx eax, word [ecx + 0xe]
mov dword [ebp - 0x120c], edx
lea edx, [ecx + 6]
mov word [ebp - 0x11f2], ax
mov al, byte [edx + 0xa]
push ebx
lea ebx, [ecx + 0x11]
mov byte [ebp - 0x11f0], al
movzx eax, word [ebx + 8]
mov word [ebp - 0x11e7], ax
mov al, byte [ebx + 0xa]
movq qword [ebp - 0x11fa], xmm0
movq xmm0, qword [ebx]
push esi
mov byte [ebp - 0x11e5], al
xor eax, eax
push edi
mov dword [ebp - 0x1200], 0x4f411c2
mov dword [ebp - 0x1208], edx
movq qword [ebp - 0x11ef], xmm0
mov cl, byte [ebx + eax]
cmp cl, 0x20
je 0x40ebcf
cmp cl, 0x22
je 0x40ebcf
cmp cl, 0x27
je 0x40ebcf
inc eax
cmp eax, 0xb
jl 0x40e454
push ebx
push edx
push str.SELECT__FROM_Character_WHERE_AccountID_s_AND_Name_s
push 0x43edd8
mov byte [ebp - 0x11e4], 1
call fcn.00414960
add esp, 0x10
test al, al
je 0x40ebcf
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40ebcf
push str.cLevel
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e4c4
or eax, eax
jmp 0x40e4d5
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.Class
mov word [ebp - 0x11e2], ax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e4ef
or eax, eax
jmp 0x40e500
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.LevelUpPoint
mov byte [ebp - 0x11e3], al
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e519
or eax, eax
jmp 0x40e52a
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.Experience
mov dword [ebp - 0x11e0], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e543
or eax, eax
jmp 0x40e554
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.Strength
mov dword [ebp - 0x11dc], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e56d
or eax, eax
jmp 0x40e57e
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.Dexterity
mov dword [ebp - 0x11d4], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e597
or eax, eax
jmp 0x40e5a8
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.Vitality
mov dword [ebp - 0x11d0], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e5c1
or eax, eax
jmp 0x40e5d2
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.Energy
mov dword [ebp - 0x11cc], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e5eb
or eax, eax
jmp 0x40e5fc
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.Leadership
mov dword [ebp - 0x11c8], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e615
or eax, eax
jmp 0x40e626
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
mov dword [ebp - 0x11c4], eax
lea eax, [ebp - 0x11a0]
push 0xf90
push eax
push str.Inventory
call fcn.00414c00
push 0xb4
lea eax, [ebp - 0x210]
push eax
push str.MagicList
call fcn.00414c00
push str.Money
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e66b
or eax, eax
jmp 0x40e67c
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.Life
mov dword [ebp - 0x11d8], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e69b
movss xmm0, dword [0x43a59c]
jmp 0x40e6ba
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.004210a2
fstp dword [ebp - 0x1204]
movss xmm0, dword [ebp - 0x1204]
add esp, 4
call fcn.0042f0f0
push str.MaxLife
mov dword [ebp - 0x11c0], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e6de
movss xmm0, dword [0x43a59c]
jmp 0x40e6fd
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.004210a2
fstp dword [ebp - 0x1204]
movss xmm0, dword [ebp - 0x1204]
add esp, 4
call fcn.0042f0f0
push str.Mana
mov dword [ebp - 0x11bc], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e721
movss xmm0, dword [0x43a59c]
jmp 0x40e740
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.004210a2
fstp dword [ebp - 0x1204]
movss xmm0, dword [ebp - 0x1204]
add esp, 4
call fcn.0042f0f0
push str.MaxMana
mov dword [ebp - 0x11b8], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e764
movss xmm0, dword [0x43a59c]
jmp 0x40e783
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.004210a2
fstp dword [ebp - 0x1204]
movss xmm0, dword [ebp - 0x1204]
add esp, 4
call fcn.0042f0f0
push 0x4377cc
mov dword [ebp - 0x11b4], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e7a7
movss xmm0, dword [0x43a59c]
jmp 0x40e7c6
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.004210a2
fstp dword [ebp - 0x1204]
movss xmm0, dword [ebp - 0x1204]
add esp, 4
call fcn.0042f0f0
push str.MaxBP
mov dword [ebp - 0x11b0], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e7ea
movss xmm0, dword [0x43a59c]
jmp 0x40e809
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.004210a2
fstp dword [ebp - 0x1204]
movss xmm0, dword [ebp - 0x1204]
add esp, 4
call fcn.0042f0f0
push str.Shield
mov dword [ebp - 0x11ac], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e82d
movss xmm0, dword [0x43a59c]
jmp 0x40e84c
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.004210a2
fstp dword [ebp - 0x1204]
movss xmm0, dword [ebp - 0x1204]
add esp, 4
call fcn.0042f0f0
push str.MaxShield
mov dword [ebp - 0x11a8], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e870
movss xmm0, dword [0x43a59c]
jmp 0x40e88f
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.004210a2
fstp dword [ebp - 0x1204]
movss xmm0, dword [ebp - 0x1204]
add esp, 4
call fcn.0042f0f0
push str.MapNumber
mov dword [ebp - 0x11a4], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e8ad
or eax, eax
jmp 0x40e8be
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.MapPosX
mov byte [ebp - 0x15c], al
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e8d7
or eax, eax
jmp 0x40e8e8
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.MapPosY
mov byte [ebp - 0x15b], al
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e901
or eax, eax
jmp 0x40e912
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.MapDir
mov byte [ebp - 0x15a], al
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e92b
or eax, eax
jmp 0x40e93c
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.PkCount
mov byte [ebp - 0x159], al
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e955
or eax, eax
jmp 0x40e966
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.PkLevel
mov dword [ebp - 0x158], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e97f
or eax, eax
jmp 0x40e990
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.PkTime
mov dword [ebp - 0x154], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e9a9
or eax, eax
jmp 0x40e9ba
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.CtlCode
mov dword [ebp - 0x150], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40e9d3
or eax, eax
jmp 0x40e9e4
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
mov byte [ebp - 0x14c], al
lea eax, [ebp - 0x14b]
push 0x32
push eax
push str.Quest
call fcn.00414c00
push 0xd0
lea eax, [ebp - 0x114]
push eax
push str.EffectList
call fcn.00414c00
push str.FruitAddPoint
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40ea26
or eax, eax
jmp 0x40ea37
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.FruitSubPoint
mov word [ebp - 0x118], ax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40ea51
or eax, eax
jmp 0x40ea62
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push 0x5d2704
mov word [ebp - 0x116], ax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40ea7c
or eax, eax
jmp 0x40ea8d
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push str.ExtInventory
mov dword [ebp - 0x10], eax
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40eaa3
or eax, eax
jmp 0x40eab4
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov esi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov byte [ebp - 0x44], al
call esi
mov edi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ede4]
call edi
push dword [ebp - 0x1208]
push str.SELECT_ExtWarehouse_FROM_AccountCharacter_WHERE_Id_s
push 0x43edd8
call fcn.00414960
add esp, 0xc
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.ExtWarehouse
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40eb0c
or eax, eax
jmp 0x40eb1d
shl eax, 0xd
add eax, 0x4405be
push eax
call fcn.0041de3e
add esp, 4
push dword [0x43ede4]
mov byte [ebp - 0x43], al
call esi
push 2
push dword [0x43ede4]
call edi
push dword [ebp - 0x1208]
push str.SELECT_ServerName_FROM_MEMB_STAT_WHERE_memb___id_s
push 0x43edd8
call fcn.00414960
add esp, 0xc
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.ServerName
call fcn.00414bb0
cmp eax, 0xffffffff
jne 0x40eb77
push 0x32
lea eax, [ebp - 0x42]
push 0
push eax
call fcn.004190e0
add esp, 0xc
jmp 0x40eb90
shl eax, 0xd
push 0x31
add eax, 0x4405be
push eax
lea eax, [ebp - 0x42]
push 0x32
push eax
call fcn.004211ed
add esp, 0x10
push dword [0x43ede4]
call esi
push 2
push dword [0x43ede4]
call edi
push dword [ebp - 0x1208]
push ebx
push str.UPDATE_AccountCharacter_SET_GameIDC_s_WHERE_Id_s
push 0x43edd8
call fcn.00414960
add esp, 0x10
push dword [0x43ede4]
call esi
push 2
push dword [0x43ede4]
call edi
jmp 0x40ebf0
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ede4]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov byte [ebp - 0x11e4], 0
push 0x11f4
lea eax, [ebp - 0x1200]
push eax
push dword [ebp - 0x120c]
call fcn.00416260
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004178c7
mov esp, ebp
pop ebp
ret