Function at 0x40b3d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2168
call fcn.004357f0
mov eax, dword [0x454350]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x2000], 0
push 0x1023
push 0
lea eax, [ebp - 0x1fff]
push eax
call fcn.00433530
add esp, 0xc
mov byte [ebp - 0x210c], 0
xor ecx, ecx
mov dword [ebp - 0x210b], ecx
mov dword [ebp - 0x2107], ecx
mov word [ebp - 0x2103], cx
mov byte [ebp - 0xfd4], 0
xor edx, edx
mov dword [ebp - 0xfd3], edx
mov dword [ebp - 0xfcf], edx
mov word [ebp - 0xfcb], dx
mov byte [ebp - 0x2100], 0
push 0xff
push 0
lea eax, [ebp - 0x20ff]
push eax
call fcn.00433530
add esp, 0xc
mov byte [ebp - 0xfc8], 0
push 0xff
push 0
lea ecx, [ebp - 0xfc7]
push ecx
call fcn.00433530
add esp, 0xc
mov byte [ebp - 0xec8], 0
push 0xebf
push 0
lea edx, [ebp - 0xec7]
push edx
call fcn.00433530
add esp, 0xc
push 0x1024
push 6
lea eax, [ebp - 0x2000]
push eax
call fcn.00406330
add esp, 0xc
push 0xa
mov ecx, dword [ebp + 0x10]
add ecx, 0xe
push ecx
call fcn.00406290
add esp, 8
push 0xa
mov edx, dword [ebp + 0x10]
add edx, 3
push edx
lea eax, [ebp - 0x210c]
push eax
call fcn.00434160
add esp, 0xc
push 0xa
mov ecx, dword [ebp + 0x10]
add ecx, 0xe
push ecx
lea edx, [ebp - 0xfd4]
push edx
call fcn.00434160
add esp, 0xc
push 0xa
mov eax, dword [ebp + 0x10]
add eax, 3
push eax
lea ecx, [ebp - 0x1ff8]
push ecx
call fcn.00434160
add esp, 0xc
push 0xa
mov edx, dword [ebp + 0x10]
add edx, 0xe
push edx
lea eax, [ebp - 0x1fee]
push eax
call fcn.00434160
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + 0x1a]
mov word [ebp - 0x1ffa], dx
mov byte [ebp - 0x1ffc], 0
lea eax, [ebp - 0xfd4]
push eax
call fcn.004063d0
add esp, 4
cmp eax, 1
jne 0x40bc0a
lea ecx, [ebp - 0xfd4]
push ecx
call fcn.00406360
add esp, 4
cmp eax, 1
jne 0x40bc0a
lea edx, [ebp - 0x210c]
push edx
lea eax, [ebp - 0xfd4]
push eax
push str.SELECT_cLevel__Class__LevelUpPoint__Experience__Strength__Dexterity__Vitality__Energy__Money__Life__MaxLife__Mana__MaxMana__MapNumber__MapPosX__MapPosY__MapDir__PkCount__PkLevel__PkTime__CtlCode__DbVersion__Leadership__ChatLimitTime__FruitPoint__SCFExtInventory__SCFUpdatedPShop__RankTitle1__RankTitle2__RankTitle3__QuestIndex__QuestState__QuestVar__QuestStat__Vip__VipTime__FROM_Character_WHERE_Name_s_AND_AccountID_s
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
push ecx
call fcn.00408880
add esp, 0x10
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408ad0
movsx edx, ax
cmp edx, 0x64
je 0x40bbfc
push str.cLevel
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov word [ebp - 0x1fe2], ax
push str.Class
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0x1fe3], al
push str.LevelUpPoint
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0x1fe0], eax
push str.Experience
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0x1fdc], eax
push str.Strength
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov word [ebp - 0x1fd0], ax
push str.Dexterity
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov word [ebp - 0x1fce], ax
push str.Vitality
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov word [ebp - 0x1fcc], ax
push str.Energy
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov word [ebp - 0x1fca], ax
push str.Money
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0x1fd4], eax
push str.Life
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408cb0
fnstcw word [ebp - 0x213a]
movzx eax, word [ebp - 0x213a]
or eax, 0xc00
mov dword [ebp - 0x2140], eax
fldcw word [ebp - 0x2140]
fistp dword [ebp - 0x2144]
fldcw word [ebp - 0x213a]
mov ax, word [ebp - 0x2144]
mov word [ebp - 0x1fc8], ax
push str.MaxLife
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408cb0
fnstcw word [ebp - 0x2146]
movzx eax, word [ebp - 0x2146]
or eax, 0xc00
mov dword [ebp - 0x214c], eax
fldcw word [ebp - 0x214c]
fistp dword [ebp - 0x2150]
fldcw word [ebp - 0x2146]
mov cx, word [ebp - 0x2150]
mov word [ebp - 0x1fc6], cx
push str.Mana
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408cb0
fnstcw word [ebp - 0x2152]
movzx eax, word [ebp - 0x2152]
or eax, 0xc00
mov dword [ebp - 0x2158], eax
fldcw word [ebp - 0x2158]
fistp dword [ebp - 0x215c]
fldcw word [ebp - 0x2152]
mov dx, word [ebp - 0x215c]
mov word [ebp - 0x1fc4], dx
push str.MaxMana
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408cb0
fnstcw word [ebp - 0x215e]
movzx eax, word [ebp - 0x215e]
or eax, 0xc00
mov dword [ebp - 0x2164], eax
fldcw word [ebp - 0x2164]
fistp dword [ebp - 0x2168]
fldcw word [ebp - 0x215e]
mov ax, word [ebp - 0x2168]
mov word [ebp - 0x1fc2], ax
push str.MapNumber
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0x104c], al
push str.MapPosX
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0x104b], al
push str.MapPosY
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0x104a], al
push str.MapDir
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0x1049], al
push str.PkCount
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0x1048], eax
push str.PkLevel
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0x1044], eax
push str.PkTime
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0x1040], eax
push str.CtlCode
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0x103c], al
push str.DbVersion
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0x103b], al
push str.Leadership
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov word [ebp - 0x1006], ax
push str.ChatLimitTime
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov word [ebp - 0x1004], ax
push str.FruitPoint
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0x1000], eax
push str.SCFExtInventory
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0xffc], al
push str.SCFUpdatedPShop
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0xffb], al
push str.RankTitle1
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0xffa], al
push str.RankTitle2
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0xff9], al
push str.RankTitle3
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0xff8], al
push str.QuestIndex
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0xff4], eax
push str.QuestVar
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0xff0], eax
push str.QuestState
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0xfec], al
push str.QuestStat
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0xfe8], eax
push 0x447540
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0xfe4], eax
push str.VipTime
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0xfe0], eax
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
lea ecx, [ebp - 0xfd4]
push ecx
push str.SELECT_Inventory_from_Character_where_Name_s
lea edx, [ebp - 0x2100]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xec8]
push eax
lea ecx, [ebp - 0x2100]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408e20
test eax, eax
jg 0x40ba51
push 0xec0
push 0xffffffffffffffff
lea edx, [ebp - 0xec8]
push edx
call fcn.00433530
add esp, 0xc
push 0xec0
lea eax, [ebp - 0xec8]
push eax
lea ecx, [ebp - 0x1fc0]
push ecx
call fcn.00434160
add esp, 0xc
push 0xec0
push 0
lea edx, [ebp - 0xec8]
push edx
call fcn.00433530
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
lea eax, [ebp - 0xfd4]
push eax
push str.SELECT_MagicList_from_Character_where_Name_s
lea ecx, [ebp - 0x2100]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0xec8]
push edx
lea eax, [ebp - 0x2100]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408e20
cmp eax, 0xb4
jae 0x40bae5
push 0xec0
push 0xffffffffffffffff
lea ecx, [ebp - 0xec8]
push ecx
call fcn.00433530
add esp, 0xc
push 0xb4
lea edx, [ebp - 0xec8]
push edx
lea eax, [ebp - 0x1100]
push eax
call fcn.00434160
add esp, 0xc
push 0xec0
push 0
lea ecx, [ebp - 0xec8]
push ecx
call fcn.00433530
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
lea edx, [ebp - 0xfd4]
push edx
push str.SELECT_Quest_from_Character_where_Name_s
lea eax, [ebp - 0x2100]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0xec8]
push ecx
lea edx, [ebp - 0x2100]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408e20
cmp eax, 0x32
jae 0x40bb77
push 0xec0
push 0xffffffffffffffff
lea eax, [ebp - 0xec8]
push eax
call fcn.00433530
add esp, 0xc
push 0x32
lea ecx, [ebp - 0xec8]
push ecx
lea edx, [ebp - 0x1039]
push edx
call fcn.00434160
add esp, 0xc
push 0xec0
push 0
lea eax, [ebp - 0xec8]
push eax
call fcn.00433530
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
mov byte [ebp - 0x1ffc], 1
lea ecx, [ebp - 0x210c]
push ecx
lea edx, [ebp - 0xfd4]
push edx
push str.UPDATE_AccountCharacter_SET_GameIDC_s_WHERE_Id_s
mov eax, dword [ebp + 8]
add eax, 0x7d80
push eax
call fcn.00408880
add esp, 0x10
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408ad0
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
jmp 0x40bc0a
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
push 0x1024
lea ecx, [ebp - 0x2000]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.00407670
movzx eax, byte [ebp - 0x1ffc]
cmp eax, 1
jne 0x40bdf3
mov byte [ebp - 0x2138], 0
push 0x2b
push 0
lea ecx, [ebp - 0x2137]
push ecx
call fcn.00433530
add esp, 0xc
push 0x2c
push 0x60
lea ecx, [ebp - 0x2138]
call fcn.00409d80
mov edx, dword [ebp + 0x10]
movsx eax, word [edx + 0x1a]
mov dword [ebp - 0x2134], eax
lea ecx, [ebp - 0xfd4]
push ecx
push str.SELECT__FROM_OptionData_WHERE_Name_s
mov edx, dword [ebp + 8]
add edx, 0x7d80
push edx
call fcn.00408880
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408ad0
cwde
cmp eax, 0x64
je 0x40bdaa
push 0xa
mov ecx, dword [ebp + 0x10]
add ecx, 0xe
push ecx
lea edx, [ebp - 0x2130]
push edx
call fcn.00434160
add esp, 0xc
push str.GameOption
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0x2112], al
push str.QKey
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0x2111], al
push str.WKey
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0x2110], al
push str.EKey
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0x210f], al
push str.RKey
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0x210d], al
push str.ChatWindow
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0x210e], al
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
lea eax, [ebp - 0xfd4]
push eax
push str.SELECT_SkillKey_from_OptionData_where_Name_s
lea ecx, [ebp - 0x2100]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0xfc8]
push edx
lea eax, [ebp - 0x2100]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408e20
push 0x14
lea ecx, [ebp - 0xfc8]
push ecx
lea edx, [ebp - 0x2126]
push edx
call fcn.00434160
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
push 0x2c
lea eax, [ebp - 0x2138]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407670
lea edx, [ebp - 0x210c]
push edx
lea eax, [ebp - 0xfd4]
push eax
mov ecx, dword [ebp + 0x10]
movsx edx, word [ecx + 0x1a]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004302f0
add esp, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434051
mov esp, ebp
pop ebp
ret