Function at 0x4331b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xda0
mov eax, dword [0x458330]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x10], 0
xor ecx, ecx
mov dword [ebp - 0xf], ecx
mov dword [ebp - 0xb], ecx
mov word [ebp - 7], cx
push 0xa
mov edx, dword [ebp + 0x10]
add edx, 8
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.004360a0
add esp, 0xc
push 0xa
mov ecx, dword [ebp + 0x10]
add ecx, 0x13
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.004360a0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.00405550
add esp, 4
cmp eax, 1
jne 0x43364e
lea ecx, [ebp - 0x10]
push ecx
call fcn.00405480
add esp, 4
cmp eax, 1
jne 0x43364e
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf030
push ecx
push str.SELECT_AccountID_Name_FROM__s.dbo.BotPet_WHERE_AccountID_s_AND_Name_s
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 0x14
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
cwde
cmp eax, 0x64
je 0x433281
cmp dword [ebp - 0x20], 0
jne 0x433469
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 0x7d0]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x7cc]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x7c8]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x7c4]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x7c0]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x7bc]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x7b8]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x7b4]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x7b0]
push eax
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 0x7ae]
push edx
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 0x7ad]
push ecx
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx + 0x7ac]
push eax
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + 0x36]
push edx
mov eax, dword [ebp + 0x10]
movzx ecx, word [eax + 0x34]
push ecx
mov edx, dword [ebp + 0x10]
movzx eax, word [edx + 0x32]
push eax
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + 0x30]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x2c]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x28]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 0x1e]
push ecx
mov edx, dword [ebp + 0x10]
movsx eax, word [edx + 0x20]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x13
push ecx
mov edx, dword [ebp + 0x10]
add edx, 8
push edx
mov eax, dword [ebp + 8]
add eax, 0xf030
push eax
push str.INSERT_INTO__s.dbo.BotPet__AccountID__Name__cLevel__Class__Experience__Power__Defense__Life__MaxLife__Mana__MaxMana__MapNumber__MapPosX__MapPosY__BotLife__BotMaxLife__BotLvlUpDefense__BotLvlUpPower__BotLvlUpLife__BotLvlUpMana__BotLvlUpExp__BotLvlUpMaxLevel__BotVersion__CDate__VALUES___s___s___d___d___d___d___d___d___d___d___d___d___d___d___d___d___d___d___d___d___d___d___d__GETDATE___
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
push ecx
call fcn.00407950
add esp, 0x68
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf030
push ecx
push str.UPDATE__s.dbo.BotPet_SET_Inventory__WHERE_AccountID_s_AND_Name_s
lea edx, [ebp - 0x6e0]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x6c0
mov eax, dword [ebp + 0x10]
add eax, 0x38
push eax
lea ecx, [ebp - 0x6e0]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.004080c0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf030
push ecx
push str.UPDATE__s.dbo.BotPet_SET_MagicList__WHERE_AccountID_s_AND_Name_s
lea edx, [ebp - 0x6e0]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0xb4
mov eax, dword [ebp + 0x10]
add eax, 0x6f8
push eax
lea ecx, [ebp - 0x6e0]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.004080c0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
jmp 0x43364e
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov edx, dword [ebp + 0x10]
add edx, 0x13
push edx
mov eax, dword [ebp + 0x10]
add eax, 8
push eax
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 0x7d0]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x7cc]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x7c8]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x7c4]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x7c0]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x7bc]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x7b8]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x7b4]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x7b0]
push eax
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 0x7ae]
push edx
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 0x7ad]
push ecx
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx + 0x7ac]
push eax
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + 0x36]
push edx
mov eax, dword [ebp + 0x10]
movzx ecx, word [eax + 0x34]
push ecx
mov edx, dword [ebp + 0x10]
movzx eax, word [edx + 0x32]
push eax
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + 0x30]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x2c]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x28]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 0x1e]
push ecx
mov edx, dword [ebp + 0x10]
movsx eax, word [edx + 0x20]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf030
push ecx
push str.UPDATE__s.dbo.BotPet_SET_cLevel_d__Class_d__Experience_d__Power_d__Defense_d__Life_d__MaxLife_d__Mana_d__MaxMana_d__MapNumber_d__MapPosX_d__MapPosY_d__BotLife_d__BotMaxLife_d__BotLvlUpDefense_d__BotLvlUpPower_d__BotLvlUpLife_d__BotLvlUpMana_d__BotLvlUpExp_d__BotLvlUpMaxLevel_d__BotVersion_d_WHERE_AccountID___s_AND_Name___s
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 0x68
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xf030
push edx
push str.UPDATE__s.dbo.BotPet_SET_Inventory__WHERE_AccountID_s_AND_Name_s
lea eax, [ebp - 0xda0]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x6c0
mov ecx, dword [ebp + 0x10]
add ecx, 0x38
push ecx
lea edx, [ebp - 0xda0]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.004080c0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xf030
push edx
push str.UPDATE__s.dbo.BotPet_SET_MagicList__WHERE_AccountID_s_AND_Name_s
lea eax, [ebp - 0xda0]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0xb4
mov ecx, dword [ebp + 0x10]
add ecx, 0x6f8
push ecx
lea edx, [ebp - 0xda0]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.004080c0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435f91
mov esp, ebp
pop ebp
ret