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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
push 0x2f
lea eax, [ebp - 0x33]
mov dword [ebp - 4], edx
push 0
push eax
mov edi, ecx
call fcn.0041f470
movzx eax, word [edi + 4]
add esp, 0xc
movq xmm0, qword [edi + 6]
mov edx, dword [0x446b54]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov word [ebp - 0x30], ax
movzx eax, word [edi + 0xe]
mov word [ebp - 0x26], ax
mov al, byte [edi + 0x10]
mov byte [ebp - 0x24], al
mov al, byte [edi + 0x11]
mov byte [ebp - 0x23], al
mov al, byte [edi + 0x12]
mov byte [ebp - 0x22], al
mov al, byte [edi + 0x13]
mov byte [ebp - 0x21], al
mov eax, dword [0x446b50]
mov word [ebp - 0x34], 0x30c1
mov byte [ebp - 0x32], 7
movq qword [ebp - 0x2e], xmm0
cmp eax, edx
je 0x41172c
mov esi, dword [eax]
lea ecx, [eax + 4]
sub edx, ecx
push edx
push ecx
push eax
call fcn.00420a40
sub dword [0x446b54], 4
add esp, 0xc
test esi, esi
jne 0x411796
push str.EXEC_WZ_GetItemSerial
push 0x446e50
call fcn.0041ad00
add esp, 8
test al, al
je 0x41177e
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x41177e
push 0x447a7e
call fcn.0042415e
add esp, 4
mov esi, eax
mov dword [ebp - 0x20], esi
push dword [0x446e5c]
call ebx
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x411799
push dword [0x446e5c]
call ebx
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
xor esi, esi
mov dword [ebp - 0x20], esi
movzx eax, word [edi + 0x14]
mov ecx, 0x1a04
cmp ax, cx
je 0x4117b1
mov ecx, 0x1a05
cmp ax, cx
jne 0x41181d
push esi
push str.SELECT_ItemSerial_FROM_T_PetItem_Info_WHERE_ItemSerial_d
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x4117da
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
jne 0x411807
push dword [0x446e5c]
call ebx
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0
push 1
push esi
push str.INSERT_INTO_T_PetItem_Info__ItemSerial_Pet_Level_Pet_Exp__VALUES___d__d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x14
push dword [0x446e5c]
call ebx
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movzx eax, word [edi + 0x14]
mov word [ebp - 0x1c], ax
mov al, byte [edi + 0x16]
mov byte [ebp - 0x1a], al
mov al, byte [edi + 0x17]
mov byte [ebp - 0x19], al
mov al, byte [edi + 0x18]
mov byte [ebp - 0x18], al
mov al, byte [edi + 0x19]
mov byte [ebp - 0x17], al
mov al, byte [edi + 0x1a]
mov byte [ebp - 0x16], al
mov al, byte [edi + 0x1b]
mov byte [ebp - 0x15], al
movzx eax, word [edi + 0x1c]
mov word [ebp - 0x14], ax
mov al, byte [edi + 0x1e]
mov byte [ebp - 0x12], al
mov al, byte [edi + 0x1f]
mov byte [ebp - 0x11], al
mov al, byte [edi + 0x20]
mov byte [ebp - 0x10], al
mov eax, dword [edi + 0x21]
mov dword [ebp - 0xf], eax
mov al, byte [edi + 0x25]
mov byte [ebp - 0xb], al
mov al, byte [edi + 0x26]
mov byte [ebp - 0xa], al
mov eax, dword [edi + 0x28]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push 0x30
push eax
push dword [ebp - 4]
call fcn.0041c330
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411890
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x446040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3b
lea eax, [ebp - 0x3f]
mov edi, edx
push 0
push eax
mov esi, ecx
call fcn.0041f470
movzx eax, word [esi + 4]
lea ecx, [esi + 0x11]
movq xmm0, qword [esi + 6]
add esp, 0xc
mov word [ebp - 0x3c], ax
mov bl, 0x3c
movzx eax, word [esi + 0xe]
mov word [ebp - 0x32], ax
mov al, byte [esi + 0x10]
mov byte [ebp - 0x30], al
movzx eax, word [ecx + 8]
push ecx
movq qword [ebp - 0x3a], xmm0
movq xmm0, qword [ecx]
mov word [ebp - 0x27], ax
mov al, byte [ecx + 0xa]
push str.SELECT__FROM_OptionData_WHERE_Name_s
push 0x446e50
mov word [ebp - 0x40], 0x3cc1
mov byte [ebp - 0x3e], 8
movq qword [ebp - 0x2f], xmm0
mov byte [ebp - 0x25], al
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x411a6e
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x411a6e
push 0x14
lea eax, [ebp - 0x24]
push eax
push str.SkillKey
call fcn.0041afa0
push str.GameOption
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x411951
or eax, eax
jmp 0x411962
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.Qkey
mov byte [ebp - 0x10], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x411978
or eax, eax
jmp 0x411989
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.Wkey
mov byte [ebp - 0xf], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41199f
or eax, eax
jmp 0x4119b0
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.Ekey
mov byte [ebp - 0xe], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4119c6
or eax, eax
jmp 0x4119d7
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.ChatWindow
mov byte [ebp - 0xd], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4119ed
or eax, eax
jmp 0x4119fe
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.Rkey
mov byte [ebp - 0xc], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x411a14
or eax, eax
jmp 0x411a25
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.QWERLevel
mov byte [ebp - 0xb], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x411a3b
or eax, eax
jmp 0x411a4c
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 8], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov bl, byte [ebp - 0x3f]
jmp 0x411aae
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movaps xmm0, xmmword [0x442de0]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
mov word [ebp - 0xc], 0xffff
mov dword [ebp - 8], 0xffffffff
movzx eax, bl
push eax
lea eax, [ebp - 0x40]
push eax
push edi
call fcn.0041c330
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041dc5d
mov esp, ebp
pop ebp
ret
Function at 0x411ad0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x103c
call fcn.004351e0
mov eax, dword [0x446040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ecx + 0x12], 0
xorps xmm0, xmm0
movzx eax, word [ecx + 4]
movups xmmword [ebp - 0x101b], xmm0
mov word [ebp - 0x1018], ax
movzx eax, word [ecx + 0xe]
movq xmm0, qword [ecx + 6]
mov word [ebp - 0x100e], ax
mov al, byte [ecx + 0x10]
push ebx
mov byte [ebp - 0x100c], al
mov ebx, 0x14
mov al, byte [ecx + 0x11]
push esi
mov word [ebp - 0x100b], 0
push edi
mov dword [ebp - 0x1038], edx
mov dword [ebp - 0x1034], ecx
mov word [ebp - 0x100a], 0
mov byte [ebp - 0x101c], 0xc2
mov byte [ebp - 0x1019], 9
movq qword [ebp - 0x1016], xmm0
mov byte [ebp - 0x100b], al
mov dword [ebp - 0x1020], 0
jbe 0x411cd9
lea edi, [ebp - 0xff4]
lea esi, [ecx + 0x18]
nop word [eax + eax]
push dword [esi]
push str.SELECT_Pet_Level_Pet_Exp_FROM_T_PetItem_Info_WHERE_ItemSerial_d
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x411c33
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x411c33
mov al, byte [esi - 4]
mov byte [ebp - 0x1030], al
mov eax, dword [esi]
push str.Pet_Level
mov dword [ebp - 0x102c], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x411bd6
or eax, eax
jmp 0x411be7
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.Pet_Exp
mov byte [ebp - 0x1028], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x411c00
or eax, eax
jmp 0x411c11
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 0x1024], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x411ca1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0
push 1
push dword [esi]
push str.INSERT_INTO_T_PetItem_Info__ItemSerial_Pet_Level_Pet_Exp__VALUES___d__d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x14
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov al, byte [esi - 4]
mov byte [ebp - 0x1030], al
mov eax, dword [esi]
mov dword [ebp - 0x102c], eax
mov byte [ebp - 0x1028], 1
mov dword [ebp - 0x1024], 0
mov eax, dword [ebp - 0x1034]
add ebx, 0x10
movups xmm0, xmmword [ebp - 0x1030]
mov ecx, dword [ebp - 0x1020]
add esi, 8
inc byte [ebp - 0x100a]
inc ecx
movzx eax, byte [eax + 0x12]
movups xmmword [edi], xmm0
add edi, 0x10
mov dword [ebp - 0x1020], ecx
cmp ecx, eax
jl 0x411b80
mov eax, ebx
mov byte [ebp - 0x101a], bl
shr eax, 8
mov byte [ebp - 0x101b], al
mov eax, dword [ebp - 0x100c]
movups xmm0, xmmword [ebp - 0x101c]
mov dword [ebp - 0xff8], eax
lea eax, [ebp - 0x1008]
push ebx
push eax
push dword [ebp - 0x1038]
movups xmmword [ebp - 0x1008], xmm0
call fcn.0041c330
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041dc5d
mov esp, ebp
pop ebp
ret
Function at 0x412040
Capabilities:
Reference sql statements

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
lea eax, [ebx + 0x11]
push eax
push str.SELECT_Name_FROM_OptionData_WHERE_Name_s
push 0x446e50
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x4120ec
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4120ec
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
push 0x50fc10
push 0
lea eax, [ebx + 0x1c]
mov dword [0x50fc10], 0x14
push eax
push 0
push 0x14
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
lea eax, [ebx + 0x11]
push eax
push dword [ebx + 0x38]
movzx eax, byte [ebx + 0x35]
push eax
movzx eax, byte [ebx + 0x34]
push eax
movzx eax, byte [ebx + 0x33]
push eax
movzx eax, byte [ebx + 0x32]
push eax
movzx eax, byte [ebx + 0x31]
push eax
movzx eax, byte [ebx + 0x30]
push eax
push str.UPDATE_OptionData_SET_SkillKey__GameOption_d_Qkey_d_Wkey_d_Ekey_d_ChatWindow_d_Rkey_d_QWERLevel_d_WHERE_Name_s
jmp 0x412161
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
push 0x50fc10
push 0
lea eax, [ebx + 0x1c]
mov dword [0x50fc10], 0x14
push eax
push 0
push 0x14
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
push dword [ebx + 0x38]
movzx eax, byte [ebx + 0x35]
push eax
movzx eax, byte [ebx + 0x34]
push eax
movzx eax, byte [ebx + 0x33]
push eax
movzx eax, byte [ebx + 0x32]
push eax
movzx eax, byte [ebx + 0x31]
push eax
movzx eax, byte [ebx + 0x30]
push eax
lea eax, [ebx + 0x11]
push eax
push str.INSERT_INTO_OptionData__Name_SkillKey_GameOption_Qkey_Wkey_Ekey_ChatWindow_Rkey_QWERLevel__VALUES___s____d__d__d__d__d__d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x28
push dword [0x446e5c]
call edi
push 2
push dword [0x446e5c]
call esi
pop edi
pop esi
pop ebx
ret
Function at 0x414280
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x446040]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ecx + 4]
xorps xmm0, xmm0
push esi
push edi
push eax
movups xmmword [ebp - 0x27], xmm0
push str.SELECT_top_1__FROM_EventAuction_WHERE_AuctionIndex_d
push 0x446e50
mov edi, edx
mov word [ebp - 7], 0
movups xmmword [ebp - 0x17], xmm0
mov byte [ebp - 5], 0
mov dword [ebp - 0x28], 0xdf724c1
mov byte [ebp - 0x22], 0
mov word [ebp - 0x24], ax
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x4143f6
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4143f6
push str.CurrentBid
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x414300
or eax, eax
jmp 0x414311
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.CurrentAccount
mov dword [ebp - 8], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x414337
xorps xmm0, xmm0
mov word [ebp - 0x19], 0
movq qword [ebp - 0x21], xmm0
mov byte [ebp - 0x17], 0
jmp 0x414350
shl eax, 0xd
push 0xa
add eax, 0x447a7e
push eax
lea eax, [ebp - 0x21]
push 0xb
push eax
call fcn.0042750d
add esp, 0x10
push str.CurrentName
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x414373
xorps xmm0, xmm0
mov word [ebp - 0xe], 0
movq qword [ebp - 0x16], xmm0
mov byte [ebp - 0xc], 0
jmp 0x41438c
shl eax, 0xd
push 0xa
add eax, 0x447a7e
push eax
lea eax, [ebp - 0x16]
push 0xb
push eax
call fcn.0042750d
add esp, 0x10
push str.Ended
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4143bb
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov byte [ebp - 0x22], 2
jmp 0x414410
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov esi, eax
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov byte [ebp - 0x22], 1
test esi, esi
je 0x414410
mov byte [ebp - 0x22], 2
jmp 0x414410
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 0x24
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.0041c330
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041dc5d
mov esp, ebp
pop ebp
ret
Function at 0x4152b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
push edi
movzx eax, byte [esi + 0x14]
lea ecx, [esi + 6]
push eax
movzx eax, word [esi + 0x12]
push eax
push ecx
push str.SELECT__FROM_CustomItemBank_WHERE_AccountID_s_and_ItemIndex_d_and_ItemLevel_d
push 0x446e50
call fcn.0041ad00
add esp, 0x14
test al, al
je 0x41532a
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x41532a
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call ebx
movzx eax, byte [esi + 0x14]
push eax
movzx eax, word [esi + 0x12]
push eax
lea eax, [esi + 6]
push eax
push dword [esi + 0x18]
push str.Update_CustomItemBank_SET_ItemCountItemCount_d_WHERE_AccountID_s_and_ItemIndex_d_and_ItemLevel_d
jmp 0x41535e
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call ebx
push dword [esi + 0x18]
movzx eax, byte [esi + 0x14]
push eax
movzx eax, word [esi + 0x12]
push eax
lea eax, [esi + 6]
push eax
push str.INSERT_INTO_CustomItemBank__AccountID_ItemIndex_ItemLevel_ItemCount__VALUES___s__d__d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x18
push dword [0x446e5c]
call edi
push 2
push dword [0x446e5c]
call ebx
mov ax, word [esi + 4]
xorps xmm0, xmm0
mov cl, byte [esi + 0x14]
movzx edx, word [esi + 0x12]
movups xmmword [ebp - 0x17], xmm0
mov word [ebp - 0x14], ax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
movzx eax, cl
push eax
push edx
lea eax, [esi + 6]
mov word [ebp - 7], 0
push eax
push str.SELECT__FROM_CustomItemBank_WHERE_AccountID_s_and_ItemIndex_d_and_ItemLevel_d
push 0x446e50
mov byte [ebp - 5], 0
mov dword [ebp - 0x18], 0x36f714c1
mov word [ebp - 0x12], dx
mov byte [ebp - 0x10], cl
mov byte [ebp - 0xf], 0
call fcn.0041ad00
add esp, 0x14
test al, al
je 0x415421
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x415421
push str.ItemCount
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4153f9
or eax, eax
jmp 0x41540a
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 8], eax
call edi
push 2
push dword [0x446e5c]
call ebx
jmp 0x41543a
push dword [0x446e5c]
call edi
push 2
push dword [0x446e5c]
call ebx
mov dword [ebp - 8], 0xffffffff
push 0x14
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
call fcn.0041c330
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415730
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x446040]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ecx + 4]
xorps xmm0, xmm0
push ebx
movups xmmword [ebp - 0x1b], xmm0
mov word [ebp - 0x18], ax
movzx eax, word [ecx + 6]
push esi
push edi
mov word [ebp - 0x16], ax
lea eax, [ecx + 8]
push eax
push str.SELECT_top_1__FROM_CustomBattlePassData_WHERE_Name_s
push 0x446e50
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xb], 0
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
mov dword [ebp - 0x1c], 0x41f718c1
call fcn.0041ad00
mov esi, dword [sym.imp.ODBC32.dll_SQLFetch]
add esp, 0xc
test al, al
je 0x41580a
push dword [0x446e5c]
call esi
cmp ax, 0x64
je 0x41580a
push str.StarCount
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4157b9
or eax, eax
jmp 0x4157ca
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.StarUsed
mov dword [ebp - 0x14], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4157e0
or eax, eax
jmp 0x4157f1
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov dword [ebp - 0x10], eax
call edi
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x415857
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call edi
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call ebx
mov eax, dword [ebp - 0x20]
add eax, 8
push eax
push str.INSERT_INTO_CustomBattlePassData__Name__VALUES___s_
push 0x446e50
call fcn.0041ad00
add esp, 0xc
push dword [0x446e5c]
call edi
push 2
push dword [0x446e5c]
call ebx
mov ecx, dword [ebp - 0x20]
xorps xmm0, xmm0
movq qword [ebp - 0xc], xmm0
movzx eax, word [ecx + 6]
push eax
lea eax, [ecx + 8]
push eax
push str.SELECT__FROM_CustomBattlePassReward_WHERE_Name_s_and_BattleType_d
push 0x446e50
call fcn.0041ad00
add esp, 0x10
test al, al
je 0x4158d9
push dword [0x446e5c]
call esi
cmp ax, 0x64
je 0x4158d9
nop dword [eax]
push str.BattleSlot
call fcn.0041af50
cmp eax, 0xffffffff
je 0x4158cb
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
dec eax
add esp, 4
cmp eax, 7
ja 0x4158cb
mov byte [ebp + eax - 0xc], 1
push dword [0x446e5c]
call esi
cmp ax, 0x64
jne 0x4158a0
push dword [0x446e5c]
call edi
push 2
push dword [0x446e5c]
call ebx
movzx eax, byte [ebp - 0x1b]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x24]
call fcn.0041c330
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041dc5d
mov esp, ebp
pop ebp
ret
Function at 0x415910
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
push edi
xorps xmm0, xmm0
mov word [ebp - 0xb], 0
movups xmmword [ebp - 0x23], xmm0
mov ax, word [esi + 4]
lea edi, [esi + 0xc]
push dword [esi + 8]
movq qword [ebp - 0x13], xmm0
push edi
push str.SELECT_top_1__FROM_CustomBattlePassData_WHERE_Name_s_and_StarCount____d
push 0x446e50
mov byte [ebp - 9], 0
mov dword [ebp - 0x24], 0x42f71cc1
mov word [ebp - 0x20], ax
mov byte [ebp - 0x1e], 0
call fcn.0041ad00
add esp, 0x10
test al, al
je 0x415a7d
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x415a7d
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
lea eax, [esi + 7]
mov dword [ebp - 4], eax
lea ebx, [esi + 6]
movzx eax, byte [eax]
push eax
movzx eax, byte [ebx]
push eax
push edi
push str.SELECT_top_1__FROM_CustomBattlePassReward_WHERE_Name_s_and_BattleType_d_and_BattleSlot_d
push 0x446e50
call fcn.0041ad00
add esp, 0x14
test al, al
je 0x4159f3
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4159f3
push dword [0x446e5c]
mov eax, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call eax
mov eax, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call eax
jmp 0x415aa4
push dword [0x446e5c]
mov eax, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov byte [ebp - 0x1e], 1
call eax
mov eax, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call eax
movzx eax, byte [esi + 7]
push eax
movzx eax, byte [ebx]
push eax
push edi
push str.INSERT_INTO_CustomBattlePassReward__Name_BattleType_BattleSlot__VALUES___s__d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x14
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [esi + 8]
push edi
push eax
push eax
push str.Update_CustomBattlePassData_SET_StarCountStarCount__d__StarUsedStarUsed_d_WHERE_Name_s
push 0x446e50
call fcn.0041ad00
add esp, 0x14
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x415a9e
push dword [0x446e5c]
mov byte [ebp - 0x1e], 3
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
lea ebx, [esi + 6]
lea eax, [esi + 7]
mov dword [ebp - 4], eax
mov al, byte [ebx]
mov ecx, dword [ebp - 4]
movq xmm0, qword [edi]
mov byte [ebp - 0x1d], al
push 0x1c
mov al, byte [ecx]
mov byte [ebp - 0x1c], al
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov ax, word [edi + 8]
mov word [ebp - 0xc], ax
mov al, byte [edi + 0xa]
mov byte [ebp - 0xa], al
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
movq qword [ebp - 0x14], xmm0
call fcn.0041c330
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415af0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
xorps xmm0, xmm0
mov byte [ebp - 7], 0
movq qword [ebp - 0xf], xmm0
mov dword [ebp - 0x10], 0x45f70ac1
mov ax, word [edi + 4]
lea edx, [edi + 9]
mov cl, byte [edi + 7]
mov word [ebp - 0xc], ax
mov al, byte [edi + 6]
mov byte [ebp - 9], al
movzx eax, al
push eax
movzx eax, cl
push eax
push edx
push str.SELECT_top_1__FROM_CustomDailyReward_WHERE_AccountID_s_and_Day_d_and_Month_d
push 0x446e50
mov byte [ebp - 8], cl
mov byte [ebp - 0xa], 2
call fcn.0041ad00
add esp, 0x14
test al, al
je 0x415b7c
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x415b7c
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x415c7e
push dword [0x446e5c]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call ebx
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x446e5c]
call esi
mov cl, byte [edi + 7]
movzx eax, byte [edi + 6]
push eax
cmp cl, 0x20
jne 0x415c4e
lea eax, [edi + 9]
push eax
push str.SELECT_count___FROM_CustomDailyReward_WHERE_AccountID_s_AND_Month_d
push 0x446e50
call fcn.0041ad00
add esp, 0x10
test al, al
je 0x415c6c
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x415c6c
push 0x447a7e
call fcn.0042415e
add esp, 4
mov esi, eax
push dword [0x446e5c]
call ebx
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movzx ecx, byte [edi + 8]
cmp esi, ecx
jl 0x415c48
movzx eax, byte [edi + 6]
push eax
movzx eax, byte [edi + 7]
push eax
lea eax, [edi + 9]
mov byte [ebp - 0xa], 1
push eax
push str.INSERT_INTO_CustomDailyReward__AccountID_Day_Month__VALUES___s__d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x14
push dword [0x446e5c]
call ebx
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x415c7e
mov byte [ebp - 0xa], 4
jmp 0x415c7e
movzx eax, cl
push eax
lea eax, [edi + 9]
mov byte [ebp - 0xa], 1
push eax
push str.INSERT_INTO_CustomDailyReward__AccountID_Day_Month__VALUES___s__d__d_
push 0x446e50
call fcn.0041ad00
add esp, 0x14
push dword [0x446e5c]
call ebx
push 2
push dword [0x446e5c]
call esi
push 0xa
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
call fcn.0041c330
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret