Function at 0x432c50
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x15a0
call fcn.00437750
mov eax, dword [0x458330]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x7ec], 0
xor eax, eax
mov dword [ebp - 0x7eb], eax
mov dword [ebp - 0x7e7], eax
mov word [ebp - 0x7e3], ax
push 0xa
mov ecx, dword [ebp + 0x10]
add ecx, 3
push ecx
lea edx, [ebp - 0x7ec]
push edx
call fcn.004360a0
add esp, 0xc
push 0x7d4
push 0
lea eax, [ebp - 0x7e0]
push eax
call fcn.00435470
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + 0xe]
mov word [ebp - 0x7da], dx
push 0x7d4
push 0xe9
lea eax, [ebp - 0x7e0]
push eax
call fcn.00405450
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + 0xe]
mov word [ebp - 0x7da], dx
lea eax, [ebp - 0x7ec]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf030
push ecx
push str.SELECT_AccountID_Name_cLevel_Class_Experience_Power_Defense_Life_MaxLife_Mana_MaxMana_MapNumber_MapPosX_MapPosY_BotLife_BotMaxLife_BotLvlUpDefense_BotLvlUpPower_BotLvlUpLife_BotLvlUpMana_BotLvlUpExp_BotLvlUpMaxLevel_BotVersion_FROM__s.dbo.BotPet_WHERE_AccountID_s_AND_BotLife___BotMaxLife
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 0x10
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
cwde
cmp eax, 0x64
je 0x432d2b
cmp dword [ebp - 4], 0
jne 0x432d37
mov byte [ebp - 0x7dc], 0
jmp 0x433177
mov byte [ebp - 0x7dc], 1
lea ecx, [ebp - 0x7d8]
push ecx
push str.AccountID
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407ca0
lea edx, [ebp - 0x7cd]
push edx
push str.Name
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407ca0
push str.cLevel
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov word [ebp - 0x7c0], ax
push str.Class
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov byte [ebp - 0x7c2], al
push str.Experience
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x7bc], eax
push str.Power
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x7b8], eax
push str.Defense
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x7b4], eax
push str.Life
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407d90
fnstcw word [ebp - 0x1572]
movzx eax, word [ebp - 0x1572]
or eax, 0xc00
mov dword [ebp - 0x1578], eax
fldcw word [ebp - 0x1578]
fistp dword [ebp - 0x157c]
fldcw word [ebp - 0x1572]
mov ax, word [ebp - 0x157c]
mov word [ebp - 0x7b0], ax
push str.MaxLife
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407d90
fnstcw word [ebp - 0x157e]
movzx eax, word [ebp - 0x157e]
or eax, 0xc00
mov dword [ebp - 0x1584], eax
fldcw word [ebp - 0x1584]
fistp dword [ebp - 0x1588]
fldcw word [ebp - 0x157e]
mov cx, word [ebp - 0x1588]
mov word [ebp - 0x7ae], cx
push str.Mana
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407d90
fnstcw word [ebp - 0x158a]
movzx eax, word [ebp - 0x158a]
or eax, 0xc00
mov dword [ebp - 0x1590], eax
fldcw word [ebp - 0x1590]
fistp dword [ebp - 0x1594]
fldcw word [ebp - 0x158a]
mov dx, word [ebp - 0x1594]
mov word [ebp - 0x7ac], dx
push str.MaxMana
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407d90
fnstcw word [ebp - 0x1596]
movzx eax, word [ebp - 0x1596]
or eax, 0xc00
mov dword [ebp - 0x159c], eax
fldcw word [ebp - 0x159c]
fistp dword [ebp - 0x15a0]
fldcw word [ebp - 0x1596]
mov ax, word [ebp - 0x15a0]
mov word [ebp - 0x7aa], ax
push str.MapNumber
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov byte [ebp - 0x34], al
push str.MapPosX
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov byte [ebp - 0x33], al
push str.MapPosY
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov byte [ebp - 0x32], al
push str.BotLife
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x30], eax
push str.BotMaxLife
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x2c], eax
push str.BotLvlUpDefense
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x28], eax
push str.BotLvlUpPower
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x24], eax
push str.BotLvlUpLife
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x20], eax
push str.BotLvlUpMana
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x1c], eax
push str.BotLvlUpExp
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x18], eax
push str.BotLvlUpMaxLevel
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x14], eax
push str.BotVersion
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov byte [ebp - 0x10], al
mov byte [ebp - 0xeb0], 0
push 0x6bf
push 0
lea ecx, [ebp - 0xeaf]
push ecx
call fcn.00435470
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
lea edx, [ebp - 0x7cd]
push edx
mov eax, dword [ebp + 8]
add eax, 0xf030
push eax
push str.SELECT_Inventory_from__s.dbo.BotPet_where_Name_s
lea ecx, [ebp - 0x1570]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0xeb0]
push edx
lea eax, [ebp - 0x1570]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407f00
cmp eax, 0xffffffff
jne 0x4330ab
push 0x6c0
push 0xffffffffffffffff
lea ecx, [ebp - 0xeb0]
push ecx
call fcn.00435470
add esp, 0xc
push 0x6c0
lea edx, [ebp - 0xeb0]
push edx
lea eax, [ebp - 0x7a8]
push eax
call fcn.004360a0
add esp, 0xc
push 0x6c0
push 0
lea ecx, [ebp - 0xeb0]
push ecx
call fcn.00435470
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
lea edx, [ebp - 0x7cd]
push edx
mov eax, dword [ebp + 8]
add eax, 0xf030
push eax
push str.SELECT_MagicList_from__s.dbo.BotPet_where_Name_s
lea ecx, [ebp - 0x1570]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0xeb0]
push edx
lea eax, [ebp - 0x1570]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407f00
cmp eax, 0xffffffff
jne 0x433146
push 0x6c0
push 0xffffffffffffffff
lea ecx, [ebp - 0xeb0]
push ecx
call fcn.00435470
add esp, 0xc
push 0xb4
lea edx, [ebp - 0xeb0]
push edx
lea eax, [ebp - 0xe8]
push eax
call fcn.004360a0
add esp, 0xc
push 0x6c0
push 0
lea ecx, [ebp - 0xeb0]
push ecx
call fcn.00435470
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
push 0x7d4
lea edx, [ebp - 0x7e0]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406820
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00435f91
mov esp, ebp
pop ebp
ret