Function at 0x423190
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609292
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0xa8]
push eax
call fcn.00425110
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x1c]
push str.select__from_appmon2_ORDER_BY_id_ASC_LIMIT_100_
lea edx, [ebp - 0x3c]
push edx
push eax
call fcn.004cf6d0
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
cmp byte [ebp - 0x34], bl
jne 0x42342d
xor esi, esi
lea edi, [ebp - 0x3c]
call fcn.004cec60
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x68]
push eax
call fcn.0041ead0
mov byte [ebp - 4], 3
mov esi, 1
call fcn.004cece0
mov edx, eax
lea edi, [ebp - 0x64]
call fcn.0040bab0
mov esi, 2
lea edi, [ebp - 0x3c]
call fcn.004cece0
mov edx, eax
lea edi, [ebp - 0x60]
call fcn.0040bab0
mov esi, 3
lea edi, [ebp - 0x3c]
call fcn.004cece0
mov edx, eax
lea edi, [ebp - 0x5c]
call fcn.0040bab0
mov esi, 4
lea edi, [ebp - 0x3c]
call fcn.004cece0
mov edx, eax
lea edi, [ebp - 0x58]
call fcn.0040bab0
mov esi, 5
lea edi, [ebp - 0x3c]
call fcn.004cece0
mov edx, eax
lea edi, [ebp - 0x54]
call fcn.0040bab0
mov esi, 6
lea edi, [ebp - 0x3c]
call fcn.004cec20
mov dword [ebp - 0x50], eax
mov esi, 7
call fcn.004cec20
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.0040b930
mov byte [ebp - 4], 4
lea edi, [ebp - 0x14]
call fcn.0040bd70
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x44], ecx
mov edx, edi
push edx
lea eax, [ebp - 0xb8]
push eax
lea esi, [ebp - 0xa8]
call fcn.00425300
lea esi, [ebp - 0x44]
mov edi, eax
call fcn.004b1720
test al, al
je 0x423392
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xa8]
push edx
lea ebx, [ebp - 0xc4]
call fcn.004251c0
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 ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1c]
call fcn.004cf4b0
mov bl, 6
mov byte [ebp - 4], bl
mov edx, dword [ebp - 0x14]
push edx
push 1
lea eax, [ebp - 0x1c]
call fcn.004cf350
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004cf140
mov byte [ebp - 4], 7
cmp byte [ebp - 0x80], 0
jne 0x42336f
xor esi, esi
lea edi, [ebp - 0x88]
call fcn.004cece0
mov edx, eax
lea edi, [ebp - 0x4c]
call fcn.0040bab0
mov byte [ebp - 4], bl
lea esi, [ebp - 0x88]
call fcn.004cebd0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.004cef10
mov dword [ebp - 4], 4
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov esi, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
mov eax, esi
sub eax, ecx
sar eax, 5
cmp ecx, ebx
je 0x4233e1
mov edx, dword [edi + 0x14]
sub edx, ecx
sar edx, 5
cmp eax, edx
jae 0x4233e1
mov byte [ebp - 0x48], bl
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x68]
push ecx
push 1
push esi
call fcn.0042ac40
add esp, 0x14
add esi, 0x20
mov dword [edi + 0x10], esi
jmp 0x423406
mov dword [ebp - 0x70], ebx
cmp ecx, esi
jbe 0x4233ed
call fcn.005c475a
mov eax, dword [edi]
mov dword [ebp - 0x70], eax
push esi
push eax
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0xb0]
push eax
mov eax, edi
call fcn.00425f70
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004ced60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.0040ba40
mov byte [ebp - 4], 2
lea edx, [ebp - 0x68]
push edx
call fcn.00423560
jmp 0x4231f5
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
test ecx, 0xffffffe0
je 0x42347d
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1c]
push str.delete_from_appmon2_where_id_____
lea eax, [ebp - 0x1c]
push eax
call fcn.004cf4b0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push 1
lea eax, [ebp - 0x1c]
call fcn.004cf3d0
lea ebx, [ebp - 0x1c]
call fcn.004cefa0
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.004cef10
xor ebx, ebx
mov byte [ebp - 4], 1
lea esi, [ebp - 0x3c]
call fcn.004cebd0
mov byte [ebp - 4], bl
lea eax, [ebp - 0xa8]
push eax
call fcn.00423510
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8