joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a4c0
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 0x40a5c1
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, 0x41ee38
call fcn.00412310
add esp, 8
test al, al
je 0x40a562
mov ecx, dword [0x41ee44]
push ecx
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a562
mov edx, dword [0x41ee44]
push edx
call edi
mov eax, dword [0x41ee44]
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, 0x41ee38
call fcn.00412310
mov ecx, dword [0x41ee44]
add esp, 0x10
push ecx
call edi
mov edx, dword [0x41ee44]
push 2
push edx
jmp 0x40a5a4
mov eax, dword [0x41ee44]
push eax
call edi
mov ecx, dword [0x41ee44]
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, 0x41ee38
call fcn.00412310
mov edx, dword [0x41ee44]
add esp, 0x10
push edx
call edi
mov eax, dword [0x41ee44]
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 0x40a4f0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40a690
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, 0x41ee38
call fcn.00412310
add esp, 8
test al, al
je 0x40a6ec
mov eax, dword [0x41ee44]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a6ec
mov ecx, dword [0x41ee44]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call ebx
mov edx, dword [0x41ee44]
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 0x40a718
mov ecx, dword [0x41ee44]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call ebx
mov edx, dword [0x41ee44]
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, 0x41ee38
call fcn.00412310
mov edx, dword [0x41ee44]
add esp, 0x10
push edx
call ebx
mov eax, dword [0x41ee44]
push 2
push eax
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop edi
pop ebx
ret
Function at 0x40a740
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, 0x41ee38
call fcn.00412310
add esp, 8
test al, al
je 0x40a7be
mov eax, dword [0x41ee44]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a7be
mov ecx, dword [0x41ee44]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call ebx
mov edx, dword [0x41ee44]
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, 0x41ee38
call fcn.00412310
mov ecx, dword [0x41ee44]
add esp, 0xc
push ecx
call ebx
mov edx, dword [0x41ee44]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
ret
mov eax, dword [0x41ee44]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push eax
call ebx
mov ecx, dword [0x41ee44]
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, 0x41ee38
call fcn.00412310
mov eax, dword [0x41ee44]
add esp, 0xc
push eax
call ebx
mov ecx, dword [0x41ee44]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
ret

Function at 0x40a810
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, 0x41ee38
call fcn.00412310
add esp, 8
test al, al
je 0x40a88e
mov eax, dword [0x41ee44]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a88e
mov ecx, dword [0x41ee44]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call ebx
mov edx, dword [0x41ee44]
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, 0x41ee38
call fcn.00412310
mov ecx, dword [0x41ee44]
add esp, 0xc
push ecx
call ebx
mov edx, dword [0x41ee44]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
ret
mov eax, dword [0x41ee44]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push eax
call ebx
mov ecx, dword [0x41ee44]
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, 0x41ee38
call fcn.00412310
mov eax, dword [0x41ee44]
add esp, 0xc
push eax
call ebx
mov ecx, dword [0x41ee44]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
ret
Function at 0x40a8e0
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, 0x41ee38
call fcn.00412310
add esp, 8
test al, al
je 0x40a95e
mov eax, dword [0x41ee44]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a95e
mov ecx, dword [0x41ee44]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call ebx
mov edx, dword [0x41ee44]
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, 0x41ee38
call fcn.00412310
mov ecx, dword [0x41ee44]
add esp, 0xc
push ecx
call ebx
mov edx, dword [0x41ee44]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
ret
mov eax, dword [0x41ee44]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push eax
call ebx
mov ecx, dword [0x41ee44]
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, 0x41ee38
call fcn.00412310
mov eax, dword [0x41ee44]
add esp, 0xc
push eax
call ebx
mov ecx, dword [0x41ee44]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
ret

Function at 0x40a9b0
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, 0x41ee38
call fcn.00412310
add esp, 8
test al, al
je 0x40aa2e
mov eax, dword [0x41ee44]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40aa2e
mov ecx, dword [0x41ee44]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call ebx
mov edx, dword [0x41ee44]
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, 0x41ee38
call fcn.00412310
mov ecx, dword [0x41ee44]
add esp, 0xc
push ecx
call ebx
mov edx, dword [0x41ee44]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
ret
mov eax, dword [0x41ee44]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push eax
call ebx
mov ecx, dword [0x41ee44]
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, 0x41ee38
call fcn.00412310
mov eax, dword [0x41ee44]
add esp, 0xc
push eax
call ebx
mov ecx, dword [0x41ee44]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
ret
Function at 0x40cf20
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea esi, [ebx + 6]
push esi
push str.SELECT_GUID_FROM_T_FriendMain_WHERE_Name_s
mov ecx, 0x41ee38
call fcn.00412310
mov eax, dword [0x41ee44]
add esp, 8
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
push str.GUID
call fcn.004124d0
cmp eax, 0xffffffff
jne 0x40cf5b
or edi, eax
jmp 0x40cf6f
shl eax, 0xd
add eax, 0x41fa66
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
mov edi, eax
mov ecx, dword [0x41ee44]
push ecx
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov edx, dword [0x41ee44]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movzx eax, word [ebx + 4]
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
mov ecx, edi
call fcn.0040d610
pop edi
pop esi
pop ecx
pop ebp
ret 4
Function at 0x40d2c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x41d018]
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, 0x41ee38
call fcn.00412310
add esp, 8
test al, al
je 0x40d3cf
mov ecx, dword [0x41ee44]
push ecx
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40d3cf
push ebx
push esi
mov dx, word [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov word [ebp - 0x1c], dx
movzx edx, word [edi + 8]
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x1a], eax
mov al, byte [edi + 0xa]
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x20], 0x1b01cc1
mov word [ebp - 0x12], dx
mov byte [ebp - 0x10], al
cmp cx, word [0x41eeac]
jge 0x40d379
mov ebx, 0x41eeae
push ebx
push str.FriendName
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x40d374
movsx edx, word [0x41eeac]
inc esi
add ebx, 0x1e
cmp esi, edx
jl 0x40d341
xor eax, eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
jmp 0x40d3a5
cmp esi, 0xffffffff
jne 0x40d38a
xor eax, eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
jmp 0x40d3a5
push 0xa
shl esi, 0xd
add esi, 0x41fa66
push esi
lea eax, [ebp - 0xf]
push 0xb
push eax
call dword [sym.imp.MSVCR100.dll_strncpy_s]
add esp, 0x10
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
push edx
mov ebx, 0x1c
call fcn.00413de0
mov eax, dword [0x41ee44]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
jne 0x40d307
pop esi
pop ebx
mov ecx, dword [0x41ee44]
push ecx
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov edx, dword [0x41ee44]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415636
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40d400
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x41d018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push str.SELECT_GUID_FROM_T_FriendMain_WHERE_Name_s
mov ecx, 0x41ee38
call fcn.00412310
add esp, 8
test al, al
je 0x40d5de
mov eax, dword [0x41ee44]
mov ebx, dword [sym.imp.ODBC32.dll_SQLFetch]
push eax
call ebx
cmp ax, 0x64
je 0x40d5de
push esi
push str.GUID
call fcn.004124d0
cmp eax, 0xffffffff
jne 0x40d458
or esi, eax
jmp 0x40d46c
shl eax, 0xd
add eax, 0x41fa66
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
mov esi, eax
mov ecx, dword [0x41ee44]
push ecx
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov edx, dword [0x41ee44]
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, 0x41ee38
call fcn.00412310
add esp, 0xc
test al, al
je 0x40d5b0
mov eax, dword [0x41ee44]
push eax
call ebx
cmp ax, 0x64
je 0x40d5b0
mov esi, dword [sym.imp.MSVCR100.dll_strncpy_s]
mov ebx, 0x1e
push str.FriendName
mov dword [ebp - 0x24], 0x2b01ec1
call fcn.004124d0
cmp eax, 0xffffffff
jne 0x40d4e9
xor eax, eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
mov byte [ebp - 0x14], al
jmp 0x40d4ff
shl eax, 0xd
push 0xa
add eax, 0x41fa66
push eax
lea ecx, [ebp - 0x1e]
push 0xb
push ecx
call esi
add esp, 0x10
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x1e]
call fcn.004053a0
test al, al
je 0x40d59a
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 0x40d57d
push 0x419220
call fcn.004124d0
cmp eax, 0xffffffff
je 0x40d57d
shl eax, 0xd
add eax, 0x41fa66
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
test eax, eax
jne 0x40d57d
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x13]
call fcn.004053a0
test al, al
mov eax, 0xffff
je 0x40d578
movzx eax, word [ebp - 0x44]
mov byte [ebp - 8], al
jmp 0x40d581
mov byte [ebp - 8], 0xff
mov edx, dword [ebp - 0x28]
call fcn.004149c0
test eax, eax
je 0x40d59a
mov edx, dword [eax + 4]
lea ecx, [ebp - 0x24]
push ecx
push edx
call fcn.00413de0
mov eax, dword [0x41ee44]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
jne 0x40d4c2
mov ecx, dword [0x41ee44]
push ecx
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov edx, dword [0x41ee44]
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.00415636
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x41ee44]
push eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov ecx, dword [0x41ee44]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00415636
mov esp, ebp
pop ebp
ret 4
Function at 0x40d950
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, 0x41ee38
mov dword [ebp - 0x1c], 0x9418c1
mov word [ebp - 0xe], ax
mov byte [ebp - 0xc], dl
call fcn.00412310
add esp, 8
test al, al
je 0x40d9f8
mov eax, dword [0x41ee44]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40d9f8
push str.RenaCount
call fcn.004124d0
cmp eax, 0xffffffff
jne 0x40d9c5
or eax, eax
jmp 0x40d9d7
shl eax, 0xd
add eax, 0x41fa66
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
mov ecx, dword [0x41ee44]
push ecx
mov dword [ebp - 8], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov edx, dword [0x41ee44]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x40da3d
mov eax, dword [0x41ee44]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push eax
call edi
mov ecx, dword [0x41ee44]
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, 0x41ee38
call fcn.00412310
mov edx, dword [0x41ee44]
add esp, 8
push edx
call edi
mov eax, dword [0x41ee44]
push 2
push eax
call ebx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push ecx
push edx
mov ebx, 0x18
call fcn.00413de0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40da60
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
lea eax, [esi + 6]
push edi
push eax
push str.SELECT__FROM_EventGoldenArcher_WHERE_Account_s
mov ecx, 0x41ee38
mov dword [ebp - 8], eax
call fcn.00412310
add esp, 8
test al, al
je 0x40dafe
mov eax, dword [0x41ee44]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40dafe
push str.RenaCount
call fcn.004124d0
cmp eax, 0xffffffff
jne 0x40daab
mov dword [ebp - 4], eax
jmp 0x40dac0
shl eax, 0xd
add eax, 0x41fa66
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [0x41ee44]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call edi
mov edx, dword [0x41ee44]
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push edx
call ebx
mov eax, dword [esi + 0x14]
add eax, dword [ebp - 4]
cmp eax, 0x7fffffff
jbe 0x40daf2
mov eax, bind
mov edx, dword [ebp - 8]
push edx
push eax
push str.UPDATE_EventGoldenArcher_SET_RenaCount_d_WHERE_Account_s
jmp 0x40db2a
mov edx, dword [0x41ee44]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push edx
call edi
mov eax, dword [0x41ee44]
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push eax
call ebx
mov ecx, dword [esi + 0x14]
mov edx, dword [ebp - 8]
push ecx
push edx
push str.INSERT_INTO_EventGoldenArcher__Account_RenaCount_StoneCount__VALUES___s__d_0_
mov ecx, 0x41ee38
call fcn.00412310
mov eax, dword [0x41ee44]
add esp, 0xc
push eax
call edi
mov ecx, dword [0x41ee44]
push 2
push ecx
call ebx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f3e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6cc
mov eax, dword [0x41d018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x6cc], eax
call fcn.0040f220
test eax, eax
je 0x40f41f
pop edi
mov al, 3
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415636
mov esp, ebp
pop ebp
ret 8
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40f424
sub eax, edx
xor edx, edx
test eax, eax
jle 0x40f456
mov cl, byte [edx + edi]
cmp cl, 0x20
je 0x40f5e1
cmp cl, 0x22
je 0x40f5e1
cmp cl, 0x27
je 0x40f5e1
inc edx
cmp edx, eax
jl 0x40f433
push esi
push ebx
push edi
push str.WZ_GuildCreate__s__s
mov ecx, 0x41ee38
call fcn.00412310
add esp, 0xc
test al, al
je 0x40f60f
mov ecx, dword [0x41ee44]
mov esi, dword [sym.imp.ODBC32.dll_SQLFetch]
push ecx
call esi
cmp ax, 0x64
je 0x40f60f
push 0x41fa66
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
test eax, eax
jne 0x40f5f5
call fcn.004124b0
mov edx, dword [ebp - 0x6cc]
mov ecx, 0x20
push edx
lea edx, [ecx - 0x1f]
call fcn.00412600
mov eax, dword [ebp + 0xc]
push edi
push eax
push str.UPDATE_Guild_SET_G_Mark__G_Type_d_G_Notice_WHERE_G_Name_s
mov ecx, 0x41ee38
call fcn.00412310
add esp, 0xc
call fcn.004124b0
push ebx
push 0x80
push str.UPDATE_GuildMember_SET_G_Status_d_WHERE_Name_s
mov ecx, 0x41ee38
call fcn.00412310
add esp, 0xc
call fcn.004124b0
lea eax, [ebp - 0x6c8]
call fcn.0040e950
push edi
push str.SELECT_Number_FROM_Guild_WHERE_G_Name_s
mov ecx, 0x41ee38
call fcn.00412310
mov ecx, dword [0x41ee44]
add esp, 8
push ecx
call esi
mov eax, str.Number
call fcn.00412520
mov dword [ebp - 0x6c8], eax
call fcn.004124b0
movzx ecx, byte [edi + 8]
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov esi, dword [ebp - 0x6cc]
mov dword [ebp - 0x6b3], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x6b7], edx
mov edx, dword [ebx]
mov byte [ebp - 0x6af], cl
mov cx, word [ebx + 8]
mov dword [ebp - 0x6aa], eax
mov al, byte [ebp + 0xc]
mov dword [ebp - 0x6ae], edx
mov dl, byte [ebx + 0xa]
mov word [ebp - 0x6a6], cx
mov byte [ebp - 0x6b8], al
mov ax, word [ebx + 8]
mov byte [ebp - 0x6a4], dl
mov edx, dword [ebx + 4]
mov ecx, 8
lea edi, [ebp - 0x667]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx]
mov dword [ebp - 0x644], ecx
movzx ecx, byte [ebx + 0xa]
mov word [ebp - 0x63c], ax
lea eax, [ebp - 0x6c8]
mov ebx, 0x41d504
mov dword [ebp - 0x640], edx
mov byte [ebp - 0x63a], cl
mov dword [ebp - 0x638], 0x80
call fcn.00410000
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415636
mov esp, ebp
pop ebp
ret 8
pop edi
mov al, 4
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415636
mov esp, ebp
pop ebp
ret 8
call fcn.004124b0
pop esi
pop edi
mov al, 2
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415636
mov esp, ebp
pop ebp
ret 8
mov edx, dword [0x41ee44]
push edx
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov eax, dword [0x41ee44]
push 2
push eax
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00415636
mov esp, ebp
pop ebp
ret 8
Function at 0x410bf0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x41d018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x41d730]
push ebx
push esi
push edi
test eax, eax
js 0x410cfd
cmp eax, 1
jge 0x410cfd
mov esi, eax
imul esi, esi, 0x214
add esi, 0x41d51c
push 0x419ed0
inc eax
lea ebx, [esi + 4]
push 0x100
mov dword [0x41d730], eax
push ebx
mov dword [esi], 1
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
cmp dword [esi], 0
je 0x410cfd
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
movzx ecx, word [ebp - 0x12]
movzx edx, word [ebp - 0x14]
push eax
push ecx
push edx
push ebx
lea edi, [esi + 0x110]
push str.._s_04d__02d__02d.txt
push edi
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], ecx
mov dword [esi + 0x10c], edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x210], eax
cmp eax, 0xffffffff
jne 0x410cd8
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415636
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x410cfd
mov ecx, dword [esi + 0x210]
push ecx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415636
mov esp, ebp
pop ebp
ret