Function at 0x40e8a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x518c
call fcn.00430070
mov eax, dword [0x44000c]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ecx + 4]
movq xmm0, qword [ecx + 6]
mov word [ebp - 0x117c], ax
movzx eax, word [ecx + 0xe]
mov dword [ebp - 0x518c], edx
lea edx, [ecx + 6]
mov word [ebp - 0x1172], ax
mov al, byte [edx + 0xa]
push ebx
push esi
lea esi, [ecx + 0x11]
mov byte [ebp - 0x1170], al
movzx eax, word [esi + 8]
mov word [ebp - 0x1167], ax
mov al, byte [esi + 0xa]
movq qword [ebp - 0x117a], xmm0
movq xmm0, qword [esi]
mov byte [ebp - 0x1165], al
xor eax, eax
push edi
mov dword [ebp - 0x1180], 0x47411c2
mov dword [ebp - 0x5188], edx
movq qword [ebp - 0x116f], xmm0
mov cl, byte [esi + eax]
cmp cl, 0x20
je 0x40f80b
cmp cl, 0x22
je 0x40f80b
cmp cl, 0x27
je 0x40f80b
inc eax
cmp eax, 0xb
jl 0x40e924
push esi
push edx
push str.SELECT__FROM_Character_WHERE_AccountID_s_AND_Name_s
push 0x440e30
mov byte [ebp - 0x1164], 1
call fcn.00416550
add esp, 0x10
test al, al
je 0x40f80b
push dword [0x440e3c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40f80b
push str.cLevel
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40e994
or eax, eax
jmp 0x40e9a5
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.Class
mov word [ebp - 0x1162], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40e9bf
or eax, eax
jmp 0x40e9d0
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.LevelUpPoint
mov byte [ebp - 0x1163], al
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40e9e9
or eax, eax
jmp 0x40e9fa
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.Experience
mov dword [ebp - 0x1160], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ea13
or eax, eax
jmp 0x40ea24
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.Strength
mov dword [ebp - 0x115c], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ea3d
or eax, eax
jmp 0x40ea4e
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.Dexterity
mov dword [ebp - 0x1154], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ea67
or eax, eax
jmp 0x40ea78
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.Vitality
mov dword [ebp - 0x1150], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ea91
or eax, eax
jmp 0x40eaa2
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.Energy
mov dword [ebp - 0x114c], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40eabb
or eax, eax
jmp 0x40eacc
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.Leadership
mov dword [ebp - 0x1148], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40eae5
or eax, eax
jmp 0x40eaf6
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.NewStat
mov dword [ebp - 0x1144], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40eb15
movss xmm0, dword [0x43cb4c]
jmp 0x40eb34
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.0042286a
fstp dword [ebp - 0x5184]
movss xmm0, dword [ebp - 0x5184]
add esp, 4
call fcn.00430320
mov dword [ebp - 0x1140], eax
lea eax, [ebp - 0x111c]
push 0xec0
push eax
push str.Inventory
call fcn.00416810
push 0xb4
lea eax, [ebp - 0x25c]
push eax
push str.MagicList
call fcn.00416810
push str.Money
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40eb7e
or eax, eax
jmp 0x40eb8f
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.Life
mov dword [ebp - 0x1158], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ebae
movss xmm0, dword [0x43cb4c]
jmp 0x40ebcd
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.0042286a
fstp dword [ebp - 0x5184]
movss xmm0, dword [ebp - 0x5184]
add esp, 4
call fcn.00430320
push str.MaxLife
mov dword [ebp - 0x113c], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ebf1
movss xmm0, dword [0x43cb4c]
jmp 0x40ec10
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.0042286a
fstp dword [ebp - 0x5184]
movss xmm0, dword [ebp - 0x5184]
add esp, 4
call fcn.00430320
push str.Mana
mov dword [ebp - 0x1138], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ec34
movss xmm0, dword [0x43cb4c]
jmp 0x40ec53
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.0042286a
fstp dword [ebp - 0x5184]
movss xmm0, dword [ebp - 0x5184]
add esp, 4
call fcn.00430320
push str.MaxMana
mov dword [ebp - 0x1134], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ec77
movss xmm0, dword [0x43cb4c]
jmp 0x40ec96
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.0042286a
fstp dword [ebp - 0x5184]
movss xmm0, dword [ebp - 0x5184]
add esp, 4
call fcn.00430320
push 0x4380ac
mov dword [ebp - 0x1130], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ecba
movss xmm0, dword [0x43cb4c]
jmp 0x40ecd9
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.0042286a
fstp dword [ebp - 0x5184]
movss xmm0, dword [ebp - 0x5184]
add esp, 4
call fcn.00430320
push str.MaxBP
mov dword [ebp - 0x112c], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ecfd
movss xmm0, dword [0x43cb4c]
jmp 0x40ed1c
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.0042286a
fstp dword [ebp - 0x5184]
movss xmm0, dword [ebp - 0x5184]
add esp, 4
call fcn.00430320
push str.Shield
mov dword [ebp - 0x1128], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ed40
movss xmm0, dword [0x43cb4c]
jmp 0x40ed5f
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.0042286a
fstp dword [ebp - 0x5184]
movss xmm0, dword [ebp - 0x5184]
add esp, 4
call fcn.00430320
push str.MaxShield
mov dword [ebp - 0x1124], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ed83
movss xmm0, dword [0x43cb4c]
jmp 0x40eda2
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.0042286a
fstp dword [ebp - 0x5184]
movss xmm0, dword [ebp - 0x5184]
add esp, 4
call fcn.00430320
push str.MapNumber
mov dword [ebp - 0x1120], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40edc0
or eax, eax
jmp 0x40edd1
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.MapPosX
mov byte [ebp - 0x1a8], al
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40edea
or eax, eax
jmp 0x40edfb
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.MapPosY
mov byte [ebp - 0x1a7], al
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ee14
or eax, eax
jmp 0x40ee25
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.MapDir
mov byte [ebp - 0x1a6], al
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ee3e
or eax, eax
jmp 0x40ee4f
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.PkCount
mov byte [ebp - 0x1a5], al
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ee68
or eax, eax
jmp 0x40ee79
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.PkLevel
mov dword [ebp - 0x1a4], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ee92
or eax, eax
jmp 0x40eea3
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.PkTime
mov dword [ebp - 0x1a0], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40eebc
or eax, eax
jmp 0x40eecd
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.CtlCode
mov dword [ebp - 0x19c], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40eee6
or eax, eax
jmp 0x40eef7
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
mov byte [ebp - 0x198], al
lea eax, [ebp - 0x197]
push 0x32
push eax
push str.Quest
call fcn.00416810
push 0xd0
lea eax, [ebp - 0x160]
push eax
push str.EffectList
call fcn.00416810
push str.FruitAddPoint
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ef39
or eax, eax
jmp 0x40ef4a
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.FruitSubPoint
mov word [ebp - 0x164], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ef64
or eax, eax
jmp 0x40ef75
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExtInventory
mov word [ebp - 0x162], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40ef8f
or eax, eax
jmp 0x40efa0
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.IsMarried
mov byte [ebp - 0x90], al
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40efb9
or eax, eax
jmp 0x40efca
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.MarryName
mov byte [ebp - 0x84], al
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40eff6
xorps xmm0, xmm0
mov word [ebp - 0x7b], 0
movq qword [ebp - 0x83], xmm0
mov byte [ebp - 0x79], 0
jmp 0x40f012
shl eax, 0xe
push 0xa
add eax, 0x441a62
push eax
lea eax, [ebp - 0x83]
push 0xb
push eax
call fcn.00422930
add esp, 0x10
push str.GensExitTime
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f025
or eax, eax
jmp 0x40f036
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.QuestIndex
mov dword [ebp - 0x78], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f04c
or eax, eax
jmp 0x40f05d
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.QuestState
mov dword [ebp - 0x74], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f073
or eax, eax
jmp 0x40f084
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.QuestVar
mov dword [ebp - 0x70], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f09a
or eax, eax
jmp 0x40f0ab
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.QuestStat
mov dword [ebp - 0x6c], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f0c1
or eax, eax
jmp 0x40f0d2
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.PointsCount
mov dword [ebp - 0x68], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f0e8
or eax, eax
jmp 0x40f0f9
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.PointsTime
mov dword [ebp - 0x60], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f10f
or eax, eax
jmp 0x40f120
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ChatLimitTime
mov dword [ebp - 0x64], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f136
or eax, eax
jmp 0x40f147
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.IsStartItem
mov word [ebp - 0x5c], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f15e
or eax, eax
jmp 0x40f16f
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.BCEntryCount
mov byte [ebp - 0x5a], al
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f185
or eax, eax
jmp 0x40f196
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.MapQuestSystemMap
mov dword [ebp - 0x58], eax
call fcn.004167c0
cmp eax, 0xffffffff
je 0x40f854
shl eax, 0xe
add eax, 0x441a62
push 0x4000
push eax
lea eax, [ebp - 0x5180]
push eax
call fcn.0041af10
add esp, 0xc
lea eax, [ebp - 0x5180]
push 0xa
push 0
push eax
call fcn.0041dcd4
add esp, 0xc
mov dword [ebp - 0x18], eax
push str.MapQuestSystemIndex
call fcn.004167c0
cmp eax, 0xffffffff
je 0x40f85e
shl eax, 0xe
add eax, 0x441a62
push 0x4000
push eax
lea eax, [ebp - 0x5180]
push eax
call fcn.0041af10
add esp, 0xc
lea eax, [ebp - 0x5180]
push 0xa
push 0
push eax
call fcn.0041dcd4
add esp, 0xc
mov dword [ebp - 0x14], eax
push str.MapQuestSystemState
call fcn.004167c0
cmp eax, 0xffffffff
je 0x40f868
shl eax, 0xe
add eax, 0x441a62
push 0x4000
push eax
lea eax, [ebp - 0x5180]
push eax
call fcn.0041af10
add esp, 0xc
lea eax, [ebp - 0x5180]
push 0xa
push 0
push eax
call fcn.0041dcd4
add esp, 0xc
mov byte [ebp - 0x10], al
push str.BCLastEntry
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f28a
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x54], xmm0
jmp 0x40f2a3
shl eax, 0xe
push 0x13
add eax, 0x441a62
push eax
lea eax, [ebp - 0x54]
push 0x14
push eax
call fcn.00422930
add esp, 0x10
push dword [0x440e3c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x440e3c]
call ebx
push dword [ebp - 0x5188]
push str.SELECT_ExtWarehouse_FROM_AccountCharacter_WHERE_Id_s
push 0x440e30
call fcn.00416550
add esp, 0xc
push dword [0x440e3c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.ExtWarehouse
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f2f8
or eax, eax
jmp 0x40f309
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push dword [0x440e3c]
mov byte [ebp - 0x8f], al
call edi
push 2
push dword [0x440e3c]
call ebx
push esi
push dword [ebp - 0x5188]
push str.EXEC_WZ_GetResetInfo__s__s
push 0x440e30
call fcn.00416550
add esp, 0x10
push dword [0x440e3c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.Reset
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f359
or eax, eax
jmp 0x40f36a
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push dword [0x440e3c]
mov dword [ebp - 0x8c], eax
call edi
push 2
push dword [0x440e3c]
call ebx
push esi
push dword [ebp - 0x5188]
push str.EXEC_WZ_GetMasterResetInfo__s__s
push 0x440e30
call fcn.00416550
add esp, 0x10
push dword [0x440e3c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.MasterReset
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f3ba
or eax, eax
jmp 0x40f3cb
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push dword [0x440e3c]
mov dword [ebp - 0x88], eax
call edi
push 2
push dword [0x440e3c]
call ebx
push dword [ebp - 0x5188]
push esi
push str.UPDATE_AccountCharacter_SET_GameIDC_s_WHERE_Id_s
push 0x440e30
call fcn.00416550
add esp, 0x10
push dword [0x440e3c]
call edi
push 2
push dword [0x440e3c]
call ebx
push esi
push dword [ebp - 0x5188]
push str.SELECT__FROM_QuestSystem_WHERE_AccountID___s_and_Name_s
push 0x440e30
call fcn.00416550
add esp, 0x10
test al, al
je 0x40f7a1
push dword [0x440e3c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40f7a1
push str.ExQuestStart_1
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f458
or eax, eax
jmp 0x40f469
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestNum_1
mov byte [ebp - 0x40], al
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f47f
or eax, eax
jmp 0x40f490
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestCount1_1
mov word [ebp - 0x3c], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f4a7
or eax, eax
jmp 0x40f4b8
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestCount2_1
mov word [ebp - 0x36], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f4cf
or eax, eax
jmp 0x40f4e0
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestCount3_1
mov word [ebp - 0x34], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f4f7
or eax, eax
jmp 0x40f508
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestCount4_1
mov word [ebp - 0x32], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f51f
or eax, eax
jmp 0x40f530
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestCount5_1
mov word [ebp - 0x30], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f547
or eax, eax
jmp 0x40f558
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestStart_2
mov word [ebp - 0x2e], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f56f
or eax, eax
jmp 0x40f580
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestNum_2
mov byte [ebp - 0x3f], al
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f596
or eax, eax
jmp 0x40f5a7
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestCount1_2
mov word [ebp - 0x3a], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f5be
or eax, eax
jmp 0x40f5cf
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestCount2_2
mov word [ebp - 0x2c], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f5e6
or eax, eax
jmp 0x40f5f7
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestCount3_2
mov word [ebp - 0x2a], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f60e
or eax, eax
jmp 0x40f61f
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestCount4_2
mov word [ebp - 0x28], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f636
or eax, eax
jmp 0x40f647
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestCount5_2
mov word [ebp - 0x26], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f65e
or eax, eax
jmp 0x40f66f
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestStart_3
mov word [ebp - 0x24], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f686
or eax, eax
jmp 0x40f697
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestNum_3
mov byte [ebp - 0x3e], al
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f6ad
or eax, eax
jmp 0x40f6be
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestCount1_3
mov word [ebp - 0x38], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f6d5
or eax, eax
jmp 0x40f6e6
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestCount2_3
mov word [ebp - 0x22], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f6fd
or eax, eax
jmp 0x40f70e
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestCount3_3
mov word [ebp - 0x20], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f725
or eax, eax
jmp 0x40f736
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestCount4_3
mov word [ebp - 0x1e], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f74d
or eax, eax
jmp 0x40f75e
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.ExQuestCount5_3
mov word [ebp - 0x1c], ax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40f775
or eax, eax
jmp 0x40f786
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push dword [0x440e3c]
mov word [ebp - 0x1a], ax
call edi
push 2
push dword [0x440e3c]
call ebx
jmp 0x40f82c
push dword [0x440e3c]
call edi
push 2
push dword [0x440e3c]
call ebx
push esi
push dword [ebp - 0x5188]
push str.INSERT_INTO_QuestSystem__AccountID_Name__VALUES___s__s_
push 0x440e30
call fcn.00416550
add esp, 0x10
push dword [0x440e3c]
call edi
push 2
push dword [0x440e3c]
call ebx
xor eax, eax
mov word [ebp - 0x40], 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov byte [ebp - 0x3e], al
mov word [ebp - 0x38], ax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov word [ebp - 0x1a], ax
jmp 0x40f82c
push dword [0x440e3c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x440e3c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov byte [ebp - 0x1164], 0
push 0x1174
lea eax, [ebp - 0x1180]
push eax
push dword [ebp - 0x518c]
call fcn.00418230
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004197fb
mov esp, ebp
pop ebp
ret
push str.Column___s__not_found_
call fcn.00418fc0
push str.Column___s__not_found_
call fcn.00418fc0
push str.Column___s__not_found_
call fcn.00418fc0
int3