Function at 0x40df60
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x11dc
call fcn.0042e9b0
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 0x40e6ef
cmp cl, 0x22
je 0x40e6ef
cmp cl, 0x27
je 0x40e6ef
inc eax
cmp eax, 0xb
jl 0x40dfe4
push ebx
push edx
push str.SELECT__FROM_Character_WHERE_AccountID_s_AND_Name_s
push 0x43ddd8
mov byte [ebp - 0x11b4], 1
call fcn.00414490
add esp, 0x10
test al, al
je 0x40e6ef
push dword [0x43dde4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40e6ef
push str.cLevel
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e054
or eax, eax
jmp 0x40e065
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push str.Class
mov word [ebp - 0x11b2], ax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e07f
or eax, eax
jmp 0x40e090
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push str.LevelUpPoint
mov byte [ebp - 0x11b3], al
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e0a9
or eax, eax
jmp 0x40e0ba
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push str.Experience
mov dword [ebp - 0x11b0], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e0d3
or eax, eax
jmp 0x40e0e4
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push str.Strength
mov dword [ebp - 0x11ac], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e0fd
or eax, eax
jmp 0x40e10e
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push str.Dexterity
mov dword [ebp - 0x11a4], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e127
or eax, eax
jmp 0x40e138
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push str.Vitality
mov dword [ebp - 0x11a0], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e151
or eax, eax
jmp 0x40e162
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push str.Energy
mov dword [ebp - 0x119c], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e17b
or eax, eax
jmp 0x40e18c
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push str.Leadership
mov dword [ebp - 0x1198], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e1a5
or eax, eax
jmp 0x40e1b6
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
mov dword [ebp - 0x1194], eax
lea eax, [ebp - 0x1170]
push 0xf90
push eax
push str.Inventory
call fcn.00414730
push 0xb4
lea eax, [ebp - 0x1e0]
push eax
push str.MagicList
call fcn.00414730
push str.Money
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e1fb
or eax, eax
jmp 0x40e20c
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push str.Life
mov dword [ebp - 0x11a8], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e22b
movss xmm0, dword [0x43a42c]
jmp 0x40e24a
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.00420bf2
fstp dword [ebp - 0x11d4]
movss xmm0, dword [ebp - 0x11d4]
add esp, 4
call fcn.0042ec40
push str.MaxLife
mov dword [ebp - 0x1190], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e26e
movss xmm0, dword [0x43a42c]
jmp 0x40e28d
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.00420bf2
fstp dword [ebp - 0x11d4]
movss xmm0, dword [ebp - 0x11d4]
add esp, 4
call fcn.0042ec40
push str.Mana
mov dword [ebp - 0x118c], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e2b1
movss xmm0, dword [0x43a42c]
jmp 0x40e2d0
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.00420bf2
fstp dword [ebp - 0x11d4]
movss xmm0, dword [ebp - 0x11d4]
add esp, 4
call fcn.0042ec40
push str.MaxMana
mov dword [ebp - 0x1188], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e2f4
movss xmm0, dword [0x43a42c]
jmp 0x40e313
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.00420bf2
fstp dword [ebp - 0x11d4]
movss xmm0, dword [ebp - 0x11d4]
add esp, 4
call fcn.0042ec40
push 0x4377cc
mov dword [ebp - 0x1184], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e337
movss xmm0, dword [0x43a42c]
jmp 0x40e356
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.00420bf2
fstp dword [ebp - 0x11d4]
movss xmm0, dword [ebp - 0x11d4]
add esp, 4
call fcn.0042ec40
push str.MaxBP
mov dword [ebp - 0x1180], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e37a
movss xmm0, dword [0x43a42c]
jmp 0x40e399
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.00420bf2
fstp dword [ebp - 0x11d4]
movss xmm0, dword [ebp - 0x11d4]
add esp, 4
call fcn.0042ec40
push str.Shield
mov dword [ebp - 0x117c], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e3bd
movss xmm0, dword [0x43a42c]
jmp 0x40e3dc
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.00420bf2
fstp dword [ebp - 0x11d4]
movss xmm0, dword [ebp - 0x11d4]
add esp, 4
call fcn.0042ec40
push str.MaxShield
mov dword [ebp - 0x1178], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e400
movss xmm0, dword [0x43a42c]
jmp 0x40e41f
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.00420bf2
fstp dword [ebp - 0x11d4]
movss xmm0, dword [ebp - 0x11d4]
add esp, 4
call fcn.0042ec40
push str.MapNumber
mov dword [ebp - 0x1174], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e43d
or eax, eax
jmp 0x40e44e
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push str.MapPosX
mov byte [ebp - 0x12c], al
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e467
or eax, eax
jmp 0x40e478
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push str.MapPosY
mov byte [ebp - 0x12b], al
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e491
or eax, eax
jmp 0x40e4a2
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push str.MapDir
mov byte [ebp - 0x12a], al
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e4bb
or eax, eax
jmp 0x40e4cc
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push str.PkCount
mov byte [ebp - 0x129], al
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e4e5
or eax, eax
jmp 0x40e4f6
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push str.PkLevel
mov dword [ebp - 0x128], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e50f
or eax, eax
jmp 0x40e520
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push str.PkTime
mov dword [ebp - 0x124], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e539
or eax, eax
jmp 0x40e54a
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push str.CtlCode
mov dword [ebp - 0x120], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e563
or eax, eax
jmp 0x40e574
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
mov byte [ebp - 0x11c], al
lea eax, [ebp - 0x11b]
push 0x32
push eax
push str.Quest
call fcn.00414730
push 0xd0
lea eax, [ebp - 0xe4]
push eax
push str.EffectList
call fcn.00414730
push str.FruitAddPoint
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e5b6
or eax, eax
jmp 0x40e5c7
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push str.FruitSubPoint
mov word [ebp - 0xe8], ax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e5e1
or eax, eax
jmp 0x40e5f2
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push 0x5d1704
mov word [ebp - 0xe6], ax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e60c
or eax, eax
jmp 0x40e61d
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
add esp, 4
push str.ExtInventory
mov dword [ebp - 0x10], eax
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e633
or eax, eax
jmp 0x40e644
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
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.00414490
add esp, 0xc
push dword [0x43dde4]
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.ExtWarehouse
call fcn.004146e0
cmp eax, 0xffffffff
jne 0x40e69c
or eax, eax
jmp 0x40e6ad
shl eax, 0xd
add eax, 0x43f5be
push eax
call fcn.0041d98e
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.00414490
add esp, 0x10
push dword [0x43dde4]
call esi
push 2
push dword [0x43dde4]
call edi
jmp 0x40e710
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.00415d90
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417417
mov esp, ebp
pop ebp
ret