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

Disassembly:
push ebx
push edi
lea edi, [esi + 0x13]
push edi
push str.SELECT_Name_FROM_CustomPick_WHERE_Name_s
mov ecx, 0x4ed8c0
call fcn.00414e40
add esp, 8
test al, al
je 0x407cee
mov eax, dword [0x4ed8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x407cee
mov ecx, dword [0x4ed8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call ebx
mov edx, dword [0x4ed8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [0x4ed8cc]
push 0x5b6680
push 0
lea eax, [esi + 0x1e]
push eax
push 0
push 0x190
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push ecx
mov dword [0x5b6680], 0x190
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
mov edx, dword [esi + 0x1bc]
mov eax, dword [esi + 0x1b8]
mov ecx, dword [esi + 0x1b4]
push edi
push edx
mov edx, dword [esi + 0x1b0]
push eax
push ecx
push edx
push str.UPDATE_CustomPick_SET_CustomPickList___Money_d__Jewel_d__ItemExc_d__ItemSet_d__WHERE_Name_s
mov ecx, 0x4ed8c0
call fcn.00414e40
mov eax, dword [0x4ed8cc]
add esp, 0x18
push eax
call ebx
mov ecx, dword [0x4ed8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop edi
pop ebx
ret
mov edx, dword [0x4ed8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push edx
call ebx
mov eax, dword [0x4ed8cc]
push 2
push eax
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov edx, dword [0x4ed8cc]
push 0x5b6680
push 0
lea ecx, [esi + 0x1e]
push ecx
push 0
push 0x190
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push edx
mov dword [0x5b6680], 0x190
call dword [sym.imp.ODBC32.dll_SQLBindParameter]
mov eax, dword [esi + 0x1bc]
mov ecx, dword [esi + 0x1b8]
mov edx, dword [esi + 0x1b4]
push eax
mov eax, dword [esi + 0x1b0]
push ecx
push edx
push eax
push edi
push str.INSERT_INTO_CustomPick__Name_CustomPickList_Money_Jewel_ItemExc_ItemSet__VALUES___s____d__d__d__d_
mov ecx, 0x4ed8c0
call fcn.00414e40
mov ecx, dword [0x4ed8cc]
add esp, 0x18
push ecx
call ebx
mov edx, dword [0x4ed8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop edi
pop ebx
ret
Function at 0x408260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x421018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov edi, dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, ecx
push esi
push 0
push 0
push 0x258
push 0x258
push 0
push closesocket
push 0xa0000
push 0x4247c8
push 0x424760
push 0
mov dword [0x4247c4], esi
call edi
mov dword [0x42475c], eax
test eax, eax
jne 0x4082c4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00417d4a
mov esp, ebp
pop ebp
ret
push 0
push esi
push 0x6a
push eax
push 0
push 0
push 0
push 0
push 0x50000000
push 0
push str.msctls_statusbar32
push 0
call edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, eax
push 0
push esi
call edi
lea eax, [ebp - 0x10]
push eax
push 3
push 0x404
push esi
mov dword [ebp - 0x10], 0x87
mov dword [ebp - 0xc], 0xeb
mov dword [ebp - 8], 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 8]
mov edx, dword [0x42475c]
push ecx
push edx
call edi
mov eax, dword [0x42475c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00417d4a
mov esp, ebp
pop ebp
ret
Function at 0x409a80
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x421018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov cx, word [eax + 4]
mov edx, dword [eax + 6]
push ebx
push esi
push edi
lea edi, [eax + 6]
mov word [ebp - 0x50], cx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x4e], edx
mov dx, word [edi + 8]
mov dword [ebp - 0x4a], ecx
mov cl, byte [edi + 0xa]
mov word [ebp - 0x46], dx
lea edx, [eax + 0x11]
mov byte [ebp - 0x44], cl
mov word [ebp - 0x54], 0x12c1
mov byte [ebp - 0x52], 3
mov dword [ebp - 0x58], edx
xor ecx, ecx
lea ecx, [ecx]
mov al, byte [edx + ecx]
cmp al, 0x20
je 0x409c4a
cmp al, 0x22
je 0x409c4a
cmp al, 0x27
je 0x409c4a
inc ecx
cmp ecx, 0xb
jl 0x409ad0
push edx
push edi
push str.EXEC_WZ_DeleteCharacter__s__s
mov ecx, 0x4ed8c0
call fcn.00414e40
add esp, 0xc
test al, al
je 0x409c4a
mov edx, dword [0x4ed8cc]
push edx
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409c4a
push 0x4ee4ee
call dword [sym.imp.MSVCR100.dll_atoi]
mov esi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov bl, al
mov eax, dword [0x4ed8cc]
add esp, 4
push eax
mov byte [ebp - 0x43], bl
call esi
mov ecx, dword [0x4ed8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
cmp bl, 1
jne 0x409c69
push 0x36
lea edx, [ebp - 0x3b]
push 0
push edx
mov byte [ebp - 0x3c], 0
call sub.MSVCR100.dll_memset
push edi
push str.SELECT__FROM_AccountCharacter_WHERE_Id_s
mov ecx, 0x4ed8c0
call fcn.00414e40
add esp, 0x14
test al, al
je 0x409c2d
mov eax, dword [0x4ed8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x409c2d
push 0xb
lea ecx, [ebp - 0x3c]
push ecx
push str.GameID1
call fcn.00415170
push 0xb
lea edx, [ebp - 0x31]
push edx
push str.GameID2
call fcn.00415170
push 0xb
lea eax, [ebp - 0x26]
push eax
push str.GameID3
call fcn.00415170
push 0xb
lea ecx, [ebp - 0x1b]
push ecx
push str.GameID4
call fcn.00415170
push 0xb
lea edx, [ebp - 0x10]
push edx
push str.GameID5
call fcn.00415170
mov esi, 0x4ed8c0
call fcn.00414fe0
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x3d]
push eax
push ecx
lea eax, [ebp - 0x3c]
call fcn.004175a0
add esp, 8
test al, al
je 0x409c69
movzx edx, byte [ebp - 0x3d]
push edi
inc edx
push edx
push str.UPDATE_AccountCharacter_SET_GameID_dNULL_WHERE_Id_s
mov ecx, esi
call fcn.00414e40
add esp, 0xc
call fcn.00414fe0
jmp 0x409c69
mov eax, dword [0x4ed8cc]
push eax
call esi
mov ecx, dword [0x4ed8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov byte [ebp - 0x43], 1
jmp 0x409c69
mov edx, dword [0x4ed8cc]
push edx
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov eax, dword [0x4ed8cc]
push 2
push eax
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov byte [ebp - 0x43], 0
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x54]
push ecx
push edx
mov ebx, 0x12
call fcn.00416c00
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417d4a
mov esp, ebp
pop ebp
ret
Function at 0x40a3a0
Capabilities:
Enumerate pe sections
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, word [esi + 4]
mov ecx, dword [esi + 6]
mov edx, dword [esi + 0xa]
mov word [ebp - 0x30], ax
movzx eax, word [esi + 0xe]
mov dword [ebp - 0x2e], ecx
movzx ecx, byte [esi + 0x10]
mov word [ebp - 0x26], ax
mov al, byte [esi + 0x12]
mov byte [ebp - 0x22], al
mov eax, dword [0x4ed830]
mov byte [ebp - 0x24], cl
movzx ecx, byte [esi + 0x13]
inc eax
mov dword [ebp - 0x2a], edx
mov dl, byte [esi + 0x11]
push ebx
push edi
mov word [ebp - 0x34], 0x30c1
mov byte [ebp - 0x32], 7
mov byte [ebp - 0x23], dl
mov byte [ebp - 0x21], cl
mov dword [0x4ed830], eax
cmp eax, 0x7fffffff
jl 0x40a404
mov eax, 1
mov dword [0x4ed830], eax
movzx ecx, word [esi + 0x14]
mov edx, 0x1a04
mov dword [ebp - 0x20], eax
cmp cx, dx
je 0x40a423
mov edx, 0x1a05
cmp cx, dx
jne 0x40a4b6
push eax
push str.SELECT_ItemSerial_FROM_T_PetItem_Info_WHERE_ItemSerial_d
mov ecx, 0x4ed8c0
call fcn.00414e40
add esp, 8
test al, al
je 0x40a46a
mov eax, dword [0x4ed8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a46a
mov ecx, dword [0x4ed8cc]
push ecx
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov edx, dword [0x4ed8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x40a4b6
mov eax, dword [0x4ed8cc]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push eax
call edi
mov ecx, dword [0x4ed8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push ecx
call ebx
mov edx, dword [ebp - 0x20]
push 0
push 1
push edx
push str.INSERT_INTO_T_PetItem_Info__ItemSerial_Pet_Level_Pet_Exp__VALUES___d__d__d_
mov ecx, 0x4ed8c0
call fcn.00414e40
mov eax, dword [0x4ed8cc]
add esp, 0x10
push eax
call edi
mov ecx, dword [0x4ed8cc]
push 2
push ecx
call ebx
mov dx, word [esi + 0x14]
movzx eax, byte [esi + 0x16]
movzx ecx, byte [esi + 0x17]
mov word [ebp - 0x1c], dx
movzx edx, byte [esi + 0x18]
mov byte [ebp - 0x1a], al
movzx eax, byte [esi + 0x19]
mov byte [ebp - 0x18], dl
movzx edx, byte [esi + 0x1b]
mov byte [ebp - 0x17], al
mov ax, word [esi + 0x1c]
mov byte [ebp - 0x19], cl
movzx ecx, byte [esi + 0x1a]
mov byte [ebp - 0x15], dl
movzx edx, byte [esi + 0x1f]
mov word [ebp - 0x14], ax
movzx eax, byte [esi + 0x20]
mov byte [ebp - 0x16], cl
movzx ecx, byte [esi + 0x1e]
mov byte [ebp - 0x11], dl
movzx edx, byte [esi + 0x25]
mov byte [ebp - 0x10], al
movzx eax, byte [esi + 0x26]
mov byte [ebp - 0x12], cl
mov ecx, dword [esi + 0x21]
mov byte [ebp - 0xb], dl
lea edx, [ebp - 0x34]
mov byte [ebp - 0xa], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf], ecx
mov ecx, dword [esi + 0x28]
push edx
push eax
mov ebx, 0x30
mov dword [ebp - 8], ecx
call fcn.00416c00
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a540
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x421018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov cx, word [eax + 4]
mov edx, dword [eax + 6]
mov word [ebp - 0x3c], cx
mov ecx, dword [eax + 0xa]
mov dword [ebp - 0x36], ecx
movzx ecx, byte [eax + 0x10]
mov dword [ebp - 0x3a], edx
movzx edx, word [eax + 0xe]
add eax, 0x11
mov byte [ebp - 0x30], cl
mov ecx, dword [eax + 4]
mov word [ebp - 0x32], dx
mov edx, dword [eax]
mov dword [ebp - 0x2b], ecx
movzx ecx, byte [eax + 0xa]
push ebx
mov dword [ebp - 0x2f], edx
movzx edx, word [eax + 8]
push eax
mov byte [ebp - 0x25], cl
push str.SELECT__FROM_OptionData_WHERE_Name_s
mov ecx, 0x4ed8c0
mov word [ebp - 0x40], 0x3cc1
mov byte [ebp - 0x3e], 8
mov word [ebp - 0x27], dx
call fcn.00414e40
add esp, 8
test al, al
je 0x40a65e
mov edx, dword [0x4ed8cc]
push edx
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a65e
push 0x14
lea eax, [ebp - 0x24]
push eax
push str.SkillKey
call fcn.00415200
push str.GameOption
mov ebx, 0x4ed8c0
call fcn.00415000
push str.Qkey
mov byte [ebp - 0x10], al
call fcn.00415000
push str.Wkey
mov byte [ebp - 0xf], al
call fcn.00415000
push str.Ekey
mov byte [ebp - 0xe], al
call fcn.00415000
push str.ChatWindow
mov byte [ebp - 0xd], al
call fcn.00415000
push str.Rkey
mov byte [ebp - 0xc], al
call fcn.00415000
push str.QWERLevel
mov byte [ebp - 0xb], al
call fcn.00415000
mov ecx, dword [0x4ed8cc]
push ecx
mov dword [ebp - 8], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov edx, dword [0x4ed8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x40a697
mov eax, dword [0x4ed8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov ecx, dword [0x4ed8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
or eax, 0xffffffff
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov word [ebp - 0xc], 0xffff
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
movzx ebx, byte [ebp - 0x3f]
lea edx, [ebp - 0x40]
push edx
push eax
call fcn.00416c00
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00417d4a
mov esp, ebp
pop ebp
ret
Function at 0x40a6c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1034
call fcn.004187e0
mov eax, dword [0x421018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x12], 0
movzx eax, word [esi + 4]
mov ecx, dword [esi + 6]
mov edx, dword [esi + 0xa]
mov word [ebp - 0x1018], ax
movzx eax, word [esi + 0xe]
mov dword [ebp - 0x1016], ecx
mov cl, byte [esi + 0x10]
mov dword [ebp - 0x1012], edx
mov dl, byte [esi + 0x11]
mov ebx, 0x14
mov dword [ebp - 0x1024], esi
mov byte [ebp - 0x101c], 0xc2
mov byte [ebp - 0x1019], 9
mov dword [ebp - 0x1008], ebx
mov word [ebp - 0x100e], ax
mov byte [ebp - 0x100c], cl
mov byte [ebp - 0x100b], dl
mov byte [ebp - 0x100a], 0
mov dword [ebp - 0x1020], 0
jbe 0x40a893
push edi
lea edi, [ebp - 0xff0]
add esi, 0x18
lea esp, [esp]
mov eax, dword [esi]
push eax
push str.SELECT_Pet_Level_Pet_Exp_FROM_T_PetItem_Info_WHERE_ItemSerial_d
mov ecx, 0x4ed8c0
call fcn.00414e40
add esp, 8
test al, al
je 0x40a7e2
mov ecx, dword [0x4ed8cc]
push ecx
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40a7e2
mov dl, byte [esi - 4]
mov eax, dword [esi]
push str.Pet_Level
mov ebx, 0x4ed8c0
mov byte [ebp - 0x1034], dl
mov dword [ebp - 0x1030], eax
call fcn.00415000
push str.Pet_Exp
mov byte [ebp - 0x102c], al
call fcn.00415000
mov ecx, dword [0x4ed8cc]
push ecx
mov ebx, eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov edx, dword [0x4ed8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [ebp - 0x1030]
jmp 0x40a843
mov eax, dword [0x4ed8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push eax
call ebx
mov ecx, dword [0x4ed8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov edx, dword [esi]
push 0
push 1
push edx
push str.INSERT_INTO_T_PetItem_Info__ItemSerial_Pet_Level_Pet_Exp__VALUES___d__d__d_
mov ecx, 0x4ed8c0
call fcn.00414e40
mov eax, dword [0x4ed8cc]
add esp, 0x10
push eax
call ebx
mov ecx, dword [0x4ed8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov dl, byte [esi - 4]
mov eax, dword [esi]
mov byte [ebp - 0x1034], dl
mov byte [ebp - 0x102c], 1
xor ebx, ebx
mov ecx, dword [ebp - 0x1034]
mov edx, dword [ebp - 0x102c]
add dword [ebp - 0x1008], 0x10
inc byte [ebp - 0x100a]
mov dword [edi], ecx
mov ecx, dword [ebp - 0x1024]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x1020]
mov dword [edi + 8], edx
movzx edx, byte [ecx + 0x12]
inc eax
mov dword [edi + 0xc], ebx
add edi, 0x10
add esi, 8
mov dword [ebp - 0x1020], eax
cmp eax, edx
jl 0x40a760
mov ebx, dword [ebp - 0x1008]
pop edi
mov edx, dword [ebp - 0x1018]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0x101b], al
mov eax, dword [ebp - 0x1014]
mov byte [ebp - 0x101a], bl
mov ecx, dword [ebp - 0x101c]
mov dword [ebp - 0x1004], ecx
mov ecx, dword [ebp - 0x1010]
mov dword [ebp - 0xffc], eax
lea eax, [ebp - 0x1004]
mov dword [ebp - 0xff8], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1000], edx
mov edx, dword [ebp - 0x100c]
push eax
push ecx
mov dword [ebp - 0xff4], edx
call fcn.00416c00
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00417d4a
mov esp, ebp
pop ebp
ret
Function at 0x40adc0
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, 0x4ed8c0
mov word [ebp - 0x24], 0x20c1
mov byte [ebp - 0x22], 0x50
mov byte [ebp - 9], dl
mov word [ebp - 8], ax
call fcn.00414e40
add esp, 0xc
test al, al
je 0x40ae9e
mov ecx, dword [0x4ed8cc]
push ecx
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40ae9e
push str.MonsterKillCount
mov ebx, 0x4ed8c0
call fcn.00415000
mov edx, dword [0x4ed8cc]
lea ebx, [eax + 1]
push edx
mov word [ebp - 6], bx
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov eax, dword [0x4ed8cc]
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, 0x4ed8c0
call fcn.00414e40
mov eax, dword [0x4ed8cc]
add esp, 0x10
push eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
jmp 0x40aee6
mov eax, dword [0x4ed8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov edx, 1
push eax
mov word [ebp - 6], dx
call ebx
mov ecx, dword [0x4ed8cc]
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, 0x4ed8c0
call fcn.00414e40
mov eax, dword [0x4ed8cc]
add esp, 0x10
push eax
call ebx
mov ecx, dword [0x4ed8cc]
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.00416c00
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b260
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, 0x4ed8c0
call fcn.00414e40
add esp, 8
test al, al
je 0x40b331
mov eax, dword [0x4ed8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40b331
mov ecx, dword [0x4ed8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call ebx
mov edx, dword [0x4ed8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [0x4ed8cc]
push 0x5b6680
push 0
lea eax, [esi + 0x1c]
push eax
push 0
push 0x14
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push ecx
mov dword [0x5b6680], 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, 0x4ed8c0
call fcn.00414e40
mov eax, dword [0x4ed8cc]
add esp, 0x24
push eax
call ebx
mov ecx, dword [0x4ed8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop edi
pop ebx
ret
mov edx, dword [0x4ed8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push edx
call ebx
mov eax, dword [0x4ed8cc]
push 2
push eax
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov edx, dword [0x4ed8cc]
push 0x5b6680
push 0
lea ecx, [esi + 0x1c]
push ecx
push 0
push 0x14
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 1
push edx
mov dword [0x5b6680], 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, 0x4ed8c0
call fcn.00414e40
mov ecx, dword [0x4ed8cc]
add esp, 0x24
push ecx
call ebx
mov edx, dword [0x4ed8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop edi
pop ebx
ret
Function at 0x40b3d0
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 0x40b4d1
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, 0x4ed8c0
call fcn.00414e40
add esp, 8
test al, al
je 0x40b472
mov ecx, dword [0x4ed8cc]
push ecx
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40b472
mov edx, dword [0x4ed8cc]
push edx
call edi
mov eax, dword [0x4ed8cc]
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, 0x4ed8c0
call fcn.00414e40
mov ecx, dword [0x4ed8cc]
add esp, 0x10
push ecx
call edi
mov edx, dword [0x4ed8cc]
push 2
push edx
jmp 0x40b4b4
mov eax, dword [0x4ed8cc]
push eax
call edi
mov ecx, dword [0x4ed8cc]
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, 0x4ed8c0
call fcn.00414e40
mov edx, dword [0x4ed8cc]
add esp, 0x10
push edx
call edi
mov eax, dword [0x4ed8cc]
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 0x40b400
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40b5a0
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, 0x4ed8c0
call fcn.00414e40
add esp, 8
test al, al
je 0x40b5fc
mov eax, dword [0x4ed8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40b5fc
mov ecx, dword [0x4ed8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call ebx
mov edx, dword [0x4ed8cc]
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 0x40b628
mov ecx, dword [0x4ed8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call ebx
mov edx, dword [0x4ed8cc]
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, 0x4ed8c0
call fcn.00414e40
mov edx, dword [0x4ed8cc]
add esp, 0x10
push edx
call ebx
mov eax, dword [0x4ed8cc]
push 2
push eax
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop edi
pop ebx
ret