Function at 0x425a8b
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push 0x28
call fcn.00428a1b
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
push 0x40003
push 0
push ebx
push 1
mov eax, 3
mov ebx, 0x4a8450
call fcn.00428a21
add esp, 0x10
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push str._ORDER_BY_time_DESC
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push str._AND_gift__
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.SELECT__FROM_gift_WHERE_uid__
mov ecx, 5
call fcn.004011fe
add esp, 0x14
mov dword [ebp - 0x18], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x425b25
mov eax, 0x53bf3b
push eax
push 0x40001
push 0
push dword [0x61b960]
push 2
mov eax, 3
mov ebx, 0x4a8c10
call fcn.00428a21
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x425b5d
push ebx
call fcn.00428a15
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x40003
push 0
push ebx
push 1
mov eax, 3
mov ebx, 0x4a8610
call fcn.00428a21
add esp, 0x10
call fcn.00428a15
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x40003
push 0
push dword [ebp - 4]
push 1
mov eax, 3
mov ebx, 0x4a8720
call fcn.00428a21
add esp, 0x10
push 0x40003
push 0
push dword [ebp - 4]
push 1
mov eax, 3
mov ebx, 0x4a8890
call fcn.00428a21
add esp, 0x10
push VariantClear
push 0
lea eax, [ebp - 8]
push eax
push VariantClear
push 0
push 0x58f36f
push 0x40003
push 0
push dword [ebp - 4]
push 3
mov eax, 3
mov ebx, 0x4a87c0
call fcn.00428a21
add esp, 0x28
push VariantClear
push 0
lea eax, [ebp - 0xc]
push eax
push VariantClear
push 0
push 0x58f374
push 0x40003
push 0
push dword [ebp - 4]
push 3
mov eax, 3
mov ebx, 0x4a87c0
call fcn.00428a21
add esp, 0x28
push 0x40003
push 0
push dword [ebp - 4]
push 1
mov eax, 3
mov ebx, 0x4a8760
call fcn.00428a21
add esp, 0x10
push 0x80000401
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
mov ebx, 0x42a640
call fcn.00428a27
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push dword [ebp + 0x18]
push 1
mov ebx, 0x42a640
call fcn.00428a27
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x58d2ee
push dword [ebp - 0x1c]
push 0x58d2f1
push dword [ebp - 0x18]
push 0x58d2f1
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push 0x58d2f1
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.INSERT_INTO_gift__uid__gift__time__num__VALUES__
mov ecx, 9
call fcn.004011fe
add esp, 0x24
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x425ce8
push ebx
call fcn.00428a15
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x425cf8
push ebx
call fcn.00428a15
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x425d0b
mov eax, 0x53bf3b
push eax
push 0x40001
push 0
push dword [0x61b960]
push 2
mov eax, 3
mov ebx, 0x4a8b90
call fcn.00428a21
add esp, 0x1c
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x425d40
push ebx
call fcn.00428a15
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x425d53
mov eax, 0x53bf3b
push eax
push 1
mov ebx, 0x429b00
call fcn.00428a27
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
fild qword [ebp + 0xc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild qword [ebp - 0x1c]
fstp qword [ebp - 0x2c]
fsub qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00402ac8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
xor eax, eax
cmp dword [ebp - 0x10], 0
jl 0x425da3
jg 0x425da2
cmp dword [ebp - 0x14], 0xbb8
jbe 0x425da3
inc eax
test eax, eax
je 0x425db8
mov eax, dword [ebp + 0x18]
jmp 0x425e40
push VariantClear
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x425dcb
mov eax, 0x53bf3b
push eax
push 1
mov ebx, 0x429910
call fcn.00428a27
add esp, 0x10
cmp dword [ebp + 0x18], eax
jle 0x425e38
push VariantClear
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x425dfa
mov eax, 0x53bf3b
push eax
push 1
mov ebx, 0x429910
call fcn.00428a27
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp + 0x18]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x28]
fsub qword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00402ac8
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x18]
jmp 0x425e40
mov eax, dword [ebp + 0x18]
jmp 0x425e40
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x40003
push 0
push ebx
push 1
mov eax, 3
mov ebx, 0x4a8610
call fcn.00428a21
add esp, 0x10
call fcn.00428a15
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x425e79
push ebx
call fcn.00428a15
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x425e89
push ebx
call fcn.00428a15
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14