Function at 0x452f3e
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x28
call fcn.004c4f6b
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 0x90003
push 0
push ebx
push 1
mov eax, 8
mov ebx, 0x55fd70
call fcn.004c4f8f
add esp, 0x10
push 0
mov ebx, 0x4c5560
call fcn.004c4f7d
add esp, 4
mov dword [ebp - 8], eax
push str.db_number.db
push dword [ebp - 8]
mov ecx, 2
call fcn.0040114b
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x452fbd
push ebx
call fcn.004c4f83
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x452fdc
mov eax, 0x5f4bf9
push eax
push 0x90001
push 0
push dword [0x658c44]
push 3
mov eax, 8
mov ebx, 0x5604f0
call fcn.004c4f8f
add esp, 0x28
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x453014
push ebx
call fcn.004c4f83
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x453023
jmp 0x4530b9
call fcn.00421fa1
push 0
mov ebx, 0x4c5560
call fcn.004c4f7d
add esp, 4
mov dword [ebp - 8], eax
push str.db_number.db
push dword [ebp - 8]
mov ecx, 2
call fcn.0040114b
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x453065
push ebx
call fcn.004c4f83
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x453084
mov eax, 0x5f4bf9
push eax
push 0x90001
push 0
push dword [0x658c44]
push 3
mov eax, 8
mov ebx, 0x5604f0
call fcn.004c4f8f
add esp, 0x28
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4530b9
push ebx
call fcn.004c4f83
add esp, 4
push 0
mov ebx, 0x4c5560
call fcn.004c4f7d
add esp, 4
mov dword [ebp - 8], eax
push str.db_number.db
push dword [ebp - 8]
mov ecx, 2
call fcn.0040114b
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4530f6
push ebx
call fcn.004c4f83
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x453115
mov eax, 0x5f4bf9
push eax
push 0x90001
push 0
push dword [0x658c44]
push 3
mov eax, 8
mov ebx, 0x5604f0
call fcn.004c4f8f
add esp, 0x28
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x45314a
push ebx
call fcn.004c4f83
add esp, 4
push 0x5f6298
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.SELECT__FROM_friend__WHERE_Uin__
mov ecx, 3
call fcn.0040114b
add esp, 0xc
mov dword [ebp - 8], eax
push 0x90001
push 0
push dword [0x658c44]
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x453189
mov eax, 0x5f4bf9
push eax
push 0x90003
push 0
push dword [ebp - 4]
push 3
mov eax, 8
mov ebx, 0x55ffa0
call fcn.004c4f8f
add esp, 0x28
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4531bb
push ebx
call fcn.004c4f83
add esp, 4
push 0x90003
push 0
push dword [ebp - 4]
push 1
mov eax, 8
mov ebx, 0x560060
call fcn.004c4f8f
add esp, 0x10
push 0x90003
push 0
push dword [ebp - 4]
push 1
mov eax, 8
mov ebx, 0x5600c0
call fcn.004c4f8f
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x4532fe
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x45321f
mov eax, 0x5f4bf9
push eax
push 1
mov ebx, 0x4c7400
call fcn.004c4f7d
add esp, 0x10
mov dword [ebp - 8], eax
push 0x5f6298
mov ebx, dword [ebp + 8]
push dword [ebx]
push str._WHERE_Uin__
push dword [ebp - 8]
push str.UPDATE_friend_SET_instime__
mov ecx, 5
call fcn.0040114b
add esp, 0x14
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x45326c
push ebx
call fcn.004c4f83
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x45327f
mov eax, 0x5f4bf9
push eax
push 0x90001
push 0
push dword [0x658c44]
push 2
mov eax, 8
mov ebx, 0x5605e0
call fcn.004c4f8f
add esp, 0x1c
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4532b4
push ebx
call fcn.004c4f83
add esp, 4
push 0x90003
push 0
push dword [ebp - 4]
push 1
mov eax, 8
mov ebx, 0x5600a0
call fcn.004c4f8f
add esp, 0x10
push 0x90001
push 0
push dword [0x658c44]
push 1
mov eax, 8
mov ebx, 0x5605c0
call fcn.004c4f8f
add esp, 0x10
jmp 0x45334d
push 0x90003
push 0
push dword [ebp - 4]
push 1
mov eax, 8
mov ebx, 0x5600a0
call fcn.004c4f8f
add esp, 0x10
push 0x90001
push 0
push dword [0x658c44]
push 1
mov eax, 8
mov ebx, 0x5605c0
call fcn.004c4f8f
add esp, 0x10
mov eax, 0
jmp 0x453357
mov eax, 1
jmp 0x453357
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x90003
push 0
push ebx
push 1
mov eax, 8
mov ebx, 0x55ff30
call fcn.004c4f8f
add esp, 0x10
call fcn.004c4f83
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8