Function at 0x4c41c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d923a
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6264e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x24]
call fcn.00401050
mov dword [ebp - 4], 0
push str.SELECT__t_t_t_t_t_t_t_tt1.tid1___t_t_t_t_t_t_t_tt1.tid2___t_t_t_t_t_t_t_tt1.tod1___t_t_t_t_t_t_t_tt1.tod2___t_t_t_t_t_t_t_tt1.install___t_t_t_t_t_t_t_tt1.install_yoy___t_t_t_t_t_t_t_tt1.install_mom___t_t_t_t_t_t_t_tt1.remain_yoy___t_t_t_t_t_t_t_tt1.remain_mom___t_t_t_t_t_t_t_tt1.arpu_yoy___t_t_t_t_t_t_t_tt1.online_alarm___t_t_t_t_t_t_t_tt1.offline_alarm__t_t_t_t_t_t_t_tFROM__t_t_t_t_t_t_t_t___t_t_t_t_t_t_t_tSELECT__from_dataalarm_WHERE_product_s_t1__t_t_t_t_t_t_t_tINNER_JOIN__t_t_t_t_t_t_t_t_SELECT_tid1_tid2_tod1_tod2__max_date__AS_last_updated_date_FROM_dataalarm_WHERE_product_s_GROUP_BY_tid1_tid2_tod1_tod2_t2__t_t_t_t_t_t_t_tON_t1.tid1t2.tid1_AND_t1.tid2t2.tid2_AND_t1.tod1t1.tod2_AND_t1.tod2t1.tod2_AND_t1.datet2.last_updated_date
lea ecx, [ebp - 0x20]
call fcn.00408100
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x20]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0040a920
add esp, 0x10
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.004bb910
mov ecx, eax
call fcn.004bb950
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00432a90
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x28]
push edx
call fcn.004343f0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4c4374
lea ecx, [ebp - 0x54]
call fcn.0041f5d0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00408220
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x50]
call fcn.00408220
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 8]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00408220
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00408220
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
push eax
call fcn.0047dd49
add esp, 4
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x14]
push edx
call fcn.0047ddf7
add esp, 4
fstp dword [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.0047ddf7
add esp, 4
fstp dword [ebp - 0x3c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x1c]
push eax
call fcn.0047ddf7
add esp, 4
fstp dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x20]
push edx
call fcn.0047ddf7
add esp, 4
fstp dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.0047ddf7
add esp, 4
fstp dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x28]
push eax
call fcn.0047dd49
add esp, 4
test eax, eax
setne cl
mov byte [ebp - 0x2c], cl
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x2c]
push eax
call fcn.0047dd49
add esp, 4
test eax, eax
setne cl
mov byte [ebp - 0x2b], cl
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x58]
call fcn.0041fa50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.0041f6c0
jmp 0x4c4260
mov eax, dword [ebp - 0x28]
push eax
call fcn.004317e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00401070
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret