Function at 0x41254d
Capabilities:
Reference sql statements

Disassembly:
push 0xb4
mov eax, 0x5b1fb9
call fcn.00580e9e
and dword [ebp - 4], 0
lea eax, [ebp - 0xa4]
push eax
call fcn.00413c0a
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
push str.select__from_appmon2_ORDER_BY_id_ASC_LIMIT_100_
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.00484a30
mov byte [ebp - 4], 2
or dword [ebp - 0x28], 0xffffffff
or dword [ebp - 0x24], 0xffffffff
cmp byte [ebp - 0x34], 0
jne 0x412794
xor esi, esi
lea edi, [ebp - 0x3c]
call fcn.00483fc0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x64]
push eax
call fcn.0041000c
mov byte [ebp - 4], 3
inc esi
call fcn.00484040
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00408606
push 2
pop esi
call fcn.00484040
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00408606
push 3
pop esi
call fcn.00484040
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00408606
push 4
pop esi
call fcn.00484040
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00408606
push 5
pop esi
call fcn.00484040
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00408606
push 6
pop esi
call fcn.00483f80
mov dword [ebp - 0x4c], eax
push 7
pop esi
call fcn.00483f80
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00408532
mov byte [ebp - 4], 4
lea eax, [ebp - 0x14]
call fcn.004087b3
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xac]
push eax
lea ebx, [ebp - 0xa4]
call fcn.00413d60
lea edi, [ebp - 0x44]
mov esi, eax
call fcn.00427527
test al, al
je 0x41270b
lea eax, [ebp - 0x14]
push eax
mov eax, ebx
push eax
lea ebx, [ebp - 0xc0]
call fcn.00413c84
mov byte [ebp - 4], 5
push str.SELECT_icon_data_FROM_app_icons_WHERE_app____AND_t_sent__0_
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
call fcn.00484810
mov byte [ebp - 4], 6
push dword [ebp - 0x14]
push 1
lea eax, [ebp - 0x1c]
call fcn.004846b0
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004844a0
mov byte [ebp - 4], 7
cmp byte [ebp - 0x7c], 0
jne 0x4126e9
xor esi, esi
lea edi, [ebp - 0x84]
call fcn.00484040
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00408606
mov byte [ebp - 4], 6
lea esi, [ebp - 0x84]
call fcn.00483f30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.00484270
mov dword [ebp - 4], 4
mov esi, dword [ebp + 0xc]
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov ecx, edi
sub ecx, edx
sar ecx, 5
test edx, edx
je 0x412749
mov eax, dword [esi + 0x14]
sub eax, edx
sar eax, 5
cmp ecx, eax
jae 0x412749
lea eax, [ebp - 0x64]
push eax
push 1
push edi
call fcn.0041472f
mov dword [esi + 0x10], eax
jmp 0x41276d
and dword [ebp - 0x6c], 0
cmp edx, edi
jbe 0x412756
call fcn.0057451a
mov eax, dword [esi]
mov dword [ebp - 0x6c], eax
push edi
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004146b5
lea eax, [ebp - 0x3c]
push eax
call fcn.004840c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004085a2
mov byte [ebp - 4], 2
lea eax, [ebp - 0x64]
push eax
call fcn.00412860
jmp 0x412591
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
test ecx, 0xffffffe0
je 0x4127e0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
push str.delete_from_appmon2_where_id_____
lea eax, [ebp - 0x1c]
push eax
call fcn.00484810
mov byte [ebp - 4], 9
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 1
lea eax, [ebp - 0x1c]
call fcn.00484730
lea ebx, [ebp - 0x1c]
call fcn.00484300
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.00484270
mov byte [ebp - 4], 1
lea esi, [ebp - 0x3c]
call fcn.00483f30
mov byte [ebp - 4], 0
lea eax, [ebp - 0xa4]
push eax
call fcn.00412840
or dword [ebp - 4], 0xffffffff
call fcn.00580f43
ret 8