joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4098e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, word [esi + 4]
mov ecx, dword [esi + 6]
mov edx, dword [esi + 0xa]
mov word [ebp - 0x20], ax
movzx eax, word [esi + 0xe]
push ebx
push edi
lea edi, [esi + 0x11]
mov word [ebp - 0x16], ax
mov eax, dword [edi + 4]
mov dword [ebp - 0x1e], ecx
mov cl, byte [esi + 0x10]
mov dword [ebp - 0xf], eax
movzx eax, word [esi + 0x1c]
mov dword [ebp - 0x1a], edx
mov edx, dword [edi]
mov byte [ebp - 0x14], cl
mov cx, word [edi + 8]
push eax
mov dword [ebp - 0x13], edx
mov dl, byte [edi + 0xa]
mov word [ebp - 0xb], cx
push edi
push str.SELECT__FROM_MonsterKillCount_WHERE_Name_s_and_MonsterClass_d
mov ecx, 0x4eb8c0
mov word [ebp - 0x24], 0x20c1
mov byte [ebp - 0x22], 0x50
mov byte [ebp - 9], dl
mov word [ebp - 8], ax
call fcn.00412e90
add esp, 0xc
test al, al
je 0x4099be
mov ecx, dword [0x4eb8cc]
push ecx
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4099be
push str.MonsterKillCount
mov ebx, 0x4eb8c0
call fcn.00413050
mov edx, dword [0x4eb8cc]
lea ebx, [eax + 1]
push edx
mov word [ebp - 6], bx
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov eax, dword [0x4eb8cc]
push 2
push eax
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movzx ecx, word [esi + 0x1c]
push ecx
movzx edx, bx
push edi
push edx
push str.UPDATE_MonsterKillCount_SET_MonsterKillCount_d_WHERE_Name_s_and_MonsterClass_d
mov ecx, 0x4eb8c0
call fcn.00412e90
mov eax, dword [0x4eb8cc]
add esp, 0x10
push eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
jmp 0x409a06
mov eax, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov edx, 1
push eax
mov word [ebp - 6], dx
call ebx
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movzx edx, word [esi + 0x1c]
push 1
push edx
push edi
push str.INSERT_INTO_MonsterKillCount__Name_MonsterClass_MonsterKillCount__VALUES___s__d__d_
mov ecx, 0x4eb8c0
call fcn.00412e90
mov eax, dword [0x4eb8cc]
add esp, 0x10
push eax
call ebx
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x24]
push edx
push eax
mov ebx, 0x20
call fcn.00414a90
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409d40
Capabilities:
Reference sql statements

Disassembly:
push ebx
push edi
lea edi, [esi + 0x11]
push edi
push str.SELECT_Name_FROM_OptionData_WHERE_Name_s
mov ecx, 0x4eb8c0
call fcn.00412e90
add esp, 8
test al, al
je 0x409e11
mov eax, dword [0x4eb8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409e11
mov ecx, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call ebx
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [0x4eb8cc]
push 0x5b4680
push 0
lea eax, [esi + 0x1c]
push eax
push 0
push 0x14
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push ecx
mov dword [0x5b4680], 0x14
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
mov edx, dword [esi + 0x38]
movzx eax, byte [esi + 0x35]
movzx ecx, byte [esi + 0x34]
push edi
push edx
movzx edx, byte [esi + 0x33]
push eax
movzx eax, byte [esi + 0x32]
push ecx
movzx ecx, byte [esi + 0x31]
push edx
movzx edx, byte [esi + 0x30]
push eax
push ecx
push edx
push str.UPDATE_OptionData_SET_SkillKey__GameOption_d_Qkey_d_Wkey_d_Ekey_d_ChatWindow_d_Rkey_d_QWERLevel_d_WHERE_Name_s
mov ecx, 0x4eb8c0
call fcn.00412e90
mov eax, dword [0x4eb8cc]
add esp, 0x24
push eax
call ebx
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop edi
pop ebx
ret
mov edx, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push edx
call ebx
mov eax, dword [0x4eb8cc]
push 2
push eax
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov edx, dword [0x4eb8cc]
push 0x5b4680
push 0
lea ecx, [esi + 0x1c]
push ecx
push 0
push 0x14
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push edx
mov dword [0x5b4680], 0x14
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
mov eax, dword [esi + 0x38]
movzx ecx, byte [esi + 0x35]
movzx edx, byte [esi + 0x34]
push eax
movzx eax, byte [esi + 0x33]
push ecx
movzx ecx, byte [esi + 0x32]
push edx
movzx edx, byte [esi + 0x31]
push eax
movzx eax, byte [esi + 0x30]
push ecx
push edx
push eax
push edi
push str.INSERT_INTO_OptionData__Name_SkillKey_GameOption_Qkey_Wkey_Ekey_ChatWindow_Rkey_QWERLevel__VALUES___s____d__d__d__d__d__d__d_
mov ecx, 0x4eb8c0
call fcn.00412e90
mov ecx, dword [0x4eb8cc]
add esp, 0x24
push ecx
call ebx
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop edi
pop ebx
ret
Function at 0x409eb0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x11], 0
mov dword [ebp - 4], 0
jbe 0x409fb1
push ebx
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push edi
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
add esi, 0x16
lea ebx, [ebx]
mov eax, dword [esi - 4]
push eax
push str.SELECT_ItemSerial_FROM_T_PetItem_Info_WHERE_ItemSerial_d
mov ecx, 0x4eb8c0
call fcn.00412e90
add esp, 8
test al, al
je 0x409f52
mov ecx, dword [0x4eb8cc]
push ecx
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409f52
mov edx, dword [0x4eb8cc]
push edx
call edi
mov eax, dword [0x4eb8cc]
push 2
push eax
call ebx
mov ecx, dword [esi - 4]
mov edx, dword [esi + 4]
movzx eax, byte [esi]
push ecx
push edx
push eax
push str.UPDATE_T_PetItem_Info_SET_Pet_Level_d_Pet_Exp_d_WHERE_ItemSerial_d
mov ecx, 0x4eb8c0
call fcn.00412e90
mov ecx, dword [0x4eb8cc]
add esp, 0x10
push ecx
call edi
mov edx, dword [0x4eb8cc]
push 2
push edx
jmp 0x409f94
mov eax, dword [0x4eb8cc]
push eax
call edi
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call ebx
mov edx, dword [esi + 4]
movzx eax, byte [esi]
mov ecx, dword [esi - 4]
push edx
push eax
push ecx
push str.INSERT_INTO_T_PetItem_Info__ItemSerial_Pet_Level_Pet_Exp__VALUES___d__d__d_
mov ecx, 0x4eb8c0
call fcn.00412e90
mov edx, dword [0x4eb8cc]
add esp, 0x10
push edx
call edi
mov eax, dword [0x4eb8cc]
push 2
push eax
call ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
movzx edx, byte [ecx + 0x11]
inc eax
add esi, 0xc
mov dword [ebp - 4], eax
cmp eax, edx
jl 0x409ee0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40a090
Capabilities:
Reference sql statements

Disassembly:
push ebx
push edi
lea edi, [esi + 0x11]
push edi
push str.SELECT_Name_FROM_RankingDuel_WHERE_Name_s
mov ecx, 0x4eb8c0
call fcn.00412e90
add esp, 8
test al, al
je 0x40a0ec
mov eax, dword [0x4eb8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a0ec
mov ecx, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call ebx
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
push edi
push eax
push ecx
push str.UPDATE_RankingDuel_SET_WinScoreWinScore_d_LoseScoreLoseScore_d_WHERE_Name_s
jmp 0x40a118
mov ecx, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call ebx
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
push edi
push str.INSERT_INTO_RankingDuel__Name_WinScore_LoseScore__VALUES___s__d__d_
mov ecx, 0x4eb8c0
call fcn.00412e90
mov edx, dword [0x4eb8cc]
add esp, 0x10
push edx
call ebx
mov eax, dword [0x4eb8cc]
push 2
push eax
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop edi
pop ebx
ret
Function at 0x40a140
Capabilities:
Reference sql statements

Disassembly:
push ebx
push esi
lea esi, [edi + 0x11]
push esi
push str.SELECT_Name_FROM_RankingBloodCastle_WHERE_Name_s
mov ecx, 0x4eb8c0
call fcn.00412e90
add esp, 8
test al, al
je 0x40a1be
mov eax, dword [0x4eb8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a1be
mov ecx, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call ebx
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [edi + 0x1c]
push esi
push eax
push str.UPDATE_RankingBloodCastle_SET_ScoreScore_d_WHERE_Name_s
mov ecx, 0x4eb8c0
call fcn.00412e90
mov ecx, dword [0x4eb8cc]
add esp, 0xc
push ecx
call ebx
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
ret
mov eax, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push eax
call ebx
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov edx, dword [edi + 0x1c]
push edx
push esi
push str.INSERT_INTO_RankingBloodCastle__Name_Score__VALUES___s__d_
mov ecx, 0x4eb8c0
call fcn.00412e90
mov eax, dword [0x4eb8cc]
add esp, 0xc
push eax
call ebx
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
ret

Function at 0x40a210
Capabilities:
Reference sql statements

Disassembly:
push ebx
push esi
lea esi, [edi + 0x11]
push esi
push str.SELECT_Name_FROM_RankingChaosCastle_WHERE_Name_s
mov ecx, 0x4eb8c0
call fcn.00412e90
add esp, 8
test al, al
je 0x40a28e
mov eax, dword [0x4eb8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a28e
mov ecx, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call ebx
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [edi + 0x1c]
push esi
push eax
push str.UPDATE_RankingChaosCastle_SET_ScoreScore_d_WHERE_Name_s
mov ecx, 0x4eb8c0
call fcn.00412e90
mov ecx, dword [0x4eb8cc]
add esp, 0xc
push ecx
call ebx
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
ret
mov eax, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push eax
call ebx
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov edx, dword [edi + 0x1c]
push edx
push esi
push str.INSERT_INTO_RankingChaosCastle__Name_Score__VALUES___s__d_
mov ecx, 0x4eb8c0
call fcn.00412e90
mov eax, dword [0x4eb8cc]
add esp, 0xc
push eax
call ebx
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
ret
Function at 0x40a2e0
Capabilities:
Reference sql statements

Disassembly:
push ebx
push esi
lea esi, [edi + 0x11]
push esi
push str.SELECT_Name_FROM_RankingDevilSquare_WHERE_Name_s
mov ecx, 0x4eb8c0
call fcn.00412e90
add esp, 8
test al, al
je 0x40a35e
mov eax, dword [0x4eb8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a35e
mov ecx, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call ebx
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [edi + 0x1c]
push esi
push eax
push str.UPDATE_RankingDevilSquare_SET_ScoreScore_d_WHERE_Name_s
mov ecx, 0x4eb8c0
call fcn.00412e90
mov ecx, dword [0x4eb8cc]
add esp, 0xc
push ecx
call ebx
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
ret
mov eax, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push eax
call ebx
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov edx, dword [edi + 0x1c]
push edx
push esi
push str.INSERT_INTO_RankingDevilSquare__Name_Score__VALUES___s__d_
mov ecx, 0x4eb8c0
call fcn.00412e90
mov eax, dword [0x4eb8cc]
add esp, 0xc
push eax
call ebx
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
ret

Function at 0x40a3b0
Capabilities:
Reference sql statements

Disassembly:
push ebx
push esi
lea esi, [edi + 0x11]
push esi
push str.SELECT_Name_FROM_RankingIllusionTemple_WHERE_Name_s
mov ecx, 0x4eb8c0
call fcn.00412e90
add esp, 8
test al, al
je 0x40a42e
mov eax, dword [0x4eb8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a42e
mov ecx, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call ebx
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [edi + 0x1c]
push esi
push eax
push str.UPDATE_RankingIllusionTemple_SET_ScoreScore_d_WHERE_Name_s
mov ecx, 0x4eb8c0
call fcn.00412e90
mov ecx, dword [0x4eb8cc]
add esp, 0xc
push ecx
call ebx
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
ret
mov eax, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push eax
call ebx
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov edx, dword [edi + 0x1c]
push edx
push esi
push str.INSERT_INTO_RankingIllusionTemple__Name_Score__VALUES___s__d_
mov ecx, 0x4eb8c0
call fcn.00412e90
mov eax, dword [0x4eb8cc]
add esp, 0xc
push eax
call ebx
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
ret
Function at 0x40b440
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea edi, [esi + 6]
push edi
push str.SELECT_GUID_FROM_T_FriendMain_WHERE_Name_s
mov ecx, 0x4eb8c0
call fcn.00412e90
mov eax, dword [0x4eb8cc]
add esp, 8
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.GUID
mov ebx, 0x4eb8c0
call fcn.00413050
mov ecx, dword [0x4eb8cc]
push ecx
mov ebx, eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movzx eax, word [esi + 4]
mov ecx, dword [ebp + 8]
push eax
push ebx
push ecx
call fcn.0040b990
pop edi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x40b4b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x41f018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea esi, [edi + 8]
push esi
push str.SELECT_GUID_FROM_T_FriendMain_WHERE_Name_s
mov ecx, 0x4eb8c0
call fcn.00412e90
mov eax, dword [0x4eb8cc]
add esp, 8
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.GUID
mov ebx, 0x4eb8c0
call fcn.00413050
mov ecx, dword [0x4eb8cc]
mov ebx, eax
push ecx
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movzx eax, word [edi + 4]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov word [ebp - 0x412], ax
movzx eax, word [esi + 8]
mov word [ebp - 0x408], ax
movzx eax, word [edi + 6]
mov dword [ebp - 0x410], ecx
mov cl, byte [esi + 0xa]
push ebx
push eax
mov byte [ebp - 0x406], cl
push str.SELECT_Memo_Photo_Dir_Act_FROM_T_FriendMail_WHERE_MemoIndex_d_AND_GUID_d
mov ecx, 0x4eb8c0
mov dword [ebp - 0x418], 0xb01404c2
mov byte [ebp - 0x414], 7
mov dword [ebp - 0x40c], edx
mov word [ebp - 0x404], ax
call fcn.00412e90
mov eax, dword [0x4eb8cc]
add esp, 0xc
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
push 0x12
lea ecx, [ebp - 0x400]
push ecx
push str.Photo
call fcn.00413250
push 0x41a57c
mov ebx, 0x4eb8c0
call fcn.00413050
push 0x41a580
mov byte [ebp - 0x3ee], al
call fcn.00413050
push 0x3e8
lea edx, [ebp - 0x3ec]
push edx
push str.Memo
mov byte [ebp - 0x3ed], al
call fcn.00413250
lea eax, [ebp - 0x3ec]
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40b5e0
mov esi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
sub eax, ecx
mov word [ebp - 0x402], ax
mov eax, dword [0x4eb8cc]
push eax
call esi
mov ecx, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push ecx
call ebx
mov edx, dword [ebp - 0x41c]
movzx eax, word [edi + 6]
push edx
push eax
push str.UPDATE_T_FriendMail_SET_bRead1_WHERE_MemoIndex_d_AND_GUID_d
mov ecx, 0x4eb8c0
call fcn.00412e90
mov ecx, dword [0x4eb8cc]
add esp, 0xc
push ecx
call esi
mov edx, dword [0x4eb8cc]
push 2
push edx
call ebx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x418]
push eax
push ecx
mov ebx, 0x414
call fcn.00414a90
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00415bda
mov esp, ebp
pop ebp
ret 4
Function at 0x40b710
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x41f018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
push str.SELECT_FriendName_FROM_T_WaitFriend_WHERE_GUID_d
mov ecx, 0x4eb8c0
call fcn.00412e90
add esp, 8
test al, al
je 0x40b7ac
mov ecx, dword [0x4eb8cc]
push edi
mov edi, dword [sym.imp.ODBC32.dll_SQLFetch]
push ecx
call edi
cmp ax, 0x64
je 0x40b7ab
push ebx
mov ebx, 0x1c
mov ecx, dword [esi + 4]
mov dx, word [ebp + 0x10]
mov eax, dword [esi]
mov dword [ebp - 0x16], ecx
push 0xb
mov word [ebp - 0x1c], dx
movzx edx, word [esi + 8]
lea ecx, [ebp - 0xf]
mov dword [ebp - 0x1a], eax
mov al, byte [esi + 0xa]
push ecx
push str.FriendName
mov dword [ebp - 0x20], 0x1b01cc1
mov word [ebp - 0x12], dx
mov byte [ebp - 0x10], al
call fcn.004131c0
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x20]
push edx
push eax
call fcn.00414a90
mov ecx, dword [0x4eb8cc]
push ecx
call edi
cmp ax, 0x64
jne 0x40b756
pop ebx
pop edi
mov edx, dword [0x4eb8cc]
push edx
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov eax, dword [0x4eb8cc]
push 2
push eax
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415bda
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40b7e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x41f018]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push str.SELECT_GUID_FROM_T_FriendMain_WHERE_Name_s
mov ecx, 0x4eb8c0
call fcn.00412e90
add esp, 8
test al, al
je 0x40b963
mov eax, dword [0x4eb8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40b963
push ebx
push esi
push str.GUID
mov ebx, 0x4eb8c0
call fcn.00413050
mov ecx, dword [0x4eb8cc]
push ecx
mov esi, eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0
push esi
push str.SELECT_FriendName_Del_FROM_T_FriendList_WHERE_GUID_d
mov ecx, ebx
call fcn.00412e90
add esp, 0xc
test al, al
je 0x40b935
mov eax, dword [0x4eb8cc]
mov esi, dword [sym.imp.ODBC32.dll_SQLFetch]
push eax
call esi
cmp ax, 0x64
je 0x40b935
push 0xb
lea ecx, [ebp - 0x1e]
push ecx
push str.FriendName
mov dword [ebp - 0x24], 0x2b01ec1
call fcn.004131c0
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x1e]
call fcn.00405210
test al, al
je 0x40b923
cmp dword [ebp + 8], 0
movzx eax, word [ebp - 0x2a]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov word [ebp - 0x20], ax
movzx eax, word [edi + 8]
mov dword [ebp - 0x13], ecx
mov cl, byte [edi + 0xa]
mov dword [ebp - 0xf], edx
mov word [ebp - 0xb], ax
mov byte [ebp - 9], cl
jne 0x40b901
push 0x41a39c
mov ebx, 0x4eb8c0
call fcn.00413050
test eax, eax
jne 0x40b901
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x13]
call fcn.00405210
test al, al
mov eax, 0xffff
je 0x40b8fc
movzx eax, word [ebp - 0x44]
mov byte [ebp - 8], al
jmp 0x40b905
mov byte [ebp - 8], 0xff
mov edx, dword [ebp - 0x28]
call fcn.004155b0
test eax, eax
je 0x40b923
mov edx, dword [eax + 4]
lea ecx, [ebp - 0x24]
push ecx
push edx
mov ebx, 0x1e
call fcn.00414a90
mov eax, dword [0x4eb8cc]
push eax
call esi
cmp ax, 0x64
jne 0x40b882
mov ecx, dword [0x4eb8cc]
push ecx
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415bda
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x4eb8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415bda
mov esp, ebp
pop ebp
ret 4
Function at 0x40b990
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x41f018]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push eax
push str.SELECT_MemoIndex_FriendName_wDate_Subject_bRead_FROM_T_FriendMail_WHERE_GUID_d
mov ecx, 0x4eb8c0
call fcn.00412e90
add esp, 8
test al, al
je 0x40bb13
mov ecx, dword [0x4eb8cc]
push ecx
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40bb13
mov dx, word [ebp + 0x10]
xor eax, eax
xor esi, esi
mov dword [ebp - 0x6c], 0xb06000c2
mov byte [ebp - 0x68], 6
mov word [ebp - 0x66], dx
cmp ax, word [0x4eb934]
jge 0x40ba2c
mov ebx, 0x4eb936
lea esp, [esp]
push ebx
push str.MemoIndex
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x40ba27
movsx ecx, word [0x4eb934]
inc esi
add ebx, 0x1e
cmp esi, ecx
jl 0x40ba00
or eax, 0xffffffff
jmp 0x40ba44
cmp esi, 0xffffffff
jne 0x40ba31
or eax, 0xffffffff
jmp 0x40ba44
shl esi, 0xd
add esi, 0x4ec4ee
push esi
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
push 0xb
lea edx, [ebp - 0x62]
push edx
push str.FriendName
mov word [ebp - 0x64], ax
call fcn.004131c0
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dx, word [edi + 8]
mov dword [ebp - 0x53], ecx
push 0x1e
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x57], eax
mov al, byte [edi + 0xa]
push ecx
push str.wDate
mov word [ebp - 0x4f], dx
mov byte [ebp - 0x4d], al
call fcn.004131c0
push 0x20
lea edx, [ebp - 0x2e]
push edx
push str.Subject
call fcn.004131c0
xor eax, eax
xor esi, esi
cmp ax, word [0x4eb934]
jge 0x40bacf
mov ebx, 0x4eb936
push ebx
push str.bRead
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x40baca
movsx ecx, word [0x4eb934]
inc esi
add ebx, 0x1e
cmp esi, ecx
jl 0x40baa3
or eax, 0xffffffff
jmp 0x40bae7
cmp esi, 0xffffffff
jne 0x40bad4
or eax, 0xffffffff
jmp 0x40bae7
shl esi, 0xd
add esi, 0x4ec4ee
push esi
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
lea edx, [ebp - 0x6c]
mov byte [ebp - 0xe], al
mov eax, dword [ebp + 8]
push edx
push eax
mov ebx, 0x60
call fcn.00414a90
mov ecx, dword [0x4eb8cc]
push ecx
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
jne 0x40b9d7
mov edx, dword [0x4eb8cc]
push edx
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov eax, dword [0x4eb8cc]
push 2
push eax
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.00415bda
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40bba0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dx, word [eax + 4]
push ebx
push esi
lea esi, [eax + 6]
mov eax, dword [esi]
mov word [ebp - 0x18], dx
mov edx, dword [esi + 4]
push edi
xor ecx, ecx
mov dword [ebp - 0x16], eax
mov ax, word [esi + 8]
mov dword [ebp - 0x12], edx
mov dl, byte [esi + 0xa]
mov dword [ebp - 8], ecx
push esi
push str.SELECT__FROM_EventGoldenArcher_WHERE_Account_s
mov ecx, 0x4eb8c0
mov dword [ebp - 0x1c], 0x9418c1
mov word [ebp - 0xe], ax
mov byte [ebp - 0xc], dl
call fcn.00412e90
add esp, 8
test al, al
je 0x40bc32
mov eax, dword [0x4eb8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40bc32
push str.RenaCount
mov ebx, 0x4eb8c0
call fcn.00413050
mov ecx, dword [0x4eb8cc]
push ecx
mov dword [ebp - 8], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x40bc77
mov eax, dword [0x4eb8cc]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push eax
call edi
mov ecx, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push ecx
call ebx
push esi
push str.INSERT_INTO_EventGoldenArcher__Account_RenaCount_StoneCount__VALUES___s_0_0_
mov ecx, 0x4eb8c0
call fcn.00412e90
mov edx, dword [0x4eb8cc]
add esp, 8
push edx
call edi
mov eax, dword [0x4eb8cc]
push 2
push eax
call ebx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push ecx
push edx
mov ebx, 0x18
call fcn.00414a90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4