Function at 0x432d00
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x454350]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x34], 0
push 0x2b
push 0
lea eax, [ebp - 0x33]
push eax
call fcn.00433530
add esp, 0xc
mov byte [ebp - 1], 0
push 0x2c
push 0xcc
lea ecx, [ebp - 0x34]
push ecx
call fcn.004062e0
add esp, 0xc
push 0xa
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x31]
push eax
call fcn.00434160
add esp, 0xc
mov cx, word [ebp + 0x10]
mov word [ebp - 0x26], cx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
add eax, 0xf022
push eax
push str.SELECT_SCFIsVip__SCFVipMoney__SCFVipDays__SCFWareVipCount__DateDiff_dd___out__days_getdate____as_dateDifference__SCFLuckyCoins__SCFExtWarehouse_FROM__s.dbo.MEMB_INFO_WHERE_memb___id___s
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
push ecx
call fcn.00408880
add esp, 0x10
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408ad0
movsx edx, ax
cmp edx, 0x64
je 0x433001
push str.dateDifference
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0x40], eax
push str.SCFVipDays
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0x3c], eax
push str.SCFVipMoney
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0x54], eax
push str.SCFIsVip
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0x50], eax
push str.SCFWareVipCount
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0x4c], eax
push str.SCFLuckyCoins
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0x38], eax
push str.SCFExtWarehouse
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x3c]
jge 0x432e9b
mov cl, byte [ebp - 0x50]
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x40], 0
jle 0x432e99
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xf022
push edx
push str.UPDATE__s.dbo.MEMB_INFO_SET_out__daysgetdate____SCFVipDays_d_WHERE_memb___id___s
mov eax, dword [ebp + 8]
add eax, 0x7d80
push eax
call fcn.00408880
add esp, 0x14
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408ad0
jmp 0x432f1a
movzx ecx, byte [0x455834]
cmp ecx, 1
jne 0x432f1a
cmp dword [ebp - 0x50], 1
jne 0x432f1a
mov edx, dword [ebp - 0x54]
cmp edx, dword [0x455838]
jl 0x432f1a
mov byte [ebp - 0x24], 1
mov eax, dword [0x45583c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x54]
sub ecx, dword [0x455838]
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [0x45583c]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xf022
push edx
push str.UPDATE__s.dbo.MEMB_INFO_SET_out__daysgetdate____SCFVipMoney_d__SCFVipDays_d_WHERE_memb___id___s
mov eax, dword [ebp + 8]
add eax, 0x7d80
push eax
call fcn.00408880
add esp, 0x18
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408ad0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov cl, byte [ebp - 0x44]
mov byte [ebp - 0xc], cl
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
add eax, 0xeff0
push eax
push str.SELECT_AccountID_BotLife_BotMaxLife_FROM__s.dbo.BotPet_WHERE_AccountID_s_AND_BotLife___BotMaxLife
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
push ecx
call fcn.00408880
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408ad0
movsx edx, ax
cmp edx, 0x64
je 0x432f83
cmp dword [ebp - 0x48], 0
jne 0x432f89
mov byte [ebp - 0x14], 0
jmp 0x432f8d
mov byte [ebp - 0x14], 1
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xeff0
push ecx
push str.SELECT_COUNT___as_cnt_FROM__s.dbo.TitanLotteryPlayers_WHERE_AccountID_s
mov edx, dword [ebp + 8]
add edx, 0x7d80
push edx
call fcn.00408880
add esp, 0x10
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408ad0
movsx ecx, ax
cmp ecx, 0x64
je 0x432fe5
cmp dword [ebp - 0x48], 0
jne 0x432feb
mov byte [ebp - 0xb], 0
jmp 0x433001
push 0x44cfdc
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov byte [ebp - 0xb], al
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
movzx edx, byte [ebp - 0x33]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407670
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00434051
mov esp, ebp
pop ebp
ret