Function at 0x41257d
Capabilities:
Reference sql statements

Disassembly:
push 0xb4
mov eax, 0x5b1c8a
call fcn.00580b7e
and dword [ebp - 4], 0
lea eax, [ebp - 0xa4]
push eax
call fcn.00413b2d
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.00484660
mov byte [ebp - 4], 2
or dword [ebp - 0x28], 0xffffffff
or dword [ebp - 0x24], 0xffffffff
cmp byte [ebp - 0x34], 0
jne 0x4127e2
xor esi, esi
lea edi, [ebp - 0x3c]
call fcn.00483bf0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x64]
push eax
call fcn.0040ffc3
mov byte [ebp - 4], 3
push 0x688bd8
inc esi
call fcn.00483c70
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004085d2
push 0x688bdc
push 2
pop esi
call fcn.00483c70
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004085d2
push 0x688be0
push 3
pop esi
call fcn.00483c70
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004085d2
push 0x688be4
push 4
pop esi
call fcn.00483c70
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004085d2
push 0x688be8
push 5
pop esi
call fcn.00483c70
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004085d2
push 6
pop esi
call fcn.00483bb0
mov dword [ebp - 0x4c], eax
push 7
pop esi
call fcn.00483bb0
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004084fe
mov byte [ebp - 4], 4
lea eax, [ebp - 0x14]
call fcn.0040877f
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.00413c83
lea edi, [ebp - 0x44]
mov esi, eax
call fcn.0040ad09
test al, al
je 0x412759
lea eax, [ebp - 0x14]
push eax
mov eax, ebx
push eax
lea ebx, [ebp - 0xc0]
call fcn.00413ba7
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.00484440
mov byte [ebp - 4], 6
push dword [ebp - 0x14]
push 1
lea eax, [ebp - 0x1c]
call fcn.004842e0
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004840d0
mov byte [ebp - 4], 7
cmp byte [ebp - 0x7c], 0
jne 0x412737
push 0x688c2c
xor esi, esi
lea edi, [ebp - 0x84]
call fcn.00483c70
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004085d2
mov byte [ebp - 4], 6
lea esi, [ebp - 0x84]
call fcn.00483b60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.00483ea0
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 0x412797
mov eax, dword [esi + 0x14]
sub eax, edx
sar eax, 5
cmp ecx, eax
jae 0x412797
lea eax, [ebp - 0x64]
push eax
push 1
push edi
call fcn.0041461a
mov dword [esi + 0x10], eax
jmp 0x4127bb
and dword [ebp - 0x6c], 0
cmp edx, edi
jbe 0x4127a4
call fcn.005741fa
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.004145a0
lea eax, [ebp - 0x3c]
push eax
call fcn.00483cf0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.0040856e
mov byte [ebp - 4], 2
lea eax, [ebp - 0x64]
push eax
call fcn.004128ae
jmp 0x4125c1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
test ecx, 0xffffffe0
je 0x41282e
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.00484440
mov byte [ebp - 4], 9
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 1
lea eax, [ebp - 0x1c]
call fcn.00484360
lea ebx, [ebp - 0x1c]
call fcn.00483f30
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.00483ea0
mov byte [ebp - 4], 1
lea esi, [ebp - 0x3c]
call fcn.00483b60
mov byte [ebp - 4], 0
lea eax, [ebp - 0xa4]
push eax
call fcn.0041288e
or dword [ebp - 4], 0xffffffff
call fcn.00580c23
ret 8